<?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 = "The link condition is defined with the LINK_SHAPE command and later assigned to a node group using the DVCON_SHAPE command. The main nodes are determined in segments of the rotation surface. Segmentation is done automatically by the optimization system. The use of MAX means that the nodes with the highest absolute displacement are used as main nodes for the link conditions. The y-axis of the global Cartesian coordinate system is the rotation axis."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-t-example-shape-shaftTurnOptimize"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Optimizing the Shaft Turn Model</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-example-shape-shaftTurnOptimize">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Optimizing the Shaft Turn 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">The link condition is defined with the LINK_SHAPE command and later
assigned to a node group using the DVCON_SHAPE command. The main
nodes are determined in segments of the rotation surface. Segmentation is
done automatically by the optimization system. The use of MAX means that
the nodes with the highest absolute displacement are used as main nodes
for the link conditions. The y-axis of the global Cartesian coordinate system is
the rotation axis.
</p></td></tr></table></td></tr></table>



<div class = "body taskbody">
<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_geo
 MAIN       = MAX
 CLIENT     = SURF_TURN
 CLIENT_DIR = 0.0, 1.0, 0.0
 CS         = CS_0
END_
</pre>
</div>
</li><li class = "li step stepexpand">
To assign the link condition to a node group, create a Design Variable Constraint (DVCON_SHAPE):
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DVCON_SHAPE
 ID_NAME    = dvcon_geo
 ND_GROUP   = geo_area
 CHECK_LINK = link_geo
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Reference the Design Variables, the 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    = min_function
 DVCON       = check_spc
 DVCON       = fix_y
 DVCON       = fix_cylinder_circle
 DVCON       = dvcon_geo
 MESH_SMOOTH = mesh_smooth
END_
</pre>
    </div>
   </li></ol></section>
<p class = "result">
The result looks as follows:
<p>
<br/><img class = "image" src = "../TsoExampleImages/shapeShaftTurnResult.png"/><br/></p>
</p>
</div>

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