CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CCM+ (http://www.cfd-online.com/Forums/star-ccm/)
-   -   CFL number close to free surface (http://www.cfd-online.com/Forums/star-ccm/114999-cfl-number-close-free-surface.html)

Espen March 21, 2013 09:40

CFL number close to free surface
 
Hi,


In my free surface simulation (VOF) I want to plot the maximum CFL number close to the free surface, typically within 2-3 cells (where CFL has to be <1 in order to ensure sharp interface) for each time step. The free surface is changing with time, so the area where maximum CFL is to be extracted from is also changing.


Is there a way to do this relatively easy?

lava12005 March 21, 2013 22:41

What I can think of is to create a treshold
Then you can input the function with Volume fraction of water (say your fluid is water).
Then specify the mode to be between, range of maybe something like [0.01, 0.99].
This will give you the free surface containing cells.

From here you can create a report of maximum value with parts the treshold and scalar function of the CFL, doing this will give you the maximum CFL of the cells in the treshold.

Hope it helps :)


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