100 #ifndef functionObjects_forces_H
101 #define functionObjects_forces_H
109 namespace functionObjects
157 const dictionary&
dict
164 const objectRegistry& obr,
179 virtual bool read(
const dictionary&);
const word & name() const
Return the name of this functionObject.
OFstream & file()
Return access to the file (if only 1)
Calculates the forces and moments by integrating the pressure and skin-friction forces over a given l...
virtual ~forces()
Destructor.
virtual void writeCoRHeader(Ostream &file)
Do not write the constant centre of rotation.
forces(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual void writeCoRValueHeader(Ostream &file)
Write the constant centre of rotation value in the header.
TypeName("forces")
Runtime type information.
vector CofR_
Centre of rotation.
virtual vector CofR() const
Return the current centre of the rigid body.
void operator=(const forces &)=delete
Disallow default bitwise assignment.
virtual void writeCofR(Ostream &file)
Do not write the constant centre of rotation.
virtual bool read(const dictionary &)
Read the forces data.
Vector< scalar > vector
A scalar version of the templated Vector.