|
[Sponsors] |
February 22, 2017, 03:45 |
Multiphase interFoam BC
|
#1 |
New Member
Enrico Bezzi
Join Date: Aug 2011
Posts: 9
Rep Power: 15 |
Hello,
I'm trying to set up BCs for the case shown in the image 'sideView'. The case is 2D: water comes from a duct helped by a suction of air (-0.3 bar) and initially fills a tank (outlet initially closed, treated as a wall) till the water reaches a level above the outlet pipe. Then, the outlet opens and water goes out (while still coming from the inlet). How should I set BCs for p_rgh and U? Thank you |
|
February 22, 2017, 06:00 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
So I think the BC for your inlet and outlet (air) are obvious. The boundary condition for the outlet (water / right bottom) which is depending on other stuff could be set (and have to be set) dynamically. Therefore you have two options. groovyBC (you can use states there - never tried but Bernhard had a talk about his new powerful feature) or you do it with codedMixedBoundary condition. It depend what you want and so on. In order to make it work the system should be:
State Closed
My opinion. I am not an expert so it might be different to. Any other suggestion is welcomed. Wanna lern too. Even if there are other options to do it.
__________________
Keep foaming, Tobias Holzmann |
|
Tags |
boundary coundition, interfoam, multiphase |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiphase explicitsolve function in interFoam | abdo1984 | OpenFOAM Programming & Development | 0 | September 4, 2016 12:26 |
multiphase explicitsolve function in interFoam | abdo1984 | OpenFOAM Running, Solving & CFD | 0 | September 4, 2016 06:45 |
k-e & GAMG interFoam Schemitisation Stability Issue | JFM | OpenFOAM Running, Solving & CFD | 3 | December 1, 2015 06:58 |
interFoam (and other multiphase solvers): What is solved? | mconroy | OpenFOAM Running, Solving & CFD | 3 | February 23, 2010 17:07 |
InterFoam wall boundary multiphase | RBJ | OpenFOAM Bugs | 2 | December 3, 2009 06:00 |