36 namespace functionObjects
50 refCast<const fvMeshMovers::motionSolver>(
mesh_.
mover());
53 refCast<const RBD::rigidBodyMotion>(mover.
motion());
57 return motion.
X0(bodyID).
r();
Macros for easy insertion into run-time selection tables.
label bodyIndex(const word &name) const
Return the ID of the body with the given name.
spatialTransform X0(const label bodyId) const
Return the current transform to the global frame for the given body.
Six degree of freedom motion for a rigid body.
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....
Abstract base-class for Time/database functionObjects.
Calculates the forces and moments by integrating the pressure and skin-friction forces over a given l...
virtual bool read(const dictionary &)
Read the forces data.
const fvMesh & mesh_
Reference to the fvMesh.
Calculates the forces and moments by integrating the pressure and skin-friction forces over a given l...
virtual ~rigidBodyForces()
Destructor.
rigidBodyForces(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual vector CofR() const
Return the current centre of the rigid body.
virtual bool read(const dictionary &)
Read the forces data.
const Foam::motionSolver & motion() const
Return the motionSolver.
const fvMeshMover & mover() const
Return the mover function class.
Registry of regIOobjects.
A class for handling words, derived from string.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.