CREATE COSINE ANGLES FROM DIFFERENT COORDINATES

Computes the direction cosine angles for a local coordinate system defined by three 3-D points: an origin, a point on the Y-plane, and a point on the Z-plane. Use this worker whenever you need to convert explicit coordinate triples into the cosine-angle representation required by LS-DYNA or similar solvers for local coordinate frame definitions.

When to use

Classification: process.

Tagged: coordinate_system, coordinate_transform, cosine_angles, direction_cosines, local_frame, transformation.

Inputs

Label ID Type Default Required Description
Origin X originx string 0   X component of the local coordinate system origin point; dimensionless numeric scalar, default 0.
Origin Y originy string 0   Y component of the local coordinate system origin point; dimensionless numeric scalar, default 0.
Origin Z originz string 0   Z component of the local coordinate system origin point; dimensionless numeric scalar, default 0.
Y-Plane X y-planex string 1   X component of a point lying on the local Y-plane (used to define the Y-axis direction); dimensionless numeric scalar, default 1.
Y-Plane Y y-planey string 0   Y component of a point lying on the local Y-plane; dimensionless numeric scalar, default 0.
Y-Plane Z y-planez string 0   Z component of a point lying on the local Y-plane; dimensionless numeric scalar, default 0.
Z-Plane X z-planex string 0   X component of a point lying on the local Z-plane (used to define the Z-axis direction); dimensionless numeric scalar, default 0.
Z-Plane Y z-planey string 0   Y component of a point lying on the local Z-plane; dimensionless numeric scalar, default 0.
Z-Plane Z z-planez string 1   Z value of z coordinate plane
Return Type return_type string cosine   Output value unit type

Outputs

Label ID Type Description
coord_createcosineanglesfromcoordinates_output_1 coord_createcosineanglesfromcoordinates_output_1 set A set containing the computed direction cosine angles (and/or the full rotation/transformation matrix) that describe the orientation of the local coordinate frame relative to the global frame; suitable for direct use in solver deck coordinate system definitions.

Disciplines

  • cae.preprocessing.setup
  • data.units
  • engineering.structures

Auto-generated from transformation schema. Worker id: coord_createcosineanglesfromcoordinates. Schema hash: 7183e73e6450. Hand-curated docs in workerexamples/ override this page when present.