143#ifndef functionObjects_turbulenceFields_H
144#define functionObjects_turbulenceFields_H
156namespace functionObjects
163class turbulenceFields
165 public fvMeshFunctionObject
239 const word& fieldName,
244 template<
class Model>
248 template<
class Model>
252 template<
class Model>
293 virtual bool write();
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
Generic GeometricField class.
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 a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Computes various turbulence-related quantities that are not typically output during calculations,...
static const word modelName_
Name of the turbulence properties dictionary.
word prefix_
Name of output-field prefix.
void initialise()
Unset duplicate fields already registered by other function objects.
void operator=(const turbulenceFields &)=delete
No copy assignment.
bool compressible()
Return true if compressible turbulence model is identified.
bool initialised_
Flag to track initialisation.
tmp< volScalarField > I(const Model &model) const
Return turbulence intensity, I, calculated from k and U.
tmp< volScalarField > nuTilda(const Model &model) const
Return nuTilda calculated from k and omega.
static const Enum< incompressibleField > incompressibleFieldNames_
Names for incompressibleField turbulence fields.
compressibleField
Options for the turbulence fields (compressible)
@ cfK
"Turbulent kinetic energy"
@ cfAlphat
"Turbulence thermal diffusivity"
@ cfL
"Integral-length/Mixing-length scale"
@ cfNuTilda
"Modified turbulent viscosity"
@ cfDevRhoReff
"Divergence of the Reynolds stress"
@ cfMuEff
"Effective turbulent dynamic viscosity"
@ cfAlphaEff
"Effective turbulence thermal diffusivity"
@ cfI
"Turbulence intensity"
@ cfOmega
"Specific dissipation rate"
@ cfMut
"Turbulent dynamic viscosity"
@ cfR
"Reynolds stress tensor"
@ cfEpsilon
"Turbulent kinetic energy dissipation rate"
incompressibleField
Options for the turbulence fields (incompressible)
@ ifK
"Turbulent kinetic energy"
@ ifI
"Turbulence intensity"
@ ifEpsilon
"Turbulent kinetic energy dissipation rate"
@ ifNut
"Turbulent viscosity"
@ ifL
"Integral-length/Mixing-length scale"
@ ifNuTilda
"Modified turbulent viscosity"
@ ifR
"Reynolds stress tensor"
@ ifOmega
"Specific dissipation rate"
@ ifDevReff
"Deviatoric part of the effective Reynolds stress"
@ ifNuEff
"Effective turbulent viscosity"
void processField(const word &fieldName, const tmp< GeometricField< Type, fvPatchField, volMesh > > &tvalue)
Process the turbulence field.
turbulenceFields(const turbulenceFields &)=delete
No copy construct.
TypeName("turbulenceFields")
Runtime type information.
wordHashSet fieldSet_
Fields to load.
virtual bool execute()
Calculate turbulence fields.
tmp< volScalarField > L(const Model &model) const
Return integral length scale, L, calculated from k and epsilon.
virtual ~turbulenceFields()=default
Destructor.
static const Enum< compressibleField > compressibleFieldNames_
Names for compressibleField turbulence fields.
virtual bool write()
Do nothing.
virtual bool read(const dictionary &)
Read the controls.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
static const Identity< scalar > I
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
const vector L(dict.get< vector >("L"))