<?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 2D example shows the optimization and post-processing steps with Tosca Structure.smooth."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-t-example-topo-boosterOptimize"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Optimizing the Booster</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-example-topo-boosterOptimize">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Optimizing the Booster</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 = "shortdesc">
This 2D example shows the optimization and post-processing steps with
<span class = "ph">Tosca Structure.smooth</span>.
</p></td></tr></table></td></tr></table>



<div class = "body taskbody">
<section><ol class = "ol steps"><li class = "li step stepexpand">
Define a Design Response (DRESP) for the compliance:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DRESP
  ID_NAME    = TOSCA_DRESP_1_COMPLIANCE_TERM_1
  LIST       = NO_LIST
  DEF_TYPE   = SYSTEM
  EL_GROUP   = ALL_ELEMENTS
  TYPE       = STRAIN_ENERGY
  UPDATE     = EVER
  GROUP_OPER = Sum
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Define the Objective Function (OBJ_FUNC) with a MINMAX formulation:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
OBJ_FUNC
  ID_NAME = OBJ_FUNC_1_OBJ_FUNC_ITEM_1
  TARGET  = MINMAX
  DRESP   = TOSCA_DRESP_1_COMPLIANCE_TERM_1
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Define a Design Response (DRESP) for the volume:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DRESP
  ID_NAME    = TOSCA_DRESP_2_VOLUME_CONSTRAINT_1
  LIST       = NO_LIST
  DEF_TYPE   = SYSTEM
  EL_GROUP   = ALL_ELEMENTS
  TYPE       = VOLUME
  UPDATE     = EVER
  GROUP_OPER = Sum
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Define the Constraint of 30% of the initial volume:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
CONSTRAINT
  ID_NAME   = CONSTRAINT_1_VOLUME_CONSTRAINT_1
  DRESP     = TOSCA_DRESP_2_VOLUME_CONSTRAINT_1
  MAGNITUDE = REL
  EQ_VALUE  = 0.3
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Reference the Design Variables, Objective Function and Constraints in the OPTIMIZE command:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
OPTIMIZE
  ID_NAME    = OPTIMIZE_1_TOPOLOGY_OPTIMIZATION_CONTROLLER
  DV         = DESIGN_AREA
  OBJ_FUNC   = OBJ_FUNC_1_OBJ_FUNC_ITEM_1
  CONSTRAINT = CONSTRAINT_1_VOLUME_CONSTRAINT_1
  STRATEGY   = TOPO_CONTROLLER
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Define the smooth command (SMOOTH).
<div class = "itemgroup stepresult">
<pre class = "codeblock">
SMOOTH
  ID_NAME                = ISO_SMOOTHING_0_3
  TASK                   = iso
  ISO_VALUE              = 0.3
  ELF_INTERSECTION_CHECK = runtime
  SMOOTH_CYCLES          = 10
  REDUCTION_RATE         = 100
  REDUCTION_ANGEL        = 5.0
  FORMAT                 = vtf
  FORMAT                 = stl
  FORMAT                 = onf
END_
</pre>
</div>
</li></ol></section>
<p class = "result">
<p>The optimization result looks as follows:</p>
<p><br/><img class = "image" src = "../TsoExampleImages/TopoBoosterResult.png" width = "350"/><br/></p>
<p><br/><img class = "image" src = "../TsoExampleImages/TopoBoosterResultSmooth.png" width = "300"/><br/></p>
</p>
</div>

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