84 #ifndef functionObjects_turbulenceFields_H 85 #define functionObjects_turbulenceFields_H 96 namespace functionObjects
103 class turbulenceFields
105 public fvMeshFunctionObject
155 const word& fieldName,
156 const tmp<GeometricField<Type, fvPatchField, volMesh>>& tvalue
160 template<
class Model>
161 tmp<volScalarField>
omega(
const Model& model)
const;
206 virtual bool write();
const word & name() const
Return the name of this functionObject.
A list of keyword definitions, which are a keyword followed by any number of values (e...
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.
tmp< volScalarField > omega(const Model &model) const
Return omega calculated from k and epsilon.
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.
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_