The “keys” of Results correspond to the entities to which “values” are associated. For example, a key may be:
The index of an element.
The index of a node.
A pair of integers corresponding to the indices of an element and of a node (for Results given at corners of elements).
A pair of integers corresponding to the indices of an element and of a layer (for example, for layered Results corresponding to laminated properties).
...
So, at C++ level, each key is characterized by four integers:
A 32bits integer corresponding to the element index,
A 32bits integer corresponding to the node index,
A 32bits integer corresponding to the layer index,
An 8bits char corresponding to the sub-layer index (rarely used).
At ruby level, one can work with either the C++ integer ids, or their string correspondent. The correspondence between string and integers are given in Tables I.4.2, I.4.3, I.4.4 and I.4.5. The data given in these Tables can be completed by additional data peculiar to the different supported solvers. (See Part III for more information.)
In Table I.4.4, the last layers IDs cannot be attributed to Result keys. The elements corresponds to groups of layers and are used to perform extraction operations:
“Beam Points” is used to extract on layers “Point A”, “Point B”,...
“Shell Layers” is used to extract on layers “NONE”, “Z1” and “Z2”.
“All Plies ” is used to extract on all layers with positive Ids (i.e. laminate plies).
“All Layers ” extracts on all layers.
No element association | |
"NONE" | -1 |
For Results associated to elements | |
"elem 1" | 1 |
"elem 2" | 2 |
"elem 3" | 3 |
"elem ..." | ... |
No node association | |
"NONE" | -999 |
For Results associated to nodes | |
"node 1" | 1 |
"node 2" | 2 |
"node 3" | 3 |
"node ..." | ... |
For unlayered Results
| |
NONE | -999 |
Undefined layer
| |
UNDEF | -300 |
For stress recovery in bars and beams
| |
"Point A" | -201 |
"Point B" | -202 |
"Point C" | -203 |
"Point D" | -204 |
"Point E" | -205 |
"Point F" | -206 |
For 2D elements | |
"Z0"1 | -100 |
"Z1" | -101 |
"Z2" | -102 |
For Results in laminates (positive layers)
| |
"layer 1" | 1 |
"layer 2" | 2 |
"layer 3" | 3 |
"layer ..." | ... |
Group of layers for extraction operations
| |
"Beam Points" | -2001 |
"Shell Layers" | -2002 |
"All Plies" | -2003 |
"All Layers" | -2004 |
Note that the notion of “key” is also closely related to the “ResKeyList” ruby class which is simply a list of key objects (see Chapter I.5).