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:52:16 +00:00
parent 1f187d6f9e
commit 5c68a98799

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())