80 scalar bMin =
min(bCells);
83 if (bMin > bMin_.value())
92 gSum((1 - bCells)*Vcells)
95 if (Vk.
value() > small)
105 const scalar XiCorr =
max(
min((Ak/AkEst).value(), 10.0), 1.0);
107 Info<<
"XiCorr = " << XiCorr <<
", bMin = " << bMin <<
endl;
120 zone_.topoChange(map);
135 zone_.distribute(map);
153 zone_.read(XiCorrDict);
154 return readCoeffs(XiCorrDict);
const Mesh & mesh() const
Return mesh.
Generic GeometricField class.
Base class for ignition kernel flame wrinkling Xi correction.
virtual bool movePoints()
Update for mesh motion.
virtual ~XiCorrModel()
Destructor.
virtual void XiCorr(volScalarField &Xi, const volScalarField &b, const volScalarField &mgb) const
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual bool readCoeffs(const dictionary &dict)
Update coefficients from given dictionary.
bool read(const dictionary &XiProperties)
Update properties from the given XiProperties dictionary.
XiCorrModel(const fvMesh &mesh, const dictionary &dict)
Construct from mesh and dictionary.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
const Type & value() const
Return const reference to value.
bool readIfPresent(const dictionary &, const unitConversion &defaultUnits=NullObjectRef< unitConversion >())
Update the value of dimensioned<Type> if found in the dictionary.
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
Type gSum(const FieldField< Field, Type > &f)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionSet dimless
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
const dimensionSet dimVolume
defineTypeNameAndDebug(combustionModel, 0)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.