Loading...
Searching...
No Matches
sphericalAngularDamper Class Reference

sixDoFRigidBodyMotionRestraints model. Spherical angular damper. More...

#include <sphericalAngularDamper.H>

Inheritance diagram for sphericalAngularDamper:
Collaboration diagram for sphericalAngularDamper:

Public Member Functions

 TypeName ("sphericalAngularDamper")
 Runtime type information.
 sphericalAngularDamper (const word &name, const dictionary &sDoFRBMRDict)
 Construct from components.
virtual autoPtr< sixDoFRigidBodyMotionRestraintclone () const
 Construct and return a clone.
virtual ~sphericalAngularDamper ()
 Destructor.
virtual void restrain (const sixDoFRigidBodyMotion &motion, vector &restraintPosition, vector &restraintForce, vector &restraintMoment) const
 Calculate the restraint position, force and moment.
virtual bool read (const dictionary &sDoFRBMRCoeff)
 Update properties from given dictionary.
virtual void write (Ostream &) const
 Write.
Public Member Functions inherited from sixDoFRigidBodyMotionRestraint
 TypeName ("sixDoFRigidBodyMotionRestraint")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, sixDoFRigidBodyMotionRestraint, dictionary,(const word &name, const dictionary &sDoFRBMRDict),(name, sDoFRBMRDict))
 sixDoFRigidBodyMotionRestraint (const word &name, const dictionary &sDoFRBMRDict)
 Construct from the sDoFRBMRDict dictionary and Time.
virtual ~sixDoFRigidBodyMotionRestraint ()
 Destructor.
const wordname () const
 Return the name.
const dictionarycoeffDict () const

Additional Inherited Members

Static Public Member Functions inherited from sixDoFRigidBodyMotionRestraint
static autoPtr< sixDoFRigidBodyMotionRestraintNew (const word &name, const dictionary &sDoFRBMRDict)
 Select constructed from the sDoFRBMRDict dictionary and Time.
Protected Attributes inherited from sixDoFRigidBodyMotionRestraint
word name_
 Name of the restraint.
dictionary sDoFRBMRCoeffs_
 Restraint model specific coefficient dictionary.

Detailed Description

sixDoFRigidBodyMotionRestraints model. Spherical angular damper.

Source files

Definition at line 49 of file sphericalAngularDamper.H.

Constructor & Destructor Documentation

◆ sphericalAngularDamper()

sphericalAngularDamper ( const word & name,
const dictionary & sDoFRBMRDict )

Construct from components.

Definition at line 45 of file sphericalAngularDamper.C.

References sixDoFRigidBodyMotionRestraint::name(), read(), and sixDoFRigidBodyMotionRestraint::sixDoFRigidBodyMotionRestraint().

Referenced by clone().

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

◆ ~sphericalAngularDamper()

~sphericalAngularDamper ( )
virtual

Destructor.

Definition at line 61 of file sphericalAngularDamper.C.

Member Function Documentation

◆ TypeName()

TypeName ( "sphericalAngularDamper" )

Runtime type information.

References sixDoFRigidBodyMotionRestraint::name().

Here is the call graph for this function:

◆ clone()

virtual autoPtr< sixDoFRigidBodyMotionRestraint > clone ( ) const
inlinevirtual

Construct and return a clone.

Implements sixDoFRigidBodyMotionRestraint.

Definition at line 83 of file sphericalAngularDamper.H.

References sphericalAngularDamper().

Here is the call graph for this function:

◆ restrain()

void restrain ( const sixDoFRigidBodyMotion & motion,
vector & restraintPosition,
vector & restraintForce,
vector & restraintMoment ) const
virtual

Calculate the restraint position, force and moment.

Global reference frame vectors.

Implements sixDoFRigidBodyMotionRestraint.

Definition at line 68 of file sphericalAngularDamper.C.

References Foam::endl(), Foam::Info, sixDoFRigidBodyMotion::omega(), sixDoFRigidBodyMotion::report(), and Foam::Zero.

Here is the call graph for this function:

◆ read()

bool read ( const dictionary & sDoFRBMRCoeff)
virtual

Update properties from given dictionary.

Reimplemented from sixDoFRigidBodyMotionRestraint.

Definition at line 87 of file sphericalAngularDamper.C.

References sixDoFRigidBodyMotionRestraint::read(), and sixDoFRigidBodyMotionRestraint::sDoFRBMRCoeffs_.

Referenced by sphericalAngularDamper().

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

◆ write()

void write ( Ostream & os) const
virtual

Write.

Implements sixDoFRigidBodyMotionRestraint.

Definition at line 100 of file sphericalAngularDamper.C.

References os().

Here is the call graph for this function:

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