Engineering Solutions

To Split a Punch File along SUBCASES

To Split a Punch File along SUBCASES

Previous topic Next topic No expanding text in this topic  

To Split a Punch File along SUBCASES

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

Store from $TITLE   =  to the end of data for a single subcase into one file and the other subcase into another file.

 

Example:    The initial punch file:

$TITLE   =                                                                    

$SUBTITLE=                                                                    

$LABEL   =                                                                    

$DISPLACEMENTS                                                                

$REAL-IMAGINARY OUTPUT                                                        

$SUBCASE ID =           1                                                    

$FREQUENCY =   0.1

displacement for each node

$TITLE   =                                                                    

$SUBTITLE=                                                                    

$LABEL   =                                                                    

$DISPLACEMENTS                                                                

$REAL-IMAGINARY OUTPUT                                                        

$SUBCASE ID =           2                                                    

$FREQUENCY =   0.1

displacement for each node

 

New punch files

One.pch

Two.pch

$TITLE   =

$SUBTITLE=

$LABEL   =

$DISPLACEMENTS

$REAL-IMAGINARY OUTPUT

$SUBCASE ID =           1

$FREQUENCY =   0.1

displacement for each node

$TITLE   =

$SUBTITLE=

$LABEL   =

$DISPLACEMENTS

$REAL-IMAGINARY OUTPUT

$SUBCASE ID =           2

$FREQUENCY =   0.1

displacement for each node