<?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 = "The creation of a sensitivity-based optimization setup is shown using the example of a connection rod."/><meta name = "description" content = "The creation of a sensitivity-based optimization setup is shown using the example of a connection rod."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-t-usr-shape-staAna-sensConRod"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Setting up Sensitivity-Based Optimization</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-usr-shape-staAna-sensConRod">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Setting up Sensitivity-Based Optimization</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">The creation of a sensitivity-based optimization setup is shown using the example of a connection rod.</span>

</p>

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




  
  
<div class = "body taskbody">
<div class = "section context"><p class = "context"><span class = "run-in.context">Context: </span>
<table class = "table"><caption/><colgroup><col style = "width:50%"/><col style = "width:50%"/></colgroup><tbody class = "tbody">
<tr class = "row">
<td class = "entry"><br/><div class = "imagecenter"><img class = "image imagecenter" src = "../TsoUserImages/tso-c-usr-shape-staAna-sensConRod-designArea.png" title = "ConRod designArea"/></div><br/></td>
<td class = "entry"><br/><div class = "imagecenter"><img class = "image imagecenter" src = "../TsoUserImages/tso-c-usr-shape-staAna-sensConRod-initialStress.png" title = "Initial stress distribution"/></div><br/></td>
</tr>
<tr class = "row">
<td class = "entry">Design nodes</td>
<td class = "entry">Initial stress distribution</td>
</tr>
</tbody></table><p>To create a runnable <span class = "ph">Tosca</span> setup for a sensitivity-based shape optimization, draw attention to the following parts
        of the parameter file:</p>
</p></div>

<section><ol class = "ol steps"><li class = "li step stepexpand">
Use the following command to define the target:
<p><table class = "Remark" id = "table132"><tr><td class = "Remark"><span class = "run-in.important">Important:
				</span><span class = "notecontent">For the objective function definition, the only allowed <code class = "ph codeph">TARGET</code>s are <code class = "ph codeph">MIN</code> and <code class = "ph codeph">MAX</code>. 
                             It is NOT allowed to use <code class = "ph codeph">MINMAX</code> as target.</span></td></tr></table>
</p>
<p><pre class = "codeblock">
OBJ_FUNC
  ID_NAME = OBJ_FUNC_1_OBJ_FUNC_ITEM_1
  TARGET = <code class = "ph codeph">MIN</code>
  ...
END_
</pre></p>
</li><li class = "li step stepexpand">
The next thing to take care about is setting the box constraints for the design variables: Use the <code class = "ph codeph">CHECK_GROW</code>
and <code class = "ph codeph">CHECK_SHRINK</code> commands. <p><div class = "note"><span class = "run-in.note">Note:
			</span><span class = "notecontent">The design nodes should not grow or shrink by more than 5 units.    
</span></div>

<pre class = "codeblock">
DVCON_SHAPE
  ID_NAME = DVCON_SHAPE_GROW_SHRINK
  ND_GROUP = DESIGN_NODES
  CHECK_GROW = 5
  CHECK_SHRINK = 5
END_
</pre>
</p>
</li><li class = "li step stepexpand">
The most important change must be made to the <code class = "ph codeph">OPTIMIZE</code> command: change the STRATEGY to
<code class = "ph codeph">SHAPE_SENS</code>:
<p>
<pre class = "codeblock">
OPTIMIZE
  ID_NAME = OPTIMIZE_1_SHAPE_OPTIMIZATION_CONTROLLER
  ...
  STRATEGY = <code class = "ph codeph">SHAPE_SENS</code>
END_      
</pre>
</p>
</li></ol></section>
<p class = "result">
<p>    
<table class = "table"><caption/><colgroup><col style = "width:33.33333333333333%"/><col style = "width:33.33333333333333%"/><col style = "width:33.33333333333333%"/></colgroup><tbody class = "tbody">
<tr class = "row">
<td class = "entry"><br/><div class = "imagecenter"><img class = "image imagecenter" src = "../TsoUserImages/tso-c-usr-shape-staAna-sensConRod-resultStress.png" title = "Result stress distribution"/></div><br/></td>
<td class = "entry"><br/><div class = "imagecenter"><img class = "image imagecenter" src = "../TsoUserImages/tso-c-usr-shape-staAna-sensConRod-resultDisp.png" title = "Result nodal movement"/></div><br/></td>
<td class = "entry"><br/><div class = "imagecenter"><img class = "image imagecenter" src = "../TsoUserImages/tso-c-usr-shape-staAna-sensConRod-convergence.png" title = "Convergence plot"/></div><br/></td>
</tr>
<tr class = "row">
<td class = "entry">Result stress distribution</td>
<td class = "entry">Result nodal distribution</td>
<td class = "entry">Convergence plot, red: Volume constraint, blue: objective function</td>
</tr>
</tbody></table>
</p>
</p>
</div>

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