<?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 how the planar symmetry is maintained during the optimization."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-t-example-shape-carrierOptimize"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Optimizing the Carrier Model</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-example-shape-carrierOptimize">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Optimizing the Carrier Model </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 example shows how the
planar symmetry is maintained during the optimization.<p>This task shows you how to:
					</p><ul><li><a href = "#t-DefiningtheNodeGroups" id = "toc_rg" title = "Using the commands GROUP_AUTO_DEF and DVCON_AUTO_SHAPE the nodes in both radii are coupled over the depth of the structure. Nodes from the parent group can be found on the front edge.">Define the Node Groups</a></li><li><a href = "#t-DefiningThePlaneSymmetry" id = "toc_rg" title = "To keep both radii symmetrical, a plane symmetry coupling condition must also be defined. A coordinate system is used to define the symmetry plane. The x-axis of the global coordinate system (CS_0) is the normal to the plane.">Define the Plane Symmetry</a></li><li><a href = "#t-DefiningTheOptProblem" id = "toc_rg" title = "">Define the Optimization Problem</a></li></ul>
</p></td></tr></table></td></tr></table>



<article class = "topic task nested1" aria-labelledby = "ariaid-title2" id = "t-DefiningtheNodeGroups">
<h2 class = "title topictitle2">Define the Node Groups</h2>


<div class = "body taskbody"><p class = "abstract"><span class = "shortdesc">Using the commands GROUP_AUTO_DEF and DVCON_AUTO_SHAPE the nodes in
both radii are coupled over the depth of the structure. Nodes from
the parent group can be found on the front edge.
</span>

<br/><img class = "image" src = "../TsoExampleImages/shapeCarrierNodeGroups.png"/><br/>
</p>

<section><ol class = "ol steps"><li class = "li step stepexpand">
To define the parent node group, create a Group Definition (GROUP_DEF) that contains the parent nodes on the right and left radius:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
GROUP_DEF
 ID_NAME = parent
 TYPE    = NODE
 FORMAT  = LIST
 LIST_BEGIN
 1845-1865:2
 853-873:2
END_
</pre>
</div>
</li><li class = "li step stepexpand">
To automatically define the link groups from the parent group, use the GROUP_AUTO_DEF
command:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
GROUP_AUTO_DEF
 ND_GROUP    = parent
 CS          = CS_0
 TOL         = 0.01,0.01,0.01
 SEARCH_TYPE = CONTINUOUS
 SEARCH_DIR  = -3
 SEARCH_LEN  = 40
END_
</pre>
</div>
</li><li class = "li step stepexpand">
To assign the same absolute displacement for all nodes, do the following:
<ol type = "a" class = "ol substeps">
<li class = "li substep">
Define the main node with the largest absolute displacement in a link condition (LINK_SHAPE). The main node is determined using MAX (the largest
absolute displacement) from the relevant coupling group:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
LINK_SHAPE
 ID_NAME = link_length
 MAIN  = MAX
 CLIENT  = LENGTH
 CS      = CS_0
 TOL     = 0.01,0.01,0.01
END_
</pre>
</div>
</li>
<li class = "li substep">
To automatically assign the link condition to all groups with the same prefix parent_, reference the main node in  a Design Variable Auto Constraint (DVCON_AUTO_SHAPE):<div class = "itemgroup stepresult"><pre class = "codeblock">
DVCON_AUTO_SHAPE
 ID_NAME         = dvcon_length_*
 ND_GROUP_FAMILY = parent_*
 CHECK_LINK      = link_length
END_
</pre></div>
</li>
</ol>
</li></ol></section>
</div>

</article>

<article class = "topic task nested1" aria-labelledby = "ariaid-title3" id = "t-DefiningThePlaneSymmetry">
<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">Define the Plane Symmetry</h2>


<div class = "body taskbody"><p class = "abstract"><span class = "shortdesc">To keep both radii symmetrical, a plane symmetry coupling condition
must also be defined. A coordinate system is used to define the
symmetry plane. The
x-axis of the global coordinate system (CS_0) is the normal to the
plane.
</span>

<br/><img class = "image" src = "../TsoExampleImages/shapeCarrierSymPlane.png"/><br/>
</p>

<section><ol class = "ol steps"><li class = "li step stepexpand">
Define a link condition (LINK_SHAPE).
<div class = "itemgroup stepresult">
<pre class = "codeblock">
LINK_SHAPE
 ID_NAME    = link_plane_sym
 MAIN     = MAX
 CLIENT     = PLANE_SYM
 CLIENT_DIR = 1.0, 0.0, 0.0
 CS         = CS_0
 TOL        = 0.01,0.01,0.01
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Assign the link condition to the node groups with DVCON_SHAPE:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DVCON_SHAPE
 ID_NAME    = dvcon_plane_sym
 ND_GROUP   = surface
 CHECK_SPC  = NO
 CHECK_LINK = link_plane_sym
END_
</pre>
<p>This kind of LINK-coupling is only applicable for a symmetrical mesh. The link
conditions are assigned to the node groups using the command
DVCON_SHAPE. The node group <span class = "ph uicontrol">surface</span>contains all nodes on the surface
of both radii that are to be optimized (all design nodes).</p>
</div>
</li></ol></section>
</div>

</article>

<article class = "topic task nested1" aria-labelledby = "ariaid-title4" id = "t-DefiningTheOptProblem">
<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">Define the Optimization Problem</h2>

<div class = "body taskbody">
<section><div class = "li step p">
     Reference the Design Variables, Objective Function, and constraints in the OPTIMIZE
      command:
     <div class = "itemgroup stepresult">
      <pre class = "codeblock">
OPTIMIZE
 ID_NAME     = shape_optimization
 DV          = design_variables
 OBJ_FUNC    = minimize_maximum_stress
 DVCON       = dvcon_fix_z
 DVCON       = dvcon_plane_sym
 DVCON       = dvcon_length_*
 MESH_SMOOTH = mesh_smooth
END_
</pre>
     </div>
    </div></section>
<p class = "result">
The result looks as follows:
<p><br/><img class = "image" src = "../TsoExampleImages/shapeCarrierResult.png"/><br/></p>
</p>
</div>

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