CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Two phases fluids in a tank (https://www.cfd-online.com/Forums/cfx/25331-two-phases-fluids-tank.html)

Hervé February 28, 2008 09:12

Two phases fluids in a tank
 
Hello,

I have a tank which I don't know the volume (because of a strange shape).

However, I want to fil my tank with 30 centimers of water and then fil the rest with oil as an initial condition.

How can I define such a thing in CFX-Pre ?

I have defined my tank as one domain and have defined two materials (oil and water).

Regards,

Hervé

Phil February 28, 2008 09:17

Re: Two phases fluids in a tank
 
Use the step function in a CEL expression for the initial conditions. See the bump tutorial for an example.


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