33 namespace functionObjects
52 writeHeaderValue(
file,
"CofR", CofR());
107 CofR_ =
dict.lookup(
"CofR");
Macros for easy insertion into run-time selection tables.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for Time/database functionObjects.
Calculates the forces and moments by integrating the pressure and skin-friction forces over a given l...
virtual bool read(const dictionary &)
Read the forces data.
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.
vector CofR_
Centre of rotation.
virtual vector CofR() const
Return the current centre of the rigid body.
virtual void writeCofR(Ostream &file)
Do not write the constant centre of rotation.
virtual bool read(const dictionary &)
Read the forces data.
Registry of regIOobjects.
A class for handling words, derived from string.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
word name(const bool)
Return a word representation of a bool.