<?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 = "reference"/><meta name = "abstract" content = "In this section, remarks and examples for DRESP command are shown."/><meta name = "description" content = "In this section, remarks and examples for DRESP command are shown."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-r-cmd-dresp-rmkExpl"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Remarks and Examples</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-r-cmd-dresp-rmkExpl">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Remarks and Examples</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 section, remarks and examples for <code class = "ph codeph">DRESP</code> command are shown.</span>

</p>
<p>This page discusses: </p><ul><li><a href = "#tso-r-cmd-dresp-rmkExpl__tso-c-cmd-dresp-rmkExpl-rmk" id = "toc_rg" title = "">Remarks</a></li><li><a href = "#tso-r-cmd-dresp-rmkExpl__tso-c-cmd-dresp-rmkExpl-expl" id = "toc_rg" title = "">Examples</a></li></ul>
</p></td></tr></table></td></tr></table>




<div class = "body refbody">
<div class = "section" id = "tso-r-cmd-dresp-rmkExpl__tso-c-cmd-dresp-rmkExpl-rmk"><h2 class = "title sectiontitle">Remarks</h2>

<ol class = "ol">
<li class = "li">No variables with <code class = "ph codeph">TYPE FIX</code> are permitted; that is, <code class = "ph codeph">DRESP</code> is determined using <code class = "ph codeph">SYSTEM</code> or <code class = "ph codeph">OPER</code> type.</li>
<li class = "li"><code class = "ph codeph">DRESP</code>s are a special type of <code class = "ph codeph">VARIABLE</code>s with a limited set of possible types and definition types.</li>
<li class = "li">
Relative <code class = "ph codeph">DRESP</code>s can be created by defining two design responses with the same
<code class = "ph codeph">TYPE</code> and <code class = "ph codeph">DEF_TYPE</code> and with the definition of an
<code class = "ph codeph">OPER</code> design response, which creates the difference in the values of the first
two design responses. The node or element groups can only contain one node or element per
definition.
</li>
<li class = "li">
In general, only variables of <code class = "ph codeph">TYPE = DISP_X</code>, <code class = "ph codeph">DISP_Y</code>,
<code class = "ph codeph">DISP_Z</code> and <code class = "ph codeph">ROT_X</code>, <code class = "ph codeph">ROT_Y</code>, <code class = "ph codeph">ROT_Z</code>
and <code class = "ph codeph">REACTION_FORCE_X</code>, <code class = "ph codeph">REACTION_FORCE_Y</code>, <code class = "ph codeph">REACTION_FORCE_Z</code>
and <code class = "ph codeph">REACTION_MOMENT_X</code>, <code class = "ph codeph">REACTION_MOMENT_Y</code>, <code class = "ph codeph">REACTION_MOMENT_Z</code>
and <code class = "ph codeph">INTERNAL_FORCE_X</code>, <code class = "ph codeph">INTERNAL_FORCE_Y</code>, <code class = "ph codeph">INTERNAL_FORCE_Z</code>
and <code class = "ph codeph">INTERNAL_MOMENT_X</code>, <code class = "ph codeph">INTERNAL_MOMENT_Y</code>, <code class = "ph codeph">INTERNAL_MOMENT_Z</code>
are admitted for <code class = "ph codeph">VAR_OPER = SUB</code>, <code class = "ph codeph">SUB_ABS</code> or <code class = "ph codeph">COMBINE</code>.
For the special case that referenced design responses are of equal type, operator <code class = "ph codeph">VAR_OPER = SUB</code>
also supports <code class = "ph codeph">DISP_ABS</code> and operator <code class = "ph codeph">VAR_OPER = SUB_ABS</code> supports
<code class = "ph codeph">DISP_ABS</code>, <code class = "ph codeph">ROT_ABS</code>, <code class = "ph codeph">REACTION_FORCE_ABS</code>,
<code class = "ph codeph">REACTION_MOMENT_ABS</code>, <code class = "ph codeph">INTERNAL_FORCE_ABS</code> and <code class = "ph codeph">INTERNAL_MOMENT_ABS</code>.
For <code class = "ph codeph">VAR_OPER = KSO</code>, only variables of <code class = "ph codeph">TYPE = DYN_FREQ</code> and only in context of
sensitivity-based topology and sizing optimization are allowed. Absolute displacements are not allowed for
combination (<code class = "ph codeph">COMBINE</code>). Mean values of displacements can be calculated using this option, see example beneath.
</li>
<li class = "li">Design Responses can only be combined using <code class = "ph codeph">DEF_TYPE = OPER</code> if they refer to the same group.</li>
<li class = "li">
For sensitivity-based topology optimization, design responses can only be combined using <code class = "ph codeph">DEF_TYPE = OPER</code>
if they refer to the same <span class = "ph">load cases</span>.
Combination of design responses with <code class = "ph codeph">OPER</code> cannot be done for two separate
<span class = "ph">load cases</span>.

</li>
<li class = "li">
The parameter <code class = "ph codeph">VARIABLE</code> can also be used to define operands for <code class = "ph codeph">VAR_OPER</code> = <code class = "ph codeph">SUB</code>
or <code class = "ph codeph">SUB_ABS</code>. In this case, only two entries are admitted, weights are not admissible and their order is significant.
</li>
<li class = "li">
For center of gravity and moment of inertia, the reference coordinate system is always interpreted as
rectangular (Cartesian) coordinate system. Cylindrical and spherical coordinate systems are not supported.
</li>
<li class = "li">
Plastic strain values (<code class = "ph codeph">TYPE = STRAIN_PLASTIC</code>) are calculated by
<span class = "ph">Tosca Structure</span>
and might differ slightly from your solver results.
</li>
</ol>
</div>


<div class = "section" id = "tso-r-cmd-dresp-rmkExpl__tso-c-cmd-dresp-rmkExpl-expl"><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">Examples</h2>

<p>Load case independent:</p>
<pre class = "codeblock">
<code class = "ph codeph">
DRESP
  ID_NAME    = volume
  DEF_TYPE   = SYSTEM
  TYPE       = VOLUME
  GROUP_OPER = SUM
  EL_GROUP   = all_elements
END_
</code>
</pre>
<p>Load case dependent:
</p><pre class = "codeblock">
<code class = "ph codeph">
DRESP
  ID_NAME   = first_eign_freq
  DEF_TYPE  = SYSTEM
  TYPE      = DYN_FREQ
  LC_SET    = MODAL,1, ALL
END_
</code>
</pre>
<p>Relative displacement of two nodes:</p>
<pre class = "codeblock">
<code class = "ph codeph">
DRESP
  ID_NAME   = disp_x_first_node
  DEF_TYPE  = SYSTEM
  TYPE      = DISP_X
  LC_SET    = STATIC,1, ALL
  NODE      = <var class = "keyword varname varname">3399</var>
END_

DRESP
  ID_NAME  = disp_x_second_node
  DEF_TYPE = SYSTEM
  TYPE     = DISP_X
  LC_SET   = STATIC,1, ALL
  NODE     = <var class = "keyword varname varname">3398</var>
END_

DRESP
  ID_NAME  = relative_displacement
  DEF_TYPE =  OPER
  VAR_A    = <var class = "keyword varname varname">disp_x_first_node</var>
  VAR_B    = <var class = "keyword varname varname">disp_x_second_node</var>
  VAR_OPER = SUB_ABS
END_
</code>
</pre>
<p>Mean displacement of two nodes (variable definition see above):</p>
<pre class = "codeblock">
<code class = "ph codeph">
DRESP
  ID_NAME  = mean_displacement
  DEF_TYPE =  OPER
  VARIABLE = <var class = "keyword varname varname">disp_x_first_node</var>,0.5
  VARIABLE = <var class = "keyword varname varname">disp_x_second_node</var>,0.5
  VAR_OPER = COMBINE
END_
</code></pre>
</div>

</div>

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