|
[Sponsors] |
Multiple Phases inflow and outflow - Boundary Conditions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 23, 2019, 14:56 |
Multiple Phases inflow and outflow - Boundary Conditions
|
#1 |
New Member
Vitor Heitor Cardoso
Join Date: Jan 2019
Location: Rio de Janeiro
Posts: 10
Rep Power: 7 |
Hey guys,
I'm working on multiphase flow in porous media on microscale, using interFoam solver, and I need to validate the simulation with an experiment consisting on oil displacement in a microchannel. Thus, I prepared a 3D rectangle in gmsh and set it as filled with oil, in order to inject water. It seems like the simulations are not returning physical sense, as the oil phase is not leaving the domain. I kindly ask for the community help to evaluate which are the proper boundary conditions for the alpha.water, p_rgh and U dictionaries, as I am new to such matters. Here are the assumptions: Fully saturated channel; Water is injected; Oil leaves the channel as water moves into outlet. Incompressible flow. I appreciate any kind of help. Thanks in advance. Best regards, Vitor Code:
FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object alpha.oil; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField uniform 1; boundaryField { FrontAndBack { type empty; } Inlet { type fixedValue; //inletValue uniform 0; value uniform 1; } BottomWall { type zeroGradient; // ignoring surface tension effects } Outlet { type inletOutlet; inletValue uniform 0; value uniform 0; } TopWall { type zeroGradient; // ignoring surface tension effects } } Code:
FoamFile { version 2.0; format ascii; class volScalarField; object Code:
FoamFile { version 2.0; format binary; class volVectorField; location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { FrontAndBack { type empty; } Inlet { type pressureInletOutletVelocity; value uniform (0 0 0); } TopWall { type noSlip; } Outlet { type zeroGradient; } BottomWall { type noSlip; } } |
|
August 30, 2019, 02:55 |
|
#2 |
Member
Stefanie Wolf
Join Date: Nov 2018
Location: Aachen
Posts: 32
Rep Power: 8 |
Hello Vitor,
did you try a fixed velocity inlet and a pressure outlet? I think that those are quite easy BCs to begin with and have a 1st test run. Maybe a fixed value inlet BC will work for you. It is used in the nozzleFlow tutorial. (interFoam les) u_inlet { type fixedValue; value uniform (x y z); } u_outlet { type zeroGradient; } prgh_inlet { type zeroGradient; } prgh_outlet { type fixedValue; value uniform 0; } Maybe a massFlowRate inlet would also work? (as in the angledDuct tutorial?) Best, Stefanie |
|
December 21, 2020, 23:36 |
Boundary condition setting
|
#3 | |
New Member
|
Quote:
I am also having same problem, can you share the solution if you resolved your problem? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 11:00 |
Out File does not show Imbalance in % | Mmaragann | CFX | 5 | January 20, 2017 11:20 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 09:44 |
potentialFoam doesnt start?! | Sway | OpenFOAM Running, Solving & CFD | 0 | July 2, 2015 08:48 |