36 #ifndef pyrolysisModel_H 37 #define pyrolysisModel_H 52 namespace regionModels
54 namespace pyrolysisModels
68 void constructMeshObjects();
71 void readPyrolysisControls();
99 const word& modelType,
101 const word& regionType
103 (modelType, mesh, regionType)
112 const word& modelType,
115 const word& regionType
117 (modelType, mesh, dict, regionType)
127 const word& regionType
133 const word& modelType,
135 const word& regionType
141 const word& modelType,
144 const word& regionType
164 const word& regionType =
"pyrolysis" 172 const word& regionType =
"pyrolysis" 221 virtual scalar
maxDiff()
const;
Base class for pyrolysis models.
virtual tmp< volScalarField > kappaRad() const =0
Return the region absorptivity [1/m].
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual tmp< volScalarField > kappa() const =0
Return the region thermal conductivity [W/m/k].
A list of keyword definitions, which are a keyword followed by any number of values (e...
Base class for 1-D region models.
virtual const tmp< volScalarField > Cp() const =0
Return specific heat capacity [J/kg/K].
virtual scalar addMassSources(const label patchi, const label facei)
External hook to add mass to the primary region.
virtual ~pyrolysisModel()
Destructor.
virtual bool read()
Read control parameters.
autoPtr< pyrolysisModel > clone() const
Return clone.
virtual const surfaceScalarField & phiGas() const =0
Return the total gas mass flux to primary region [kg/m^2/s].
static autoPtr< pyrolysisModel > New(const fvMesh &mesh, const word ®ionType="pyrolysis")
Return a reference to the selected pyrolysis model.
A class for handling words, derived from string.
virtual scalar maxDiff() const
Return max diffusivity allowed in the solid.
TypeName("pyrolysisModel")
Runtime type information.
declareRunTimeSelectionTable(autoPtr, pyrolysisModel, mesh,(const word &modelType, const fvMesh &mesh, const word ®ionType),(modelType, mesh, regionType))
virtual scalar solidRegionDiffNo() const
Mean diffusion number of the solid region.
Mesh data needed to do the Finite Volume discretisation.
virtual const volScalarField & rho() const =0
Return density [kg/m^3].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
pyrolysisModel(const fvMesh &mesh, const word ®ionType)
Construct null from mesh.
A class for managing temporary objects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
void operator=(const pyrolysisModel &)=delete
Disallow default bitwise assignment.
virtual const volScalarField & T() const =0
Return const temperature [K].