MotionView User's Guide

hmpatran

hmpatran

Previous topic Next topic No expanding text in this topic  

hmpatran

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

hmpatran translates information from a PATRAN binary results file to a HyperMesh binary results file.  The syntax to run the translator is:

hmpatran [arguments] <input file> <output file>

where [arguments] can be any of the following, in addition to any of the standard HyperMesh results translator arguments:

-suffix

Appends the suffix .0 to the name of the results files.

-lower

Defines the lower bound of load cases.  The default is 1.

-upper

Defines the upper bound of load cases.  The default is 10.

-nf

Defines the name of the nodal files.  The default is nod.

-local

Specifies that displacements are in the local coordinate systems.

-label

The name of the label file.  This file is used to label the columns in the results file.  The format of the file is similar to that of the HyperMesh command file. The command *elementlabel() is used to provide names to the translator.

 

*elementlabel() takes two arguments.  The first argument is an integer that is the number of the column.  The second argument is a character string that is the name used to identify the data type in HyperMesh.

 

PATRAN results files use the following convention:

<name>.<restype>.<loadcase><.suffix>

<name>

Set to the <input file> name entered on the command line.

<restype>

Type of results being translated.  This parameter is assumed to be dis for displacement files, els for element results, and nod for nodal results.  You can change the value of <restype> for nodal results files with the argument -nf.

<loadcase>

Load case number.

<.suffix>

To add a .0 to the file name, use the argument -suffix.

 

Files supported by hmpatran should use the following syntax:

example.dis.1.0
example.els.1.0
example.nod.1.0
example.dis.2.0
example.els.2.0
example.nod.2.0
example.dis.3.0
example.els.3.0
example.nod.3.0

 

See also

List of Translators