CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   1 Inlet 2 Outlet BC setup problem (https://www.cfd-online.com/Forums/openfoam/114263-1-inlet-2-outlet-bc-setup-problem.html)

vbchris March 7, 2013 17:36

1 Inlet 2 Outlet BC setup problem
 
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,

niklas March 8, 2013 01:38

Quote:

Originally Posted by vbchris (Post 412407)
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;
    }



All times are GMT -4. The time now is 06:57.