STY: Correcting spelling mistake in diffusionMulticomponent

This commit is contained in:
sergio
2016-01-05 09:55:16 -08:00
parent 0e6fa50480
commit 9dd487a359
3 changed files with 13 additions and 13 deletions

View File

@ -106,7 +106,7 @@ diffusionMulticomponent<CombThermoType, ThermoType>::init()
const List<specieCoeffs>& rhs = reactions_[k].rhs();
const label fuelIndex = species[fuelNames_[k]];
const label oxydantIndex = species[oxydantNames_[k]];
const label oxydantIndex = species[oxidantNames_[k]];
const scalar Wu = specieThermo_[fuelIndex].W();
const scalar Wox = specieThermo_[oxydantIndex].W();
@ -169,14 +169,14 @@ diffusionMulticomponent
RijPtr_(reactions_.size()),
Ci_(reactions_.size(), 1.0),
fuelNames_(this->coeffs().lookup("fuels")),
oxydantNames_(this->coeffs().lookup("oxydants")),
oxidantNames_(this->coeffs().lookup("oxydants")),
qFuel_(reactions_.size()),
stoicRatio_(reactions_.size()),
s_(reactions_.size()),
YoxStream_(reactions_.size(), 0.23),
YfStream_(reactions_.size(), 1.0),
sigma_(reactions_.size(), 0.02),
oxydantRes_(this->coeffs().lookup("oxydantRes")),
oxidantRes_(this->coeffs().lookup("oxidantRes")),
ftCorr_(reactions_.size(), 0.0),
alpha_(1),
laminarIgn_(false)
@ -275,7 +275,7 @@ diffusionMulticomponent<CombThermoType, ThermoType>::correct()
for (label k=0; k < nReactions; k++)
{
const label fuelIndex = species[fuelNames_[k]];
const label oxydantIndex = species[oxydantNames_[k]];
const label oxydantIndex = species[oxidantNames_[k]];
const volScalarField& Yfuel =
this->thermo().composition().Y(fuelIndex);
@ -303,7 +303,7 @@ diffusionMulticomponent<CombThermoType, ThermoType>::correct()
const volScalarField OAvailScaled
(
"OAvailScaled",
Yox/max(oxydantRes_[k], 1e-3)
Yox/max(oxidantRes_[k], 1e-3)
);
const volScalarField preExp
@ -499,7 +499,7 @@ diffusionMulticomponent<CombThermoType, ThermoType>::read()
{
this->coeffs().readIfPresent("Ci", Ci_);
this->coeffs().readIfPresent("sigma", sigma_);
this->coeffs().readIfPresent("oxydantRes", oxydantRes_);
this->coeffs().readIfPresent("oxidantRes", oxidantRes_);
this->coeffs().readIfPresent("ftCorr", ftCorr_);
this->coeffs().readIfPresent("alpha", alpha_);
this->coeffs().readIfPresent("laminarIgn", laminarIgn_);

View File

@ -41,8 +41,8 @@ Description
of each reaction. The distribtion has the input parameter 'sigma'
for standard deviation.
The variable prob is multiplied by the factor: 1 + pow2(O2/oxydantRes),
where oxydantRes is the residual oxydant specified for each reaction.
The variable prob is multiplied by the factor: 1 + pow2(O2/oxidantRes),
where oxidantRes is the residual oxydant specified for each reaction.
In the combustion properties dictionary:
@ -54,7 +54,7 @@ Description
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
oxydantRes (0.025 0.005);
oxidantRes (0.025 0.005);
ftCorr (0.0 0.0); // Default to 0.0
laminarIgn false; // Default false
}
@ -113,7 +113,7 @@ class diffusionMulticomponent
wordList fuelNames_;
//- List of oxydants for each reaction
wordList oxydantNames_;
wordList oxidantNames_;
//- Heat of combustion [J/Kg]
scalarList qFuel_;
@ -134,7 +134,7 @@ class diffusionMulticomponent
scalarList sigma_;
//- Residual oxydaser
scalarList oxydantRes_;
scalarList oxidantRes_;
//- ft stochiometric correction
scalarList ftCorr_;

View File

@ -35,11 +35,11 @@ diffusionMulticomponentCoeffs
{
Ci (1.0 1.5);
fuels (CH4 CO);
oxydants (O2 O2);
oxidants (O2 O2);
YoxStream (0.23 0.23);
YfStream (1.0 1.0);
sigma (0.02 0.02);
oxydantRes (0.015 0.005);
oxidantRes (0.015 0.005);
ftCorr (0 0);
laminarIgn false;
}