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

1 Inlet 2 Outlet BC setup problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 7, 2013, 18:36
Default 1 Inlet 2 Outlet BC setup problem
  #1
Member
 
Chris L
Join Date: Sep 2012
Posts: 53
Rep Power: 14
vbchris is on a distinguished road
Hi all,

I have been working on a software solution to the following problem and thought I may be headed down the wrong road. Any alternate solutions would be great insight.

I have a mesh with 1 inlet and 2 outlets.
Its a two phase problem (alpha/beta).
The solver is multiphase bubbleFoam (OF v2.0).

I have specified alpha phase fraction at the inlet as well as the velocities for both alpha and beta. I have specified the upper (relative to gravity) outlet as fixed value pressure = 0.

I would like to ensure a constant flux for alpha only at the lower outlet.

My current solution is to modify the solver to adjust the p boundary value for the lower outlet continuously to insure a alpha flux of 1/2 of the the inlets alpha flux.

Any ideas or thoughts would be greatly appreciated.
Thanks,
vbchris is offline   Reply With Quote

Old   March 8, 2013, 02:38
Default
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
Quote:
Originally Posted by vbchris View Post
Hi all,

I have been working on a software solution to the following problem and thought I may be headed down the wrong road. Any alternate solutions would be great insight.

I have a mesh with 1 inlet and 2 outlets.
Its a two phase problem (alpha/beta).
The solver is multiphase bubbleFoam (OF v2.0).

I have specified alpha phase fraction at the inlet as well as the velocities for both alpha and beta. I have specified the upper (relative to gravity) outlet as fixed value pressure = 0.

I would like to ensure a constant flux for alpha only at the lower outlet.

My current solution is to modify the solver to adjust the p boundary value for the lower outlet continuously to insure a alpha flux of 1/2 of the the inlets alpha flux.

Any ideas or thoughts would be greatly appreciated.
Thanks,
have you tried to specify a negative massflow inlet (also this requires you to set zero gradient for pressure at that outlet)

Code:
    outlet1
    {
        type                 flowRateInletVelocity;
        value                uniform ( 0 0 0 );
        flowRate           -1;
    }
niklas is offline   Reply With Quote

Reply


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
Outlet boundary setup for interFoam mittal OpenFOAM Running, Solving & CFD 2 July 14, 2010 09:59
Inlet but not outlet mireis FLUENT 1 June 10, 2010 11:56
steam flow in a pipe driven by a pressure gradient between inlet and outlet SalvoCalvo COMSOL 0 March 11, 2010 07:52
which B.C. i should apply for this problem? raivish CFX 0 January 6, 2006 09:47
problem of without inlet and outlet dwarika nath rath Phoenics 2 March 11, 2004 18:10


All times are GMT -4. The time now is 13:01.