36 namespace solidBodyMotionFunctions
58 origin_(SBMFCoeffs_.lookup(
"origin")),
59 axis_(SBMFCoeffs_.lookup(
"axis")),
60 omega_(new Function1s::
omega(runTime, SBMFCoeffs_))
76 const scalar angle = omega_->integral(0, time_.value());
82 <<
"Time = " << time_.value() <<
" transformation: " << TR <<
endl;
Macros for easy insertion into run-time selection tables.
Convenience class to handle the input of time-varying rotational speed. Reads an omega Function1 entr...
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....
Convenience class to handle the input of constant rotational speed. Reads an omega entry with default...
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.
SolidBodyMotionFvMesh 6DoF motion function.
virtual septernion transformation() const
Return the solid-body motion transformation septernion.
virtual ~rotatingMotion()
Destructor.
rotatingMotion(const dictionary &SBMFCoeffs, const Time &runTime)
Construct from components.
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.
defineTypeNameAndDebug(combustionModel, 0)
static scalar R(const scalar a, const scalar x)