Go to the documentation of this file.
33 namespace regionModels
35 namespace pyrolysisModels
46 namespace regionModels
48 namespace pyrolysisModels
62 mesh.time().constant(),
73 for (
label i = 0; i < regions.
size(); i++)
81 pyrolysisZonesDict.
subDict(regions[i]),
127 <<
"Currently not possible to apply "
173 scalar totalDiNum = GREAT;
Base class for pyrolysis models.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const Switch & active() const
Return the active flag.
bool changing() const
Is mesh changing (topology changing and/or moving)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
#define forAll(list, i)
Loop across all elements in list.
virtual scalar solidRegionDiffNo() const
Mean diffusion number of the solid regions.
virtual void evolveRegion()
Evolve the region.
virtual void info()
Provide some feedback.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void evolve()
Evolve regions.
virtual ~pyrolysisModelCollection()
Destructor.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
const word & modelName() const
Return the model name.
virtual void preEvolveRegion()
Pre-evolve regions.
const fvMesh & primaryMesh() const
Return the reference to the primary mesh database.
pyrolysisModelCollection(const pyrolysisModelCollection &)
Disallow default bitwise copy construct.
defineTypeNameAndDebug(noPyrolysis, 0)
bool set(const label) const
Is element set.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void preEvolveRegion()
Pre-evolve region.
static autoPtr< pyrolysisModel > New(const fvMesh &mesh, const word ®ionType="pyrolysis")
Return a reference to the selected pyrolysis model.
const T & operator[](const label) const
Return element const reference.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
virtual scalar maxDiff() const
Return max diffusivity allowed in the solid.
Mesh data needed to do the Finite Volume discretisation.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
errorManip< error > abort(error &err)
A centralized pyrolysis collection.
virtual void info()
Provide some feedback from pyrolysis regions.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
wordList toc() const
Return the table of contents.
void size(const label)
Override size to be inconsistent with allocated storage.
const Switch & infoOutput() const
Return the information flag.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
virtual void evolveRegion()
Evolve the pyrolysis equation regions.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)