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

linearAxialAngularSpring Class Reference

sixDoFRigidBodyMotionRestraints model. Linear axial angular spring. More...

#include <forces/linearAxialAngularSpring.H>


Detailed Description

sixDoFRigidBodyMotionRestraints model. Linear axial angular spring.

Source files

Definition at line 54 of file linearAxialAngularSpring.H.

Inheritance diagram for linearAxialAngularSpring:
Collaboration diagram for linearAxialAngularSpring:

List of all members.

Public Member Functions

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

linearAxialAngularSpring ( const dictionary &   sDoFRBMRDict  )

Construct from components.

Definition at line 52 of file linearAxialAngularSpring.C.

Referenced by linearAxialAngularSpring::clone().

~linearAxialAngularSpring (  ) [virtual]

Definition at line 69 of file linearAxialAngularSpring.C.


Member Function Documentation

TypeName ( "linearAxialAngularSpring"    )

Runtime type information.

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

Construct and return a clone.

Implements sixDoFRigidBodyMotionRestraint.

Definition at line 88 of file linearAxialAngularSpring.H.

References linearAxialAngularSpring::linearAxialAngularSpring().

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 linearAxialAngularSpring.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/linearAxialAngularSpring/linearAxialAngularSpring.H
  • src/postProcessing/functionObjects/forces/pointPatchFields/derived/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionRestraint/linearAxialAngularSpring/linearAxialAngularSpring.C