Difference between revisions of "Description Command"

From OSUPDOCS
Jump to navigation Jump to search
Line 1: Line 1:
It is good practice to annotate MPM and FEA command files with a description of the calculations being created.
It is good practice to annotate MPM and FEA command files with a description of the calculations being created.
== XML Input Files ==
In XML input files, a <tt>Description</tt> block can contain any free-format text description of the analysis:
&lt;Description&gt;
This simulation will be a 3D analysis of a high-speed impact
on an inclined plate.
&lt;/Description&gt;


== Scripted Input Files ==
== Scripted Input Files ==
Line 22: Line 13:
; <tt>Header ... EndHeader</tt>
; <tt>Header ... EndHeader</tt>
: Enter any number of lines of free-format text to describe the simulations and end the description with an <tt>EndHeader</tt> command. For example:
: Enter any number of lines of free-format text to describe the simulations and end the description with an <tt>EndHeader</tt> command. For example:
  Header
  <pre style="margin-left: 18px;">Header
This simulation will be a 3D analysis of a high-speed impact
on an inclined plate.
EndHeader</pre>
 
== XML Input Files ==
 
In XML input files, a <tt>Description</tt> block can contain any free-format text description of the analysis:
 
&lt;Description&gt;
  This simulation will be a 3D analysis of a high-speed impact
  This simulation will be a 3D analysis of a high-speed impact
  on an inclined plate.
  on an inclined plate.
  EndHeader
  &lt;/Description&gt;

Revision as of 10:07, 28 May 2013

It is good practice to annotate MPM and FEA command files with a description of the calculations being created.

Scripted Input Files

In scripted input files, you build the description by using multiple commands for common elements that belong in a good analysis description. The commands are:

Title #1
Give one-line title for the calculations in #1.
Name #1
Enter you name in #1.
Comment #1,#2,...
Enter any number of arguments. The arguments are evaluated (and they may be expressions) and placed in the analysis description after the word "Comment:".
Header ... EndHeader
Enter any number of lines of free-format text to describe the simulations and end the description with an EndHeader command. For example:
Header
This simulation will be a 3D analysis of a high-speed impact
on an inclined plate.
EndHeader

XML Input Files

In XML input files, a Description block can contain any free-format text description of the analysis:

<Description>
This simulation will be a 3D analysis of a high-speed impact
on an inclined plate.
</Description>