CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Mutiphase flow solver (

TGH March 4, 2012 21:53

Mutiphase flow solver
Dear OpenFoam Community,

I hope everything is fine with you. I have some doubts with OpenFoam that I would like to share with you. Maybe you can solve them. I am using the multiphase flow solver TwoLiquidsMixingFoam. The momentum equation is in Ueqn.H. I don't understand:


Why the gravity term is

instead of only ghf*rho
Why this surface normal gradient in rho??

************************************************** *****************

3) Why the pressure gradient term is:

instead of only
fvc:: grad(p_rgh)
Why surface normal gradient?


Does anyone have any idea??? Any suggestions are welcome. Thanks a lot in advance

santiagomarquezd March 20, 2012 09:59

Hi, check the following thread, particularly the post #9


All times are GMT -4. The time now is 13:42.