mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
bugfix: added missing multiply by nParticle
This commit is contained in:
@ -453,7 +453,7 @@ Foam::scalar Foam::ReactingMultiphaseParcel<ParcelType>::calcDevolatilisation
|
|||||||
dMassDV[i] = YVolatile[i]*dMassTot;
|
dMassDV[i] = YVolatile[i]*dMassTot;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.cloud().addToMassDevolatilisation(dMassTot);
|
td.cloud().addToMassDevolatilisation(this->nParticle_*dMassTot);
|
||||||
|
|
||||||
return -dMassTot*td.constProps().LDevol();
|
return -dMassTot*td.constProps().LDevol();
|
||||||
}
|
}
|
||||||
@ -515,7 +515,8 @@ Foam::scalar Foam::ReactingMultiphaseParcel<ParcelType>::calcSurfaceReactions
|
|||||||
|
|
||||||
td.cloud().addToMassSurfaceReaction
|
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
|
// Add enthalpy of consumed components to the carrier phase enthalpy
|
||||||
|
|||||||
@ -274,7 +274,7 @@ Foam::scalar Foam::ReactingParcel<ParcelType>::calcPhaseChange
|
|||||||
scalar dMassTot = sum(dMassPC);
|
scalar dMassTot = sum(dMassPC);
|
||||||
|
|
||||||
// Add to cumulative phase change mass
|
// Add to cumulative phase change mass
|
||||||
td.cloud().addToMassPhaseChange(dMassTot);
|
td.cloud().addToMassPhaseChange(this->nParticle_*dMassTot);
|
||||||
|
|
||||||
// Effective latent heat of vaporisation
|
// Effective latent heat of vaporisation
|
||||||
scalar LEff = td.cloud().composition().L(idPhase, YComponents, pc_, T);
|
scalar LEff = td.cloud().composition().L(idPhase, YComponents, pc_, T);
|
||||||
|
|||||||
Reference in New Issue
Block a user