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:

    Flow Driven Analyses

    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

    Pressure Driven Analyses

    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

    Pressure Inlet

    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.

    Pressure Outlet

    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.

    Pressure Inlet and Outlet Input Methods

    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:

    1. Total Pressure

    The total pressure expression, defined by velocity vector U and density \(\rho\):

    $$ p =p_0 – 0.5 \rho\ |\vec{U}|^2 \tag{1}$$

    Under certain conditions, the user might need to specify a parameter Gamma \((\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. 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.

    2. Fixed Value

    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.

    3. Mean Value

    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.

    Turbulence

    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.

    1. Automatic

    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 \((D_{h})\), where  \((D_{h})\) 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.

    2. Turbulent Intensity and Mixing Length

    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.

    3. Turbulence Fixed Value

    Fixed Value allows the user to directly specify the turbulent kinetic energy in \([\frac{m^2}{s^2}]\) and the specific dissipation rate \([\frac{1}{s}]\).

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

    Modified Pressure

    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 \(p_{rgh}\) and the static pressure \(p\):

    $$ p_{rgh} = p\ – \rho g h \tag{2} $$

    In equation 2, \(\rho\) is the density of the fluid, \(g\) is gravity, and \(h\) is the height of the column of the fluid. Combined, the \(\rho g h\) term represents the hydrostatic pressure.

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

    Parametric Studies with Pressure Conditions

    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: September 15th, 2023

    Contents