<?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 = "In this example, you will follow the workflow for a standard bead optimization task:"/><meta name = "description" content = "In this example, you will follow the workflow for a standard bead optimization task:"/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-t-example-bead-bracketPemagOptimize"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Optimizing the Angular Bracket Model</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-example-bead-bracketPemagOptimize">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Optimizing the Angular Bracket 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 = "header"><p class = "abstract"><span class = "shortdesc"> In this example, you will follow the workflow for a standard bead optimization
      task:</span>

<ol class = "ol"><li class = "li">Define input data and design variables.</li>
    <li class = "li">Define the Constraint of the optimization task (DRESP, CONSTRAINT).</li>
    <li class = "li">Define the Objective Function (DRESP, OBJ_FUNC).</li>
    <li class = "li">Activate the Boundary Conditions (DVCON_BEAD)</li>
    <li class = "li">Define the OPTIMIZE command.</li>
    <li class = "li">(optional) Set additional settings (OPT_PARAM).</li></ol>
  </p>

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


<div class = "body taskbody">
<section><ol class = "ol steps"><li class = "li step stepexpand">
Define input data and C.
<div class = "itemgroup stepresult">
<pre class = "codeblock">
FEM_INPUT
  ID_NAME  = fem_input_name
  FILE     = angle_bracket.inp
END_

DV_BEAD
  ID_NAME  = DESIGN_VARIABLES
  ND_GROUP = ND_DesignArea
END_
</pre>
</div>
</li><li class = "li step stepexpand">
Create a constraint for the first eigenfrequency. 
<ol type = "a" class = "ol substeps">
<li class = "li substep">
Define a Design Response with the eigenfrequency (DRESP):
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DRESP
  ID_NAME  = DRESP_EIG_FREQ1
  DEF_TYPE = SYSTEM
  TYPE     = DYN_FREQ
  LC_SET   = All,1,1
END_
</pre>
</div>
</li>
<li class = "li substep">
Reference the Design Response in a constraint (CONSTRAINT) and constrain it to a minimum of 4.25 Hz:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
CONSTRAINT
  ID_NAME   = EIG_FREQ_CONSTRAINT
  DRESP     = DRESP_EIG_FREQ1
  MAGNITUDE = ABS
  GE_VALUE  = 4.25
END_
</pre>
</div>
</li>
</ol>
</li><li class = "li step stepexpand">
To define the Objective Function (OBJ_FUNC) for the plastic equivalent magnitude
(PEMAG) in the second <span class = "ph">load case</span>, do the following:
<ol type = "a" class = "ol substeps">
<li class = "li substep">
Create a Design Response (DRESP):
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DRESP
  ID_NAME  = DRESP_PEMAG
  DEF_TYPE = SYSTEM
  EL_GROUP = ALL_ELEMENTS
  TYPE     = PEMAG
  LC_SET   = All,2,,
END_
</pre>
</div>
</li>
<li class = "li substep">
Reference the Design Response in the Objective Function (OBJ_FUNC) and minimize it:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
OBJ_FUNC
  ID_NAME = MINIMIZE_PEMAG
  DRESP   = DRESP_PEMAG
  TARGET  = MIN
END_
</pre>
</div>
</li>
<li class = "li substep">
Define the DVCON_BEAD for the growth and shrink limits as well as fixed boundary
nodes, respectively.
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DVCON_BEAD
  ID_NAME      = DV_MIN_MAX
  CHECK_BC     = YES
  ND_GROUP     = ND_DesignArea
  CHECK_GROW   = 0.0
  CHECK_SHRINK = 3.0
END_

DVCON_BEAD
  ID_NAME      = fix_outline
  ND_GROUP     = ND_Outline
  CHECK_DOF    = CS_0, FIX, FIX, FIX
END_
</pre>
</div>
</li>
</ol>
</li><li class = "li step stepexpand">
Reference the Design Variables, Objective Function, and Constraints as well as DV_CONs
in the OPTIMIZE command:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
OPTIMIZE
  ID_NAME    = BEAD_OPTIMIZATION
  STRATEGY   = BEAD_SENSITIVITY
  DV         = DESIGN_VARIABLES
  OBJ_FUNC   = MINIMIZE_PEMAG
  CONSTRAINT = EIG_FREQ_CONSTRAINT
  DVCON      = DV_MIN_MAX
  DVCON      = FIX_OUTLINE
END_
</pre>
</div>
</li><li class = "li step stepexpand"> 
(optional) Define the stop criterion in the OPT_PARAM command as well as the maximum number of iterations.
<div class = "itemgroup stepresult">
<pre class = "codeblock">
OPT_PARAM
  ID_NAME            = MY_PARAMETERS
  OPTIMIZE           = BEAD_OPTIMIZATION
  STOP_CRITERION_OBJ = 0.05
END

STOP
  ID_NAME  = STOP_1_GLOBAL_STOP_CONDITION_1
  ITER_MAX = 100
END_
</pre>
<p>If you do not define the bead width, the system automatically determines a bead width. </p>
</div>
</li></ol></section>
<p class = "result">
<p>The optimization result looks as follows:<br/><img class = "image" src = "../TsoExampleImages/beadBracketPemagResult.png" width = "454"/><br/></p>
</p>
</div>


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