|
[Sponsors] |
November 15, 2017, 09:10 |
Single inlet geometry
|
#1 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 17 |
I am working on a single inlet/outlet geometry using the twoLiquidMixingFoam solver (for simulating gas but as a first step, I assume compressible effects are negligible).
A stratification exists within the geometry and then some inflow comes and disturbs the stratification. I am encountering some issues with the case so I would like to "simplify" it to rule out the potential culprits. First thing I would like to do is to delete the outlet. So my geometry would simply consist of the mixture inside the geometry and then an incoming flow from the inlet. The boundary conditions are therefore set the following way with the intent to make the "outlet" patch behave like a wall (since for now I want to remove the outlet) : U file Code:
boundaryField { frontAndBack { type empty; } walls { type noSlip; } inlet { type flowRateInletVelocity; massFlowRate constant 0.01 rhoInlet 1.184; // 1.184 density of air } outlet { type noSlip; } } Code:
boundaryField { frontAndBack { type empty; } outlet { type zeroGradient; } inlet { type zeroGradient; } walls { type zeroGradient; } } Code:
boundaryField { frontAndBack { type empty; } walls { type zeroGradient; } inlet { type fixedValue; value uniform 0; } outlet { type zeroGradient; } } Code:
Continuity error cannot be removed by adjusting the outflow. Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow. Total flux : 0.000645087 Specified mass inflow : 0.0128378 Specified mass outflow : 0 Adjustable mass outflow : 0 |
|
November 15, 2017, 11:34 |
|
#2 |
Senior Member
|
Hi Gearb0x,
I am not familiar with your solver and with multiphase flow but I think you cannot have boundary conditions as such. If you have an inlet you must have an outlet, otherwise you are trying to compress the fluid... Perhaps you could get away with using an outletInlet boundary, but I haven't tried. See this for more info: https://www.openfoam.com/documentati...conditions.php -Louis |
|
November 15, 2017, 11:55 |
|
#3 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 17 |
Yes indeed pressure would increase in my case. But I did not think this would be an issue.
|
|
November 15, 2017, 12:11 |
|
#4 |
Senior Member
|
I think more than the pressure the issue comes from the mass coming in... You have flow in, so mass, and nothing coming out, so density must increase, but the flow is incompressible.. Correct me if I'm wrong!
|
|
November 15, 2017, 12:32 |
|
#5 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 17 |
Indeed, that must be the issue!
|
|
November 16, 2017, 17:23 |
|
#6 |
Member
Jaydeep
Join Date: Jun 2015
Posts: 34
Rep Power: 11 |
You could try mixed boundary that adjusts inflow based on pressure?
something of the nature pressureInletOutletVelocity? |
|
January 13, 2020, 17:18 |
|
#7 |
Senior Member
Join Date: Jul 2019
Posts: 148
Rep Power: 7 |
Hi,
I am using twoLiquidMixingFoam with one inlet and two outlets. I get some vortices at the outlet when the mixed phase reaches there. Here is a description of my problem I would appreciate your assistance. Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiple fluid domain over single geometry | mandeep1 | FLUENT | 0 | March 1, 2015 15:11 |
F-16 inlet geometry | Imran | Main CFD Forum | 2 | May 16, 2007 09:42 |
outlet = inlet in a periodic geometry | Stephane bone | Siemens | 3 | January 20, 2005 04:26 |
Using two UDFs in a single geometry | Salman | FLUENT | 3 | November 21, 2002 14:08 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |