CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

hydrostatic pressure boundary problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 23, 2012, 02:02
Default hydrostatic pressure boundary problem
  #1
New Member
 
Join Date: Jan 2011
Posts: 10
Rep Power: 6
cth_yao is on a distinguished road
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?

Thanks!
cth_yao is offline   Reply With Quote

Old   February 29, 2012, 21:57
Default
  #2
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 487
Rep Power: 10
evcelica is on a distinguished road
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.
evcelica is offline   Reply With Quote

Old   March 2, 2012, 09:46
Default
  #3
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 120
Rep Power: 6
monkey1 is on a distinguished road
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....
monkey1 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
natural convection mehrdadeng CFX 10 February 25, 2011 06:25
total pressure boundary problem ==> flow from outlet to inlet!! mrshb4 OpenFOAM 0 November 20, 2010 13:41
Pressure Velocity boundary condition problem deepsterblue OpenFOAM Running, Solving & CFD 3 September 24, 2008 07:19
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) HB &DS CFX 0 January 9, 2000 14:19


All times are GMT -4. The time now is 02:51.