CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

interFoam BC for open water

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 13, 2022, 05:03
Post interFoam BC for open water
  #1
New Member
 
Eric Segalerba
Join Date: Dec 2021
Location: Italy
Posts: 24
Rep Power: 4
EricS is on a distinguished road
Hello everyone!


I'm trying to simulate the flow exiting a pipe placed around 3 meters under the sea level. The case is 2D but I'm having some problems with the boundary conditions for the "sea".


So far I set:
U
inlet -> flowRateInletVelocity
outlet -> inletOutletVelocity
p

inlet -> fixedFluxPressure
outlet -> zeroGradient
alpha
inlet -> fixedValue ... value 1

outlet -> variableHeightFlowRate


With those B.Cs the simulation diverges and I can't figure out what to change to make it works...
Do you have any guess or tip?


Thank you in advance
EricS is offline   Reply With Quote

Old   September 13, 2022, 19:04
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
You do not specify the pressure with your boundary conditions. Somewhere you need some kind of fixedValue boundary condition for p (or actually for p_rgh).
jherb is offline   Reply With Quote

Old   September 14, 2022, 05:41
Default
  #3
New Member
 
Eric Segalerba
Join Date: Dec 2021
Location: Italy
Posts: 24
Rep Power: 4
EricS is on a distinguished road
Hi and thank you for your quick answer! Actually after some tests I was able to make it work by splitting the outlet patch in two and imposing flowRateOutletVelocity in the water patch!
EricS is offline   Reply With Quote

Reply

Tags
boundaries condition, interfoam, sea


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Water level drop at outlet InterFoam solver IngmarScholte OpenFOAM Running, Solving & CFD 1 December 17, 2020 13:35
simulating water tank using interfoam dpoly OpenFOAM Running, Solving & CFD 0 March 26, 2020 16:18
Problem condensation/ evaporation (condensate water vapor) bigfoot47 FLUENT 0 October 21, 2019 08:07
No liquid water exist in my Fuel Cell simulation fatchang FLUENT 19 October 15, 2018 14:27
(interfoam) shear stress at water air interface ! openfoam1 OpenFOAM 11 October 27, 2014 03:59


All times are GMT -4. The time now is 09:37.