CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Outlet Boundary Headache (https://www.cfd-online.com/Forums/cfx/21840-outlet-boundary-headache.html)

Chebeba November 17, 2005 09:39

Outlet Boundary Headache
 
I'm trying to model flow around a yacht hull, but having very little luck in getting water to flow out of my domain in a sensible way. No matter what I do, CFX insists on putting temporary walls in the outlet, to block inflow.

http://img424.imageshack.us/img424/9...tank7lc.th.gif

I am using homogenous model, standard homogenous free surface model, standard air at 25 degrees and water. Two inlets: one 100% water below y=0, and one 100% air above y=0.

Boyancy activated at (0, -9.81, 0), ref density 1.185 (air) and ref location (0,0,0). +Y is up in this model, water surface at y=0.

The outlet is static pressure, with a CEL expression pressure profile:

pOut = -997[kg m^-3]*g*y*step(-y/1[m])

I have tried using the same pOut as t=0 initial guess for the domain pressure, but that doesn't change anything.

Anyone around who's been successful in anything similar?

/c

Jeff November 18, 2005 10:13

Re: Outlet Boundary Headache
 
CFX calculates the buoyancy force using (rho - rho_ref). Without subtracting rho_ref, your pressures will all be just slightly higher than the resulting hydrostatic head resulting in inflow.

Try this:

pOut = (Water at 25 C.density - Air at STP.density)*g*y*step(-y/1[m])

Using the actual phase densities also ensures you have "exactly" the density that CFX is pulling out of the database.

Jeff

Chebeba November 18, 2005 11:32

Re: Outlet Boundary Headache
 
Thanks a lot!

I actually discovered that a reference location of (0,0,0) was not so smart, since that is exactly on the surface. Putting further up in the air solved the major problem, but your tip also made me loose the weird "dip" in the water surface I was getting at the outlet.

/c


All times are GMT -4. The time now is 19:21.