COORDINATE_SYSTEM
Coordinate system
"Optional title"
csysid, $x_0$, $y_0$, $z_0$, pid, curve
$\hat{x}_x$, $\hat{x}_y$, $\hat{x}_z$, $\bar{y}_x$, $\bar{y}_y$, $\bar{y}_z$
Parameter definition
Description
This command defines a local cartesian coordinate system. The system is forced to follow the translation and rotation of the finite element in which it is embedded at time 0 (Lagrangian description of motion). Hence, the origin of the system must be located on the surface of, or embedded inside, the finite element mesh.
The origin is initially located at ($x_0$, $y_0$, $z_0$) and the local x-direction is ($\hat{x}_x$, $\hat{x}_y$, $\hat{x}_z$). The local z-direction is defined as $\hat{\mathbf{z}} = \hat{\mathbf{x}} \times \bar{\mathbf{y}} / \vert \hat{\mathbf{x}} \times \bar{\mathbf{y}} \vert$ and the local y-direction as $\hat{\mathbf{y}} = \hat{\mathbf{z}} \times \hat{\mathbf{x}}$.
The part ID (pid) is only needed when the initial location of the origin is right in the boundary between two different parts and when the system needs to be tied to one of these parts.
Setting curve=1 instructs Impetus Solver to generate CURVE files containing the coordinate system velocity and spin as functions of time. The purpose of this feature is to document displacements and rotations at specific points in large models, in a format that easily can be re-used as input to other models. A typical application is sub-modeling, wherein local displacements in a global model serve as boundary conditions for smaller, more detailed sub-models.
The generated velocity and spin curves are named:
Note that, for fixed (Eulerian) coordinate systems, there is a special command COORDINATE_SYSTEM_FIXED.
Example
Coordinate system and a fixed coordinate system
A simple model demonstrating differences between COORDINATE_SYSTEM and COORDINATE_SYSTEM_FIXED.
Cube 1 is created with a fixed coordinate system while the other cubes are created with a tilted coordinate system with its origin located on the boundary between them. The coordinate system is given an optional part ID of 3 which ties it to cube 3. The cubes are set in motion and as cube 3 separates from cube 2, the coordinate system is forced to follow cube 3 while the fixed coordinate system remains at its initial location.
Sub-model using curve data
In this example a steel plate is exposed to an initial velocity field. A coordinate system is attached to a point on the plate surface. The coordinate system represents the location of a sub-structure, in this case an aluminium pipe. Using the option curve=1 the coordinate system velocity and spin histories are written to local files as CURVE commands.
In a second simulation, the generated curves are used as velocity and spin boundary conditions for the aluminium pipe. It can then be simulated alone, without having the steel plate included.