TScalarStructValue

TScalarStructValue is the data structure used to represent a single degree of freedom motion external function. The value is passed in the lpStructValue field of TExtFnInfo.

The fields in this structure define the value, velocity and acceleration of a child-coordinate relative to a parent-coordinate.

Note: The blade pitch angle, for which a positive value defines an anticlockwise rotation about the blade z-axis, as you look along it, is contrary to the usual OrcaFlex convention.

typedef struct {

int Size;

double Value;

double Velocity;

double Acceleration;

} TScalarStructValue;

Members

Size

Specifies the size, in bytes, of this data structure. This member is set by OrcaFlex before it calls the external function.

This member must not be altered.

Value

The value of the degree of freedom, e.g. the blade pitch angle.

Velocity

The first time derivative of value.

Acceleration

The second time derivative of value.

See also

External Functions, TExtFnInfo.