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

Public Member Functions

 TypeName ("sixDoFSolver")
 
 declareRunTimeSelectionTable (autoPtr, sixDoFSolver, dictionary,(const dictionary &dict, sixDoFRigidBodyMotion &body),(dict, body))
 
 sixDoFSolver (const dictionary &dict, sixDoFRigidBodyMotion &body)
 
virtual autoPtr< sixDoFSolverclone () const =0
 
virtual ~sixDoFSolver ()
 
virtual void solve (bool firstIter, const vector &fGlobal, const vector &tauGlobal, scalar deltaT, scalar deltaT0)=0
 
void write (Ostream &) const
 

Static Public Member Functions

static autoPtr< sixDoFSolverNew (const dictionary &dict, sixDoFRigidBodyMotion &body)
 

Protected Member Functions

pointcentreOfRotation ()
 
tensorQ ()
 
vectorv ()
 
vectora ()
 
vectorpi ()
 
vectortau ()
 
const pointcentreOfRotation0 () const
 
const tensorQ0 () const
 
const vectorv0 () const
 
const vectora0 () const
 
const vectorpi0 () const
 
const vectortau0 () const
 
scalar aDamp () const
 
tensor tConstraints () const
 
tensor rConstraints () const
 
Tuple2< tensor, vectorrotate (const tensor &Q0, const vector &pi, const scalar deltaT) const
 
void updateAcceleration (const vector &fGlobal, const vector &tauGlobal)
 

Protected Attributes

sixDoFRigidBodyMotionbody_
 
dictionary dict_
 

Detailed Description

Source files

Definition at line 50 of file sixDoFSolver.H.

Constructor & Destructor Documentation

◆ sixDoFSolver()

sixDoFSolver ( const dictionary dict,
sixDoFRigidBodyMotion body 
)

Definition at line 36 of file sixDoFSolver.C.

◆ ~sixDoFSolver()

~sixDoFSolver ( )
virtual

Definition at line 53 of file sixDoFSolver.C.

Member Function Documentation

◆ centreOfRotation()

Foam::point & centreOfRotation ( )
inlineprotected

Definition at line 23 of file sixDoFSolverI.H.

References sixDoFSolver::body_, and sixDoFRigidBodyMotionState::centreOfRotation().

Here is the call graph for this function:

◆ Q()

Foam::tensor & Q ( )
inlineprotected

Definition at line 28 of file sixDoFSolverI.H.

◆ v()

Foam::vector & v ( )
inlineprotected

Definition at line 33 of file sixDoFSolverI.H.

◆ a()

Foam::vector & a ( )
inlineprotected

Definition at line 38 of file sixDoFSolverI.H.

◆ pi()

Foam::vector & pi ( )
inlineprotected

Definition at line 43 of file sixDoFSolverI.H.

◆ tau()

Foam::vector & tau ( )
inlineprotected

Definition at line 48 of file sixDoFSolverI.H.

◆ centreOfRotation0()

const Foam::point & centreOfRotation0 ( ) const
inlineprotected

Definition at line 54 of file sixDoFSolverI.H.

◆ Q0()

const Foam::tensor & Q0 ( ) const
inlineprotected

Definition at line 59 of file sixDoFSolverI.H.

◆ v0()

const Foam::vector & v0 ( ) const
inlineprotected

Definition at line 65 of file sixDoFSolverI.H.

◆ a0()

const Foam::vector & a0 ( ) const
inlineprotected

Definition at line 71 of file sixDoFSolverI.H.

◆ pi0()

const Foam::vector & pi0 ( ) const
inlineprotected

Definition at line 77 of file sixDoFSolverI.H.

◆ tau0()

const Foam::vector & tau0 ( ) const
inlineprotected

Definition at line 83 of file sixDoFSolverI.H.

◆ aDamp()

Foam::scalar aDamp ( ) const
inlineprotected

Definition at line 88 of file sixDoFSolverI.H.

◆ tConstraints()

Foam::tensor tConstraints ( ) const
inlineprotected

Definition at line 93 of file sixDoFSolverI.H.

◆ rConstraints()

Foam::tensor rConstraints ( ) const
inlineprotected

Definition at line 98 of file sixDoFSolverI.H.

◆ rotate()

Foam::Tuple2< Foam::tensor, Foam::vector > rotate ( const tensor Q0,
const vector pi,
const scalar  deltaT 
) const
inlineprotected

Definition at line 109 of file sixDoFSolverI.H.

References Foam::constant::mathematical::pi().

Here is the call graph for this function:

◆ updateAcceleration()

void updateAcceleration ( const vector fGlobal,
const vector tauGlobal 
)
inlineprotected

Definition at line 122 of file sixDoFSolverI.H.

◆ TypeName()

TypeName ( "sixDoFSolver"  )

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
sixDoFSolver  ,
dictionary  ,
(const dictionary &dict, sixDoFRigidBodyMotion &body)  ,
(dict, body)   
)

◆ clone()

virtual autoPtr<sixDoFSolver> clone ( ) const
pure virtual

Implemented in CrankNicolson, Newmark, and symplectic.

◆ New()

Foam::autoPtr< Foam::sixDoFSolver > New ( const dictionary dict,
sixDoFRigidBodyMotion body 
)
static

Definition at line 27 of file sixDoFSolverNew.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 ( bool  firstIter,
const vector fGlobal,
const vector tauGlobal,
scalar  deltaT,
scalar  deltaT0 
)
pure virtual

Implemented in CrankNicolson, Newmark, and symplectic.

◆ write()

void write ( Ostream os) const

Definition at line 46 of file sixDoFSolver.C.

References sixDoFSolver::dict_, and os().

Here is the call graph for this function:

Member Data Documentation

◆ body_

sixDoFRigidBodyMotion& body_
protected

◆ dict_

dictionary dict_
protected

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