|
[Sponsors] |
Specifying phase on both sides of a Boundary Condition? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 9, 2009, 19:21 |
Specifying phase on both sides of a Boundary Condition?
|
#1 |
Member
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17 |
Hi Folks,
I am running a simple two phase problem using interFoam (see attached, much simplified, diagram). Phase 0 is water and Phase 1 is air, and on the left side I have placed an inletOutlet BC to allow movement of fluid in and out of the model. However, on the 'external' side of the BC, Foam seems to default to Phase 1, and under certain circumstances, the model draws air in through the BC. I really need the default external phase to be Phase 0, i.e. water, but I am unsure how to set this up? Where in the various dictionaries can I control what phase lies on the external side of the inletOutlet BC? Can this be done? Any help would be greatly appreciated, Many thanks, R |
|
November 10, 2009, 04:32 |
|
#2 |
New Member
Markus
Join Date: Sep 2009
Posts: 11
Rep Power: 17 |
Hi!
In 0/alpha1.orig set the BC for the approriate patch to "type fixedValue;" and set "value 0;" Be sure to copy 0/alpha1.orig to 0/alpha1 before starting the solver 'cause 0/alpha1 will be overwritten. Regards Markus |
|
November 10, 2009, 21:29 |
|
#3 | |||
Member
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17 |
Quote:
Hi Markus, Thanks for taking the time to reply. I have tried your suggestion, but my model is still drawing air in through the boundary condition. My 0/alpha1 file now looks like this: Quote:
Quote:
Is there anything else that I need to alter to make this happen? Cheers, R |
||||
November 11, 2009, 01:41 |
|
#4 |
Member
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17 |
Hi Markus,
I have got it working properly now. Thanks for your help. R |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
inlet velocity boundary condition | murali | CFX | 5 | August 3, 2012 09:56 |
How to create a new boundary condition ? | awacs | OpenFOAM Programming & Development | 5 | May 30, 2009 04:00 |
Calculated gradient boundary condition similar to gammaContactAngle | adona058 | OpenFOAM Running, Solving & CFD | 0 | September 26, 2007 16:23 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |
Pressure Boundary Condition | Matt Umbel | Main CFD Forum | 0 | January 11, 2002 11:06 |