<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html
  SYSTEM "about:legacy-compat">
<html xmlns:mml = "http://www.w3.org/1998/Math/MathML" lang = "en"><head><meta charset = "UTF-8"/><meta name = "copyright" content = "(C) Copyright 2020"/><meta name = "DC.rights.owner" content = "(C) Copyright 2020"/><meta name = "DC.type" content = "task"/><meta name = "abstract" content = "The task for this example is to define a constraint on the maximum von Mises stress."/><meta name = "description" content = "The task for this example is to define a constraint on the maximum von Mises stress."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-t-usr-terms-topoStressExplConstr"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Example: Defining Stresses in Constraint Definition</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-usr-terms-topoStressExplConstr">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Example: Defining Stresses in Constraint Definition</h1></td></tr><tr><td class = "DocHeader4" colspan = "2"/></tr><tr><td class = "DocHeader3" colspan = "2"><table class = "DocThemeIntro" id = "table12"><tr><td class = "Intro1Only"><p class = "header"><p class = "abstract">
<span class = "shortdesc">
The task for this example is to define a constraint on the
maximum von Mises stress.
</span>

<div class = "note"><span class = "run-in.note">Note:
			</span><span class = "notecontent">
Each design response definition of type <code class = "ph codeph">SIG_TOPO_MISES</code>
might only be applied once in either the objective or constraint definition.
If stresses should be considered both in constraint or the objective
(or several stresses should be combined) for each use one separate design
response must be defined.
</span></div>

</p>
<p>This task shows you how to:
					</p><ul><li><a href = "#tso-t-usr-terms-topoStressExplConstr-gui" id = "toc_rg" title = "">
Define a von Mises Stress in Constraint Definition in <span class = "ph">Tosca Structure.gui</span>
</a></li><li><a href = "#tso-t-usr-terms-topoStressExplConstr-paramFile" id = "toc_rg" title = "">
<span class = "ph">Tosca Structure</span>
Parameter File
</a></li></ul>
</p></td></tr></table></td></tr></table>




<article class = "topic task nested1" aria-labelledby = "ariaid-title2" id = "tso-t-usr-terms-topoStressExplConstr-gui">
<h2 class = "title topictitle2">
Define a von Mises Stress in Constraint Definition in <span class = "ph">Tosca Structure.gui</span>
</h2>

<div class = "body taskbody">
<section><ol class = "ol steps"><li class = "li step stepexpand">

Choose <span class = "ph menucascade"><span class = "ph uicontrol">Command</span><abbr title = "and then"> &gt; </abbr><span class = "ph uicontrol">DRESP</span></span>.

<div class = "itemgroup stepresult">The DRESP menu appears.</div>
</li><li class = "li step stepexpand">

Define the <span class = "ph uicontrol">SIG_TOPO_MISES</span>
as design response in as shown in the following figure:<br/><img class = "image" src = "../TsoUserImages/terms_stressconstraint.png" width = "359" height = "271"/><br/>

</li></ol></section>
</div>

</article>

<article class = "topic task nested1" aria-labelledby = "ariaid-title3" id = "tso-t-usr-terms-topoStressExplConstr-paramFile">
<p><map name = "FPMap1"><area href = "#hj-top" title = "Back to Top" shape = "rect" coords = "416, 0, 435, 10"/></map><span class = "itemsprite"/></p><h2 class = "title topictitle2">
<span class = "ph">Tosca Structure</span>
Parameter File
</h2>

<div class = "body taskbody">
<section><div class = "li step p">

The design response for stresses for topology optimization is defined
as the following:

<p>
<pre class = "codeblock">
<code class = "ph codeph">
DRESP
  ID_NAME   = TOPO_STRESS_DESIGN_ELEMENTS
  TYPE      = SIG_TOPO_MISES
  DEF_TYPE  = SYSTEM
  EL_GROUP  = &lt;<var class = "keyword varname varname">element_group</var>&gt;
  LC_SET    = &lt;<span class = "ph">load cases</span>&gt;
END_
</code>
</pre>
<p>The constraint is then defined as:</p>
<pre class = "codeblock">
<code class = "ph codeph">
CONSTRAINT
  ID_NAME   = STRESS_CONSTRAINT
  DRESP     = TOPO_STRESS_DESIGN_ELEMENTS
  MAGNITUDE = ABS
  LE_VALUE  = &lt;stress constraint&gt;
END_
</code>
</pre>
<p>
<div class = "notes collapse"><span class = "run-in.notes">Notes:
    		</span><span class = "notecontent">
<ol class = "ol" type = "a">
<li class = "li">
Different optimization settings (<code class = "ph codeph">STRESS_DRESP_OPT = ON</code>)
are applied for updating the design variables (=relative densities) when
<code class = "ph codeph">DRESP</code> is <code class = "ph codeph">TYPE = SIG_TOPO_MISES</code>. When
the stresses are applied as design response (<code class = "ph codeph">DRESP</code>)
in a topology optimization formulation the following default settings
are modified:
<ol class = "ol" type = "i">
<li class = "li">
The move limit (<code class = "ph codeph">DENSITY_MOVE = 0.10</code> in <code class = "ph codeph">OPT_PARAM</code>)
on the design variables is decreased from 0.25 to 0.10.</li>
<li class = "li">The maximal number of optimization iterations (<code class = "ph codeph">
ITER_MAX = 80
</code> in <code class = "ph codeph">STOP</code>) is increased from 50 to 80.
</li>
</ol>
</li>
<li class = "li">
The default settings are overwritten by setting <code class = "ph codeph">STRESS_DRESP_OPT=OFF</code>,
for example,
<pre class = "codeblock">
<code class = "ph codeph">
OPT_PARAM
  ......
  STRESS_DRESP_OPT = OFF
  DENSITY_MOVE     = 0.15
  DENSITY_UPDATE   = CONSERVATIVE
  ......
END_
</code>
</pre>
</li>

</ol>
</span></div>

</p>
</p>
</div></section>
</div>

</article>
</td></tr></table><script type = "text/javascript" src = "../DSDocUI_Bottom34.js">/* */</script></body>
</html>
