33 const word& fieldName,
41 IOobject::groupName(prefix_ + fieldName, phaseName_)
44 if (obr_.foundObject<FieldType>(scopedName))
46 obr_.lookupObjectRef<FieldType>(scopedName) == tvalue();
48 else if (obr_.found(scopedName))
51 <<
"Cannot store turbulence field " << scopedName
52 <<
" since an object with that name already exists" 64 obr_.time().timeName(),
66 IOobject::READ_IF_PRESENT,
83 const scalar Cmu = 0.09;
95 IOobject::groupName(
"omega", phaseName_),
96 k.mesh().time().timeName(),
103 epsilon.boundaryField().types()
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...