websights

Fill out the form to download

Required field
Required field
Not a valid email address
Required field
Required field
  • Set up your own cloud-native simulation in minutes.

  • Documentation

    Pressure Inlet and Pressure Outlet

    Pressure inlet and outlet conditions are typically assigned in computational fluid dynamic analysis (CFD), at the opposite end of the model to a flow rate or a different pressure.

    Here are a couple of typical examples of combinations that are used:

    In those cases where we know the flow rate conditions, the recommended boundary condition combinations for the inlet and outlet region are the following:

    inlet and outlet flow rate boundary conditions combinations

    In those cases where we know the pressure conditions, the recommended boundary condition combinations for the inlet and outlet region are the following:

    inlet and outlet pressure boundary conditions combinations

    The pressure inlet boundary condition defines an inflow condition based on the known pressure value (P) at the boundary. It is used when no flow rate is known, or if a flow rate (or velocity) is assigned at the outlet.

    Important

    For compressible analyses, temperature properties are also required at the inlet.

    The turbulent flow quantities are matched with the values specified for the Initial Conditions and are thus not required as inputs.

    The pressure outlet boundary condition defines an outflow condition based on the flow pressure P at the outlet. This is usually used when there is a flow rate (or velocity), or a higher pressure assigned at the inlet.

    All relevant unknown flow quantities e.g. temperature in case of compressible flow, and other quantities including turbulence, are calculated from the interior of the domain with gradients of the quantities fixed to zero value.

    The pressure values at the inlet and the outlet can be assigned using the following types:

    1. Total pressure (inlet only)
    2. Fixed (inlet and outlet)
    3. Mean (outlet only)

    These three types are described in detail below:

    The total pressure expression, defined by velocity vector U and density ρ:

    (1)p=p00.5ρ |U|2

    Under certain conditions, the user might need to 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 p0 that must be specified. The velocity U and static pressure p are adjusted accordingly until they converge to a stable configuration.

    Additionally, the user can also input values in the form of a table by uploading a .csv file or entering the values manually. The following figure highlights the icon which serves this purpose.

    Pressure Inlet Boundary Condition
    Figure 1: Assigning an inlet pressure to a single surface.

    Correct dependencies should be chosen. In this case, the uploaded file contains values that are dependent on time only.

    Note

    When using pressure inlet of type total pressure, it is generally recommended to use pressure outlet boundary condition type.

    This prescribes the pressure value on a certain boundary of the domain. This value could be constant or dependent on time and/or space coordinates. Either static or gauge pressure can be used depending on the analysis type.

    Similar to the Total pressure input value, the Fixed value option also allows you to input a table. In this case, the uploaded file contains values that are dependent on time or space coordinates.

    This is only used at an outlet where it is not clear that flow passes over the boundary uniformly. The average pressure over the boundary would equal this assigned value. Unlike the fixed value, not every region on the boundary needs to have the same value.

    SimScale allows for the definition of turbulence at the velocity inlet. The user has three options to choose from.

    • Automatic
    • Turbulent intensity and mixing length
    • Fixed Value

    The values can either be fixed or driven by a formula or a table for space or time-dependent conditions.

    When automatic is assigned a fixed turbulence value of 5 is chosen for the turbulent intensity (I). The turbulent mixing length (L) is calculated as 0.07 (Dh), where  (Dh) is the hydraulic diameter of the boundary face.

     Default automatic Turbulence assignment
    Figure 2: Total pressure and Automatic turbulence is the default condition for pressure inlet boundary conditions.

    When the Turbulent intensity and mixing length option is selected, the user can specify the turbulent intensity (I) and the turbulent mixing length (L).

    turbulent intensity definition
    Figure 3: Specify the turbulent intensity and the mixing length for the inlet boundary condition.

    Fixed Value allows the user to directly specify the turbulent kinetic energy in [m2s2] and the specific dissipation rate [1s].

    Turbulence Fixed Value Definition
    Figure 4: Specify the turbulent kinetic energy as well as the specific dissipation rate.

    The modified pressure, also known as non-hydrostatic pressure, is used for the boundary condition definition in analysis types that take buoyancy effects into account. The formula below shows the correlation between the modified static pressure prgh and the static pressure p:

    (2)prgh=p ρgh

    In equation 2, ρ is the density of the fluid, g is gravity, and h is the height of the column of the fluid. Combined, the ρgh term represents the hydrostatic pressure.

    The following analysis types use modified pressures in the definition of boundary conditions:

    This feature allows applying a hydrostatic pressure profile at pressure inlet and outlet boundary conditions in Multi-purpose analysis type when gravity magnitude is non-zero. The following formula shows how hydrostatic pressure Ph(x) is calculated at each boundary:

    (3)Ph(x)=Pρ(x)g(xg|g|href)

    Where P is the static pressure, g is the the gravity vector, x is the position vector and href is the reference height where hydrostatic pressure is equal to the static pressure. Both x and href are with respect to the global coordinate system.

    In the user interface, after selecting the pressure inlet or pressure outlet boundary condition, you can enable hydrostatic pressure with a toggle. If activated, you must specify a reference height (href, default 0 m).

    Figure 5: Specify the reference height where the hydrostatic pressure profile will be equal to the static pressure.

    Note

    1. Only static pressure can be used when hydrostatic pressure is enabled. If total pressure is defined, a warning will indicate its incompatibility.

    2. For transient simulations, the pressure needs to be constant in time. If the pressure is defined as a time-dependent table, a warning will notify the incompatibility.

    Users can sweep through different pressure levels using SimScale’s parametric experiment capabilities. To learn more about this capability, make sure to check this article:

    Last updated: April 21st, 2025