Pressure inlet boundary conditions are used to define the fluid pressure at flow inlets, along with all other scalar properties of the flow. They are suitable for both incompressible and compressible flow calculations. Pressure inlet boundary conditions can be used when the inlet pressure is known but the flow rate and/or velocity is not known. This situation may arise in many practical situations, including buoyancy-driven flows . Pressure inlet boundary conditions can also be used to define a "free'' boundary in an external or unconfined flow.
For an overview of flow boundaries, see Section 7.3.1.
Inputs at Pressure Inlet Boundaries
You will enter the following information for a pressure inlet boundary:
All values are entered in the Pressure Inlet dialog box (Figure 7.3.1), which is opened from the Boundary Conditions task page (as described in Section 7.1.4). Note that open channel boundary condition inputs are described in Section 24.3.1.
Pressure Inputs and Hydrostatic Head
When gravitational acceleration is activated in the
Operating Conditions dialog box (accessed from the
Boundary Conditions task page), the pressure field (including all pressure inputs) will include the hydrostatic head. This is accomplished by redefining the pressure in terms of a modified pressure which includes the hydrostatic head (denoted
) as follows:
where is a constant reference density, is the gravity vector (also a constant), and
is the position vector. Noting that
it follows that
The substitution of this relation in the momentum equation gives pressure gradient and gravitational body force terms of the form
where is the fluid density. Therefore, if the fluid density is constant, we can set the reference density equal to the fluid density, thereby eliminating the body force term. If the fluid density is not constant (for example, density is given by the ideal gas law), then the reference density should be chosen to be representative of the average or mean density in the fluid domain, so that the body force term is small.
An important consequence of this treatment of the gravitational body force is that your inputs of pressure (now defined as ) should not include hydrostatic pressure differences. Moreover, reports of static and total pressure will not show any influence of the hydrostatic pressure. See Section 13.2.4 for additional information.
Defining Total Pressure and Temperature
Enter the value for total pressure in the Gauge Total Pressure field in the Pressure Inlet dialog box. Total temperature is set in the Thermal tab, in the Total Temperature field.
Remember that the total pressure value is the gauge pressure with respect to the operating pressure defined in the Operating Conditions dialog box. Total pressure for an incompressible fluid is defined as
and for a compressible fluid of constant as
|=||ratio of specific heats|
If you are modeling axisymmetric swirl, in Equation 7.3-17 will include the swirl component.
If the cell zone adjacent to a pressure inlet is defined as a moving reference frame zone, and you are using the pressure-based solver, the velocity in Equation 7.3-17 (or the Mach number in Equation 7.3-18) will be absolute or relative to the mesh velocity, depending on whether or not the Absolute velocity formulation is enabled in the General task page. For the density-based solver, the Absolute velocity formulation is always used; hence, the velocity in Equation 7.3-17 (or the Mach number in Equation 7.3-18) is always the Absolute velocity.
For the Eulerian multiphase model, the total temperature, and velocity components need to be specified for the individual phases. The Reference Frame ( Relative to Adjacent Cell Zone or Absolute) for each of the phases is the same as the reference frame selected for the mixture phase. Note that the total pressure values need to be specified in the mixture phase.
Defining the Flow Direction
The flow direction is defined as a unit vector ( ) which is aligned with the local velocity vector, . This can be expressed simply as
| For the inputs in
ANSYS FLUENT, the flow direction
need not be a unit vector, as it will be automatically normalized before it is applied.
| For a rotating reference frame, the relative flow direction
is defined in terms of the relative velocity,
You can define the flow direction at a pressure inlet explicitly, or you can define the flow to be normal to the boundary. If you choose to specify the direction vector, you can set either the (Cartesian) , , and components, or the (cylindrical) radial, tangential, and axial components.
For moving zone problems calculated using the pressure-based solver, the flow direction will be absolute or relative to the mesh velocity, depending on whether or not the Absolute velocity formulation is enabled in the General task page. For the density-based solver, the flow direction will always be in the absolute frame.
The procedure for defining the flow direction is as follows (refer to Figure 7.3.1):
For all of the above definitions of the cylindrical coordinate system, positive radial velocities point radially outward from the rotation axis, positive axial velocities are in the direction of the rotation axis vector, and positive tangential velocities are based on the right-hand rule using the positive rotation axis (see Figure 7.3.2).
Local Cylindrical Swirl should not be used for open channel boundary conditions and on the mixing plane boundaries while using the mixing plane model.
Figure 7.3.2 shows the vector components for these different coordinate systems.
Defining Static Pressure
The static pressure (termed the Supersonic/Initial Gauge Pressure) must be specified if the inlet flow is supersonic or if you plan to initialize the solution based on the pressure inlet boundary conditions. Solution initialization is discussed in Section 26.9.
Remember that the static pressure value you enter is relative to the operating pressure set in the Operating Conditions dialog box. Note the comments in Section 7.3.3 regarding hydrostatic pressure.
The Supersonic/Initial Gauge Pressure is ignored by ANSYS FLUENT whenever the flow is subsonic, in which case it is calculated from the specified stagnation quantities. If you choose to initialize the solution based on the pressure-inlet conditions, the Supersonic/Initial Gauge Pressure will be used in conjunction with the specified stagnation pressure to compute initial values according to the isentropic relations (for compressible flow) or Bernoulli's equation (for incompressible flow). Therefore, for a sub-sonic inlet it should generally be set based on a reasonable estimate of the inlet Mach number (for compressible flow) or inlet velocity (for incompressible flow).
Defining Turbulence Parameters
For turbulent calculations, there are several ways in which you can define the turbulence parameters. Instructions for deciding which method to use and determining appropriate values for these inputs are provided in Section 7.3.2. Turbulence modeling in general is described in Chapter 12.
Defining Radiation Parameters
If you are using the P-1 radiation model, the DTRM, the DO model, or the surface-to-surface model, you will set the Internal Emissivity and (optionally) External Black Body Temperature. See Section 13.3.6 for details. (The Rosseland radiation model does not require any boundary condition inputs.)
Defining Species Mass or Mole Fractions
If you are modeling species transport, you will set the species mass or mole fractions under Species Mole Fractions or Species Mass Fractions. For details, see Section 15.1.5.
Defining Non-Premixed Combustion Parameters
If you are using the non-premixed or partially premixed combustion model, you will set the Mean Mixture Fraction and Mixture Fraction Variance (and the Secondary Mean Mixture Fraction and Secondary Mixture Fraction Variance, if you are using two mixture fractions), as described in Section 16.8.
Defining Premixed Combustion Boundary Conditions
If you are using the premixed or partially premixed combustion model, you will set the Progress Variable, as described in Section 17.3.3.
Defining Discrete Phase Boundary Conditions
If you are modeling a discrete phase of particles, you can set the fate of particle trajectories at the pressure inlet. See Section 23.4 for details.
Defining Multiphase Boundary Conditions
If you are using the VOF, mixture, or Eulerian model for multiphase flow, you will need to specify volume fractions for secondary phases and (for some models) additional parameters. See Section 24.2.9 for details.
Defining Open Channel Boundary Conditions
If you are using the VOF model for multiphase flow and modeling open channel flows, you will need to specify the Free Surface Level, Bottom Level, and additional parameters. See Section 24.3.1 for details.
Default Settings at Pressure Inlet Boundaries
Default settings (in SI) for pressure inlet boundary conditions are as follows:
|Gauge Total Pressure||0|
|Supersonic/Initial Gauge Pressure||0|
|X-Component of Flow Direction||1|
|Y-Component of Flow Direction||0|
|Z-Component of Flow Direction||0|
|Turbulent Kinetic Energy||1|
|Turbulent Dissipation Rate||1|
Calculation Procedure at Pressure Inlet Boundaries
The treatment of pressure inlet boundary conditions by ANSYS FLUENT can be described as a loss-free transition from stagnation conditions to the inlet conditions. For incompressible flows, this is accomplished by application of the Bernoulli equation at the inlet boundary. In compressible flows, the equivalent isentropic flow relations for an ideal gas are used.
Incompressible Flow Calculations at Pressure Inlet Boundaries
When flow enters through a pressure inlet boundary, ANSYS FLUENT uses the boundary condition pressure you input as the total pressure of the fluid at the inlet plane, . In incompressible flow , the inlet total pressure and the static pressure, , are related to the inlet velocity via Bernoulli's equation:
With the resulting velocity magnitude and the flow direction vector you assigned at the inlet, the velocity components can be computed. The inlet mass flow rate and fluxes of momentum, energy, and species can then be computed as outlined in Section 7.3.4.
For incompressible flows, density at the inlet plane is either constant or calculated as a function of temperature and/or species mass/mole fractions, where the mass or mole fractions are the values you entered as an inlet condition.
If flow exits through a pressure inlet, the total pressure specified is used as the static pressure. For incompressible flows, total temperature is equal to static temperature.
Compressible Flow Calculations at Pressure Inlet Boundaries
In compressible flows , isentropic relations for an ideal gas are applied to relate total pressure, static pressure, and velocity at a pressure inlet boundary. Your input of total pressure, , at the inlet and the static pressure, , in the adjacent fluid cell are thus related as
= the speed of sound, and . Note that the operating pressure, , appears in Equation 7.3-22 because your boundary condition inputs are in terms of pressure relative to the operating pressure. Given and , Equations 7.3-22 and 7.3-23 are used to compute the velocity magnitude of the fluid at the inlet plane. Individual velocity components at the inlet are then derived using the direction vector components.
For compressible flow, the density at the inlet plane is defined by the ideal gas law in the form
For multi-species gas mixtures, the specific gas constant, , is computed from the species mass or mole fractions, that you defined as boundary conditions at the pressure inlet boundary. The static temperature at the inlet, , is computed from your input of total temperature, , as