35 namespace regionModels
37 namespace pyrolysisModels
95 noPyrolysis::noPyrolysis
97 const word& modelType,
99 const word& regionType
114 noPyrolysis::noPyrolysis
116 const word& modelType,
119 const word& regionType
Base class for pyrolysis models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineTypeNameAndDebug(noPyrolysis, 0)
virtual tmp< volScalarField > kappaRad() const
Return the region absorptivity [1/m].
virtual bool read()
Read control parameters.
virtual const tmp< volScalarField > Cp() const
Return specific heat capacity [J/kg/K].
autoPtr< radiation::radiationModel > radiation_
Pointer to radiation model.
Macros for easy insertion into run-time selection tables.
virtual const volScalarField & T() const
Return const temperature [K].
static autoPtr< basicSolidChemistryModel > New(solidReactionThermo &thermo)
Selector.
virtual tmp< volScalarField > kappa() const
Return the region thermal conductivity [W/m/k].
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
virtual const volScalarField & rho() const
Return density [kg/m3].
A class for handling words, derived from string.
Dummy surface pyrolysis model for 'none'.
virtual void preEvolveRegion()
Pre-evolve region.
virtual void evolveRegion()
Evolve the pyrolysis equations.
const fvMesh & regionMesh() const
Return the region mesh database.
errorManip< error > abort(error &err)
virtual ~noPyrolysis()
Destructor.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
static const GeometricField< scalar, fvsPatchField, surfaceMesh > & null()
Return a null geometric field.
static autoPtr< solidReactionThermo > New(const fvMesh &, const word &phaseName=word::null)
Standard selection based on fvMesh.
virtual bool read()
Read control parameters from dictionary.
Mesh data needed to do the Finite Volume discretisation.
void constructThermoChemistry()
Reset solidChemistryModel and solidThermo pointers.
A class for managing temporary objects.
autoPtr< basicSolidChemistryModel > solidChemistry_
Reference to the solid chemistry model.
autoPtr< solidReactionThermo > solidThermo_
Reference to solid thermo.
const Switch & active() const
Return the active flag.
addToRunTimeSelectionTable(pyrolysisModel, noPyrolysis, mesh)
virtual const surfaceScalarField & phiGas() const
Return the total gas mass flux to primary region [kg/m2/s].