Variable velocity displacement. The velocity is read from a uniformVectorField from the time registry with the name CofGvelocity. More...
Public Member Functions | |
TypeName ("drivenLinearMotion") | |
Runtime type information. More... | |
drivenLinearMotion (const dictionary &SBMFCoeffs, const Time &runTime) | |
Construct from components. More... | |
virtual autoPtr< solidBodyMotionFunction > | clone () const |
Construct and return a clone. More... | |
virtual | ~drivenLinearMotion ()=default |
Destructor. More... | |
virtual septernion | transformation () const |
Return the solid-body motion transformation septernion. More... | |
virtual bool | read (const dictionary &SBMFCoeffs) |
Update properties from given dictionary. More... | |
Public Member Functions inherited from solidBodyMotionFunction | |
TypeName ("solidBodyMotionFunction") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, solidBodyMotionFunction, dictionary,(const dictionary &SBMFCoeffs, const Time &runTime),(SBMFCoeffs, runTime)) | |
solidBodyMotionFunction (const dictionary &SBMFCoeffs, const Time &runTime) | |
Construct from the coefficients dictionary and Time. More... | |
virtual | ~solidBodyMotionFunction ()=default |
Destructor. More... | |
virtual void | writeData (Ostream &) const |
Write in dictionary format. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from solidBodyMotionFunction | |
static autoPtr< solidBodyMotionFunction > | New (const word &motionType, const dictionary &dict, const Time &runTime) |
Construct and dispatch motionType with dictionary and Time. More... | |
static autoPtr< solidBodyMotionFunction > | New (const dictionary &dict, const Time &runTime) |
Select "solidBodyMotionFunction" type from dictionary and create with Time. More... | |
static autoPtr< solidBodyMotionFunction > | NewIfPresent (const dictionary &dict, const Time &runTime) |
Select "solidBodyMotionFunction" type (if present) from dictionary and create with Time. More... | |
Protected Member Functions inherited from solidBodyMotionFunction | |
solidBodyMotionFunction (const solidBodyMotionFunction &)=delete | |
No copy construct. More... | |
void | operator= (const solidBodyMotionFunction &)=delete |
No copy assignment. More... | |
Protected Attributes inherited from solidBodyMotionFunction | |
dictionary | SBMFCoeffs_ |
const Time & | time_ |
Variable velocity displacement. The velocity is read from a uniformVectorField from the time registry with the name CofGvelocity.
Optional plane of motion can be added with the normal vector
Definition at line 55 of file drivenLinearMotion.H.
drivenLinearMotion | ( | const dictionary & | SBMFCoeffs, |
const Time & | runTime | ||
) |
Construct from components.
Definition at line 45 of file drivenLinearMotion.C.
References Foam::blockMeshTools::read().
|
virtualdefault |
Destructor.
TypeName | ( | "drivenLinearMotion" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements solidBodyMotionFunction.
Definition at line 107 of file drivenLinearMotion.H.
References solidBodyMotionFunction::SBMFCoeffs_, and solidBodyMotionFunction::time_.
|
virtual |
Return the solid-body motion transformation septernion.
Implements solidBodyMotionFunction.
Definition at line 73 of file drivenLinearMotion.C.
References DebugInFunction, Foam::endl(), R, solidBodyMotionFunction::time_, and dimensioned< Type >::value().
|
virtual |
Update properties from given dictionary.
Implements solidBodyMotionFunction.
Definition at line 88 of file drivenLinearMotion.C.
References solidBodyMotionFunction::read().