33 namespace solidBodyMotionFunctions
38 solidBodyMotionFunction,
71 scalar t = time_.value();
74 const vector displacement = velocity_*t;
92 SBMFCoeffs_.lookup(
"velocity") >> velocity_;
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & endl(Ostream &os)
Add newline and flush stream.
Septernion class used to perform translations and rotations in 3D space.
virtual bool read(const dictionary &SBMFCoeffs)
Update properties from given dictionary.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
defineTypeNameAndDebug(axisRotationMotion, 0)
bool read(const char *, int32_t &)
Base class for defining solid-body motions.
linearMotion(const dictionary &SBMFCoeffs, const Time &runTime)
Construct from components.
#define DebugInFunction
Report an information message using Foam::Info.
virtual bool read(const dictionary &SBMFCoeffs)=0
Update properties from given dictionary.
Quaternion class used to perform rotations in 3D space.
#define R(A, B, C, D, E, F, K, M)
virtual septernion transformation() const
Return the solid-body motion transformation septernion.
addToRunTimeSelectionTable(solidBodyMotionFunction, axisRotationMotion, dictionary)
virtual ~linearMotion()
Destructor.