*system()

Creates a system in HMASCII format.

Syntax

*system (id,type,inputsystemid,xaxisx,xaxisy,xaxisz,yaxisx,yaxisy,yaxisz,zaxisx,zaxisy,zaxisz,originx,originy,originz,originnodeid,axisnodeid,planenodeid,definitioncode)

Type

HyperMesh HMASCII

Description

Creates a system in HMASCII format.

This must follow *systemcollector(). The system will be assigned to the most recent systemcollector created using *systemcollector().

Inputs

id
The ID of the system.
type
The type of system:
0 - rectangular
1 - cylindrical
2 - spherical
inputsystemid
The ID of the first node.
xaxisx
xaxisy
xaxisz
The x, y, z coordinates that make up the vector defining the x-direction of the system. Only used if definitioncode is 0.
yaxisx
yaxisy
yaxisz
The x, y, z coordinates that make up the vector defining the y-direction of the system. Only used if definitioncode is 0.
zaxisx
zaxisy
zaxisz
The x, y, z coordinates that make up the vector defining the z-direction of the system. Only used if definitioncode is 0.
originx
originy
originz
The x, y, z coordinates that make up the origin of the system. Only used if definitioncode is 0.
originnodeid
The ID of the origin node for a node-dependent system. Only used if definitioncode is not 0.
axisnodeid
The ID of the axis node for a node-dependent system. Only used if definitioncode is not 0.
planenodeid
The ID of the plane node for a node-dependent system. Only used if definitioncode is not 0.
definitioncode
The system code for a node-dependent system:
0 - Non-node-dependent system
1 - x-axis, xy-plane
2 - x-axis, xz-plane
3 - y-axis, xy-plane
4 - y-axis, yz-plane
5 - z-axis, yz-plane
6 - z-axis, xz-plane

Example

To create a non-node-dependent rectangular system with origin (10,0,0), x-direction (0,-1,0), y-direction (0,0,1), and z-direction (-1,0,0):

*system(1,0,0,0.0,-1.0,0.0,0.0,0.0,1.0,-1.0,0.0,0.0,10.0,0.0,0.0,0,0,0,0)

Errors

Incorrect usage results in an import error.