Go to the documentation of this file.
39 namespace regionModels
41 namespace pyrolysisModels
88 const word& modelType,
90 const word& regionType
108 const word& modelType,
111 const word& regionType
Base class for pyrolysis models.
Selector class for relaxation factors, solver type and solution.
A class for handling words, derived from Foam::string.
Switch active() const
Return the active flag.
virtual ~thermo()
Destructor.
static autoPtr< solidThermo > New(const fvMesh &, const word &phaseName=word::null)
Return a pointer to a new solidThermo created from.
virtual const surfaceScalarField & phiGas() const
Return the total gas mass flux to primary region [kg/m2/s].
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
const Time & time() const
Return the reference to the time database.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual const tmp< volScalarField > Cp() const
Return specific heat capacity [J/kg/K].
autoPtr< radiation::radiationModel > radiation_
Pointer to radiation model.
virtual void evolveRegion()
Evolve the pyrolysis equations.
volScalarField & h
Planck constant.
virtual void preEvolveRegion()
Pre-evolve region.
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
defineTypeNameAndDebug(noPyrolysis, 0)
virtual bool read()
Read control parameters from dictionary.
void readControls()
Read control options.
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
messageStream Info
Information stream (uses stdout - output is on the master only)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
autoPtr< solidThermo > solidThermo_
Pointer to the solid chemistry model.
const fvMesh & regionMesh() const
Return the region mesh database.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
virtual tmp< volScalarField > kappaRad() const
Return the region absorptivity [1/m].
virtual void preEvolveRegion()
Pre-evolve region.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
virtual bool read()
Read control parameters.
const dictionary & solution() const
Return the solution dictionary.
label nNonOrthCorr_
Number of non-orthogonal correctors.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & controlDict() const
Return read access to the controlDict dictionary.
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
Calculate the laplacian of the given field.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
static const GeometricField< scalar, fvsPatchField, surfaceMesh > & null()
Return a null geometric field.
virtual const volScalarField & rho() const
Return density [kg/m3].
scalar maxDiff_
Maximum diffusivity.
addToRunTimeSelectionTable(pyrolysisModel, noPyrolysis, mesh)
virtual const volScalarField & T() const
Return const temperature [K].
virtual tmp< volScalarField > kappa() const
Return the region thermal conductivity [W/m/k].
const word & name() const
Return reference to name.