Go to the documentation of this file.
36 #ifndef pyrolysisModel_H
37 #define pyrolysisModel_H
52 namespace regionModels
54 namespace pyrolysisModels
107 const word& modelType,
109 const word& regionType
111 (modelType,
mesh, regionType)
120 const word& modelType,
123 const word& regionType
135 const word& regionType
141 const word& modelType,
143 const word& regionType
149 const word& modelType,
152 const word& regionType
169 const word& regionType =
"pyrolysis"
177 const word& regionType =
"pyrolysis"
226 virtual scalar
maxDiff()
const;
Base class for pyrolysis models.
A class for handling words, derived from string.
virtual const volScalarField & T() const =0
Return const temperature [K].
A class for managing temporary objects.
virtual const surfaceScalarField & phiGas() const =0
Return the total gas mass flux to primary region [kg/m2/s].
virtual tmp< volScalarField > kappaRad() const =0
Return the region absorptivity [1/m].
void operator=(const pyrolysisModel &)
Disallow default bitwise assignment.
virtual ~pyrolysisModel()
Destructor.
virtual const volScalarField & rho() const =0
Return density [kg/m3].
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
autoPtr< pyrolysisModel > clone() const
Return clone.
static autoPtr< pyrolysisModel > New(const fvMesh &mesh, const word ®ionType="pyrolysis")
Return a reference to the selected pyrolysis model.
virtual bool read()
Read control parameters.
pyrolysisModel(const pyrolysisModel &)
Disallow default bitwise copy construct.
A list of keyword definitions, which are a keyword followed by any number of values (e....
TypeName("pyrolysisModel")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
virtual const tmp< volScalarField > Cp() const =0
Return specific heat capacity [J/kg/K].
void readPyrolysisControls()
Read pyrolysis controls.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
declareRunTimeSelectionTable(autoPtr, pyrolysisModel, mesh,(const word &modelType, const fvMesh &mesh, const word ®ionType),(modelType, mesh, regionType))
Macros to ease declaration of run-time selection tables.
virtual scalar addMassSources(const label patchI, const label faceI)
External hook to add mass to the primary region.
virtual tmp< volScalarField > kappa() const =0
Return the region thermal conductivity [W/m/k].
virtual scalar solidRegionDiffNo() const
Mean diffusion number of the solid region.
void constructMeshObjects()
Construct fields.
Generic GeometricField class.
virtual scalar maxDiff() const
Return max diffusivity allowed in the solid.