Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rigidBodySolver Class Referenceabstract
Inheritance diagram for rigidBodySolver:
Inheritance graph
[legend]
Collaboration diagram for rigidBodySolver:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("rigidBodySolver")
 
 declareRunTimeSelectionTable (autoPtr, rigidBodySolver, dictionary,(rigidBodyMotion &body, const dictionary &dict),(body, dict))
 
 rigidBodySolver (rigidBodyMotion &body)
 
virtual ~rigidBodySolver ()
 
virtual void solve (const scalarField &tau, const Field< spatialVector > &fx)=0
 

Static Public Member Functions

static autoPtr< rigidBodySolverNew (rigidBodyMotion &body, const dictionary &dict)
 

Protected Member Functions

rigidBodyModelStatestate ()
 
scalarFieldq ()
 
scalarFieldqDot ()
 
scalarFieldqDdot ()
 
scalar deltaT () const
 
const rigidBodyModelStatestate0 () const
 
const scalarFieldq0 () const
 
const scalarFieldqDot0 () const
 
const scalarFieldqDdot0 () const
 
scalar deltaT0 () const
 
void correctQuaternionJoints ()
 

Protected Attributes

rigidBodyMotionmodel_
 

Detailed Description

Source files

Definition at line 49 of file rigidBodySolver.H.

Constructor & Destructor Documentation

◆ rigidBodySolver()

Definition at line 38 of file rigidBodySolver.C.

◆ ~rigidBodySolver()

~rigidBodySolver ( )
virtual

Definition at line 46 of file rigidBodySolver.C.

Member Function Documentation

◆ state()

Foam::RBD::rigidBodyModelState & state ( )
inlineprotected

Definition at line 23 of file rigidBodySolverI.H.

References rigidBodySolver::model_.

◆ q()

Foam::scalarField & q ( )
inlineprotected

Definition at line 29 of file rigidBodySolverI.H.

◆ qDot()

Foam::scalarField & qDot ( )
inlineprotected

Definition at line 35 of file rigidBodySolverI.H.

◆ qDdot()

Foam::scalarField & qDdot ( )
inlineprotected

Definition at line 41 of file rigidBodySolverI.H.

◆ deltaT()

Foam::scalar deltaT ( ) const
inlineprotected

Definition at line 47 of file rigidBodySolverI.H.

◆ state0()

const Foam::RBD::rigidBodyModelState & state0 ( ) const
inlineprotected

Definition at line 54 of file rigidBodySolverI.H.

◆ q0()

const Foam::scalarField & q0 ( ) const
inlineprotected

Definition at line 59 of file rigidBodySolverI.H.

◆ qDot0()

const Foam::scalarField & qDot0 ( ) const
inlineprotected

Definition at line 65 of file rigidBodySolverI.H.

◆ qDdot0()

const Foam::scalarField & qDdot0 ( ) const
inlineprotected

Definition at line 71 of file rigidBodySolverI.H.

◆ deltaT0()

Foam::scalar deltaT0 ( ) const
inlineprotected

Definition at line 77 of file rigidBodySolverI.H.

◆ correctQuaternionJoints()

void correctQuaternionJoints ( )
protected

Definition at line 52 of file rigidBodySolver.C.

References Foam::cos(), forAll, Foam::mag(), and Foam::normalize().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "rigidBodySolver"  )

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
rigidBodySolver  ,
dictionary  ,
(rigidBodyMotion &body, const dictionary &dict ,
(body, dict  
)

◆ New()

Foam::autoPtr< Foam::RBD::rigidBodySolver > New ( rigidBodyMotion body,
const dictionary dict 
)
static

Definition at line 27 of file rigidBodySolverNew.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.

Here is the call graph for this function:

◆ solve()

virtual void solve ( const scalarField tau,
const Field< spatialVector > &  fx 
)
pure virtual

Implemented in CrankNicolson, Newmark, and symplectic.

Member Data Documentation

◆ model_

rigidBodyMotion& model_
protected

Definition at line 56 of file rigidBodySolver.H.

Referenced by rigidBodySolver::state().


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