Go to the documentation of this file.
38 namespace regionModels
40 namespace pyrolysisModels
86 noPyrolysis::noPyrolysis
88 const word& modelType,
90 const word& regionType
94 solidThermo_(
nullptr),
95 solidChemistry_(
nullptr),
100 constructThermoChemistry();
105 noPyrolysis::noPyrolysis
107 const word& modelType,
110 const word& regionType
114 solidThermo_(
nullptr),
115 solidChemistry_(
nullptr),
120 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 Foam::string.
A class for managing temporary objects.
Dummy surface pyrolysis model for 'none'.
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.
const fvMesh & regionMesh() const
Return the region mesh database.
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 a number of values (eg,...
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].
static autoPtr< basicSolidChemistryModel > New(solidReactionThermo &thermo)
Selector.
virtual void preEvolveRegion()
Pre-evolve region.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static autoPtr< solidReactionThermo > New(const fvMesh &, const word &phaseName=word::null)
Standard selection based on fvMesh.
static const GeometricField< scalar, fvsPatchField, surfaceMesh > & null()
Return a null geometric field.
virtual ~noPyrolysis()
Destructor.
autoPtr< basicSolidChemistryModel > solidChemistry_
Reference to the solid chemistry model.
addToRunTimeSelectionTable(pyrolysisModel, noPyrolysis, mesh)
autoPtr< solidReactionThermo > solidThermo_
Reference to solid thermo.