bugfix: added missing multiply by nParticle
This commit is contained in:
parent
ef39baacfc
commit
3f4dae4695
@ -453,7 +453,7 @@ Foam::scalar Foam::ReactingMultiphaseParcel<ParcelType>::calcDevolatilisation
|
||||
dMassDV[i] = YVolatile[i]*dMassTot;
|
||||
}
|
||||
|
||||
td.cloud().addToMassDevolatilisation(dMassTot);
|
||||
td.cloud().addToMassDevolatilisation(this->nParticle_*dMassTot);
|
||||
|
||||
return -dMassTot*td.constProps().LDevol();
|
||||
}
|
||||
@ -515,7 +515,8 @@ Foam::scalar Foam::ReactingMultiphaseParcel<ParcelType>::calcSurfaceReactions
|
||||
|
||||
td.cloud().addToMassSurfaceReaction
|
||||
(
|
||||
sum(dMassSRGas) + sum(dMassSRLiquid) + sum(dMassSRSolid)
|
||||
this->nParticle_
|
||||
*(sum(dMassSRGas) + sum(dMassSRLiquid) + sum(dMassSRSolid))
|
||||
);
|
||||
|
||||
// Add enthalpy of consumed components to the carrier phase enthalpy
|
||||
|
@ -274,7 +274,7 @@ Foam::scalar Foam::ReactingParcel<ParcelType>::calcPhaseChange
|
||||
scalar dMassTot = sum(dMassPC);
|
||||
|
||||
// Add to cumulative phase change mass
|
||||
td.cloud().addToMassPhaseChange(dMassTot);
|
||||
td.cloud().addToMassPhaseChange(this->nParticle_*dMassTot);
|
||||
|
||||
// Effective latent heat of vaporisation
|
||||
scalar LEff = td.cloud().composition().L(idPhase, YComponents, pc_, T);
|
||||
|
Loading…
Reference in New Issue
Block a user