Public Member Functions | Private Types | Private Member Functions | Private Attributes
tabulated6DoFAcceleration Class Reference

Tabulated 6DoF acceleration. More...

Collaboration diagram for tabulated6DoFAcceleration:
Collaboration graph
[legend]

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< vectoracceleration () const
 Return the solid-body accelerations. More...
 
virtual bool read (const dictionary &accelerationCoeffs)
 Update properties from given dictionary. More...
 

Private Types

typedef Vector< vectoraccelerationVectors
 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 Timetime_
 
dictionary accelerationCoeffs_
 
fileName timeDataFileName_
 Time data file name read from dictionary. More...
 
scalarField times_
 Field of times. More...
 
Field< accelerationVectorsvalues_
 Field of acceleration "vectors". More...
 

Detailed Description

Tabulated 6DoF acceleration.

Obtained by interpolating tabulated data for linear acceleration, angular velocity and angular acceleration.

Source files

Definition at line 53 of file tabulated6DoFAcceleration.H.

Member Typedef Documentation

◆ accelerationVectors

typedef Vector<vector> accelerationVectors
private

Type used to read in the acceleration "vectors".

Definition at line 65 of file tabulated6DoFAcceleration.H.

Constructor & Destructor Documentation

◆ tabulated6DoFAcceleration() [1/2]

Disallow copy construct.

◆ tabulated6DoFAcceleration() [2/2]

tabulated6DoFAcceleration ( const dictionary accelerationCoeffs,
const Time runTime 
)

Construct from components.

Definition at line 42 of file tabulated6DoFAcceleration.C.

References Foam::read().

Here is the call graph for this function:

◆ ~tabulated6DoFAcceleration()

Destructor.

Definition at line 56 of file tabulated6DoFAcceleration.C.

Member Function Documentation

◆ operator=()

void operator= ( const tabulated6DoFAcceleration )
private

Disallow default bitwise assignment.

◆ TypeName()

TypeName ( "tabulated6DoFAcceleration"  )

Runtime type information.

◆ acceleration()

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().

Here is the call graph for this function:

◆ read()

bool read ( const dictionary accelerationCoeffs)
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().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ time_

const Time& time_
private

Definition at line 57 of file tabulated6DoFAcceleration.H.

◆ accelerationCoeffs_

dictionary accelerationCoeffs_
private

Definition at line 59 of file tabulated6DoFAcceleration.H.

◆ timeDataFileName_

fileName timeDataFileName_
private

Time data file name read from dictionary.

Definition at line 62 of file tabulated6DoFAcceleration.H.

◆ times_

scalarField times_
private

Field of times.

Definition at line 68 of file tabulated6DoFAcceleration.H.

◆ values_

Field<accelerationVectors> values_
private

Field of acceleration "vectors".

Definition at line 71 of file tabulated6DoFAcceleration.H.


The documentation for this class was generated from the following files: