|
[Sponsors] |
Questions about the inletOutlet and outletInlet boundary conditions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 9, 2017, 07:58 |
Pressure inlet Boundary condition in SIMPLE algorithm
|
#21 |
New Member
abbas
Join Date: Aug 2017
Posts: 2
Rep Power: 0 |
Hi everyone,
I simulate a transient and in-compressible flow inside a PEM fuel cell and I don't know, how to enforce the " PRESSURE INLET " boundary condition? my domain is a rectangular channel that fluid flows into the channel. my domain is like a lid driven cavity. my inlet pressure is known but my velocity inlet (u_in) is unknown. other boundary is wall. my domain have just one inlet boundary and 3 wall boundary. with no outlet boundary. fluid(fuel) comes into channel and it is consumed(we have a sink inside channel that consume the fuel that comes to channel).there isn't any outlet. I should set P_in=1 atm in inlet, but I heard that in SIMPLE we don't have absolute pressure. what should I do? Last edited by ABS_abbas; August 11, 2017 at 07:51. |
|
August 10, 2017, 02:45 |
|
#22 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
Pressure driven flows are problematic. If you simply set a pressure difference this stay forever and drives the flow more and more until the system explodes. In reality, there is a balance between pressure difference and pressure resistance at a special flow.
I would start with velocity driven flow, set the pressure at the outflow to zero and change the inlet velocity until the measured / calculated pressure there is in the near of your known value.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
August 10, 2017, 12:07 |
|
#23 |
Senior Member
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 11 |
I think I succeed in pressure driven flow. Check this boundary condition.
For p: Code:
[...] dimensions [0 2 -2 0 0 0 0]; internalField uniform 101320; boundaryField { inlet { type totalPressure; p0 uniform 101325; U U; phi phi; rho none; psi none; gamma 1; value uniform 101325; } outlet { type fixedValue; value uniform 101320; } wall { type zeroGradient; } defaultFaces { type empty; } } Code:
dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type pressureInletVelocity; value uniform (0 0 0); } outlet { type inletOutlet; inletValue uniform (0 0 0); value uniform (0 0 0); } wall { type fixedValue; value uniform (0 0 0); } defaultFaces { type empty; } } Have a nice day. Sheaker |
|
August 11, 2017, 07:47 |
inlet pressure boundary
|
#24 | |
New Member
abbas
Join Date: Aug 2017
Posts: 2
Rep Power: 0 |
Quote:
so I can't have an outlet boundary. I have to set pressure inlet in Inlet of domain. information of my simulation: transient, flow is in-compressible, using finite volume (SIMPLE algorithm), with Collocated grid. I heard that in in-compressible flow, I have to set the pressure of a point to zero as a reference pressure point. is it correct? |
||
March 2, 2021, 02:16 |
|
#25 |
New Member
Tushar Survase
Join Date: Nov 2020
Posts: 7
Rep Power: 6 |
I am replying to your first query, inletOutlet Boundary condition is employed when user is not sure of flow direction. In inletOutlet BC, two boundary conditions are used. 1.zero Gradient, if flow is going out of domain. 2. fixedValue Bc, if flow is reversing. To accomodate both. I will explain the use using following example:
U: outlet { type inletOutlet; inletValue uniform (-2 0 0); value (0 0 0); } So in the case, inletValue uniform (-2 0 0) is used for flow reversal phenomenon. While, if flow is going out, value 0 tells solver to use zeroGradient BC. For more information, I will share the link of tutorial: https://www.cfd.at/sites/default/fil...le%20Eight.pdf |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inletoutlet | rengu | OpenFOAM Running, Solving & CFD | 8 | December 25, 2015 16:44 |
Burgerbs equation non constant Boundary Conditions Initial Conditions | arkangel | OpenFOAM Running, Solving & CFD | 1 | October 2, 2008 15:48 |
questions in initial conditions and inlet boundary | nick | CFX | 2 | April 19, 2008 10:26 |
TwoPhaseEulerFoam and InletOutlet boundary condition | hemph | OpenFOAM Running, Solving & CFD | 10 | January 29, 2007 10:47 |
Integral boundary conditions turbulent intensitylength boundary conditions | olesen | OpenFOAM Running, Solving & CFD | 0 | July 27, 2006 08:18 |