35 namespace solidBodyMotionFunctions
74 const scalar t = time_.value() - time_.beginTime().value();
78 const vector theta(t*omega_);
79 const scalar magTheta =
mag(theta);
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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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 &dict)=0
Update properties from given dictionary.
Constant angular velocity rotation around given origin.
virtual septernion transformation() const
Return the solid-body motion transformation septernion.
virtual ~axisRotationMotion()
Destructor.
axisRotationMotion(const word &name, const dictionary &SBMFCoeffs, const Time &runTime)
Construct from components.
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(polyPatch, mergedCyclicPolyPatch, word)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionSet & dimLength
const dimensionSet & dimTime
static scalar R(const scalar a, const scalar x)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
tmp< DimensionedField< scalar, GeoMesh, Field > > mag(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
defineTypeNameAndDebug(atmosphericBoundaryLayer, 0)