<?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 illustrates controller-based shape optimization of a rim."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-t-example-shape-rimOptimizeGUI"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Optimizing the Rim Model (Tosca Structure.gui)</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-example-shape-rimOptimizeGUI">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Optimizing the Rim Model (<span class = "ph">Tosca Structure.gui</span>)</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 illustrates controller-based shape optimization of a rim.
<p>This task shows you how to:
					</p><ul><li><a href = "#t-CreatingtheNodeGroups" id = "toc_rg" title = "You need to define node groups for the:">Create the Node Groups</a></li><li><a href = "#t-SetupOpt" id = "toc_rg" title = "">Setup the Optimization</a></li></ul>
</p></td></tr></table></td></tr></table>



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


<div class = "body taskbody"><p class = "abstract">
<span class = "shortdesc">
You need to define node groups for the:
</span>

<ol class = "ol">
<li class = "li">Design Area </li>
<li class = "li">Stamp Restriction</li>
<li class = "li">Turn Restriction</li>
<li class = "li">Frozen Area</li>
</ol>
</p>

<section><ol class = "ol steps"><li class = "li step stepexpand">
To define the Design Area, create the <span class = "ph uicontrol">DESIGN_NODES_ALL</span> node group, which contains the design
nodes. The group should contain
all nodes of the rim holes:
<div class = "itemgroup stepresult">
<br/><img class = "image" src = "../TsoExampleImages/shapeRimDesArea.png"/><br/>
</div>
</li><li class = "li step stepexpand">
Create 6 more node groups containing each hole separately (HOLE_1
... HOLE_6).

<div class = "itemgroup stepresult">
  These group definitions are needed for the stamp
  restrictions (<span class = "ph uicontrol">SURF_STAMP</span>) on the holes.
</div>
</li><li class = "li step stepexpand">
Create 2 node groups containing the nodes of the inner
(<span class = "ph uicontrol">TURN_INNER</span>) and the outer rim surface (<span class = "ph uicontrol">TURN_OUTER</span>), needed for the
<span class = "ph uicontrol">CHECK_SLIDE</span> restriction:
<div class = "itemgroup stepresult">
<br/><img class = "image" src = "../TsoExampleImages/shapeRImInOutSurf.png"/><br/>
</div>
</li><li class = "li step stepexpand">
          The <span class = "ph uicontrol">MESH_SMOOTH</span> command can cause the undesirable displacement
            of some nodes on the inner and outer turn surface of the rim. Therefore, some nodes need
            to be fixed. Create a group with the fix nodes (<span class = "ph uicontrol">FIX_NODES</span>):
          <div class = "itemgroup stepresult">
            <br/><img class = "image" src = "../TsoExampleImages/shapeRimFixNodes.png"/><br/>
          </div>
        </li></ol></section>

</div>

</article>

 <article class = "topic task nested1" aria-labelledby = "ariaid-title3" id = "t-SetupOpt">
<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">Setup the Optimization</h2>

<div class = "body taskbody">
<section><ol class = "ol steps"><li class = "li step stepexpand">
Start <span class = "ph">Tosca Structure.pre</span> to define the optimization task.
</li><li class = "li step stepexpand">
          Import the analysis model rim.ext (ext=inp, bdf, dat...). If no groups are defined in
            the analysis input (for example, for <span class = "ph">MSC Nastran®</span>input), import the groups from the file groups.bdf, which can be found in the same
            directory as the analysis input. For more details, refer to the <span class = "ph">Tosca Structure</span> Getting Started manual.
        </li><li class = "li step stepexpand">
Create the design variable area. The group DESIGN_NODES contains
the design elements.
</li><li class = "li step stepexpand">
To view the stresses outside the design area, the stress in the node group
ALL_NODES must be determined in a Design Response (DRESP):
<div class = "itemgroup stepresult">Create a LINK_SHAPE condition with client type SURF_STAMP to set a
stamp restriction to the rim holes. Specify the positive global y
axis as client direction. For each rim hole, create a DVCON_SHAPE
using the node groups HOLE_1 ... HOLE_6. Assign the link condition
above to the DVCON_SHAPE items.
</div>
</li><li class = "li step stepexpand">
     Create a LINK_SHAPE condition with client type ROTATION_SYM to set a rotation symmetry to
      the design area. Specify a 60° symmetry around the global y axis. Choose a tolerance value of
      0.01 for each axis that matches the <span class = "ph">Tosca Structure</span> default tolerance value. Assign the link
      condition to a DVCON_SHAPE item selecting the design group. 
    </li><li class = "li step stepexpand">
          Create a LINK_SHAPE condition with client type SURF_TURN, which is used for the
            definition of the slide surface (Fig. 104). Set the node group TURN_OUTER as the main
            criterion for the outer rim surface. Specify the positive global y axis as client
            direction. Assign the link condition to a DVCON_SHAPE item selecting the same node
            group. To specify a slide surface, activate the link condition in the field CHECK_SLIDE.
            After that repeat the whole definition for the inner rim surface (node group
            TURN_INNER). 
          <div class = "itemgroup stepresult">
            <br/><img class = "image" src = "../TsoExampleImages/shapeRimTurnSurf.png"/><br/>
          </div>
        </li><li class = "li step stepexpand">
 Define a DVCON_SHAPE item to fix some nodes on the outer rim turning
surface. The nodes are assembled in the group FIX_NODES. Fix the
displacements of the node group in all global directions.
</li><li class = "li step stepexpand">
 Create the design responses. Add a design response for the volume as a
sum of all design elements volumes. Create design responses for the
maximal von Mises stress in the design area for both <span class = "ph">load cases</span>.
</li><li class = "li step stepexpand">
 Define the objective function to minimize the maximal von Mises stress
from both <span class = "ph">load cases</span> (MINMAX).
</li><li class = "li step stepexpand">
 Define a volume constraint with a relative value of 1.0. Thus the initial
weight of the rim remains unchanged.
</li><li class = "li step stepexpand">
 Define a MESH_SMOOTH area that contains four element layers starting with the
DESIGN_NODES group.
</li><li class = "li step stepexpand">
 Compose the optimization task (OPTIMIZE) and select the predefined
definitions. Choose the SHAPE_CONTROLLER optimization strategy. Make
sure to reference all defined DVCON_SHAPE items in the OPTIMIZE
command.
</li><li class = "li step stepexpand">
Start the complete <span class = "ph">Tosca Structure</span> optimization using the start option type
= all.
</li><li class = "li step stepexpand">
Generate both displacement and control plots.
</li></ol></section>
<p class = "result">
The result looks as follows:
<p><br/><img class = "image" src = "../TsoExampleImages/shapeRimResult.png" width = "454"/><br/></p>
<p> Notice the growth and the
shrink areas. How does the shape of the rim holes change? Are all manufacturing
restrictions maintained? </p>
</p>
</div>

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