CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Free surface in mixing vessel (http://www.cfd-online.com/Forums/cfx/109646-free-surface-mixing-vessel.html)

 blubb1612 November 22, 2012 13:46

Free surface in mixing vessel

Hi all,
I'm quite new to CFX. I want to simulate the flow in a mixing vessel. It's a steady state simulation. The vessel has no inlet and no outlet. I only set boundary conditions for the walls and an opening boundary condition.
And here is my problem. It's a free surface problem and I don't know which opening boundary condition setting is the best for my problem.

The baffled vessel only contains water. The aim of the simulation is to determine the mixing time, so I want to include a scalar tracer after simulating the steady state flow. Later I also want to include a particle tracking.

I'm very thankful for every hints.

 cdegroot November 22, 2012 14:01

Hi. It sounds like an interesting problem. Have you gone through the relevant CFX tutorials? There are some covering free surface flows, scalar transport, and particle tracking. If you haven't given those a try, you should. If you have some specific problems, post them here.

 blubb1612 November 22, 2012 15:33

I already have done some tutorials concerning this problem...
I hope I can get a hint which mass and momentum options for the opening condition I should use to avoid this problem as much as possible. I think the air don't affect the fluid flow very much. On the other side I think it is not possible to model the liquid surface as wall because in this case the fluid flow in the vessel would definitly not be the real one.

 cdegroot November 22, 2012 15:49

The easiest thing to converge will be if you use a homogeneous model (both water and air share the same velocity field). Start with this. At the top of the domain use an Opening boundary condition with a relative pressure of 0 Pa. Set the volume fraction of air to 1 and the volume fraction of water to 0.

 brunoc November 22, 2012 15:50

Where is this opening boundary condition? Is it at the top of the vessel?

Also, you said you have a free surface problem but your vessel has water only. Do you intend to calculate the free surface position from the pressure level at the top? This might be valid only if the swirl in the fluid isn't too strong, otherwise the free surface height might be important and this simplification might deliver incorrect results. If swirl is not strong, them this can be a good first analysis simplification, but in this case it would be better to use a free-slip wall at the top boundary condition. After you get your results, you can estimate the actual free surface height from the pressure levels.

This simplification is only a good idea if you plan on doing this type of simulation several times and want to cut your total time, in which case I recommend you also do at least one simulation with an actual free surface to check how good your results are and tune your model. If you're only doing one simulation, than just use an actual free surface with the homogeneous model and the free surface algorithm turned on. The computational cost won't be that much higher and your results will be better.

Cheers

 brunoc November 22, 2012 16:00

Quote:
 Originally Posted by cdegroot (Post 393705) The easiest thing to converge will be if you use a homogeneous model (both water and air share the same velocity field). Start with this. At the top of the domain use an Opening boundary condition with a relative pressure of 0 Pa. Set the volume fraction of air to 1 and the volume fraction of water to 0.
Hey Chris, looks like you pressed the 'Submit' button before I did :)

But I agree that an actual free surface simulation with the homogeneous model is the best option.

 cdegroot November 22, 2012 16:02

Yes definitely do a real free surface simulation! There really shouldn't be any great difficulties getting this to converge.

 ghorrocks November 22, 2012 17:04

Surface waves can often make steady state free surface simulations hard to converge. This simulation does not have inlets or outlets (which are a frequent source of small numerical noise which then become surface waves which cause convergence problems) so that might help a bit.

But in my experience you often have to do free surface simulations in transient simulations and run them out to steady state, rather than doing a steady state simulation.

 blubb1612 November 28, 2012 11:16

Hi,