45 zeroATCcells::zeroATCcells
60 if (
dict.readIfPresent(
"zeroATCZones", zeroATCZoneNames))
64 forAll(zeroATCZoneNames, zI)
66 const word& zoneName = zeroATCZoneNames[zI];
68 label zoneID =
mesh.cellZones().findZoneID(zoneName);
72 <<
"cannot find cellZone " 74 <<
" for smoothing ATC" 88 const dictionary&
dict 93 dict.getOrDefault<word>(
"maskType",
"faceCells")
96 auto* ctorPtr = dictionaryConstructorTable(modelType);
105 *dictionaryConstructorTablePtr_
109 return autoPtr<zeroATCcells> (ctorPtr(
mesh,
dict));
void size(const label n)
Older name for setAddressableSize.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void resize(const label len)
Adjust allocated size of list.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.
static autoPtr< zeroATCcells > New(const fvMesh &mesh, const dictionary &dict)
Return a reference to the selected turbulence model.
A class for handling words, derived from Foam::string.
Base class for selecting cells on which to zero the ATC term.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
Mesh data needed to do the Finite Volume discretisation.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...