CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Simulation of mixing of two compressible fluids (https://www.cfd-online.com/Forums/openfoam/70936-simulation-mixing-two-compressible-fluids.html)

 shinde.gopal December 10, 2009 05:10

Simulation of mixing of two compressible fluids

Hi,

I am trying to simulate a cylinder which is filled with air and He gas is entering from the bottom and an outlet is provided at the top. The dispersion of He gas in the cylinder is dominated by diffusion. Turbulence is induced in the system by buoyancy.

I am unable to get which kind of OpenFOAM solver will mimic this situation.

Can anybody help me on this front ?

with regards,
-Gopal.

 ziemowitzima September 7, 2010 09:37

Hi,
I am dealing now with similar problem.
As far as I know there is no such solver. Did u solve this problem somehow ?
If yes could u write me please what u did ?
I have an idea how to write such solver, but I am not sure is my idea is correct.

Hi,
I am interested in solver which is able to model mixing of two compressible fluids (lets say Helium and Air).
As far as I know there is no such solver among standard OF solvers.
I looked at twoMixingLiquidFoam which is for incompressible fluids.
So I decided to change this solver for compressible fluids as well, but I am not sure if method used there can be applied for compressible fluids as well.

I am not sure if the concentration equation method from incompressible solver can be used for compressible flows.

My idea is as follows:
1. solve compressible NS eq with PISO method (U,p)
2. solve energy eq (e)
3. solve concentration eq (c)
4. calculate density rho=c*rho1 + (1-c)*rho2
5. similar for viscosity, R (individual gas constant), Cp,...

Could anyone tell me please if such approach is correct ?

Many thanks,
ZM

 All times are GMT -4. The time now is 19:57.