Card 9 - GENERIC Generic Entity Cards
This optional card defines a set of generic entities for the model. The generic entities may be accessed from the Analyzer in a user-written subroutine with CALL GENERIC.
Parameters: GENERIC1
N1
String1
Parameters: GENERIC2
N1
String2
Parameters: GENERIC3
N1
GRP1
Parameters: GENERIC4
N1
GRP2
Parameters: GENERIC5
N1
R1
, R2
, R3
, R4
,
R5
, R6
, R7
,
R8
Parameters: GENERIC6
N1
I1
, I2
, I3
, I4
,
I5
, I6
N1
N1
is the ID associated with the GENERIC Cards.
String1
String1
is a character string of 80 characters or less.
String2
String2
is a character string of 80 characters or less.
GRP1
GRP1
is a group name in NAME2 long format. It must exist in the
INPF. Card GENERIC3
is optional.
GRP2
GRP2
is a group name in NAME2 long format. It must exist in the
INPF. Card GENERIC4
is optional.
R1-R8
R1-R8
are up to 8 real characters associated with the generic
entity.
I1-I8
I1-I8
are up to 8 integer characters associated with the generic
entity.
Code example
GENERIC1 5 This is string 1
GENERIC2 5 This is string 2
GENERIC3 5 This is group name 1
GENERIC4 5 This is group name 2
GENERIC5 5 111.0 112.0 113.0 114.0 115.0 116.0 117.0 118.0
GENERIC6 5 121 122 123 124 125 126 127 128
NAME2 NAME1 This is group name 1
NAME2 NAME2 This is group name 2
The following example shows how to define a directional radiance using the ID associated with RADIANCE_DIRECTION. Radiance of an element is described in Card 9 - PRINT Analyzer Printout Codes.
GENERIC1 5 RADIANCE_DIRECTION
GENERIC5 5 1.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00 1.000000E+00 30.000000E+00 0.000000E+00
Where:
- The R1, R2, and R3 values in GENERIC5 are the reference directional vector components X, Y, and Z, respectively.
- The values R4, R5, and R6 define the components for the rotation axis X, Y, and Z, respectively.
- The R7 value defines the rotation angle.
If an axis of rotation and an angle value are specified, the thermal solver computes the radiance for several angles. The reference directional vector rotates on an angle R7 counterclockwise around the axis of rotation, until a full 360-degree rotation is covered.