<?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 = "abstract" content = "First, a shape optimization task must be defined. For this task, use the group DESIGN_NODES for the design area. The objective will be to minimize the maximum stress in the critical area. These definitions are required to get results for evaluation of the quality of the model variants."/><meta name = "description" content = "First, a shape optimization task must be defined. For this task, use the group DESIGN_NODES for the design area. The objective will be to minimize the maximum stress in the critical area. These definitions are required to get results for evaluation of the quality of the model variants."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-t-example-morph-cranehookOptimize"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Optimizing the Crane Hook Model (Tosca Structure.gui)</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-example-morph-cranehookOptimize">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Optimizing the Crane Hook 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 = "header"><p class = "abstract"><span class = "shortdesc">First, a shape optimization task must be defined. For this task,
use the group DESIGN_NODES for the design area. The objective will
be to minimize the maximum stress in the critical area. These
definitions are required to get results for evaluation of the
quality of the model variants.

</span>

  
</p>

</p></td></tr></table></td></tr></table>



<div class = "body taskbody">
<section><ol class = "ol steps"><li class = "li step stepexpand">
 Define 7 morphing areas (Morph1, …, Morph7) using the corresponding groups in your
input file. Define each morphing area with the MORPH_AREA command: 
<div class = "itemgroup stepresult">
<pre class = "codeblock">
MORPH_AREA
  ID_NAME         = Morph1
  ND_GROUP        = MORPHING_1
  TYPE            = NORMAL
  TRANSITION_ZONE = 1
END_
</pre>
</div>
</li><li class = "li step stepexpand">
 Define an experiment plan. Save your morphing scheme in a *.csv file (see, for example, the
User Guide), where the first line refers to the morphing areas and each following line
corresponds to one model variant: 
<div class = "itemgroup stepresult">
<div class = "note"><span class = "run-in.note">Note:
			</span><span class = "notecontent">Displacement must be given as real values. So do not forget the dot. For example,
write 1.0 instead of 1. </span></div>

<pre class = "codeblock">
0, Morph1, Morph2, Morph3, Morph4, Moph5, Morph6, Morph7
1, 3.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
2, 0.0, 3.0, 0.0, 0.0, 0.0, 0.0, 0.0
3, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0, 0.0
4, 0.0, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0
5, 0.0, 0.0, 0.0, 0.0, 3.0, 0.0, 0.0
6, 0.0, 0.0, 0.0, 0.0, 0.0, 3.0, 0.0
7, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 3.0
8, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0
9, 0.0,-2.0, 0.0, 3.0, 3.0, 0.0,-2.0
</pre>
<p>In this example, each morphing area will first be morphed with a displacement of 3 mm.
Then we will morph all the design areas simultaneously to see the effect of a
large-scale geometric change. In the last experiment, a new geometry of the crane hook
will be created. For this experiment, some MORPH_AREA will shrink, and others will grow.
This is controlled by a negative/ positive sign in the *.csv-File.</p>
</div>
</li><li class = "li step stepexpand">
Assign this experiment plan to your task using the MORPH command:
        
<div class = "itemgroup stepresult">
<pre class = "codeblock">
MORPH
  ID_NAME = tosca_morph
  OPTIMIZE = &lt;my_opt_task&gt;
  MORPH_AREA = Morph1
  MORPH_AREA = Morph2
  MORPH_AREA = Morph3
  MORPH_AREA = Morph4
  MORPH_AREA = Morph5
  MORPH_AREA = Morph6
  MORPH_AREA = Morph7
  MORPH_PARAM_FILE = cranehook_morph.csv
END_
</pre>
</div>
</li><li class = "li step stepexpand">
 Save your definitions to a parameter file (for example, my_morph_job) and start your morphing
task on the Start <span class = "ph">Tosca Structure</span> screen: 
<div class = "itemgroup stepresult">
<p><br/><img class = "image" src = "../TsoExampleImages/morphCranehookStartTos.png"/><br/></p>
</div>
</li><li class = "li step stepexpand">
Create your visualization sequence using <span class = "ph">Tosca Structure.report</span> in
the same way like for shape optimization results: The only
difference is that the report is generated from the files
TOSCA_MORPH_xxx.onf instead of SHAPE_xxx.onf

<div class = "itemgroup stepresult">
</div>
</li></ol></section>
<p class = "result">
<p>The result looks as follows:</p>
<p><br/><img class = "image" src = "../TsoExampleImages/morphCranehookResult.png"/><br/></p>
<p>In the *.vtfx-File, you can see the controller input (for example, stresses) and the nodal
    displacements for all experiments. Each frame corresponds to an experiment. In this example,
    the experiment 8 with the large-scale modification of the geometry gives the best results
    for the stresses. The experiment 9, which is a combination of grow and shrink, gives good
    results too, and the modified geometry is significantly lighter than the geometry in the
    experiment 8. So the experiment 9 can be a good compromise for further processing (for example, a
    subsequent local shape optimization...).</p>
</p>
</div>


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