Diffusion based turbulent combustion model for multicomponent species. More...
Public Member Functions | |
TypeName ("diffusionMulticomponent") | |
Runtime type information. More... | |
diffusionMulticomponent (const word &modelType, const fvMesh &mesh, const word &phaseName) | |
Construct from components. More... | |
virtual | ~diffusionMulticomponent () |
Destructor. More... | |
virtual void | correct () |
Correct combustion rate. More... | |
virtual tmp< fvScalarMatrix > | R (volScalarField &Y) const |
Fuel consumption rate matrix. More... | |
virtual tmp< volScalarField > | dQ () const |
Heat release rate calculated from fuel consumption rate matrix. More... | |
virtual tmp< volScalarField > | Sh () const |
Return source for enthalpy equation [kg/m/s3]. More... | |
virtual bool | read () |
Update properties from given dictionary. More... | |
Private Member Functions | |
tmp< volScalarField > | tc () const |
Return the chemical time scale. More... | |
void | init () |
Initialize. More... | |
diffusionMulticomponent (const diffusionMulticomponent &) | |
Disallow copy construct. More... | |
void | operator= (const diffusionMulticomponent &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
const PtrList< Reaction< ThermoType > > & | reactions_ |
Reactions. More... | |
const PtrList< ThermoType > & | specieThermo_ |
Thermodynamic data of the species. More... | |
PtrList< volScalarField > | RijPtr_ |
Pointer list of source terms. More... | |
scalarList | Ci_ |
Model constants. More... | |
wordList | fuelNames_ |
List of fuels for each reaction. More... | |
wordList | oxidantNames_ |
List of oxidants for each reaction. More... | |
scalarList | qFuel_ |
Heat of combustion [J/Kg]. More... | |
scalarList | stoicRatio_ |
Stoichiometric air-fuel mass ratio. More... | |
scalarList | s_ |
Stoichiometric oxygen-fuel mass ratio. More... | |
scalarList | YoxStream_ |
Oxydaser sream mass concentrations. More... | |
scalarList | YfStream_ |
Fuel stream mass concentrations. More... | |
scalarList | sigma_ |
Mean distribution for gaussian probabililty. More... | |
scalarList | oxidantRes_ |
Residual oxydaser. More... | |
scalarList | ftCorr_ |
ft stochiometric correction More... | |
scalar | alpha_ |
Relaxatnio factor on total source. More... | |
bool | laminarIgn_ |
Switch on to laminar combustion for ignition. More... | |
Diffusion based turbulent combustion model for multicomponent species.
The model calculates the laminar finite rate source terms based on the kinetic for each reaction in order to begin the combustion and evaluates the minimum between this and the cross diffusion rate term defined as D*prob*muEff*mag(grad(Yi)*grad(Yj)) if laminarIgn is true.
where:
D : is a model dynamic constant defined as C*f02 where: C is a model constant f02 = 1 + sqr(O2/oxidantRes), oxidantRes is an user input
muEff : is the effective turbulent viscosity prob : is a normalized Gaussian shaped distribution around the stoichiometric value of each reaction. The distribtion is controled by 'sigma' for standard deviation and ftCorr for correction of the stoichiometric value.
In the combustion properties dictionary:
diffusionMulticomponentCoeffs { Ci (1.0 1.0); // Default to 1 fuels (CH4 CO); oxidants (O2 O2); YoxStream (0.23 0.23); // Default to 0.23 YfStream (1.0 1.0); // Default to 1.0 sigma (0.02 0.02); // Default to 0.02 oxidantRes (0.025 0.005); ftCorr (0.0 0.0); // Default to 0.0 laminarIgn false; // Default false }
Definition at line 87 of file diffusionMulticomponent.H.
|
private |
Disallow copy construct.
diffusionMulticomponent | ( | const word & | modelType, |
const fvMesh & | mesh, | ||
const word & | phaseName | ||
) |
Construct from components.
Definition at line 155 of file diffusionMulticomponent.C.
|
virtual |
Destructor.
Definition at line 192 of file diffusionMulticomponent.C.
|
private |
Return the chemical time scale.
Definition at line 200 of file diffusionMulticomponent.C.
|
private |
Initialize.
Definition at line 36 of file diffusionMulticomponent.C.
References Foam::dimMass, Foam::dimTime, Foam::dimVolume, Foam::endl(), forAll, found, Foam::Info, k, lookup(), Foam::mag(), Foam::name(), readScalar, List::size(), and thermo.
|
private |
Disallow default bitwise assignment.
TypeName | ( | "diffusionMulticomponent< CombThermoType, ThermoType >" | ) |
Runtime type information.
|
virtual |
Correct combustion rate.
Definition at line 208 of file diffusionMulticomponent.C.
References GeometricField::dimensionedInternalField(), Foam::dimMass, Foam::dimTime, Foam::dimVolume, Foam::constant::electromagnetic::e, Foam::exp(), forAll, Foam::fvc::grad(), k, Foam::mag(), Foam::max(), Foam::min(), Foam::name(), Foam::constant::mathematical::pi(), Foam::pos(), GeometricField::relax(), PtrList::set(), Foam::constant::physicoChemical::sigma, Foam::sqr(), Foam::sqrt(), thermo, and turbulence.
|
virtual |
Fuel consumption rate matrix.
Definition at line 410 of file diffusionMulticomponent.C.
References Foam::dimMass, Foam::dimTime, Foam::fvc::Su(), thermo, and Y.
|
virtual |
Heat release rate calculated from fuel consumption rate matrix.
Definition at line 429 of file diffusionMulticomponent.C.
References Foam::dimEnergy, Foam::dimTime, dQ, mesh, and timeName.
|
virtual |
Return source for enthalpy equation [kg/m/s3].
Definition at line 463 of file diffusionMulticomponent.C.
References Foam::dimEnergy, Foam::dimTime, Foam::dimVolume, mesh, Sh, and timeName.
|
virtual |
Update properties from given dictionary.
Definition at line 496 of file diffusionMulticomponent.C.
References Foam::read().
Reactions.
Definition at line 94 of file diffusionMulticomponent.H.
|
private |
Thermodynamic data of the species.
Definition at line 97 of file diffusionMulticomponent.H.
|
private |
Pointer list of source terms.
Definition at line 100 of file diffusionMulticomponent.H.
|
private |
Model constants.
Definition at line 103 of file diffusionMulticomponent.H.
|
private |
List of fuels for each reaction.
Definition at line 106 of file diffusionMulticomponent.H.
|
private |
List of oxidants for each reaction.
Definition at line 109 of file diffusionMulticomponent.H.
|
private |
Heat of combustion [J/Kg].
Definition at line 112 of file diffusionMulticomponent.H.
|
private |
Stoichiometric air-fuel mass ratio.
Definition at line 115 of file diffusionMulticomponent.H.
|
private |
Stoichiometric oxygen-fuel mass ratio.
Definition at line 118 of file diffusionMulticomponent.H.
|
private |
Oxydaser sream mass concentrations.
Definition at line 121 of file diffusionMulticomponent.H.
|
private |
Fuel stream mass concentrations.
Definition at line 124 of file diffusionMulticomponent.H.
|
private |
Mean distribution for gaussian probabililty.
Definition at line 127 of file diffusionMulticomponent.H.
|
private |
Residual oxydaser.
Definition at line 130 of file diffusionMulticomponent.H.
|
private |
ft stochiometric correction
Definition at line 133 of file diffusionMulticomponent.H.
|
private |
Relaxatnio factor on total source.
Definition at line 136 of file diffusionMulticomponent.H.
|
private |
Switch on to laminar combustion for ignition.
Definition at line 139 of file diffusionMulticomponent.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.