Docs

Pressure Inlet boundary condition

The pressure inlet boundary condition defines an inflow condition based on the known pressure value, \(p\) at the boundary. It calculates inlet velocity value from the flux at the boundary.

For Incompressible flows the temperature properties are not required, while for Compressible flows the temperature at the inlet must also be defined. The relevant turbulent flow quantity values are taken same as the initial field values.

Input methods:

The flow inlet pressure can be defined by the following types:

  1. Total pressure: fixed or table.

The type is further given in detail below.

Total pressure value type

The total pressure value type is the most common method to specify the pressure at the inlet boundary.

Total pressure expression, defined by velocity \(\vec{U}\) and density \(\rho\):

\[p = p_0 - 0.5 \rho |\vec{U}|^2\]

(The user could specify a parameter \(\gamma\) which is used in transonic and supersonic cases).

The pressure \(p\) is calculated at the boundary based on the fixed Total pressure, \(p_0\), that must be specified. Since the velocity is calculated, so as velocity changes, pressure \(p\) is adjusted accordingly untill it reaches a converged value.

Important

When using Pressure Inlet of type Total pressure, it is generally recommended to use Pressure Outlet boundary condition type.

Fixed value

The fixed value boundary condition type prescribes the value of a field on a certain boundary of the domain. This value could be constant or dependent on time and/or space coordinates. Typical example cases are:

  • Inlets of pipes or other wall bounded flows.

Table

Alternatively, it is possible to set boundary values by uploading a CSV file. For this purpose, the user should choose File Upload as the Input Type. Correct dependencies should be chosen. In this case, the uploaded file contains values that are dependent on Time only.

Total pressure boundary condition defined using a CSV file for OPENFOAM® simulations