<?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 = "concept"/><meta name = "abstract" content = "You can define a milling restriction to make the resulting part millable."/><meta name = "description" content = "You can define a milling restriction to make the resulting part millable."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-c-user-TopOpt-DesArea-MillCon"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Defining a Milling Restriction</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-c-user-TopOpt-DesArea-MillCon">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Defining a Milling Restriction</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">
You can define a milling restriction to make the resulting part millable.
</span>

</p>
<p>This page discusses: </p><ul><li><a href = "#tso-c-user-TopOpt-DesArea-MillCon__tso-c-user-TopOpt-DesArea-Milling-def" id = "toc_rg" title = "">Milling Restriction Definition</a></li><li><a href = "#tso-c-user-TopOpt-DesArea-MillCon__tso-c-user-TopOpt-DesArea-Milling-check" id = "toc_rg" title = "">Milling Check</a></li><li><a href = "#tso-c-user-TopOpt-DesArea-MillCon__tso-c-user-TopOpt-DesArea-Overhang-frozen_example" id = "toc_rg" title = "">Example: Milling Functional Regions</a></li></ul>
</p></td></tr></table></td></tr></table>



<div class = "body conbody">
<div class = "section" id = "tso-c-user-TopOpt-DesArea-MillCon__tso-c-user-TopOpt-DesArea-Milling-def"><h2 class = "title sectiontitle">Milling Restriction Definition</h2>

<p>A milling restriction is activated by setting the check type of the design variable constraint to <code class = "ph codeph">MILLING</code>.
The restriction is defined by the following parameters:
<ul class = "ul">
<li class = "li"><code class = "ph codeph">ELEMENT_GROUP</code>: The group of elements for which the constraint is active.
Defining an element group is mandatory.</li>
<li class = "li"><code class = "ph codeph">CHECK_GROUP</code>: The group of elements that will be used in the internal check
if elements are properly supported and do not violate the milling restriction.
All elements will be used if this parameter is not used.</li>
<li class = "li"><code class = "ph codeph">MILLING_DIR</code>: The direction in which the model is supposed to be milled. This is
            the only parameter that should always be set when using the milling restriction.</li>
<li class = "li"><code class = "ph codeph">MILLING_CS</code>: The coordinate system the milling direction is defined in.
If omitted it is assumed that the direction is given in the default coordinates.</li>
</ul>
</p>
<p>The parameter file command might look like the following:</p>
<pre class = "codeblock">
<code class = "ph codeph">
DVCON_TOPO
  ID_NAME     = MY_DVCON_TOPO
  EL_GROUP    = ALL_ELEMENTS
  CHECK_TYPE  = MILLING
  MILLING_DIR = 1.0, 0.0, 0.0
  MILLING_DIR = 0.0, 1.0, 0.0
  MILLING_DIR = 0.0, 0.0, 1.0
END_
</code>
</pre>
</div>


<div class = "section" id = "tso-c-user-TopOpt-DesArea-MillCon__tso-c-user-TopOpt-DesArea-Milling-check"><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 sectiontitle">Milling Check</h2>

<p> To identify if a model contains critical millable regions, an internal check is used. The
          <code class = "ph codeph">CHECK_GROUP</code> will define all elements that should be taken into account
        for checking how millable the part is. This check is identical to the one used in DVCON_TOPO
          <code class = "ph codeph">CAST</code>. In each milling direction, a 2D contour will be forced through the
        design area defined by <code class = "ph codeph">ELEMENT_GROUP</code>.</p>
</div>


<div class = "section" id = "tso-c-user-TopOpt-DesArea-MillCon__tso-c-user-TopOpt-DesArea-Overhang-frozen_example"><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 sectiontitle">Example: Milling Functional Regions</h2>

<p>The milling restriction will consider the functional/frozen regions that are present in the model if they are contained in the <code class = "ph codeph">CHECK_GROUP</code>.
This means that the contours of the frozen regions are not penetrated by the milling tool.</p>

<br/><img class = "image" src = "../TsoUserImages/topo_milling_round_table.png" width = "300"/><br/>

<p>The parameter file command that is used in this example looks like the following:</p>
<pre class = "codeblock">
<code class = "ph codeph">
DVCON_TOPO
  ID_NAME     = MY_DVCON_TOPO
  EL_GROUP    = ALL_ELEMENTS
  CHECK_GROUP = ALL_ELEMENTS
  CHECK_TYPE  = MILLING
  MILLING_DIR = 1.0, 0.0, 0.0
  MILLING_DIR = 0.0, 1.0, 0.0
  MILLING_DIR = 0.0, 0.0, 1.0
  MILLING_CS  = CS_0
END_
</code>
</pre>
<p>
<table class = "Remark" id = "table132"><tr><td class = "Remark"><span class = "run-in.important">Important:
				</span><span class = "notecontent">
<ul class = "ul">
<li class = "li">The milling restriction can only be used in combination with the sensitivity-based topology
              optimization approach.</li>
</ul>
</span></td></tr></table>

</p>
</div>

</div>

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