sixDoFRigidBodyMotionConstraint. Reference point may only move along a line. More...
#include <forces/fixedLine.H>
sixDoFRigidBodyMotionConstraint. Reference point may only move along a line.
Definition at line 54 of file fixedLine.H.
Public Member Functions | |
TypeName ("fixedLine") | |
Runtime type information.
| |
fixedLine (const dictionary &sDoFRBMCDict) | |
Construct from components.
| |
virtual autoPtr < sixDoFRigidBodyMotionConstraint > | clone () const |
Construct and return a clone.
| |
virtual | ~fixedLine () |
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.
|
fixedLine | ( | const dictionary & | sDoFRBMCDict ) |
Construct from components.
Definition at line 50 of file fixedLine.C.
Referenced by fixedLine::clone().
~fixedLine | ( | ) | [virtual]
|
Definition at line 64 of file fixedLine.C.
TypeName | ( | "fixedLine" | ) |
Runtime type information.
virtual autoPtr<sixDoFRigidBodyMotionConstraint> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Implements sixDoFRigidBodyMotionConstraint.
Definition at line 82 of file fixedLine.H.
References fixedLine::fixedLine().
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 71 of file fixedLine.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 132 of file fixedLine.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, Foam::mag(), and sixDoFRigidBodyMotionConstraint::read().
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from sixDoFRigidBodyMotionConstraint.
Definition at line 166 of file fixedLine.C.
References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().