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

fixedPoint Class Reference

sixDoFRigidBodyMotionConstraint. Point fixed in space. More...

#include <forces/fixedPoint.H>


Detailed Description

sixDoFRigidBodyMotionConstraint. Point fixed in space.

Source files

Definition at line 53 of file fixedPoint.H.

Inheritance diagram for fixedPoint:
Collaboration diagram for fixedPoint:

List of all members.

Public Member Functions

 TypeName ("fixedPoint")
 Runtime type information.
 fixedPoint (const dictionary &sDoFRBMCDict)
 Construct from components.
virtual autoPtr
< sixDoFRigidBodyMotionConstraint >  
clone () const
 Construct and return a clone.
virtual  ~fixedPoint ()
virtual bool  constrain (const sixDoFRigidBodyMotion &motion, const vector &existingConstraintForce, const vector &existingConstraintMoment, scalar deltaT, vector &constraintPosition, vector &constraintForceIncrement, vector &constraintMomentIncrement) const
 Calculate the constraint position, force and moment.
virtual bool  read (const dictionary &sDoFRBMCCoeff)
 Update properties from given dictionary.
virtual void  write (Ostream &) const
 Write.

Constructor & Destructor Documentation

fixedPoint ( const dictionary &   sDoFRBMCDict  )

Construct from components.

Definition at line 50 of file fixedPoint.C.

Referenced by fixedPoint::clone().

~fixedPoint (  ) [virtual]

Definition at line 63 of file fixedPoint.C.


Member Function Documentation

TypeName ( "fixedPoint"    )

Runtime type information.

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

Construct and return a clone.

Implements sixDoFRigidBodyMotionConstraint.

Definition at line 81 of file fixedPoint.H.

References fixedPoint::fixedPoint().

bool constrain ( const sixDoFRigidBodyMotion &   motion,
const vector &   existingConstraintForce,
const vector &   existingConstraintMoment,
scalar   deltaT,
vector &   constraintPosition,
vector &   constraintForceIncrement,
vector &   constraintMomentIncrement  
) const [virtual]

Calculate the constraint position, force and moment.

Global reference frame vectors. Returns boolean stating whether the constraint been converged to tolerance.

Implements sixDoFRigidBodyMotionConstraint.

Definition at line 70 of file fixedPoint.C.

References sixDoFRigidBodyMotion::currentPosition(), Foam::endl(), Foam::Info, Foam::mag(), sixDoFRigidBodyMotion::mass(), sixDoFRigidBodyMotion::predictedPosition(), Foam::sqr(), and Vector< Cmpt >::zero.

bool read ( const dictionary &   sDoFRBMCCoeff  ) [virtual]

Update properties from given dictionary.

Reimplemented from sixDoFRigidBodyMotionConstraint.

Definition at line 141 of file fixedPoint.C.

References sixDoFRigidBodyMotionConstraint::read().

void write ( Ostream &   os  ) const [virtual]

Write.

Reimplemented from sixDoFRigidBodyMotionConstraint.

Definition at line 154 of file fixedPoint.C.

References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().


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