CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   One phase is compressible, can I use compressibleinterfoam? (https://www.cfd-online.com/Forums/openfoam-solving/132009-one-phase-compressible-can-i-use-compressibleinterfoam.html)

sharonyue March 24, 2014 08:23

One phase is compressible, can I use compressibleinterfoam?
 
Hi guys,

Im wondering if only one phase is compressible, the other is incompressible. can I use compressibleinterFoam?

And in Fluent,

it said:
Code:

If you are using the VOF or mixture model for a compressible flow, note the following:

Only one of the phases can be compressible (i.e., you can select the ideal gas law for the density of only one phase's material).

http://combust.hit.edu.cn:8080/fluen...ug/node722.htm

Why does it say" only one of the phases can be compressible?" But in compressibleinterFoam, all the phases are compressible.

Thanks

sharonyue March 28, 2014 20:25

Any ideas?

olivierG March 31, 2014 09:40

hello,

I am not sure that checking the Fluent Doc to know if you can use an openFoam solver is a good way to go.

A simple check in the tutorial repo (i.e tutorials/multiphase/compressibleInterFoam/laminar/) will give you the answer.

You will see that for water (incompressible), R=3000, which mean weakly compressible (as for perfectFluid thermotype, rho = rho0 +p/RT)
So you can perfectly have one compressible phase, an the other almost incompressible.
If you need a strict incompressible, use rhoConst, incompressiblePerfectGaz or icoPolynomial thermotype.

regards,
olivier


All times are GMT -4. The time now is 08:22.