<?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 a plastic clip that is used to fix a variety of objects."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-t-example-shape-clipOptimize"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Optimizing the Clip Model</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-t-example-shape-clipOptimize">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Optimizing the Clip 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 illustrates a plastic clip that is used to fix a
variety of objects.

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



<div class = "body taskbody">
<section><ol class = "ol steps"><li class = "li step stepexpand">
Define the 3 coordinate systems as follows:
<ol type = "a" class = "ol substeps">
<li class = "li substep">
Define the coordinate system (CS_DEF) in the center of the clip:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
CS_DEF
 ID_NAME      = 1
 CS_TYPE      = RECTANGULAR
 DEF_TYPE     = LOCAL
 CS_REF       = CS_0
 ORIGIN_123   = 0,0,0
 ROTATION_321 = 45,0,0
END_
</pre>
</div>
</li>
<li class = "li substep">
Define the cylindrical coordinate system  (CS_DEF) in the tip of the left clip:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
CS_DEF
 ID_NAME    = CS_CYL_LEFT
 CS_TYPE    = CYLINDRICAL
 DEF_TYPE   = LOCAL
 CS_REF     = 1
 ORIGIN_123 = 23,23,0
END_
</pre>
</div>
</li>
<li class = "li substep">
Define cylindrical coordinate system (CS_DEF) in the tip of the right clip:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
CS_DEF
 ID_NAME    = CS_CYL_RIGHT
 CS_TYPE    = CYLINDRICAL
 DEF_TYPE   = LOCAL
 CS_REF     = 1
 ORIGIN_123 = 23,-23,0
END_
</pre>
You can now use the coordinate systems to define the cylindrical frozen areas in
the tips of the clip: <p><br/><img class = "image" src = "../TsoExampleImages/shapeClipFrozen.png"/><br/></p>
</div>
</li>
</ol>
<div class = "itemgroup stepresult">
</div>
</li><li class = "li step stepexpand">
To define the cylindrical areas, create 2 solids as follows:
<div class = "itemgroup stepresult">
<pre class = "codeblock">
SOLID
 ID_NAME    = SOLID_CYL_LEFT
 SOLID_PROP = RESTRICTED
 CS         = CS_CYL_LEFT
 VAL_1_MIN  = 0
 VAL_1_MAX  = 7
 VAL_2_MIN  = 0
 VAL_2_MAX  = 360
 VAL_3_MIN  = -100
 VAL_3_MAX  = 100
END_
</pre>
<pre class = "codeblock">
SOLID
 ID_NAME    = SOLID_CYL_RIGHT
 SOLID_PROP = RESTRICTED
 CS         = CS_CYL_RIGHT
 VAL_1_MIN  = 0
 VAL_1_MAX  = 7
 VAL_2_MIN  = 0
 VAL_2_MAX  = 360
 VAL_3_MIN  = -100
 VAL_3_MAX  = 100
END_
</pre>
<p>The solids are assigned the attribute "RESTRICTED" so that they function as restricted bodies.</p>
</div>
</li><li class = "li step stepexpand">
To define both solids as the frozen areas, reference the solids in a Design Variable Constraint (DVCON_SHAPE): 
<div class = "itemgroup stepresult">
<pre class = "codeblock">
DVCON_SHAPE
 ID_NAME     = dvcon_solid
 ND_GROUP    = DV_NODES
 CHECK_SOLID = SOLID_CYL_LEFT
 CHECK_SOLID = SOLID_CYL_RIGHT
 CHECK_SPC   = NO
 CHECK_DOF   = CS_0,FREE,FREE,FIX
END_
</pre>
<p>Up to six solids can be referenced in a DVCON_SHAPE definition.</p>
</div>
</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">
<pre class = "codeblock">
DRESP
 ID_NAME    = DRESP_MAX_MISES
 DEF_TYPE   = SYSTEM
 TYPE       = SIG_MISES
 UPDATE     = EVER
 ND_GROUP   = ALL_NODES
 GROUP_OPER = MAX
END_
</pre>
</div>
</li></ol></section>
<p class = "result">
The result looks as follows:
<p><br/><img class = "image" src = "../TsoExampleImages/shapeClipResult.png"/><br/></p>
</p>
</div>

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