<?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 with an oil pan model."/><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-OilOptimize"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Maximizing the Stiffness of the Rib Oil Pan Example</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-example-topo-sens-Rib-OilOptimize">
<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 Oil Pan 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 with an oil pan model.
</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_oilpan.inp
END_

DV_TOPO
  ID_NAME  = DESIGN_AREA
  EL_GROUP = ALL_ELEMENTS
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Define additional groups for frozen elements:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
GROUP_DEF
  ID_NAME = FROZEN
  TYPE    = ELEM
  FORMAT  = LIST
  LIST_BEGIN
87593, ...
END_

GROUP_DEF
  ID_NAME = NON_FROZEN
  TYPE    = ELEM
  FORMAT  = LIST_SUBTRACT_GROUP
  LIST_BEGIN
ALL_ELEMENTS, frozen
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       = COMPLIANCE_TERM_1
  DEF_TYPE      = SYSTEM
  TYPE          = STRAIN_ENERGY
  EL_GROUP      = ALL_ELEMENTS
  UPDATE        = EVER
  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       = COMPLIANCE_OBJ
  DRESP         = COMPLIANCE_TERM_1
  TARGET        = MIN
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Define the rib pattern and frozen DVCONs:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DVCON_TOPO
  ID_NAME       = FROZEN_AREA
  CHECK_TYPE    = FROZEN
  EL_GROUP      = FROZEN
END_

DVCON_TOPO
  ID_NAME       = DVCON_RIBS
  CHECK_TYPE    = RIB_DESIGN
  EL_GROUP      = NON_FROZEN
  CHECK_GROUP   = NON_FROZEN
  RIB_THICKNESS = 4
  RIB_DISTANCE  = 5
  RIB_DIRECTION = 0., 0., 1.
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       = OPTIMIZE_1
  DV            = DESIGN_AREA
  OBJ_FUNC      = COMPLIANCE_OBJ
  DVCON         = FROZEN_AREA
  DVCON         = DVCON_RIBS
  STRATEGY      = TOPO_SENSITIVITY
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Set the maximum number of iterations to 100
<div class = "itemgroup stepresult">
<pre class = "codeblock">
STOP
  ID_NAME  = GLOBAL_STOP_CONDITION
  ITER_MAX = 100
END_
</pre>
</div>
</li></ol></section>
<p class = "result">The optimization result looks as follows: <br/><img class = "image" src = "../TsoExampleImages/sensTopoRibOilResult.png" width = "567"/><br/></p>
</div>

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