CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Multiphase interFoam BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2017, 03:45
Default Multiphase interFoam BC
  #1
New Member
 
Enrico Bezzi
Join Date: Aug 2011
Posts: 9
Rep Power: 15
be89 is on a distinguished road
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
Attached Images
File Type: jpg sideView.jpg (30.1 KB, 52 views)
be89 is offline   Reply With Quote

Old   February 22, 2017, 06:00
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
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
  • U is fixed
  • p_rgh is a zeroGradient (or flux adjusted like fixedFluxPressure)
State Opened
  • U is zeroGradient
  • p_rgh is flux based


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
Tobi is offline   Reply With Quote

Reply

Tags
boundary coundition, interfoam, multiphase


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
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


All times are GMT -4. The time now is 18:38.