63 #ifndef standard_chemistryModel_H
64 #define standard_chemistryModel_H
76 template<
class ThermoType>
77 class chemistryReductionMethod;
79 namespace chemistryModels
135 template<
class ThermoType>
Abstract base class for the systems of ordinary differential equations.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for chemistry models.
const fluidMulticomponentThermo & thermo() const
Return const access to the thermo.
Non-templated Base class for Foam::chemistryModels::Standard.
label nSpecie_
Number of species.
jacobianType
Enumeration for the type of Jacobian to be calculated by the.
autoPtr< OFstream > logFile(const word &name) const
Create and return a TDAC log file of the given name.
void setNSpecie(const label newNs)
Allow the reduction method to reset the number of species.
static const NamedEnum< jacobianType, 2 > jacobianTypeNames
Jacobian type names.
bool reduction() const
Return true if mechanism reduction is active.
generatedCellZone zone_
Optional cellZone to limit where the chemistry is integrated.
autoPtr< ODESolver > odeSolver_
ODE solver.
const PtrList< volScalarField > & Yvf_
Reference to the field of specie mass fractions.
TypeName("standard")
Runtime type information.
virtual label nEqns() const
Number of ODE's to solve.
label sToc(const label si) const
Return the index in the complete set of species.
DynamicList< label > sToc_
Temporary map from simplified to complete concentration fields.
virtual ~standard()
Destructor.
virtual label nSpecie() const
The number of species.
label cTos(const label ci) const
Return the index in the simplified set of species.
standard(const fluidMulticomponentThermo &thermo)
Construct from thermo.
bool reduction_
Is chemistry reduction active.
List< label > cTos_
Temporary map from complete to simplified concentration fields.
void operator=(const standard &)=delete
Disallow default bitwise assignment.
const PtrList< volScalarField > & Y() const
Return a reference to the list of mass fraction fields.
An abstract class for methods of chemical mechanism reduction.
const fileName & name() const
Return the dictionary name.
Base-class for multi-component fluid thermodynamic properties.
cellZone selection or generation class
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.