<?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 constraint is necessary in order to put the limits for optimization displacements. Normally, optimization tasks have some restrictions. These restrictions limit the values of the design responses or linear combinations of the design responses. If the constraint is not fulfilled the optimization result is not feasible."/><meta name = "description" content = "The constraint is necessary in order to put the limits for optimization displacements. Normally, optimization tasks have some restrictions. These restrictions limit the values of the design responses or linear combinations of the design responses. If the constraint is not fulfilled the optimization result is not feasible."/><meta name = "DC.relation" scheme = "URI" content = "../TsoCmdMap/tso-r-cmd-constraint.htm#tso-r-cmd-constraint"/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-t-usr-terms-constraint"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Defining Constraints</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script><script type = "text/javascript" src = "../MathJax/MathJax.js?config=DS-default,local/local">
  		/* */
  		</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-usr-terms-constraint">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Defining Constraints</h1></td></tr><tr><td class = "DocHeader4" colspan = "2"/></tr><tr><td class = "DocHeader3"><table class = "DocHeaderIntro" id = "table12"><tr><td class = "Intro1"><p class = "header"><p class = "abstract">
<span class = "shortdesc">
The constraint is necessary in order to put the limits for optimization displacements. Normally, optimization tasks have some restrictions. These
restrictions limit the values of the design responses or linear combinations
of the design responses. If the constraint is not fulfilled the optimization
result is not feasible.
</span>

</p>
<p>This task shows you how to:
					</p><ul><li><a href = "#tso-t-usr-terms-constraint-gui" id = "toc_rg" title = "">
Define Constraints in <span class = "ph">Tosca Structure.gui</span>
</a></li><li><a href = "#tso-t-usr-terms-constraint-parFile" id = "toc_rg" title = "">
<span class = "ph">SIMULIA Tosca Structure</span>
Parameter File</a></li></ul>
</p></td></tr></table></td><td class = "DocHeader2"><table class = "DocTopicsSeeAlso" id = "table13"><tr><td class = "TopicsTitle">See Also</td></tr></table><table class = "DocTopicsInOtherGuides" id = "table14"><tr><td height = "8px"/></tr><tr><td class = "TopicsTitleNormal">In Other Guides</td></tr><tr><td><a title = "Definition of an equality or inequality (less or equal/ greater or equal) constraint. The constraint is defined with respect to a design response." href = "../TsoCmdMap/tso-r-cmd-constraint.htm#tso-r-cmd-constraint">CONSTRAINT</a></td></tr></table></td></tr></table>




<div class = "related-links"/>

<article class = "topic task nested1" aria-labelledby = "ariaid-title2" id = "tso-t-usr-terms-constraint-gui">
<h2 class = "title topictitle2">
Define Constraints in <span class = "ph">Tosca Structure.gui</span>
</h2>

<div class = "body taskbody">
<div class = "p"><!--xxx--><span class = "run-in-beforeyoubegin">Before you begin: </span>
For the definition of a constraint,
the design response (DRESP) which is used as constraint must be defined previously (For more information, see
<a class = "xref" href = "tso-t-usr-terms-drespDef.htm#tso-t-usr-terms-drespDef-gui">Define a Design Response in Tosca Structure.gui</a>).
</div>

<section><ol class = "ol steps"><li class = "li step stepexpand">

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

<div class = "itemgroup stepresult">The CONSTRAINT  menu appears on the right.</div>
</li><li class = "li step stepexpand">

In the CONSTRAINT menu, define a constraint with a previously
defined design response as shown in the figure below:
<br/><img class = "image" id = "tso-t-usr-terms-constraint-gui__image_697CB47C71C8498CAA5383BD3C63A550" src = "../TsoUserImages/xx0a1347.png" height = "350"/><br/>

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

</article>

<article class = "topic task nested1" aria-labelledby = "ariaid-title3" id = "tso-t-usr-terms-constraint-parFile">
<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">SIMULIA Tosca Structure</span>
Parameter File</h2>

<div class = "body taskbody">
<section><ol class = "ol steps"><li class = "li step stepexpand">
A constraint definition is given as:
<p>
<pre class = "codeblock">
<code class = "ph codeph">
CONSTRAINT
 ID_NAME   = &lt;id_name&gt;
 DRESP     = &lt;<var class = "keyword varname varname">DRESP</var>&gt;
 MAGNITUDE = &lt;magnitude&gt;
 EQ_VALUE  = &lt;eq-target&gt;
 LE_VALUE  = &lt;le-target&gt;
 GE_VALUE  = &lt;ge-target&gt;
END_
</code>
</pre>
</p>
</li><li class = "li step stepexpand">

The <code class = "ph codeph">ID_NAME</code> must be referenced in the <code class = "ph codeph">OPTIMIZE</code>
command for the constraint to be activated. Only one of the constraint
items <code class = "ph codeph">EQ_VALUE</code>, <code class = "ph codeph">LE_VALUE</code> and <code class = "ph codeph">GE_VALUE</code>
can be defined. They define the constraint value
<span class = "ph inlineequation"><math class = "- topic/foreign "><mrow class = "- topic/foreign "><mi mathvariant = "normal" class = "- topic/foreign ">Ψ</mi></mrow></math></span>.

<div class = "itemgroup stepresult">
The figure below shows the normalized output of a constraint in <span class = "ph">Tosca Structure.view</span>:<br/><img class = "image" id = "tso-t-usr-terms-constraint-parFile__image_2949EF1B7A284F9C8D50603586CFFD88" src = "../TsoUserImages/xx0cd72e.jpg" width = "450"/><br/>
</div>
</li></ol></section>
<p class = "result">
<div class = "note"><span class = "run-in.note">Note:
			</span><span class = "notecontent">
<p>In the above plot <code class = "ph codeph">CONSTRAINT_NORM</code> all constraints are
plotted, normalized. <code class = "ph codeph">CONSTRAINT_NORM</code> is a special
normalization so all fulfilled constraints are &lt; 1.0. This also applies
to <code class = "ph codeph">GE_EQUAL</code> constraints.</p>
</span></div>

</p>
</div>

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