88 #ifndef functionObjects_turbulenceFields_H 89 #define functionObjects_turbulenceFields_H 100 namespace functionObjects
107 class turbulenceFields
109 public fvMeshFunctionObject
159 const word& fieldName,
160 const tmp<GeometricField<Type, fvPatchField, volMesh>>& tvalue
164 template<
class Model>
165 tmp<volScalarField>
omega(
const Model& model)
const;
210 virtual bool write();
A list of keyword definitions, which are a keyword followed by any number of values (e...
tmp< volScalarField > omega(const Model &model) const
Return omega calculated from k and epsilon.
static const word modelName
TypeName("turbulenceFields")
Runtime type information.
static const NamedEnum< incompressibleField, 7 > incompressibleFieldNames_
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
wordHashSet fieldSet_
Fields to load.
bool compressible()
Return true if compressible turbulence model is identified.
const word & name() const
Return the name of this functionObject.
A class for handling words, derived from string.
virtual bool read(const dictionary &)
Read the controls.
HashSet wordHashSet
A HashSet with word keys.
virtual bool write()
Do nothing.
This function object stores turbulence fields on the mesh database for further manipulation.
virtual ~turbulenceFields()
Destructor.
void processField(const word &fieldName, const tmp< GeometricField< Type, fvPatchField, volMesh >> &tvalue)
Process the turbulence field.
virtual bool execute()
Calculate turbulence fields.
static const NamedEnum< compressibleField, 9 > compressibleFieldNames_