33 const word& fieldName,
39 const word scopedName = modelName +
':' + fieldName;
41 if (obr_.foundObject<FieldType>(scopedName))
43 obr_.lookupObjectRef<FieldType>(scopedName) == tvalue();
45 else if (obr_.found(scopedName))
48 <<
"Cannot store turbulence field " << scopedName
49 <<
" since an object with that name already exists" 61 obr_.time().timeName(),
63 IOobject::READ_IF_PRESENT,
80 const scalar Cmu = 0.09;
93 k.mesh().time().timeName(),
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic GeometricField class.
label k
Boltzmann constant.
tmp< volScalarField > omega(const Model &model) const
Return omega calculated from k and epsilon.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A class for handling words, derived from string.
#define WarningInFunction
Report a warning using Foam::Warning.
void processField(const word &fieldName, const tmp< GeometricField< Type, fvPatchField, volMesh >> &tvalue)
Process the turbulence field.
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...