Foam::RBD Namespace Reference

Namespaces

namespace  joints
 Namespace for rigid-body joints.
 
namespace  restraints
 Namespace for rigid-body dynamics restraints.
 
namespace  rigidBodySolvers
 

Classes

class  compositeBody
 
class  cuboid
 
class  joint
 Abstract base-class for all rigid-body joints. More...
 
class  jointBody
 
class  masslessBody
 
class  restraint
 Base class for defining restraints for rigid-body dynamics. More...
 
class  rigidBody
 
class  rigidBodyInertia
 
class  rigidBodyModel
 Basic rigid-body model representing a system of rigid-bodies connected by 1-6 DoF joints. More...
 
class  rigidBodyModelState
 Holds the motion state of rigid-body model. More...
 
class  rigidBodyMotion
 Six degree of freedom motion for a rigid body. More...
 
class  rigidBodySolver
 
class  sphere
 
class  subBody
 

Functions

 defineTypeNameAndDebug (cuboid, 0)
 
 addToRunTimeSelectionTable (rigidBody, cuboid, dictionary)
 
 defineTypeNameAndDebug (jointBody, 0)
 
 addToRunTimeSelectionTable (rigidBody, jointBody, dictionary)
 
 defineTypeNameAndDebug (masslessBody, 0)
 
 addToRunTimeSelectionTable (rigidBody, masslessBody, dictionary)
 
 defineTypeNameAndDebug (rigidBody, 0)
 
 defineRunTimeSelectionTable (rigidBody, dictionary)
 
 addToRunTimeSelectionTable (rigidBody, rigidBody, dictionary)
 
Ostreamoperator<< (Ostream &, const rigidBody &)
 
 defineTypeNameAndDebug (sphere, 0)
 
 addToRunTimeSelectionTable (rigidBody, sphere, dictionary)
 
 defineTypeNameAndDebug (joint, 0)
 
 defineRunTimeSelectionTable (joint, dictionary)
 
Ostreamoperator<< (Ostream &, const joint &)
 
 defineTypeNameAndDebug (restraint, 0)
 
 defineRunTimeSelectionTable (restraint, dictionary)
 
Istreamoperator>> (Istream &, rigidBodyInertia &)
 
Ostreamoperator<< (Ostream &, const rigidBodyInertia &)
 
rigidBodyInertia operator+ (const rigidBodyInertia &rbi1, const rigidBodyInertia &rbi2)
 Return the rigid-body inertia of the combined body. More...
 
spatialVector operator& (const rigidBodyInertia &rbi, const spatialVector &sv)
 Inner-product with a spatialVector (e.g. velocity returning the momentum) More...
 
rigidBodyInertia transform (const spatialTransform &X, const rigidBodyInertia &I)
 Return (^BX_A)^* I ^AX_B. More...
 
 defineTypeNameAndDebug (rigidBodyModel, 0)
 
Ostreamoperator<< (Ostream &, const rigidBodyModel &)
 
Istreamoperator>> (Istream &, rigidBodyModelState &)
 
Ostreamoperator<< (Ostream &, const rigidBodyModelState &)
 
 defineTypeNameAndDebug (rigidBodySolver, 0)
 
 defineRunTimeSelectionTable (rigidBodySolver, dictionary)
 

Function Documentation

◆ defineTypeNameAndDebug() [1/9]

defineTypeNameAndDebug ( cuboid  ,
 
)

◆ addToRunTimeSelectionTable() [1/5]

addToRunTimeSelectionTable ( rigidBody  ,
cuboid  ,
dictionary   
)

◆ defineTypeNameAndDebug() [2/9]

defineTypeNameAndDebug ( jointBody  ,
 
)

◆ addToRunTimeSelectionTable() [2/5]

addToRunTimeSelectionTable ( rigidBody  ,
jointBody  ,
dictionary   
)

◆ defineTypeNameAndDebug() [3/9]

defineTypeNameAndDebug ( masslessBody  ,
 
)

◆ addToRunTimeSelectionTable() [3/5]

addToRunTimeSelectionTable ( rigidBody  ,
masslessBody  ,
dictionary   
)

◆ defineTypeNameAndDebug() [4/9]

defineTypeNameAndDebug ( rigidBody  ,
 
)

◆ defineRunTimeSelectionTable() [1/4]

defineRunTimeSelectionTable ( rigidBody  ,
dictionary   
)

◆ addToRunTimeSelectionTable() [4/5]

addToRunTimeSelectionTable ( rigidBody  ,
rigidBody  ,
dictionary   
)

◆ operator<<() [1/5]

Foam::Ostream & operator<< ( Ostream os,
const rigidBody rb 
)
inline

Definition at line 75 of file rigidBodyI.H.

References os(), and rigidBody::write().

Here is the call graph for this function:

◆ defineTypeNameAndDebug() [5/9]

defineTypeNameAndDebug ( sphere  ,
 
)

◆ addToRunTimeSelectionTable() [5/5]

addToRunTimeSelectionTable ( rigidBody  ,
sphere  ,
dictionary   
)

◆ defineTypeNameAndDebug() [6/9]

defineTypeNameAndDebug ( joint  ,
 
)

◆ defineRunTimeSelectionTable() [2/4]

defineRunTimeSelectionTable ( joint  ,
dictionary   
)

◆ operator<<() [2/5]

Foam::Ostream & operator<< ( Ostream os,
const joint j 
)
inline

Definition at line 115 of file jointI.H.

References os(), and joint::write().

Here is the call graph for this function:

◆ defineTypeNameAndDebug() [7/9]

defineTypeNameAndDebug ( restraint  ,
 
)

◆ defineRunTimeSelectionTable() [3/4]

defineRunTimeSelectionTable ( restraint  ,
dictionary   
)

◆ operator>>() [1/2]

Foam::Istream & operator>> ( Istream is,
rigidBodyInertia rbi 
)
inline

Definition at line 141 of file rigidBodyInertiaI.H.

◆ operator<<() [3/5]

Foam::Ostream & operator<< ( Ostream os,
const rigidBodyInertia rbi 
)
inline

Definition at line 152 of file rigidBodyInertiaI.H.

References Foam::endl(), Foam::nl, and os().

Here is the call graph for this function:

◆ operator+()

rigidBodyInertia operator+ ( const rigidBodyInertia rbi1,
const rigidBodyInertia rbi2 
)
inline

Return the rigid-body inertia of the combined body.

Definition at line 173 of file rigidBodyInertiaI.H.

References rigidBodyInertia::m().

Here is the call graph for this function:

◆ operator&()

spatialVector operator& ( const rigidBodyInertia rbi,
const spatialVector sv 
)
inline

Inner-product with a spatialVector (e.g. velocity returning the momentum)

Definition at line 192 of file rigidBodyInertiaI.H.

◆ transform()

rigidBodyInertia transform ( const spatialTransform X,
const rigidBodyInertia I 
)
inline

Return (^BX_A)^* I ^AX_B.

Definition at line 210 of file rigidBodyInertiaI.H.

References rigidBodyInertia::c(), spatialTransform::E(), rigidBodyInertia::Ic(), rigidBodyInertia::m(), spatialTransform::r(), Tensor< Cmpt >::T(), and Foam::transform().

Referenced by rigidBody::merge().

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

◆ defineTypeNameAndDebug() [8/9]

defineTypeNameAndDebug ( rigidBodyModel  ,
 
)

◆ operator<<() [4/5]

Foam::Ostream & operator<< ( Ostream os,
const rigidBodyModel rbm 
)

Definition at line 467 of file rigidBodyModel.C.

References os(), and rigidBodyModel::write().

Here is the call graph for this function:

◆ operator>>() [2/2]

Foam::Istream & operator>> ( Istream is,
rigidBodyModelState state 
)

Definition at line 55 of file rigidBodyModelStateIO.C.

References IOstream::check(), and FUNCTION_NAME.

Here is the call graph for this function:

◆ operator<<() [5/5]

Foam::Ostream & operator<< ( Ostream os,
const rigidBodyModelState state 
)

Definition at line 72 of file rigidBodyModelStateIO.C.

References FUNCTION_NAME, os(), and token::SPACE.

Here is the call graph for this function:

◆ defineTypeNameAndDebug() [9/9]

defineTypeNameAndDebug ( rigidBodySolver  ,
 
)

◆ defineRunTimeSelectionTable() [4/4]

defineRunTimeSelectionTable ( rigidBodySolver  ,
dictionary   
)