<?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 rotational symmetry is maintained during the optimization of rotary symmetrical components."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-t-example-shape-shaftOptimize"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Optimizing the Shaft Model</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-example-shape-shaftOptimize">
<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 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 rotational symmetry is maintained during the optimization of rotary symmetrical components.<p>This task shows you how to:
					</p><ul><li><a href = "#t-DefiningtheNodeGroups" id = "toc_rg" title = "Using the command GROUP_AUTO_DEF, nodes can be automatically searched for, starting with a parent group of nodes.">Define the Node Groups</a></li><li><a href = "#t-DefiningtheLinkConditions" id = "toc_rg" title = "To maintain the rotational symmetry, each node of a link group (parent_*) must have the same absolute displacement (in the cylindrical coordinate system CS_1) as the main nodes of the link group. The main node is determined by the 'MAX'-criterion (that is, the node with the largest stress is the main node).">Define the Link Conditions</a></li><li><a href = "#t-AssigningtheLinkConditions" id = "toc_rg" title = "The link conditions must be assigned to the individual node groups using the command DVCON_SHAPE. As the definition of node groups occurs automatically and a lot of node groups are generated in large models, SIMULIA Tosca Structure also has the functionality to provide automatic generation. The command DVCON_AUTO_SHAPE allows the automatic definition of DVCON_SHAPE entries for all groups that have a certain name prefix (in this case parent_).">Assign the Link Conditions</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 command GROUP_AUTO_DEF, nodes can be automatically
searched for, starting with a parent group of nodes. 
</span>

<br/><img class = "image" src = "../TsoExampleImages/shapeShaftNodeGroups.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 all nodes in the length of
the shaft:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
GROUP_DEF
 ID_NAME = parent
 TYPE    = NODE
 FORMAT  = LIST
 LIST_BEGIN
 16, 177-1717:140
END_
</pre>
</div>
</li><li class = "li step stepexpand">
To find all nodes in a circumferential direction (360° of the
global cylindrical coordinate system CS_1), use the GROUP_AUTO_DEF
command:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
GROUP_AUTO_DEF
 ND_GROUP    = parent
 CS          = CS_1
 TOL         = 0.1,0.1,0.1
 SEARCH_TYPE = CONTINUOUS
 SEARCH_DIR  = +2
 SEARCH_LEN  = 360
END_
</pre>
<p>With this command, you also define new groups with the name
of the parent group as the name prefix. For every node of the parent group, a new
group is defined with indices (parent_1, paren_2,.., parent_13).</p>
</div>
</li><li class = "li step stepexpand">
(optional) To check if the processing was done correctly, you can check the TOSCA.OUT file:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
------------------------------------------------------------
| Data output of GROUP_AUTO_DEF comand |
------------------------------------------------------------
 GROUP_AUTO_DEF (temporary data) :
 ND_GROUP : PARENT
 CS : CS_1
 TOL : 0.1000 , 0.1000 , 0.1000
 SEARCH_TYPE : CONTINUOUS
 SEARCH_DIR : +2 (positive second coordinate of CS)
 SEARCH_LEN : 360.0
 Remark :
 Only the selected nodes will be considered (see SELECT
command).
 -----------------------------------------------------------
| Begin execution of GROUP_AUTO_DEF command |
 -----------------------------------------------------------
 NODE_GROUP NAME: PARENT_1
 Number of Nodes: 30 Min_No.: 1 Max_No.: 30
 -----------------------------------------------------------
 1 -&gt; 30
 ----------------------------------------------------------- 
 NODE_GROUP NAME: PARENT_2
 Number of Nodes: 30 Min_No.: 147 Max_No.: 205
 -----------------------------------------------------------
 147 148 151 153 155 157 159 161 163 165 167 169 171 173 175
177 179 181
 183 185 187 189 191 193 195 197 199 201 203 205
 -----------------------------------------------------------

 NODE_GROUP NAME: PARENT_3
 Number of Nodes: 30 Min_No.: 287 Max_No.: 345
 -----------------------------------------------------------
 287 288 291 293 295 297 299 301 303 305 307 309
311 313 315
 317 319 321 323 325 327 329 331 333 335 337 339
341 343 345
 -----------------------------------------------------------
 .....
</pre>
</div>
</li></ol></section>
</div>

</article>

<article class = "topic task nested1" aria-labelledby = "ariaid-title3" id = "t-DefiningtheLinkConditions">
<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 Link Conditions</h2>


<div class = "body taskbody"><p class = "shortdesc">To maintain the rotational symmetry, each node of a link group (parent_*) must have the
   same absolute displacement (in the cylindrical coordinate system CS_1) as the main nodes of the
   link group. The main node is determined by the 'MAX'-criterion (that is, the node with the largest
   stress is the main node). </p>

<section><div class = "li step p">
Define a link condition (LINK_SHAPE) as follows:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
LINK_SHAPE
 ID_NAME = link_length
 MAIN  = MAX
 CLIENT  = LENGTH
 CS      = CS_1
 TOL     = 0.1,0.1,0.1
END_
</pre>
</div>
</div></section>
</div>

</article>

<article class = "topic task nested1" aria-labelledby = "ariaid-title4" id = "t-AssigningtheLinkConditions">
<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">Assign the Link Conditions</h2>


<div class = "body taskbody"><p class = "shortdesc">The link conditions must be assigned to the individual node groups
using the command DVCON_SHAPE. As the definition of node groups
occurs automatically and a lot of node groups are generated in
large models, <span class = "ph">SIMULIA Tosca Structure</span> also has the functionality to provide
automatic generation. The command DVCON_AUTO_SHAPE allows the
automatic definition of DVCON_SHAPE entries for all groups that
have a certain name prefix (in this case parent_).
</p>

<section><ol class = "ol steps"><li class = "li step stepexpand">
To automatically define DVCON_SHAPE entries, create a Design Variable Constraint (DVCON_AUTO_SHAPE):
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DVCON_AUTO_SHAPE
 ID_NAME         = dvcon_link_*
 ND_GROUP_FAMILY = parent_*
 CHECK_LINK      = link_length
END_
</pre>
</div>
</li><li class = "li step stepexpand">
(optional) To check if the processing was done correctly, you can check the TOSCA.OUT file:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
          ------------------------------------------------------------
| Information about the command DVCON_AUTO_SHAPE
|
 -----------------------------------------------------------
 In the following some DVCON_SHAPE commands will be submitted
automatically.
 The syntax of these commands will be as follows:
 DVCON_SHAPE
 ID_NAME = DVCON_LINK_*
 ND_GROUP = PARENT_*
 CHECK_LINK = LINK_LENGTH
 END_
 The strings * result from the complements to
 the full names of the existing node groups.
 -----------------------------------------------------------
| Data output of DVCON_SHAPE entries
|
 -----------------------------------------------------------
 DVCON_SHAPE (database extraction):
 ID_NAME : DVCON_LINK_1
 ND_GROUP : PARENT_1
 CHECK_LINK : LINK_LENGTH
 -----------------------------------------------------------
| Data output of DVCON_SHAPE entries
 -----------------------------------------------------------
 DVCON_SHAPE (database extraction):
 ID_NAME : DVCON_LINK_2
 ND_GROUP : PARENT_2
 CHECK_LINK : LINK_LENGTH
 -----------------------------------------------------------
| Data output of DVCON_SHAPE entries
 -----------------------------------------------------------
 DVCON_SHAPE (database extraction):
 ID_NAME : DVCON_LINK_3
 ND_GROUP : PARENT_3
 CHECK_LINK : LINK_LENGTH
 .....
</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     = shape_optimization
 DV          = design_variables
 OBJ_FUNC    = minimize_max_mises
 DVCON       = dvcon_left_fix_z
 DVCON       = dvcon_right_fix_z
 DVCON       = dvcon_link_*
 MESH_SMOOTH = mesh_smooth
END_
</pre>
     </div>
    </li></ol></section>
<p class = "result">
The result with and without link conditions looks as follows:
<p><br/><img class = "image" src = "../TsoExampleImages/shapeShaftResult.png"/><br/></p>
</p>
</div>

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