Go to the documentation of this file.
143 #ifndef functionObjects_turbulenceFields_H
144 #define functionObjects_turbulenceFields_H
156 namespace functionObjects
163 class turbulenceFields
165 public fvMeshFunctionObject
239 const word& fieldName,
244 template<
class Model>
248 template<
class Model>
252 template<
class Model>
293 virtual bool write();
void initialise()
Unset duplicate fields already registered by other function objects.
void processField(const word &fieldName, const tmp< GeometricField< Type, fvPatchField, volMesh >> &tvalue)
Process the turbulence field.
"Turbulent kinetic energy"
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
"Integral-length/Mixing-length scale"
static const Enum< incompressibleField > incompressibleFieldNames_
Names for incompressibleField turbulence fields.
A class for managing temporary objects.
static const word modelName_
Name of the turbulence properties dictionary.
compressibleField
Options for the turbulence fields (compressible)
turbulenceFields(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
"Turbulence thermal diffusivity"
"Specific dissipation rate"
"Integral-length/Mixing-length scale"
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
"Specific dissipation rate"
tmp< volScalarField > L(const Model &model) const
Return integral length scale, L, calculated from k and epsilon.
"Modified turbulent viscosity"
"Divergence of the Reynolds stress"
word prefix_
Name of output-field prefix.
"Effective turbulent dynamic viscosity"
wordHashSet fieldSet_
Fields to load.
virtual bool write()
Do nothing.
virtual ~turbulenceFields()=default
Destructor.
"Deviatoric part of the effective Reynolds stress"
"Modified turbulent viscosity"
TypeName("turbulenceFields")
Runtime type information.
"Turbulent kinetic energy dissipation rate"
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool read(const dictionary &)
Read the controls.
void operator=(const turbulenceFields &)=delete
No copy assignment.
"Effective turbulent viscosity"
tmp< volScalarField > nuTilda(const Model &model) const
Return nuTilda calculated from k and omega.
static const Enum< compressibleField > compressibleFieldNames_
Names for compressibleField turbulence fields.
const word & name() const noexcept
Return the name of this functionObject.
"Turbulent kinetic energy"
tmp< volScalarField > I(const Model &model) const
Return turbulence intensity, I, calculated from k and U.
incompressibleField
Options for the turbulence fields (incompressible)
"Turbulent kinetic energy dissipation rate"
bool initialised_
Flag to track initialisation.
"Effective turbulence thermal diffusivity"
bool compressible()
Return true if compressible turbulence model is identified.
virtual bool execute()
Calculate turbulence fields.
"Turbulent dynamic viscosity"
Computes various turbulence-related quantities that are not typically output during calculations,...