36 namespace solidBodyMotionFunctions
74 const scalar t = time_.value() - time_.beginTime().value();
108 SBMFCoeffs_.lookup(
"origin") >> origin_;
109 SBMFCoeffs_.lookup(
"radialVelocity") >> radialVelocity_;
Macros for easy insertion into run-time selection tables.
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....
Quaternion class used to perform rotations in 3D space.
Septernion class used to perform translations and rotations in 3D space.
static const septernion I
Base class for defining solid-body motions.
virtual bool read(const dictionary &SBMFCoeffs)=0
Update properties from given dictionary.
Constant velocity rotation around CoG. Similar to rotatingMotion but motion specified as rotation vec...
axisRotationMotion(const dictionary &SBMFCoeffs, const Time &runTime)
Construct from components.
virtual septernion transformation() const
Return the solid-body motion transformation septernion.
virtual ~axisRotationMotion()
Destructor.
virtual bool read(const dictionary &SBMFCoeffs)
Update properties from given dictionary.
#define DebugInFunction
Report an information message using Foam::Info.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
defineTypeNameAndDebug(combustionModel, 0)
static scalar R(const scalar a, const scalar x)
scalar degToRad(const scalar deg)
Conversion from degrees to radians.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
Unit conversion functions.