The values of Result are characterized by an integer value (32 bits integer) and one or several real values. The integer value corresponds to the coordinate system into which the components are expressed:
-9999 means that the results are not attached to a coordinate system. Their value corresponds to String “NONE”.
-2000 means that the values are expressed in a user defined coordinate system. This means a coordinate system which is not identified by an integer to be later retrieved from a DataBase. The corresponding String is “userCS”.
-1000 means that the values are expressed in a coordinate system projected on surfacic elements. This means also that the values are no longer attached to a peculiar coordinate system defined in a DataBase. The corresponding String is “projCS”.
-6 means the laminate coordinate system. The corresponding String is “lamCS”.
-5 means the patran element IJK coordinate system which correspond to the element coordinate system for most finite element software. The corresponding String is “elemIJK”.
-4 means the ply coordinate system when the element has laminated properties. The corresponding String is “plyCS”.
-3 means the material coordinate system. The corresponding String is “matCS”.
-2 means the nodal analysis coordinate system. Values must then be attached to a node (nodeId of key). The corresponding String is “nodeCS”.
-1 means the element coordinate system. The corresponding String is “elemCS”.
Any integer greater than or equal to zero: a coordinate system defined in a DataBase object. “0” denotes the base Cartesian coordinate system.
Obviously, for several types of coordinate system, the values must be attached to an element to make sense. This is the case for “elemIJK”, “plyCS”, “matCS”, “elemCS”,...
The real values correspond to the components:
A “vectorial” Result (res.TensorOrder=1) has three components named “X”, “Y” and “Z” respectively.
A “tensorial” Result (res.TensorOrder=2) has normally nine components. However, as all the tensors with which one deals are symmetric, only six components are stored: “XX”, “YY”, “ZZ”, “XY”, “YZ”, “ZX”.
A “FieldCS” Result (res.TensorOrder=-10) has nine components. The Result components corresponds to the components of the three direction vectors associated to each key and are given in the followinf order: “1X”, “1Y”, “1Z”, “2X”, “2Y”, “2Z”, “3X”, “3Y”, “3Z” if the three direction vectors are V1, V2 and V3. (See section I.4.1.5.)
Note that the name of the components given above matter, as they may be used to extract a single component out of a vectorial or tensorial Result. For Complex Result, the numbers of components mentioned above is multiplied by two. They are presented in the following order:
First all the Real or Magnitude components are presented.
Then all the Imaginary or Angular components follow. The angular components are expressed in (Nastran convention).
The components are stored in single precision real values (float coded on 32 bits). This means that there is no advantage at using double precision real values in your programming as far as the manipulation of results is concerned.