rigidBodyState, sixDoFRigidBodyState: Change angleFormat -> angleUnits with backwards-compatibility
angleUnits is a more logical name for the user-input as it specifies the units
of the angles written rather than the format of the numbers. The previous name
angleFormat is supported for backwards-compatibility
Class
Foam::functionObjects::rigidBodyState
Description
Writes the rigid body motion state.
Usage
\table
Property | Description | Required | Default value
type | type name: rigidBodyState | yes |
angleUnits | degrees or radians | no | radians
\endtable
Example of function object specification:
\verbatim
rigidBodyState
{
type rigidBodyState;
libs ("librigidBodyState.so");
angleUnits degrees;
}
\endverbatim
Class
Foam::functionObjects::sixDoFRigidBodyState
Description
Writes the 6-DoF motion state.
Example of function object specification:
\verbatim
sixDoFRigidBodyState
{
type sixDoFRigidBodyState;
libs ("libsixDoFRigidBodyState.so");
angleUnits degrees;
}
\endverbatim
Usage
\table
Property | Description | Required | Default value
type | type name: sixDoFRigidBodyState | yes |
angleUnits | degrees or radians | no | radian
\endtable
This commit is contained in:
@ -56,7 +56,7 @@ functions
|
||||
{
|
||||
type sixDoFRigidBodyState;
|
||||
libs ("libsixDoFRigidBodyState.so");
|
||||
angleFormat degrees;
|
||||
angleUnits degrees;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -56,7 +56,7 @@ functions
|
||||
{
|
||||
type rigidBodyState;
|
||||
libs ("librigidBodyState.so");
|
||||
angleFormat degrees;
|
||||
angleUnits degrees;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -56,7 +56,7 @@ functions
|
||||
{
|
||||
type sixDoFRigidBodyState;
|
||||
libs ("libsixDoFRigidBodyState.so");
|
||||
angleFormat degrees;
|
||||
angleUnits degrees;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -67,7 +67,7 @@ functions
|
||||
{
|
||||
type rigidBodyState;
|
||||
libs ("librigidBodyState.so");
|
||||
angleFormat degrees;
|
||||
angleUnits degrees;
|
||||
}
|
||||
|
||||
#includeFunc surfaces
|
||||
|
||||
Reference in New Issue
Block a user