FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

tabulatedAxialAngularSpring Class Reference

sixDoFRigidBodyMotionRestraints model. Axial angular spring with moment values drawn from an interpolation table. Linear damping. More...

#include <forces/tabulatedAxialAngularSpring.H>


Detailed Description

sixDoFRigidBodyMotionRestraints model. Axial angular spring with moment values drawn from an interpolation table. Linear damping.

Source files

Definition at line 56 of file tabulatedAxialAngularSpring.H.

Inheritance diagram for tabulatedAxialAngularSpring:
Collaboration diagram for tabulatedAxialAngularSpring:

List of all members.

Public Member Functions

 TypeName ("tabulatedAxialAngularSpring")
 Runtime type information.
 tabulatedAxialAngularSpring (const dictionary &sDoFRBMRDict)
 Construct from components.
virtual autoPtr
< sixDoFRigidBodyMotionRestraint >  
clone () const
 Construct and return a clone.
virtual  ~tabulatedAxialAngularSpring ()
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.

Constructor & Destructor Documentation

tabulatedAxialAngularSpring ( const dictionary &   sDoFRBMRDict  )

Construct from components.

Definition at line 53 of file tabulatedAxialAngularSpring.C.

Referenced by tabulatedAxialAngularSpring::clone().

~tabulatedAxialAngularSpring (  ) [virtual]

Definition at line 71 of file tabulatedAxialAngularSpring.C.


Member Function Documentation

TypeName ( "tabulatedAxialAngularSpring"    )

Runtime type information.

virtual autoPtr<sixDoFRigidBodyMotionRestraint> clone (  ) const [inline, virtual]

Construct and return a clone.

Implements sixDoFRigidBodyMotionRestraint.

Definition at line 95 of file tabulatedAxialAngularSpring.H.

References tabulatedAxialAngularSpring::tabulatedAxialAngularSpring().

void restrain ( const sixDoFRigidBodyMotion &   motion,
vector &   restraintPosition,
vector &   restraintForce,
vector &   restraintMoment  
) const [virtual]
bool read ( const dictionary &   sDoFRBMRCoeff  ) [virtual]

Update properties from given dictionary.

Reimplemented from sixDoFRigidBodyMotionRestraint.

Definition at line 147 of file tabulatedAxialAngularSpring.C.

References Foam::abort(), e, Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::I, Foam::mag(), Foam::nl, sixDoFRigidBodyMotionRestraint::read(), and Foam::sqrt().

void write ( Ostream &   os  ) const [virtual]

The documentation for this class was generated from the following files:
  • src/postProcessing/functionObjects/forces/pointPatchFields/derived/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionRestraint/tabulatedAxialAngularSpring/tabulatedAxialAngularSpring.H
  • src/postProcessing/functionObjects/forces/pointPatchFields/derived/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionRestraint/tabulatedAxialAngularSpring/tabulatedAxialAngularSpring.C