|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Haomin Yuan
Join Date: Jan 2012
Posts: 8
Rep Power: 2 ![]() |
Dear ALL Foamers:
I have a very simple problem but is very difficult for me. I am simulating a pressure driven compressible flow, ie, the inlet and outlet pressure are given, and velocity is calculated from the inlet and outlet conditions. but from the tutorial cases from compressible solver, velocity is given and pressure is calculated. Do any of you have any ideas about how to set the boundary condition for pressure driven flow, OR any solver is suitable for this problem? thank you in advance. |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 335
Rep Power: 8 ![]() |
I think velocity changes and pressure changes are related. So in solving for one, you are left with an unknown constant offset. That is why we need to fix a reference pressure when it is not set at a boundary condition, and I think the same is true for velocity. If the "inlet" and "outlet" are zero gradient for velocity, there is a continuum of possible flow solutions that give the same pressure distribution, even with no-slip conditions on the walls. In other words, your solution may "blow up" with the velocity ever increasing from inlet to outlet for no apparent reason.
/speculation
__________________
~~~ Follow me on twitter @DavidGaden |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Martin
Join Date: Feb 2012
Location: Germany
Posts: 13
Rep Power: 2 ![]() |
I had good results with the following settings for compressible, pressure driven flows:
Inlet p - TotalPressure U - pressureInletVelocity Outlet p - fixedValue (static pressure) U - pressureInletOutletVelocity I think, every compressible solver should be okay. I would start with rhoSimpleFoam for stationary flows and/or rhoPisoFoam for transient flows. |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
maddalena
Join Date: Mar 2009
Posts: 405
Rep Power: 8 ![]() |
Are these BCs ok for an incompressible solver as well?
mad |
|
|
|
|
|
|
|
|
#5 | |
|
New Member
Tim Beach
Join Date: Sep 2009
Posts: 1
Rep Power: 0 ![]() |
Quote:
Test case ----> New case Inlet p - zeroGradient ----> totalPressure where p0 = value from test case U - flowRateInletVelocity ----> pressureInletVelocity Outlet p - fixedValue ----> fixedValue (static pressure) U - inletOutlet ----> pressureInletOutletVelocit When I do this, the code bombs very quickly-2 iterations. I'm just starting to look at this more closely but I'm still clueless . The only thing I've tried beyond that is run slip walls on the duct, specify a small Pt, and turn off the turbulence model. I'm trying to make the simplest case possible to figure this out. Any tips would be appreciated. Thanks Tim |
||
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mass flow inlet and pressure outlet issue | nikhil | FLUENT | 3 | March 16, 2012 01:17 |
| Pressure driven flow | ChrisPro | OpenFOAM Pre-Processing | 0 | December 4, 2011 04:22 |
| total pressure boundary problem ==> flow from outlet to inlet!! | mrshb4 | OpenFOAM | 0 | November 20, 2010 12:41 |
| mass flow in is not equal to mass flow out | saii | CFX | 2 | September 18, 2009 08:07 |
| pressure driven flow by pressure correction method | justentered | Main CFD Forum | 0 | December 29, 2003 23:52 |