51Foam::solidBodyMotionFunctions::rotatingMotion::rotatingMotion
58 origin_(SBMFCoeffs_.get<
vector>(
"origin")),
59 axis_(SBMFCoeffs_.get<
vector>(
"axis")),
72 scalar angle = omega_->integrate(0, t);
92 Function1<scalar>::New(
"omega", SBMFCoeffs_, &time_)
#define R(A, B, C, D, E, F, K, M)
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
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 a number of values (eg,...
const Type & value() const noexcept
Return const reference to value.
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.
static autoPtr< solidBodyMotionFunction > New(const word &motionType, const dictionary &dict, const Time &runTime)
Construct and dispatch motionType with dictionary and Time.
virtual bool read(const dictionary &SBMFCoeffs)=0
Update properties from given dictionary.
solidBodyMotionFunction(const solidBodyMotionFunction &)=delete
No copy construct.
SolidBodyMotionFvMesh 6DoF motion function.
virtual septernion transformation() const
Return the solid-body motion transformation septernion.
virtual bool read(const dictionary &SBMFCoeffs)
Update properties from given dictionary.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define DebugInFunction
Report an information message using Foam::Info.
Namespace for solid-body motions.
Ostream & endl(Ostream &os)
Add newline and flush stream.