DPMFoam: Multiply the gravitational force by the gas phase fraction

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1563
This commit is contained in:
Henry
2015-03-11 10:50:32 +00:00
parent d66408c86a
commit 49fbe73ac0

View File

@ -15,7 +15,7 @@ surfaceScalarField rAUcf("Dp", fvc::interpolate(rAUc));
surfaceScalarField phicForces
(
(fvc::interpolate(rAUc*cloudVolSUSu/rhoc) & mesh.Sf())
+ rAUcf*(g & mesh.Sf())
+ alphacf*rAUcf*(g & mesh.Sf())
);
if (pimple.momentumPredictor())