Skip to main content

freestreamPressure

Description

The freestreamPressure is a generic boundary condition that provides a free-stream condition for pressure. It is an outlet-inlet condition that uses the velocity orientation to continuously blend between zero gradient for normal inlet and fixed value for normal outlet flow.

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type freestreamPressure;
freestreamValue <scalarField>;

// Optional entries
U <word>;

// Inherited entries;
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: freestreamPressurewordyes-
freestreamValuePatch valuescalarFieldyes-
UName of velocity fieldwordnoU

The inherited entries are elaborated in:

Further information

Tutorial:

Source code:

API:

History: Introduced in version 1.5