|
[Sponsors] |
InterFoam for open channel: High velocities in air phase |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 8, 2021, 11:10 |
InterFoam for open channel: High velocities in air phase
|
#1 |
New Member
Zürich
Join Date: Nov 2021
Posts: 5
Rep Power: 5 |
Hi everybody,
I am trying to simulate open channel flow using InterFoam solver and RAS k-epsilon for turbulence modelling. What I know is the flowRate at the inlet and the water level at the outlet. I have tried all kinds of different BC (including splitting the inlet and outlet to air and water) but I always get problems with high velocities in the air phase, which lead to a very small time step and eventually to floating point error. I therefore assume a problem with my initial or boundary conditions: Initial condition: constant water level at 443 m, zero velocity (0 0 0) everywhere Inlet BC: 1. U: variableHeightFlowRateInletVelocity 2. p_rgh: zeroGradient 3. alpha_water: variableHeightFlowRate Outlet BC: 1. U: zeroGradient 2. p_rgh: fixedValue uniform 0 3. alpha.water: zeroGradient Besides inlet and outlet, I defined two patches, for the atmosphere and the channel bottom with the following BC: Atmosphere: 1. U: zeroGradient 2. p_rgh: totalPressure 3. alpha.water: inletOutlet Channel bottom: 1. U: fixedValue uniform (0 0 0) 2. p_rgh: zeroGradient 3. alpha.water: zeroGradient I'm happy to provide you with more information (i.e. BC for k, epsilon and nut) and would be really grateful if I could get some advice on how to solve this problem. Thanks in advance! |
|
November 10, 2021, 02:14 |
|
#2 |
Member
David GISEN
Join Date: Jul 2009
Location: Germany
Posts: 70
Rep Power: 17 |
In my experience, two things are important to prevent such behavior:
Cheers, David |
|
November 13, 2021, 04:09 |
|
#3 | |
New Member
Zürich
Join Date: Nov 2021
Posts: 5
Rep Power: 5 |
Hi David,
Wow, that was very helpful. I did not realize I had to correct for deviation from z=0. Thanks a lot for pointing this out! Quote:
|
||
Tags |
boundary condition, high air velocity, interfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
High velocities near walls in a cross junction | PoSchwarz | OpenFOAM Running, Solving & CFD | 0 | June 14, 2021 14:13 |
interFoam high air phase velocities | indy07cz | OpenFOAM Running, Solving & CFD | 1 | November 8, 2017 06:00 |
Can people model 2 phase fluid flow (air water) in 6 mm tubing? | gaiatechnician | Main CFD Forum | 0 | August 25, 2015 15:20 |
air bubble is disappear increasing time using vof | xujjun | CFX | 9 | June 9, 2009 08:59 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |