Go to the documentation of this file.
35 #ifndef reactingOneDim_H
36 #define reactingOneDim_H
46 namespace regionModels
48 namespace pyrolysisModels
208 const word& modelType,
210 const word& regionType
216 const word& modelType,
219 const word& regionType
260 virtual scalar
maxDiff()
const;
Base class for pyrolysis models.
virtual ~reactingOneDim()
Destructor.
Foam::solidReactionThermo.
virtual tmp< volScalarField > kappa() const
Return the region thermal conductivity [W/m/k].
A class for handling words, derived from string.
void operator=(const reactingOneDim &)
Disallow default bitwise assignment.
virtual void preEvolveRegion()
Pre-evolve region.
virtual const surfaceScalarField & phiGas() const
Return the total gas mass flux to primary region [kg/m2/s].
void solveSpeciesMass()
Solve solid species mass conservation.
scalar maxDiff_
Maximum diffussivity.
A class for managing temporary objects.
bool useChemistrySolvers_
Use chemistry solvers (ode or sequential)
void updatePhiGas()
Update enthalpy flux for pyrolysis gases.
void solveContinuity()
Solve continuity equation.
virtual scalar solidRegionDiffNo() const
Mean diffusion number of the solid region.
dimensionedScalar addedGasMass_
Cumulative mass generation of the gas phase [kg].
volScalarField rho_
Density [kg/m3].
bool gasHSource_
Add gas enthalpy source term.
void updateFields()
Update submodels.
bool QrHSource_
Add in depth radiation source term.
TypeName("reactingOneDim")
Runtime type information.
void calculateMassTransfer()
Mass check.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
virtual scalar maxDiff() const
Return max diffusivity allowed in the solid.
label nNonOrthCorr_
Number of non-orthogonal correctors.
virtual const volScalarField & T() const
Return const temperature [K].
PtrList< volScalarField > & Ys_
List of solid components.
bool read()
Read control parameters from dictionary.
const volScalarField & rho() const
Fields.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
scalar minimumDelta_
Minimum delta for combustion.
virtual tmp< volScalarField > kappaRad() const
Return the region absorptivity [1/m].
dimensionedScalar totalHeatRR_
Total heat release rate [J/s].
solidReactionThermo & solidThermo_
Reference to solid thermo.
A list of keyword definitions, which are a keyword followed by any number of values (e....
volScalarField chemistrySh_
Heat release [J/s/m3].
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
virtual void evolveRegion()
Evolve the pyrolysis equations.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
surfaceScalarField phiGas_
Total gas mass flux to the primary region [kg/m2/s].
reactingOneDim(const reactingOneDim &)
Disallow default bitwise copy construct.
volScalarField phiHsGas_
Sensible enthalpy gas flux [J/m2/s].
void updateMesh(const scalarField &mass0)
Update/move mesh based on change in mass.
dimensionedScalar lostSolidMass_
Cumulative lost mass of the condensed phase [kg].
label nNonOrthCorr() const
Return the number of non-orthogonal correctors.
virtual void info()
Provide some feedback.
autoPtr< radiation::radiationModel > radiation_
Pointer to radiation model.
void updateQr()
Update radiative flux in pyrolysis region.
virtual scalar addMassSources(const label patchI, const label faceI)
External hook to add mass to the primary region.
void solveEnergy()
Solve energy.
autoPtr< basicSolidChemistryModel > solidChemistry_
Reference to the solid chemistry model.
void readReactingOneDimControls()
Read model controls.
Generic GeometricField class.
scalar totalGasMassFlux_
Total mass gas flux at the pyrolysing walls [kg/s].
virtual const tmp< volScalarField > Cp() const
Return specific heat capacity [J/kg/K].
volScalarField Qr_
Coupled region radiative heat flux [W/m2].