88 const word& modelType,
90 const word& regionType
108 const word& modelType,
111 const word& regionType
114 pyrolysisModel(modelType,
mesh,
dict, regionType),
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
const dictionary & controlDict() const noexcept
Return read access to the controlDict dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect,...
void relax(const scalar alpha)
Relax matrix (for steady-state solution).
SolverPerformance< Type > solve(const dictionary &)
Solve returning the solution statistics.
Mesh data needed to do the Finite Volume discretisation.
const word & name() const
Return reference to name.
Top level model for radiation modelling.
Base class for pyrolysis models.
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.
Pyrolysis model which solves only the energy equation in the region.
scalar maxDiff_
Maximum diffusivity.
virtual const volScalarField & rho() const
Return density [kg/m3].
virtual tmp< volScalarField > kappa() const
Return the region thermal conductivity [W/m/k].
virtual const volScalarField & T() const
Return const temperature [K].
virtual tmp< volScalarField > kappaRad() const
Return the region absorptivity [1/m].
virtual ~thermo()
Destructor.
virtual const tmp< volScalarField > Cp() const
Return specific heat capacity [J/kg/K].
virtual void preEvolveRegion()
Pre-evolve region.
autoPtr< radiation::radiationModel > radiation_
Pointer to radiation model.
void readControls()
Read control options.
autoPtr< solidThermo > solidThermo_
Pointer to the solid chemistry model.
virtual const surfaceScalarField & phiGas() const
Return the total gas mass flux to primary region [kg/m2/s].
label nNonOrthCorr_
Number of non-orthogonal correctors.
virtual bool read()
Read control parameters from dictionary.
virtual void evolveRegion()
Evolve the pyrolysis equations.
const dictionary & solution() const
Return the solution dictionary.
Switch active() const noexcept
Return the active flag.
const Time & time() const noexcept
Return the reference to the time database.
const fvMesh & regionMesh() const
Return the region mesh database.
virtual void preEvolveRegion()
Pre-evolve region.
Fundamental solid thermodynamic properties.
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.
Calculate the laplacian of the given field.
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
Namespace for radiation modelling.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
fvMatrix< scalar > fvScalarMatrix
GeometricField< scalar, fvPatchField, volMesh > volScalarField
messageStream Info
Information stream (stdout output on master, null elsewhere).
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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)