mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
minor update
This commit is contained in:
@ -121,7 +121,7 @@ void Foam::ReactingParcel<ParcelType>::correctSurfaceValues
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Far field gas molar fractions
|
// Far field carrier molar fractions
|
||||||
scalarField Xinf(Y_.size());
|
scalarField Xinf(Y_.size());
|
||||||
|
|
||||||
forAll(Xinf, i)
|
forAll(Xinf, i)
|
||||||
@ -135,7 +135,7 @@ void Foam::ReactingParcel<ParcelType>::correctSurfaceValues
|
|||||||
// Molar fraction of far field species at particle surface
|
// Molar fraction of far field species at particle surface
|
||||||
const scalar Xsff = 1.0 - min(sum(Cs)*specie::RR*this->T_/pc_, 1.0);
|
const scalar Xsff = 1.0 - min(sum(Cs)*specie::RR*this->T_/pc_, 1.0);
|
||||||
|
|
||||||
// Surface gas total molar concentration
|
// Surface carrier total molar concentration
|
||||||
const scalar CsTot = pc_/(specie::RR*this->T_);
|
const scalar CsTot = pc_/(specie::RR*this->T_);
|
||||||
|
|
||||||
// Surface carrier composition (molar fraction)
|
// Surface carrier composition (molar fraction)
|
||||||
@ -171,10 +171,10 @@ void Foam::ReactingParcel<ParcelType>::correctSurfaceValues
|
|||||||
cbrt(td.cloud().mcCarrierThermo().speciesData()[i].W());
|
cbrt(td.cloud().mcCarrierThermo().speciesData()[i].W());
|
||||||
|
|
||||||
rhos += Xs[i]*td.cloud().mcCarrierThermo().speciesData()[i].W();
|
rhos += Xs[i]*td.cloud().mcCarrierThermo().speciesData()[i].W();
|
||||||
cps += Xs[i]*td.cloud().mcCarrierThermo().speciesData()[i].Cp(T);
|
|
||||||
mus += Ys[i]*sqrtW*td.cloud().mcCarrierThermo().speciesData()[i].mu(T);
|
mus += Ys[i]*sqrtW*td.cloud().mcCarrierThermo().speciesData()[i].mu(T);
|
||||||
kappa +=
|
kappa +=
|
||||||
Ys[i]*cbrtW*td.cloud().mcCarrierThermo().speciesData()[i].kappa(T);
|
Ys[i]*cbrtW*td.cloud().mcCarrierThermo().speciesData()[i].kappa(T);
|
||||||
|
cps += Xs[i]*td.cloud().mcCarrierThermo().speciesData()[i].Cp(T);
|
||||||
|
|
||||||
sumYiSqrtW += Ys[i]*sqrtW;
|
sumYiSqrtW += Ys[i]*sqrtW;
|
||||||
sumYiCbrtW += Ys[i]*cbrtW;
|
sumYiCbrtW += Ys[i]*cbrtW;
|
||||||
@ -417,7 +417,7 @@ void Foam::ReactingParcel<ParcelType>::calcPhaseChange
|
|||||||
const scalarField& YComponents,
|
const scalarField& YComponents,
|
||||||
scalarField& dMassPC,
|
scalarField& dMassPC,
|
||||||
scalar& Sh,
|
scalar& Sh,
|
||||||
scalar& dhsTrans,
|
scalar& dhsTrans, // TODO: not used
|
||||||
scalar& N,
|
scalar& N,
|
||||||
scalar& NCpW,
|
scalar& NCpW,
|
||||||
scalarField& Cs
|
scalarField& Cs
|
||||||
|
|||||||
Reference in New Issue
Block a user