41namespace pyrolysisModels
88 const word& modelType,
90 const word& regionType
108 const word& modelType,
111 const word& 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 GeometricField< scalar, fvsPatchField, surfaceMesh > & null()
Return a null geometric field.
const dictionary & controlDict() const
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, bool mandatory=true) const
A special matrix type and solver, designed for finite volume solutions of scalar equations....
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.
virtual void preEvolveRegion()
Pre-evolve thermal baffle.
Base class for pyrolysis models.
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 Time & time() const
Return the reference to the time database.
const dictionary & solution() const
Return the solution dictionary.
const fvMesh & regionMesh() const
Return the region mesh database.
Switch active() const
Return the active flag.
Fundamental solid thermodynamic properties.
Selector class for relaxation factors, solver type and solution.
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.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
#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)
messageStream Info
Information stream (stdout output on master, null elsewhere)
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)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.