Difference between revisions of "Controlling FEA Output"

From OSUPDOCS
Jump to navigation Jump to search
Line 34: Line 34:
<Select node='23'></pre>
<Select node='23'></pre>


The text of the <tt>Output</tt> command has 1 to 6 letters, each of which must be 'Y', 'C', or 'N'. A 'Y' means that result is fully included in the file. A 'C' means that result is conditionally included only if it is relevant to one of a set of preselected nodes. A 'N' means that result is not included in the file. The six output options are listed [[#Scripted Input Files|above]].
The text of the <tt>Output</tt> command has 1 to 6 letters, each of which must be 'Y', 'C', or 'N' &emdash; 'Y' means that result is fully included in the file; 'C' means that result is conditionally included only if it is relevant to one of a set of preselected nodes; and 'N' means that result is not included in the file. The six output options are listed [[#Scripted Input Files|above]]. To preselect nodes for the 'C' option, include one or mode <tt>Select</tt> commands in the [[FEA Input Files#Main Header|main header]] using its <tt>node</tt> attribute to specify the node by number.

Revision as of 12:12, 28 May 2013

If FEA files, the Output command defines which results are written to the output text file. Some of the output options can be restricted to selected nodes.

Scripted Input Files

The Output command is used to determine what FEA calculation results are in the output file. The format is

Output #1,#2,<#3,#4>,<#5,#6>,...

where the arguments are given in pairs: (#1,#2), (#3,#4), etc.; the first number gives a calculation result. The options are:

  1. "displacements" to output nodal displacements.
  2. "forces" to output nodal forces calculated in each element.
  3. "elementstresses" to output all components of stress calculated in each element and surface tractions in each <a href="imperfect.html">interface</a> elements.
  4. "nodalstresses" to output average stresses at the nodal points.
  5. "reactivities" to output reaction forces at all nodes with fixed boundary conditions.
  6. "energy" to output strain energy of each element and the total strain energy.

Each output option is followed by an option that determines what is included in the option file. These options are:

  • "yes" means fully output the preceding option. Fully option means to output all nodal results are all element results.
  • "no" means to completely omit the preceding option.
  • "selected" means to only output result relevant to selected nodes, which are selected as described below. If no nodes are selected, this mode will result in no output for that option.

Selecting Nodes

You can select nodes for any output option using the "selected" style with the following commands:

XML Input Files

The Output and Select commands are used to determine what FEA calculation results are in the output file. The format within the main header is:

<Output>YYYYNY</Output>
<Select node='1'/>
<Select node='23'>

The text of the Output command has 1 to 6 letters, each of which must be 'Y', 'C', or 'N' &emdash; 'Y' means that result is fully included in the file; 'C' means that result is conditionally included only if it is relevant to one of a set of preselected nodes; and 'N' means that result is not included in the file. The six output options are listed above. To preselect nodes for the 'C' option, include one or mode Select commands in the main header using its node attribute to specify the node by number.