|
[Sponsors] |
Appropriate pressure boundary condition in incompressible flow |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 15, 2020, 06:32 |
|
#21 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hey there,
why are you using freestream conditions. As far as I know, you should use this condition if you have e.g., an airfoil and you set the velocity far away from the location of the wing. The header files of the boundaries give you an idea for which purpose to use it or how it works: Code:
Description This boundary condition provides a free-stream condition for velocity. It is an inlet-outlet condition that uses the velocity orientation to continuously blend between fixed value for normal inlet and zero gradient for normal outlet flow. Usage \table Property | Description | Required | Default value freestreamValue | freestream velocity | yes | \endtable Example of the boundary condition specification: \verbatim <patchName> { type freestreamVelocity; freestreamValue uniform (300 0 0); } \endverbatim Note This condition is designed to operate with the freestreamPressure condition The totalPressure at an inlet + an fixedValue at the outlet does make sense for pressure based flows (here a gradient will force the flow). A totalPressure at the outlet will be a fixedValue if you do have only outflow. The condition does change only if you have inflow, hence the pressure of the face of your outlet patch that has an inflow will reduced by the kinematic pressure (1/2 rho U²). @Bodo, as you do have the inlet velocity, I would specify the outlets with a fixedValue for the pressure at the same value (e.g., 0) and an zeroGradient for the velocity or an inletOutlet for the velocity while setting the inletValue to (0 0 0) which will add artificial walls to the faces which will have an inflow for some reasons. Cheers, Tobi
__________________
Keep foaming, Tobias Holzmann |
|
June 6, 2022, 10:44 |
|
#22 |
Member
Mahmoud
Join Date: Nov 2020
Location: United Kingdom
Posts: 43
Rep Power: 6 |
Hi All,
I get confused on this matter as well. When we look at the SIMPLE algorithm, the pressure is found in a way that satisfies the continuity BC. So, it should not be priori. Now the question is that why do we actually set the pressure BC? Best Regards |
|
Tags |
incompressible flow, pressure bc, simplefoam not converged |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Time dependant pressure boundary condition | yosuke1984 | OpenFOAM Verification & Validation | 3 | May 6, 2015 07:16 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |
strange flow of pressure boundary adjacent periodic condition | oilsok | FLUENT | 2 | May 26, 2012 13:51 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |
External,incompressible flow boundary condition? | John | Main CFD Forum | 0 | October 1, 2003 01:00 |