SAVE_CoordinateSystem

saving relative to specified coordinate system (movement)

By default the results are saved relative to the standard coordinate system (no movement). For each SAVE_format a specific coordinate system for saving can be defined by
SAVE_CoordinateSystem(n) = $MOVEFlag$
n: assigns this attribute to SAVE_format(n) $MOVEFlag$: reference to given MOVE-statement, defines the coordinate system relative to which the results are saved Example:
SAVE_format(1) = 'ENSIGHT6 BINARY N---' SAVE_CoordinateSystem(1) = $MOVE_vconst$ ... MOVE($MOVE_vconst$) = (%MOVE_velocity%, 0.0, 0.0, 1.0)
Camera option The user has the option to define a camera coordinate system. The default camera coordinate system is the global coordinate system that moves with the movement as defined in the $MOVEFlag$ . The result geometry is displayed with respect to the local coordinates of this camera coordinate system. The user defined camera coordinate sytem is given as
SAVE_CoordinateSystem = $MOVE_vconst$ , Ox, Oy, Oz, Nx, Ny, Nz, Ax, Ay, Az, Bx, By, Bz
where Ox, Oy, Oz :: coordinates of the origin of the camera coordinate sytem Nx, Ny, Nz :: first unit direction of the camera coordinate sytem Ax, Ay, Az :: second unit direction of the camera coordinate sytem Bx, By, Bz :: third unit direction of the camera coordinate sytem Mapping of %SAVE_vector% items If coordinate transformation is chosen, the user might want to map also %SAVE_vector% items into the camera coordinate system.
  • mapping vectors on a geometrical basis -> the item reference must contain "CoordTransGeo"
    SAVE_ITEM = ( %SAVE_vector%,[Y%ind_n(1)%], [Y%ind_n(2)%], [Y%ind_n(3)%], "normal") # no coordinate transformation of the normal is performed SAVE_ITEM = ( %SAVE_vector%,[Y%ind_n(1)%], [Y%ind_n(2)%], [Y%ind_n(3)%], "normal_CoordTransGeo") # perform geometrical coordinate transformation (same way as the positions are transformed)
  • mapping velocity based vectors -> the item reference must contain "CoordTransV"
    SAVE_ITEM = ( %SAVE_vector%,[Y%ind_v(1)%], [Y%ind_n(2)%], [Y%ind_v(3)%], "velocity") # velocity vector will not be transformed SAVE_ITEM = ( %SAVE_vector%,[Y%ind_v(1)%], [Y%ind_v(2)%], [Y%ind_v(3)%], "velocity_CoordTransV") # velocity vector will be transformed taking into account the travel velocity of the camera reference s
The mapping of %SAVE_vector% entities is currently implemented only for SAVE_format(1) = 'ENSIGHT6 BINARY ... '