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,
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic GeometricField class.
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...