Specifying phase on both sides of a Boundary Condition?
1 Attachment(s)
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 |
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 |
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 |
Hi Markus,
I have got it working properly now. Thanks for your help. R |
All times are GMT -4. The time now is 19:48. |