CS_DEF

Defines coordinate systems with reference to an existing coordinate system or three nodes.

Related Topics
In Other Guides
Coordinate Systems (CS_DEF)

ID_NAME

= <name_of_coord_system>

Name of the coordinate system

CS_TYPE

= RECTANGULAR

= CYLINDRICAL

= SPHERICAL

Type of new coordinate system

DEF_TYPE

= LOCAL

LOCAL definition refers to an existing coordinate system

 

= NODE

Definition using three nodes

Items for DEF_TYPE = LOCAL

CS_REF

= <name_of_coord_system>

Existing reference coordinate system

ORIGIN_123

= <coord_1>, <coord_2>, <coord_3>

Coordinate values of the origin

ROTATION_321

= <rot_3>, <rot_2>, <rot_1>

Rotations that should be superimposed on the reference coordinate system

Items for DEF_TYPE = NODE

CS_AXIS

Specifies the axis and the plane defined by the three nodes.

 
 

= X_XY

X-axis and the X-Y plane are defined by the three nodes.

 

= X_XZ

X-axis and X-Z plane are defined by the nodes.

 

= Z_XZ

Z-axis and X-Z plane are defined by the nodes.

NODE_ORIGIN

= <node_id_of_origin>

ID of node which defines the origin

NODE_AXIS

= <node_id_on_axis>

ID of the node on the axis

NODE_PLANE

= <node_id_on_plane>

ID of the node on the given plane and the second axis

Remark

  • The rotation angle in the command ROTATION_321 is in degrees. The single rotations are carried out around the axis of the global Cartesian coordinate system.

Examples

The following command defines a cylindrical coordinate system with origin (10,20,0) with respect to the global Cartesian coordinate system CS_0. The polar axis and longitudinal axis are obtained by rotating the x-axis and z-axis of CS_0 respectively by 45° around the z-axis and by 15° around the y-axis of CS_0.

CS_DEF
 ID_NAME = my_cs_01
 CS_TYPE = CYLINDRICAL
 DEF_TYPE = LOCAL
 CS_REF = cs_0
 ORIGIN_123 = 10.0, 20.0, 30.0
 ROTATION_321 = 45.0, 15.0, 0.0
END_

The following command defines a rectangular (Cartesian) coordinate system with origin through the node with ID number 10. The x-axis is defined by the nodes 10 and 100. Node 101 defines a point in the x-y plane.

CS_DEF
 ID_NAME = my_cs_02
 CS_TYPE = RECTANGULAR
 DEF_TYPE = NODE
 CS_AXIS = X_XY
 NODE_ORIGIN = 10
 NODE_AXIS = 100
 NODE_PLANE = 101
END_