The following topics are included in this section:
EnSight Case Gold uses two files for the rigid body implementation. The EnSight Case Gold file references a file called the EnSight Rigid Body Rotation File (.erb) that contains per-part scaling, offsets, initial rotation as well as the Euler Parameter file (.eet) filename (see EnSight Rigid Body File Format for details and for examples). The Euler Parameter file contains center of gravity transformations as well as Euler parameters which fully describe the Euler Rotation and Translation rigid body motion (see Euler Parameter File Format for details and for an examples). Basically, at each timestep, each part is first translated then rotated using the offset and initial rotations found in the EnSight Rigid Body File, then it is rotated according to the Euler angles about the Euler axis and finally it is translated according to the translation parameters.
If the part by part rigid body transformation data exists within your solver data file, then simply read it in and supply them to the appropriate EnSight user defined routines (see Quick Index of 2.0 Library Routines ).
USERD_rigidbody_existence
-
Turns on the rigid body feature
USERD_rigidbody_values
-
Called part by part to get the initial translation and rotation parameters, as well as the Euler
rotation parameters and the final translation values. It is expected that these values are
available from the solver data file or that they can be calculated in the reader from the rigid
body transforms found in the solver data file.