<?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 = "description" content = "This example shows the usage of the rib pattern restriction using a plastic injection part."/><meta name = "DC.relation" scheme = "URI" content = "tso-c-example-topo-checkOptResult.htm#tso-c-example-topo-checkOptResult"/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-t-example-topo-sens-Rib-PlasticOptimize"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Maximizing the Stiffness of the Rib Plastic Part Example</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-example-topo-sens-Rib-PlasticOptimize">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Maximizing the Stiffness of the Rib Plastic Part Example</h1></td></tr><tr><td class = "DocHeader4" colspan = "2"/></tr><tr><td class = "DocHeader3"><table class = "DocHeaderIntro" id = "table12"><tr><td class = "Intro1Only"><p class = "shortdesc">This example shows the usage of the rib pattern restriction using a plastic injection part.
</p></td></tr></table></td><td class = "DocHeader2"><table class = "DocTopicsSeeAlso" id = "table13"><tr><td class = "TopicsTitle">See Also</td></tr><tr><td><a title = "To get an impression of the quality of the optimization, it is necessary to check the values of the constraints and the objective at the end of the optimization." href = "tso-c-example-topo-checkOptResult.htm#tso-c-example-topo-checkOptResult">About Checking the Quality of the Optimization Result</a></td></tr></table></td></tr></table>



<div class = "body taskbody">
<section><ol class = "ol steps"><li class = "li step stepexpand">
Define input data and Design Variables:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
FEM_INPUT
  ID_NAME  = INPUT_FILE
  FILE     = topo_ribs_plastic.inp
END_

DV_TOPO
  ID_NAME  = globalDesignArea
  EL_GROUP = globalDesignRegion
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Define additional groups for nondesign elements:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
GROUP_DEF
  ID_NAME = designAreaNonFrozen
  TYPE    = ELEM
  FORMAT  = LIST_SUBTRACT_GROUP
  LIST_BEGIN
globalDesignRegion, globalFrozenRegion
END_
</pre>
</div>
</li><li class = "li step stepexpand">
To use the compliance in the objective, define a Design Response (DRESP) as follows:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DRESP
  ID_NAME         = TASK_STIFFNESS
  DEF_TYPE        = SYSTEM
  TYPE            = ENERGY_STIFF_MEASURE
  EL_GROUP        = ALL_ELEMENTS
  GROUP_OPER      = SUM
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Define the Objective Function (OBJ_FUNC) as follows:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
OBJ_FUNC
  ID_NAME         = MY_OBJECTIVE
  DRESP           = TASK_STIFFNESS
  TARGET          = MIN
END_
</pre>
</div>
</li><li class = "li step stepexpand">
To define the mass constraints, do the following:
<ol type = "a" class = "ol substeps">
<li class = "li substep">
Define the corresponding design response:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DRESP
  ID_NAME         = TASK_MASS
  DEF_TYPE        = SYSTEM
  TYPE            = WEIGHT
  EL_GROUP        = globalDesignRegion
  GROUP_OPER      = SUM
END_
</pre>
</div>
</li>
<li class = "li substep">
Define the constraints (CONSTRAINT):
<div class = "itemgroup stepresult">
<pre class = "codeblock">
CONSTRAINT
  ID_NAME         = TASK_MASS_CONSTRAINT
  DRESP           = TASK_MASS
  MAGNITUDE       = REL
  LE_VALUE        = 0.4
END_
</pre>
</div>
</li>
</ol>
</li><li class = "li step stepexpand">
Define the rib pattern and frozen DVCONs:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DVCON_TOPO
  ID_NAME         = PreservedRegion1
  CHECK_TYPE      = FROZEN
  EL_GROUP        = globalFrozenRegion
END_

DVCON_TOPO
  ID_NAME         = RibControl1
  CHECK_TYPE      = RIB_DESIGN
  EL_GROUP        = designAreaNonFrozen
  CHECK_GROUP     = designAreaNonFrozen
  RIB_THICKNESS   = 0.015
  RIB_DISTANCE    = 0.025
  RIB_DIRECTION   = 0.000419, -0.000034, -0.000907
  RIB_CS          = CS_0
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Reference the Objective Function, Design Variables and Constraint as well as DVCON in the OPTIMIZE command:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
OPTIMIZE
  ID_NAME         = Objective
  STRATEGY        = TOPO_SENSITIVITY
  DV              = globalDesignArea
  OBJ_FUNC        = MY_OBJECTIVE
  CONSTRAINT      = TASK_MASS_CONSTRAINT
  DVCON           = PreservedRegion1
  DVCON           = RibControl1
END_
</pre>
</div>
</li></ol></section>
<p class = "result">The optimization result looks as follows: <br/><img class = "image" src = "../TsoExampleImages/sensTopoRibPlasticResult.png" width = "567"/><br/>
Using a standard casting restriction instead of the rib feature, more materials are accumulated in few areas
resulting in a bulkier structure: <br/><img class = "image" src = "../TsoExampleImages/sensTopoRibPlasticResultStandard.png" width = "567"/><br/> </p>
</div>

<div class = "related-links"/>
</td></tr></table><script type = "text/javascript" src = "../DSDocUI_Bottom34.js">/* */</script></body>
</html>
