33 namespace solidBodyMotionFunctions
72 scalar t = time_.value();
76 for (
label i = 1; i < SBMFs_.size(); i++)
78 TR *= SBMFs_[i].transformation();
95 SBMFs_.setSize(SBMFCoeffs_.size());
112 Info<<
"Constructed SBMF " << i <<
" : "
113 << iter().keyword() <<
" of type "
114 << SBMFs_[i].type() <<
endl;
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Macros for easy insertion into run-time selection tables.
Template class for intrusive linked lists.
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.
Septernion class used to perform translations and rotations in 3D space.
Base class for defining solid-body motions.
virtual bool read(const dictionary &dict)=0
Update properties from given dictionary.
static autoPtr< solidBodyMotionFunction > New(const dictionary &SBMFCoeffs, const Time &runTime, const word &name="solidBodyMotionFunction")
Select constructed from the SBMFCoeffs dictionary and Time.
Combination of SolidBodyMotionFvMesh 6DoF motion functions.
multiMotion(const word &name, const dictionary &SBMFCoeffs, const Time &runTime)
Construct from components.
virtual septernion transformation() const
Return the solid-body motion transformation septernion.
virtual ~multiMotion()
Destructor.
virtual bool read(const dictionary &SBMFCoeffs)
Update properties from given dictionary.
A class for handling words, derived from string.
#define DebugInFunction
Report an information message using Foam::Info.
addToRunTimeSelectionTable(solidBodyMotionFunction, multiValveEnginePistonMotion, dictionary)
defineTypeNameAndDebug(multiValveEnginePistonMotion, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.