sixDoFRigidBodyMotionConstraint. Orientation of body fixed global space. Only valid where the predicted deviation from alignment is < 90 degrees. More...
#include <forces/fixedOrientation.H>
sixDoFRigidBodyMotionConstraint. Orientation of body fixed global space. Only valid where the predicted deviation from alignment is < 90 degrees.
Definition at line 56 of file fixedOrientation.H.
Public Member Functions | |
TypeName ("fixedOrientation") | |
Runtime type information.
| |
fixedOrientation (const dictionary &sDoFRBMCDict) | |
Construct from components.
| |
virtual autoPtr < sixDoFRigidBodyMotionConstraint > | clone () const |
Construct and return a clone.
| |
virtual | ~fixedOrientation () |
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.
|
fixedOrientation | ( | const dictionary & | sDoFRBMCDict ) |
Construct from components.
Definition at line 50 of file fixedOrientation.C.
Referenced by fixedOrientation::clone().
~fixedOrientation | ( | ) | [virtual]
|
Definition at line 62 of file fixedOrientation.C.
TypeName | ( | "fixedOrientation" | ) |
Runtime type information.
virtual autoPtr<sixDoFRigidBodyMotionConstraint> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Implements sixDoFRigidBodyMotionConstraint.
Definition at line 76 of file fixedOrientation.H.
References fixedOrientation::fixedOrientation().
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 69 of file fixedOrientation.C.
References Foam::acos(), sixDoFRigidBodyMotion::centreOfMass(), Foam::endl(), Foam::Info, Foam::mag(), Foam::min(), sixDoFRigidBodyMotion::momentOfInertia(), VectorSpace< Vector< Cmpt >, Cmpt, 3 >::nComponents, sixDoFRigidBodyMotion::predictedOrientation(), Foam::sqr(), and Vector< Cmpt >::zero.
bool read | ( | const dictionary & | sDoFRBMCCoeff ) | [virtual]
|
Update properties from given dictionary.
Reimplemented from sixDoFRigidBodyMotionConstraint.
Definition at line 168 of file fixedOrientation.C.
References sixDoFRigidBodyMotionConstraint::read().
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from sixDoFRigidBodyMotionConstraint.
Definition at line 179 of file fixedOrientation.C.