Linear damper restraint. Operates in the local frame of the body. More...
Public Member Functions | |
TypeName ("linearDamper") | |
linearDamper (const word &name, const dictionary &dict, const rigidBodyModel &model) | |
virtual autoPtr< restraint > | clone () const |
virtual | ~linearDamper () |
virtual void | restrain (scalarField &tau, Field< spatialVector > &fx, const rigidBodyModelState &state) const |
virtual bool | read (const dictionary &dict) |
virtual void | write (Ostream &) const |
![]() | |
TypeName ("restraint") | |
declareRunTimeSelectionTable (autoPtr, restraint, dictionary,(const word &name, const dictionary &dict, const rigidBodyModel &model),(name, dict, model)) | |
restraint (const word &name, const dictionary &dict, const rigidBodyModel &model) | |
virtual | ~restraint () |
const word & | name () const |
label | bodyID () const |
const dictionary & | coeffDict () const |
Additional Inherited Members | |
![]() | |
static autoPtr< restraint > | New (const word &name, const dictionary &dict, const rigidBodyModel &model) |
![]() | |
point | bodyPoint (const point &p) const |
spatialVector | bodyPointVelocity (const point &p) const |
![]() | |
word | name_ |
label | bodyID_ |
label | bodyIndex_ |
dictionary | coeffs_ |
const rigidBodyModel & | model_ |
Linear damper restraint. Operates in the local frame of the body.
Definition at line 53 of file linearDamper.H.
linearDamper | ( | const word & | name, |
const dictionary & | dict, | ||
const rigidBodyModel & | model | ||
) |
Definition at line 49 of file linearDamper.C.
References dict, and Foam::blockMeshTools::read().
Referenced by linearDamper::clone().
|
virtual |
Definition at line 63 of file linearDamper.C.
TypeName | ( | "linearDamper" | ) |
Implements restraint.
Definition at line 80 of file linearDamper.H.
References linearDamper::linearDamper().
|
virtual |
Implements restraint.
Definition at line 70 of file linearDamper.C.
References Foam::endl(), Foam::Info, Field::T(), and Foam::Zero.
|
virtual |
Reimplemented from restraint.
Definition at line 89 of file linearDamper.C.
References dict, and restraint::read().
|
virtual |
Implements restraint.
Definition at line 102 of file linearDamper.C.
References os(), and restraint::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.