Go to the documentation of this file.
35 namespace solidBodyMotionFunctions
40 solidBodyMotionFunction,
41 oscillatingLinearMotion,
50 Foam::solidBodyMotionFunctions::oscillatingLinearMotion::oscillatingLinearMotion
69 const vector displacement = amplitude_*
sin(omega_*t);
87 SBMFCoeffs_.readEntry(
"amplitude", amplitude_);
88 SBMFCoeffs_.readEntry(
"omega", omega_);
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Septernion class used to perform translations and rotations in 3D space.
virtual septernion transformation() const
Return the solid-body motion transformation septernion.
addToRunTimeSelectionTable(solidBodyMotionFunction, axisRotationMotion, dictionary)
dimensionedScalar sin(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type & value() const
Return const reference to value.
Quaternion class used to perform rotations in 3D space.
#define R(A, B, C, D, E, F, K, M)
#define DebugInFunction
Report an information message using Foam::Info.
Base class for defining solid-body motions.
defineTypeNameAndDebug(axisRotationMotion, 0)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
virtual bool read(const dictionary &SBMFCoeffs)=0
Update properties from given dictionary.
virtual bool read(const dictionary &SBMFCoeffs)
Update properties from given dictionary.