Tabulated 6DoF acceleration. More...
Public Member Functions | |
TypeName ("tabulated6DoFAcceleration") | |
Runtime type information. More... | |
tabulated6DoFAcceleration (const dictionary &accelerationCoeffs, const Time &runTime) | |
Construct from components. More... | |
virtual | ~tabulated6DoFAcceleration () |
Destructor. More... | |
virtual Vector< vector > | acceleration () const |
Return the solid-body accelerations. More... | |
virtual bool | read (const dictionary &accelerationCoeffs) |
Update properties from given dictionary. More... | |
Private Types | |
typedef Vector< vector > | accelerationVectors |
Type used to read in the acceleration "vectors". More... | |
Private Member Functions | |
tabulated6DoFAcceleration (const tabulated6DoFAcceleration &) | |
Disallow copy construct. More... | |
void | operator= (const tabulated6DoFAcceleration &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
const Time & | time_ |
dictionary | accelerationCoeffs_ |
fileName | timeDataFileName_ |
Time data file name read from dictionary. More... | |
scalarField | times_ |
Field of times. More... | |
Field< accelerationVectors > | values_ |
Field of acceleration "vectors". More... | |
Tabulated 6DoF acceleration.
Obtained by interpolating tabulated data for linear acceleration, angular velocity and angular acceleration.
Definition at line 53 of file tabulated6DoFAcceleration.H.
|
private |
Type used to read in the acceleration "vectors".
Definition at line 65 of file tabulated6DoFAcceleration.H.
|
private |
Disallow copy construct.
tabulated6DoFAcceleration | ( | const dictionary & | accelerationCoeffs, |
const Time & | runTime | ||
) |
Construct from components.
Definition at line 42 of file tabulated6DoFAcceleration.C.
References Foam::read().
|
virtual |
Destructor.
Definition at line 56 of file tabulated6DoFAcceleration.C.
|
private |
Disallow default bitwise assignment.
TypeName | ( | "tabulated6DoFAcceleration" | ) |
Runtime type information.
|
virtual |
Return the solid-body accelerations.
Definition at line 63 of file tabulated6DoFAcceleration.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, and Foam::interpolateSplineXY().
|
virtual |
Update properties from given dictionary.
Definition at line 100 of file tabulated6DoFAcceleration.C.
References Foam::exit(), string::expand(), Foam::FatalError, FatalErrorInFunction, forAll, IOstream::good(), and List::size().
Referenced by tabulatedAccelerationSource::read().
|
private |
Definition at line 57 of file tabulated6DoFAcceleration.H.
|
private |
Definition at line 59 of file tabulated6DoFAcceleration.H.
|
private |
Time data file name read from dictionary.
Definition at line 62 of file tabulated6DoFAcceleration.H.
|
private |
Field of times.
Definition at line 68 of file tabulated6DoFAcceleration.H.
|
private |
Field of acceleration "vectors".
Definition at line 71 of file tabulated6DoFAcceleration.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.