36 namespace solidBodyMotionFunctions
74 const scalar t = time_.value() - time_.beginTime().value();
86 const scalar magOmega =
mag(omega);
108 SBMFCoeffs_.lookup(
"origin") >> origin_;
109 SBMFCoeffs_.lookup(
"radialVelocity") >> radialVelocity_;
virtual ~axisRotationMotion()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Unit conversion functions.
Ostream & endl(Ostream &os)
Add newline and flush stream.
axisRotationMotion(const dictionary &SBMFCoeffs, const Time &runTime)
Construct from components.
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.
scalar degToRad(const scalar deg)
Conversion from degrees to radians.
bool read(const char *, int32_t &)
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.
Quaternion class used to perform rotations in 3D space.
static const septernion I
virtual bool read(const dictionary &SBMFCoeffs)
Update properties from given dictionary.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
Constant velocity rotation around CoG. Similar to rotatingMotion but motion specified as rotation vec...
defineTypeNameAndDebug(combustionModel, 0)
#define R(A, B, C, D, E, F, K, M)
virtual septernion transformation() const
Return the solid-body motion transformation septernion.
dimensioned< scalar > mag(const dimensioned< Type > &)