86noPyrolysis::noPyrolysis
88 const word& modelType,
90 const word& regionType
94 solidThermo_(nullptr),
95 solidChemistry_(nullptr),
105noPyrolysis::noPyrolysis
107 const word& modelType,
110 const word& regionType
113 pyrolysisModel(
mesh, 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 this_type & null() noexcept
static autoPtr< basicSolidChemistryModel > New(solidReactionThermo &thermo)
Selector.
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.
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
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.
Switch active() const noexcept
Return the active flag.
const fvMesh & regionMesh() const
Return the region mesh database.
static autoPtr< solidReactionThermo > New(const fvMesh &, const word &phaseName=word::null)
Standard selection based on fvMesh.
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.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
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)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...