35 namespace solidBodyMotionFunctions
73 const scalar t = time_.value();
75 const vector translation = translation_->value(t);
76 const vector rotation = rotation_->value(t);
116 SBMFCoeffs_.lookup(
"CofG") >> CofG_;
Macros for easy insertion into run-time selection tables.
Run-time selectable general function of one variable.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Quaternion class used to perform rotations in 3D space.
Septernion class used to perform translations and rotations in 3D space.
Base class for defining solid-body motions.
virtual bool read(const dictionary &SBMFCoeffs)=0
Update properties from given dictionary.
Tabulated 6DoF motion function.
sixDoFMotion(const dictionary &SBMFCoeffs, const Time &runTime)
Construct from components.
virtual septernion transformation() const
Return the solid-body motion transformation septernion.
virtual ~sixDoFMotion()
Destructor.
virtual bool read(const dictionary &SBMFCoeffs)
Update properties from given dictionary.
#define DebugInFunction
Report an information message using Foam::Info.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionSet dimLength
defineTypeNameAndDebug(combustionModel, 0)
static scalar R(const scalar a, const scalar x)
const unitConversion unitDegrees