Patran 2 Neutral File > Results Templates > Generic Element Results File
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
Generic Element Results File
The PATRAN 2 Neutral File Preference includes a generic element results template, p2nf_els.res_tmpl. This template is modeled after the PATRAN 2 element stress results file template. Typically this template is located in the directory $P3_home/res_templates. The following documents the results file contents expected by the generic element results template.
 
Record
Description
Record 1
TITLE, NWIDTH
Record 2
SUBTITLE 1
Record 3
SUBTITLE 2
Record 4 to N+3
ID, NSHAPE, (VAL(J), J=1 TO NWIDTH)
Record N+4
ID = 0 or end-of-file
 
Record
Description (Format)
Record 1
TITLE
(80A1)
Record 2
NWIDTH
(I5)
Record 3
SUBTITLE 1
(80A1)
Record 4
SUBTITLE 2
(80A1)
Record 5 to NNODES+4
ID, SHAPE, (VAL(J), J =1 TO NWIDTH)
(2I8, /, (6E13.7))
where the parameters are:
 
Parameter
Description
TITLE
Title (up to 80 characters)
SUBTITLE 1
Same format as TITLE.
SUBTITLE 2
Same format as TITLE.
NWIDTH
Number of columns of data (integer)
ID
Element ID (integer)
NSHAPE
Essential shape code (BAR = 2, TRI = 3, QUAD = 4, TET = 5, PYR = 6, WEDGE = 7, HEX = 8; integer)
VAL(J)
Result value(s) (real)
The generic element results template is defined such that NWIDTH = 20 where the columns 1 - 6 are labeled as “Generic Tensor 1,” columns 7 - 12 as “Generic Tensor 2” and columns 13 - 20 as “Scalar 1,” “Scalar 2,”...”Scalar 8,” respectively. The intent of providing this format for the generic elements results template is not to force a particular results file format but rather provide an illustration as to how an element results file template can be defined to describe a results file format containing both tensor and scalar results.