Go to the documentation of this file.
35 namespace regionModels
37 namespace pyrolysisModels
94 const word& modelType,
96 const word& regionType
100 solidChemistry_(NULL),
105 constructThermoChemistry();
112 const word& modelType,
115 const word& regionType
119 solidChemistry_(NULL),
124 constructThermoChemistry();
Base class for pyrolysis models.
virtual tmp< volScalarField > kappa() const
Return the region thermal conductivity [W/m/k].
A class for handling words, derived from string.
A class for managing temporary objects.
virtual void evolveRegion()
Evolve the pyrolysis equations.
void constructThermoChemistry()
Reset solidChemistryModel and solidThermo pointers.
virtual const volScalarField & rho() const
Return density [kg/m3].
virtual const volScalarField & T() const
Return const temperature [K].
defineTypeNameAndDebug(noPyrolysis, 0)
virtual const surfaceScalarField & phiGas() const
Return the total gas mass flux to primary region [kg/m2/s].
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
static autoPtr< basicSolidChemistryModel > New(const fvMesh &mesh, const word &phaseName=word::null)
Selector.
virtual bool read()
Read control parameters.
virtual bool read()
Read control parameters from dictionary.
autoPtr< radiation::radiationModel > radiation_
Pointer to radiation model.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
virtual const tmp< volScalarField > Cp() const
Return specific heat capacity [J/kg/K].
virtual tmp< volScalarField > kappaRad() const
Return the region absorptivity [1/m].
virtual void preEvolveRegion()
Pre-evolve region.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
noPyrolysis(const noPyrolysis &)
Disallow default bitwise copy construct.
static const GeometricField< Type, PatchField, GeoMesh > & null()
Return a null geometric field.
virtual ~noPyrolysis()
Destructor.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
autoPtr< basicSolidChemistryModel > solidChemistry_
Pointer to the solid chemistry model.
addToRunTimeSelectionTable(pyrolysisModel, noPyrolysis, mesh)
const fvMesh & regionMesh() const
Return the region mesh database.