|
[Sponsors] |
InterFOAM, restrittive subcritical downstream system. How to set up BCs? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 4, 2023, 07:30 |
InterFOAM, restrittive subcritical downstream system. How to set up BCs?
|
#1 |
Member
Miguel Hernandez
Join Date: Feb 2021
Location: En mi casa
Posts: 56
Rep Power: 5 |
Hello to everyone,
In interFOAM simulations, the problems I find tricky are where there is higher tailwater than you get with zeroGradient. E.g. restrictive subcritical downstream system. In these kind of problems how do you set up the boundary conditions? e.g. How to set up a fixed water level at the outlet higher than what you get with zeroGradient? I searched in the forum and on the internet to find the right boundary conditions to use, without any success. Thanks... Miguel |
|
February 6, 2023, 05:21 |
The wrong question...
|
#2 | |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 |
Quote:
So you find yourself with 2 equations for 2 incognitas which can be exploited to enforce your specific energy at the outlet. There's one little problem: interFoam doesnt solve energy directly, so you must enforce energy at the boundaries via velocity or pressure. In steady (as in d Q / D t = 0) simulations, the simplest form is to set up the velocity that corresponds to the "kinetic energy" contribution in the specific energy equation at the outlet (pressure and alpha remain Neumann). By corollary, mass conservation will enforce the water depth indirectly. In transient (as in d Q / D t != 0) simulations, the total pressure (or specific energy times density) should be set along with alpha at the height that corresponds to the "potential energy" contribution to the specific energy IN WATER. The corrector step imposed at the outlet BC for velocity will adjust approximately to the pressure while enforcing mass conservation. |
||
February 6, 2023, 16:50 |
|
#3 |
Member
Miguel Hernandez
Join Date: Feb 2021
Location: En mi casa
Posts: 56
Rep Power: 5 |
Thank you Santiago, very interesting… i have to manage transient simulations… can you “translate “ your answer in a more practical way? Which boundary conditions would you use to recreate that? I mean, for alpha, p_rgh and U…
Thank you very much… |
|
February 7, 2023, 09:40 |
|
#4 |
Senior Member
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 200
Rep Power: 18 |
Hi Miguel,
I think this thread can be useful for you: Boundary Condtions for Open Channel Flow with interFoam Have a look at post #11 I hope it helps |
|
Tags |
bounadry condition, interfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set BCs when u know p bcs but didn't know u bcs | puppetbilly | OpenFOAM Running, Solving & CFD | 0 | April 6, 2022 01:46 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
how to set initial pressure in a closed system | ypbanjare | FLUENT | 1 | March 12, 2007 12:34 |
Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 05:27 |
level set for multi-fluids system? | Pei-Ying Hsieh | Main CFD Forum | 1 | July 19, 2000 17:42 |