35 namespace regionModels
37 namespace pyrolysisModels
50namespace pyrolysisModels
75 for (label i = 0; i < regions.
size(); i++)
83 pyrolysisZonesDict.
subDict(regions[i]),
129 <<
"Currently not possible to apply "
175 scalar totalDiNum = GREAT;
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const pyrolysisModel * set(const label i) const
void setSize(const label newLen)
Same as resize()
const word & constant() const
Return constant name.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
void size(const label n)
Older name for setAddressableSize.
const T & operator[](const label i) const
Return const reference to the element.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
wordList toc() const
Return the table of contents.
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
bool changing() const noexcept
Is mesh changing (topology changing and/or moving)
A centralized pyrolysis collection.
virtual scalar solidRegionDiffNo() const
Mean diffusion number of the solid regions.
virtual ~pyrolysisModelCollection()
Destructor.
virtual void preEvolveRegion()
Pre-evolve regions.
virtual void evolve()
Evolve regions.
virtual void info()
Provide some feedback from pyrolysis regions.
virtual scalar maxDiff() const
Return max diffusivity allowed in the solid.
virtual void evolveRegion()
Evolve the pyrolysis equation regions.
Base class for pyrolysis models.
const fvMesh & primaryMesh() const
Return the reference to the primary mesh database.
virtual void preEvolveRegion()
Pre-evolve region.
Switch infoOutput() const
Return the information flag.
const word & modelName() const
Return the model name.
virtual void info()
Provide some feedback.
Switch active() const
Return the active flag.
virtual void evolveRegion()
Evolve the region.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
errorManip< error > abort(error &err)
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.