60 #ifndef sixDoFRigidBodyState_H
61 #define sixDoFRigidBodyState_H
72 namespace functionObjects
79 class sixDoFRigidBodyState
81 public fvMeshFunctionObject,
87 namedUnitConversion angleUnits_;
90 namedUnitConversion angularVelocityUnits_;
95 const sixDoFRigidBodyMotion& motion()
const;
154 virtual bool write();
static const List< word > & null()
Return a null List.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const word & name() const
Return the name of this functionObject.
Writes the 6-DoF motion state.
vector velocity() const
Return the current body velocity.
void operator=(const sixDoFRigidBodyState &)=delete
Disallow default bitwise assignment.
virtual wordList fields() const
Return the list of fields required.
virtual ~sixDoFRigidBodyState()
Destructor.
vector angularVelocity() const
Return the current body angular velocity.
TypeName("sixDoFRigidBodyState")
Runtime type information.
sixDoFRigidBodyState(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
const unitConversion & angularVelocityUnits() const
Return the units in which to write the angular velocities.
virtual void writeFileHeader(const label i=0)
overloaded writeFileHeader from writeFile
virtual bool execute()
Execute, currently does nothing.
virtual bool write()
Write the sixDoFRigidBodyState.
virtual bool read(const dictionary &)
Read the sixDoFRigidBodyState data.
Unit conversion structure. Contains the associated dimensions and the multiplier with which to conver...
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.