CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Appropriate pressure boundary condition in incompressible flow

Register Blogs Community New Posts Updated Threads Search

Like Tree14Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 15, 2020, 05:32
Default
  #21
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
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
For incompressible flows - e.g., a pipe flow - you commonly set the inlet velocity and the pressure outlet to fixed values. However, this always depends on the data you have available.

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
Tobi is offline   Reply With Quote

Old   June 6, 2022, 09:44
Default
  #22
Member
 
Mahmoud
Join Date: Nov 2020
Location: United Kingdom
Posts: 43
Rep Power: 5
Mahmoud Abbaszadeh is on a distinguished road
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
Mahmoud Abbaszadeh is offline   Reply With Quote

Reply

Tags
incompressible flow, pressure bc, simplefoam not converged


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time dependant pressure boundary condition yosuke1984 OpenFOAM Verification & Validation 3 May 6, 2015 06:16
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
strange flow of pressure boundary adjacent periodic condition oilsok FLUENT 2 May 26, 2012 12:51
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
External,incompressible flow boundary condition? John Main CFD Forum 0 October 1, 2003 00:00


All times are GMT -4. The time now is 06:55.