43 sphericalAngularDamper,
80 vector moment = -coeff_*model_.v(model_.master(bodyID_)).w();
99 coeffs_.lookup(
"coeff") >> coeff_;
A list of keyword definitions, which are a keyword followed by any number of values (e...
Base class for defining restraints for rigid-body dynamics.
virtual void write(Ostream &) const
Write.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void restrain(scalarField &tau, Field< spatialVector > &fx) const
Accumulate the retraint internal joint forces into the tau field and.
Macros for easy insertion into run-time selection tables.
bool read(const char *, int32_t &)
virtual ~sphericalAngularDamper()
Destructor.
virtual bool read(const dictionary &dict)
Update properties from given dictionary.
A class for handling words, derived from string.
SpatialVector< scalar > spatialVector
SpatialVector of scalars.
sphericalAngularDamper(const word &name, const dictionary &dict, const rigidBodyModel &model)
Construct from components.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual bool read(const dictionary &dict)
Update properties from given dictionary.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
defineTypeNameAndDebug(linearAxialAngularSpring, 0)
addToRunTimeSelectionTable(restraint, linearAxialAngularSpring, dictionary)
Basic rigid-body model representing a system of rigid-bodies connected by 1-6 DoF joints...
virtual void write(Ostream &) const =0
Write.