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