Six degree of freedom motion for a rigid body.
sixDoFRigidBodyMotionRestraints model. Linear spring.
virtual void write(Ostream &) const
Write.
virtual void restrain(const sixDoFRigidBodyMotion &motion, vector &restraintPosition, vector &restraintForce, vector &restraintMoment) const
Calculate the restraint position, force and moment.
Base class for defining restraints for sixDoF motions.
linearDamper(const word &name, const dictionary &sDoFRBMRDict)
Construct from components.
virtual bool read(const dictionary &sDoFRBMRCoeff)
Update properties from given dictionary.
virtual autoPtr< sixDoFRigidBodyMotionRestraint > clone() const
Construct and return a clone.
TypeName("linearDamper")
Runtime type information.
const word & name() const
Return the name.