HMRES_displacementadd()

Adds a displacement value to the results file of the data type.

Syntax

int HMRES_displacementadd(HM_entityidtype id, double x, double y, double z);

Type

HyperMesh hmreslib Function

Description

Adds a displacement value to the results file of the data type.

Inputs

id
The ID of the node at which the displacement occurs.
x
The x coordinate of displacement.
y
The y coordinate of displacement.
z
The z coordinate of displacement.

Example

Zero, if successful; otherwise, nonzero.

Before a displacement can be stored in the results database, a simulation and data type must be opened.

The data type that is currently open when this function is called must be capable of storing nodal displacements.

Errors

None.