Go to the documentation of this file.
54 #ifndef prescribedRotation_H
55 #define prescribedRotation_H
73 class prescribedRotation
86 TimeFunction1<vector> omegaSet_;
const word & name() const
Return the name.
Holds the motion state of rigid-body model.
A class for handling words, derived from Foam::string.
Light wrapper around Function1 to provide a mechanism to update time-based entries.
virtual ~prescribedRotation()
Destructor.
TypeName("prescribedRotation")
Runtime type information.
Basic rigid-body model representing a system of rigid-bodies connected by 1-6 DoF joints.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Vector< scalar > vector
A scalar version of the templated Vector.
virtual void write(Ostream &) const
Write.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual bool read(const dictionary &dict)
Update properties from given dictionary.
prescribedRotation(const word &name, const dictionary &dict, const rigidBodyModel &model)
Construct from components.
virtual void restrain(scalarField &tau, Field< spatialVector > &fx, const rigidBodyModelState &state) const
Accumulate the retraint internal joint forces into the tau field and.
Base class for defining restraints for rigid-body dynamics.
virtual autoPtr< restraint > clone() const
Construct and return a clone.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Restraint setting angular velocity of the rigid body. Developed from the linear axial angular spring ...
Tensor< scalar > tensor
Tensor of scalars, i.e. Tensor<scalar>.