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