CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   free surface boundary conditions (https://www.cfd-online.com/Forums/siemens/53103-free-surface-boundary-conditions.html)

Valentino December 3, 2002 04:27

free surface boundary conditions
 
Hi, I have a problem with the free surface in Star: I try to simulated the flow around a ship, so in the inlet I have light (air) and heavy (water) together with the same velocity. The point is: how I define the inlet?I have to define the inlet for the vof scalar too?

Someone has a simple macro to send me?

Ciao ,

Valentino

x December 3, 2002 05:13

Re: free surface boundary conditions
 
Two inlet boundaries that meet at the surface, one with scalar conc 1.0 the other with scalar conc 0.

or

Use bcdefi.f, with an

if (zc.gt.surfacelevel) then scalar(1)=0.0 else scalar(1)=1.0 endif


All times are GMT -4. The time now is 11:12.