35 namespace solidBodyMotionFunctions
40 solidBodyMotionFunction,
50 Foam::solidBodyMotionFunctions::multiMotion::multiMotion
67 scalar t = time_.value();
71 for (label i = 1; i < SBMFs_.size(); i++)
73 TR *= SBMFs_[i].transformation();
90 SBMFs_.setSize(SBMFCoeffs_.size());
92 for (
const entry& dEntry : SBMFCoeffs_)
102 Info<<
"Constructed SBMF " << i <<
" : " 103 << dEntry.keyword() <<
" of type " 104 << SBMFs_[i].type() <<
endl;
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static autoPtr< solidBodyMotionFunction > New(const word &motionType, const dictionary &dict, const Time &runTime)
Construct and dispatch motionType with dictionary and Time.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Septernion class used to perform translations and rotations in 3D space.
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)
virtual septernion transformation() const
Return the solid-body motion transformation septernion.
Base class for defining solid-body motions.
#define DebugInFunction
Report an information message using Foam::Info.
virtual bool read(const dictionary &SBMFCoeffs)=0
Update properties from given dictionary.
virtual bool read(const dictionary &SBMFCoeffs)
Update properties from given dictionary.
messageStream Info
Information stream (stdout output on master, null elsewhere)
addToRunTimeSelectionTable(solidBodyMotionFunction, axisRotationMotion, dictionary)
A keyword and a list of tokens is an 'entry'.