CFD Online Discussion Forums

CFD Online Discussion Forums (
-   STAR-CCM+ (
-   -   VOF sloshing (

kbeggs07 October 26, 2013 12:35

VOF sloshing
Hello everybody, I am pretty new to star-ccm+ and know the basics, but i need some help to create a simulation of an oil pan (basically just a box with liquid in it to make it simple) under an acceleration to see the sloshing that happens. I have tried searching on here and throughout the internet and have found some stuff on this but it is brief. the real trouble is picking the models to use and setting up the oil/air mixture in the pan. i know i have the meshing and everything correct. Thanks for any help.

ggulgulia November 8, 2013 02:48

Hii Kyle

I suggest you do the VOF head waves in a boat simulation. You'd understand the mechanics of using multiphase flow and volume of fluid.

In the tutorial you'll find how to give the wave motion inputs in the fluid.

ggulgulia November 8, 2013 03:04

Hey Kyle

I again went through your post. The models that you need to pick up are:

1. 3d
2. Implict Unsteady
3. Realizable k-e turbulence or k-omega turbulence model
4. Multiphase Flow
5. Volume of Fluid
Additional Models: Gravity

these are the compulsory models that you need to simulate the tank sloshing problem.

kbeggs07 November 11, 2013 18:11

Hello ggulgulia and thanks for replying. I have looked at the tutorials and completed the "VOF: gravity-driven flow" tutorial, it is most closely related to what i want to do, except i need 3-D. It also says to pick the same models as you said. now the problem is I cannot get the field functions to define the positions of the liquid and gas correct even though i do exactly as the tutorial. Is this because i have it in 3-D and not 2-D like the tutorial? Thanks so much for helping me.

ggulgulia December 4, 2013 08:04

Hey Kyle

If you know the fraction of both the fluids in the 3D geometry, then you would not need any field function for setting the initial condition. Just the the fraction of your liquid phase and gaseous phase need to be input in the field function.

If your 3d geometry is approximately symmetrical, then you can calculate the volume fraction using the height of one phase in a 2d geometry. In case you are still not able/comfortable with this approach, do let me know, i'll send you an example field function.

kbeggs07 December 6, 2013 18:14

I have it working now. Thanks a ton!!

ggulgulia December 7, 2013 00:54

all the best..keep in touch :)

All times are GMT -4. The time now is 09:29.