36 const word& fieldName,
48 (*fldPtr) == tvalue();
83 model.k()/(model.omega() + omega0)
96 const scalar Cmu = 0.09;
102 pow(Cmu, 0.75)*
pow(model.k(), 1.5)/(model.epsilon() + eps0)
107 template<
class Model>
122 uPrime/
max(
max(uPrime,
mag(model.U())), U0)
tmp< volScalarField > I(const Model &model) const
Return turbulence intensity, I, calculated from k and U.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
bool store()
Register object with its registry and transfer ownership to the registry.
Generic GeometricField class.
Ignore writing from objectRegistry::writeObject()
const dimensionSet dimless
Dimensionless.
word prefix_
Name of output-field prefix.
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
A class for handling words, derived from Foam::string.
Type * getObjectPtr(const word &name, const bool recursive=false) const
Return non-const pointer to the object of the given Type, using a const-cast to have it behave like a...
const Time & time() const noexcept
Return time registry.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
static word timeName(const scalar t, const int precision=precision_)
Return time name of given scalar time formatted with the given precision.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
tmp< volScalarField > nuTilda(const Model &model) const
Return nuTilda calculated from k and omega.
void processField(const word &fieldName, const tmp< GeometricField< Type, fvPatchField, volMesh >> &tvalue)
Process the turbulence field.
const objectRegistry & obr_
Reference to the region objectRegistry.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
tmp< volScalarField > L(const Model &model) const
Return integral length scale, L, calculated from k and epsilon.
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
const dimensionSet dimVelocity