hydrostatic pressure boundary problem
I am simulating a open channel flow with wave coundary condition. I set the out let bc as a hydrostatic BC, which is defined as p=rou*g*h (CFX expression as: waterDen*g*(waterD-y) where waterD is the water depth and the waterDen is the water density) but since the free surface in the channel is moving up and down, the water depth is changing according to the wave profile as a function of time. How can I define the waterD correctly and avoid back flow?
I've never attempted this, so this might be stupid. Just a thought.
Define an expression for instantaneous water height:
Instantaneous Outlet Water Height = (areaAve(VolumeFractionWater)@Outlet) / (Total Outlet Height)
You probably already have, but if not, look at the "flow over a hump" tutorial, it may help.
I would just replace your " waterDen*g*(waterD-y)" by the original formula
rho*g*height in terms of CFX variables it would be "density*g*y" or whatever your height coordinate is.
I hope someone will correct me if I am wrong. But to my knowledge writing it like this using the "density" variable would force CFX to use the density existing at the considered height...so you wouldn't have to mind about varying water levels...and having the same BC on the "air side" shouldn't cause any problem....
|All times are GMT -4. The time now is 18:00.|