51 #ifndef cloudKineticEnergy_functionObject_H
52 #define cloudKineticEnergy_functionObject_H
60 namespace functionObjects
67 class cloudKineticEnergy
69 public cloudLagrangianMeshFunctionObject
116 virtual bool write();
119 virtual bool clear();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const word & name() const
Return the name of this functionObject.
Function to compute and write the kinetic energy field for a cloud.
virtual ~cloudKineticEnergy()
Destructor.
TypeName("cloudKineticEnergy")
Runtime type information.
cloudKineticEnergy(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
void operator=(const cloudKineticEnergy &)=delete
Disallow default bitwise assignment.
virtual wordList fields() const
Return the list of fields required.
virtual bool clear()
Clear the kinetic energy.
static const word KEName_
The name of the kinetic energy field.
virtual void preSolve()
Hook before solution steps.
virtual bool execute()
Calculate and store the kinetic energy.
virtual bool write()
Write the kinetic energy.
A class for handling words, derived from string.