Engineering Solutions

Splitting Punch Files

Splitting Punch Files

Previous topic Next topic No expanding text in this topic  

Splitting Punch Files

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

Since punch files tend to be very large, especially true files for dynamic analysis, you may occasionally receive a message such as, out of memory or cannot read from file.

When this situation occurs, you can translate the file by splitting it into several punch files.  The number of smaller files needed can be determined by observing the size of the punch file, the number of simulations, and what is inside each simulation.

Once smaller files are created, use hmnast to translate each file.  Name the first results file name.res (extension optional), the second results file name1.res, the third results file name2.res, and so on.

Punch files have a header recursive format, for example:

$TITLE   =

$SUBTITLE=

$LABEL   =

$DISPLACEMENTS

$REAL-IMAGINARY OUTPUT

$SUBCASE ID =  1

$FREQUENCY =   0.1

.

displacement for each nodes

.

$TITLE   =

$SUBTITLE=

$LABEL   =

$DISPLACEMENTS

$REAL-IMAGINARY OUTPUT

$SUBCASE ID =  1

$FREQUENCY =   0.2

.

displacement for each nodes

If there is more than one subcase, the number in $SUBCASE ID =  and the data changes while everything else remains the same.  If there is more than one data type, for example DISP and STRESS, the header for DISPLACEMENT and STRESS will be the same.

There are three ways to split a punch file:

Along SUBCASES
Along DATA TYPES (same subcase)
Among the same DATA TYPE