40namespace pyrolysisModels
88 const word& modelType,
90 const word& regionType
94 solidThermo_(nullptr),
95 solidChemistry_(nullptr),
107 const word& modelType,
110 const word& regionType
114 solidThermo_(nullptr),
115 solidChemistry_(nullptr),
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
static const GeometricField< scalar, fvsPatchField, surfaceMesh > & null()
Return a null geometric field.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Dummy surface pyrolysis model for 'none'.
virtual const volScalarField & rho() const
Return density [kg/m3].
virtual tmp< volScalarField > kappa() const
Return the region thermal conductivity [W/m/k].
autoPtr< solidReactionThermo > solidThermo_
Reference to solid thermo.
virtual const volScalarField & T() const
Return const temperature [K].
virtual tmp< volScalarField > kappaRad() const
Return the region absorptivity [1/m].
virtual const tmp< volScalarField > Cp() const
Return specific heat capacity [J/kg/K].
virtual ~noPyrolysis()
Destructor.
autoPtr< basicSolidChemistryModel > solidChemistry_
Reference to the solid chemistry model.
virtual void preEvolveRegion()
Pre-evolve region.
autoPtr< radiation::radiationModel > radiation_
Pointer to radiation model.
void constructThermoChemistry()
Reset solidChemistryModel and solidThermo pointers.
virtual const surfaceScalarField & phiGas() const
Return the total gas mass flux to primary region [kg/m2/s].
virtual bool read()
Read control parameters from dictionary.
virtual void evolveRegion()
Evolve the pyrolysis equations.
Base class for pyrolysis models.
virtual bool read()
Read control parameters.
const fvMesh & regionMesh() const
Return the region mesh database.
Switch active() const
Return the active flag.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#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.
errorManip< error > abort(error &err)