compressibleMultiphaseInterFoam: Corrected update of dgdt for multiple phases

Resolves bug-report https://bugs.openfoam.org/view.php?id=2677
This commit is contained in:
Henry Weller
2017-08-29 14:48:32 +01:00
parent 125a497db4
commit 92ef068675

View File

@ -106,6 +106,8 @@
phase().dgdt() =
pos0(phase())
*(p_rghEqnComps[phasei] & p_rgh)/phase().thermo().rho();
phasei++;
}
phi = phiHbyA + p_rghEqnIncomp.flux();