|
[Sponsors] |
November 24, 2021, 10:24 |
Outlet partially under water - correct BC?
|
#1 | ||
New Member
Dani
Join Date: Jan 2021
Posts: 4
Rep Power: 5 |
Dear CFD friends
I have to simulate the discharge of a canal into a lake. In such cases, the canal (pipe) lies quite often partially below the water surface. This looks like this, for example: Link I'd like to simulate this with a two-phase simulation (water/air) and stationary. Now I have some troubles finding a appropriate boundary condition. I tried to solve it with a pressure BC with pascal's law at the outlet patch using a step function (OutletStepFunction) as follows: Let's assume we have a pipe diameter of 1 m. The lake water level is at 0.7 m. My step function returns: - 1 if the z value is below 0.7 m (water phase) - 0 if the z value is above 0.7 m (air phase) At the outlet i defined the relative static pressure as follows: Quote:
Quote:
Is there an error in my reasoning? Or what would be a good BC to solve this problem? Thanks and best regards blackbow |
|||
November 24, 2021, 16:50 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143 |
Conceptually your approach is correct but as you noticed, getting this sort of thing to be numerically stable is very hard. Specifying a BC with both phases and a complex pressure field is always going to be challenging.
Often the best way to treat these cases is to include the pipe exit in your model and put the boundary condition further up the pipe (rather than making the pipe exit the BC). You then put a BC up the pipe which is purely a single phase. So bend the pipe so you can make the boundary completely under water or completely above the water. Then the BC is far simpler and much easier to converge.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pressure outlet on star ccm+ : water heater tank | ensiame | STAR-CCM+ | 2 | September 12, 2022 07:15 |
interFoam, water flowing down a curved surface: is it correct? | be89 | OpenFOAM Running, Solving & CFD | 2 | April 21, 2017 13:22 |
Water accumulation at outlet | Henry Arrigo | FLUENT | 0 | January 4, 2015 09:15 |
Water vapour condensation in CFX-5.7.1 | hdj | CFX | 1 | November 27, 2005 07:15 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 09:11 |