CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Difference of definition between HEM and VOF models (

shipman February 12, 2014 01:16

Difference of definition between HEM and VOF models
Dear Foam USers,

I am trying to make simulation of cavitation in nozzle and confused about the differences between HEM and VOF models which are used in cavitatingFOAM and InterPhaseChangeFoam.

When i look at the definitions of the solvers:

HTML Code:

1. [B]interPhaseChangeFoam[/B]: (incompressible) VOF+ Transport equation of vapor fraction→ source terms for vaporization and condensation

2. [B]cavitatingFoam[/B]:(compessible) HEM (homogeneous equilibirum model)+ Barotropic equation of state
ρ=f(P)→EOS in continuity eq. to produce pressure eq. (linear model for compressibility)

Both model are isothermal and dont solve the energy equations while solving closure equations as transport eqn. and barotropic.

Also when i look at the original Schneer
HTML Code:

[Schnerr G, Sauer J. Physical and numerical modeling of unsteady cavitation dynamics.  Fourth International Conference on Multiphase Flow, New Orleans, USA2001.]
and Yuan
HTML Code:

[Yuan W, Schnerr GH. Optimization of Two-Phase Flow in Injection Nozzles: Interaction of Cavitation and External Jet Formation. ASME; 2002.]
model papers, he explains the VOF model as: The bubble flow is treated as homogeneous vapor-liquid mixture which means that The gas-liquid interface is assumed to be in dynamic and thermal equilibrium and, consequently, only one set eqns are solved for mixture phase.

and in another paper above explanation is called homogeneous mixtured model.:
HTML Code:

Kunz RF, Boger DA, Stinebring DR, Chyczewski TS, Lindau JW, Gibeling HJ, et al. A preconditioned Navier–Stokes method for two-phase flows with application to cavitation prediction. Computers & Fluids. 2000;29:849-75.
==>So, This VOF explanation (inside of interPhaseChangeFoam) is totally same with definition of HEM model (inside of cavitatingFoam) . Then, why in the solver explanation of the Openfoam tutorials, it is written for interphaseChangeFoam as: Solver for 2 incompressible, isothermal immiscible fluids with phase-change (e.g. cavitation). Uses a VOF (volume of fluid) phase-fraction based interface capturing approach...(

If i am wrong please someone can correct me...

Thanks in advance...

wyldckat February 16, 2014 13:48

Hi shipman,

In my limited experience on this topic:
  1. Be very careful with which version of OpenFOAM you are dealing with. The latest release version is 2.2.2 and the bug fix version is 2.2.x. If you are using any older versions of OpenFOAM, you might be looking at code that is completely outdated.
  2. cavitatingFoam seems to rely on thermodynamic characteristics.
  3. interPhaseChangeFoam is explicitly isothermal. Quoting from the source code first big block of comments in the header section of "interPhaseChangeFoam.C" (from OpenFOAM 2.2.x):


        Solver for 2 incompressible, isothermal immiscible fluids with phase-change
        (e.g. cavitation).  Uses a VOF (volume of fluid) phase-fraction based
        interface capturing approach.

        The momentum and other fluid properties are of the "mixture" and a
        single momentum equation is solved.

        The set of phase-change models provided are designed to simulate cavitation
        but other mechanisms of phase-change are supported within this solver

  4. OpenFOAM mostly uses segregated numerical methods: - so it's natural that energy is not solved simultaneously with transport.
Beyond this, I need more information, namely regarding which specific equations do you see that are identical in both solvers.

Best regards,

All times are GMT -4. The time now is 18:55.