![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Mass flow boundary conditions can be used in ANSYS FLUENT to provide a prescribed mass flow rate or mass flux distribution at an inlet. As with a velocity inlet, specifying the mass flux permits the total pressure to vary in response to the interior solution. This is in contrast to the pressure inlet boundary condition (see Section 7.3.3), where the total pressure is fixed while the mass flux varies. However, unlike a velocity inlet, the mass flow inlet is equally applicable to incompressible and compressible flows.
A mass flow inlet is often used when it is more important to match a prescribed mass flow rate than to match the total pressure of the inflow stream. An example is the case of a small cooling jet that is bled into the main flow at a fixed mass flow rate, while the velocity of the main flow is governed primarily by a (different) pressure inlet/outlet boundary condition pair. A mass flow inlet boundary condition can also be used as an outflow by specifying the flow direction away from the solution domain.
Limitations and Special Considerations
For an overview of flow boundaries, see Section 7.3.1.
Inputs at Mass Flow Inlet Boundaries
Summary
You will enter the following information for a mass flow inlet boundary:
All values are entered in the Mass-Flow Inlet dialog box (Figure 7.3.4), 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.
Selecting the Reference Frame
You will have the option to specify the mass flow boundary conditions either in the absolute or relative reference frame, when the cell zone adjacent to the mass flow inlet is moving. For such a case, choose Absolute (the default) or Relative to Adjacent Cell Zone in the Reference Frame drop-down list. If the cell zone adjacent to the mass flow inlet is not moving, both formulations are equivalent.
Defining the Mass Flow Rate or Mass Flux
You can specify the mass flow rate through the inlet zone and have ANSYS FLUENT convert this value to mass flux, or specify the mass flux directly. For cases where the mass flux varies across the boundary, you can also specify an average mass flux; see below for more information about this specification method.
You can define the mass flux or mass flow rate using a profile or a user-defined function.
The inputs for mass flow rate or flux are as follows:
|
The hooked UDF or transient profile can only be used to provide time-varying specification of mass flow rate. Therefore, the transient solver must be used to run the simulation. Note that the variation of profile with position in space is not applicable with this hookup.
|
See this section in the separate UDF Manual for an example of a mass flow inlet UDF.
|
Note that for axisymmetric problems, this mass flow rate is the flow rate through the entire (
![]()
|
More About Mass Flux and Average Mass Flux
As noted above, you can specify an average mass flux with the mass flux. If, for example, you specify a mass flux profile such that the average mass flux integrated over the zone area is 4.7, but you actually want to have a total mass flux of 5, you can keep the profile unchanged, and specify an average mass flux of 5. ANSYS FLUENT will maintain the profile shape but adjust the values so that the resulting mass flux across the boundary is 5.
The mass flux with average mass flux specification method is also used by the mixing plane model described in Section 10.3.2. If the mass flow inlet boundary is going to represent one of the mixing planes, then you do not need to specify the mass flux or flow rate; you can keep the default Mass Flow Rate of 1. When you create the mixing plane later on in the problem setup, ANSYS FLUENT will automatically select the Mass Flux with Average Mass Flux method in the Mass-Flow Inlet dialog box and set the Average Mass Flux to the value obtained by integrating the mass flux profile for the upstream zone. This will ensure that mass is conserved between the upstream zone and the downstream (mass flow inlet) zone.
Defining the Total Temperature
Enter the value for the total (stagnation) temperature of the inflow stream in the Total Temperature field in the Thermal tab.
The total temperature is specified either in the absolute reference frame or relative to the adjacent cell zone, depending on your setting for the Reference Frame.
For the Eulerian multiphase model, the total temperature, and mass flux 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 you can only set the reference frame for the mixture, however, the total temperature can only be set for the individual phases.
|
|
|
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.
The Supersonic/Initial Gauge Pressure is ignored by ANSYS FLUENT whenever the flow is subsonic. If you choose to initialize the flow based on the mass flow inlet conditions, the Supersonic/Initial Gauge Pressure will be used in conjunction with the specified stagnation quantities to compute initial values according to isentropic relations.
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.
Defining the Flow Direction
You can define the flow direction at a mass flow inlet explicitly, or you can define the flow to be normal to the boundary.
The procedure for defining the flow direction is as follows, referring to Figure 7.3.4:
|
Local Cylindrical Swirl should not be used for open channel boundary
conditions and on the mixing plane boundaries, while using the mixing plane model.
|
|
Note that if you are modeling axisymmetric swirl, the flow direction will be normal to the boundary; i.e., there will be no swirl component at the boundary for axisymmetric swirl.
|
|
The mass flow boundary can also operate as an outflow using the
Direction Vector flow specification method if the flow components are pointing away from the boundary.
|
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 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 mass flow inlet. See Section 23.4 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 Mass Flow Inlet Boundaries
Default settings (in SI) for mass flow inlet boundary conditions are as follows:
Mass Flow-Rate | 1 |
Total Temperature | 300 |
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 Mass Flow Inlet Boundaries
When mass flow boundary conditions are used for an inlet zone, a velocity is computed for each face in that zone, and this velocity is used to compute the fluxes of all relevant solution variables into the domain. With each iteration, the computed velocity is adjusted so that the correct mass flow value is maintained.
To compute this velocity, your inputs for mass flow rate, flow direction, static pressure, and total temperature are used.
There are two ways to specify the mass flow rate. The first is to specify the total mass flow rate,
, for the inlet. The second is to specify the mass flux,
(mass flow rate per unit area). If a total mass flow rate is specified,
ANSYS FLUENT converts it internally to a uniform mass flux by dividing the mass flow rate by the total inlet area:
If the direct mass flux specification option is used, the mass flux can be varied over the boundary by using profile files or user-defined functions. If the average mass flux is also specified (either explicitly by you or automatically by ANSYS FLUENT), it is used to correct the specified mass flux profile, as described earlier in this section.
Once the value of
at a given face has been determined, the density,
, at the face must be determined in order to find the normal velocity,
. The manner in which the density is obtained depends upon whether the fluid is modeled as an ideal gas or not. Each of these cases is examined below.
Flow Calculations at Mass Flow Boundaries for Ideal Gases
If the fluid is an ideal gas, the static temperature and static pressure are required to compute the density:
If the inlet is supersonic, the static pressure used is the value that has been set as a boundary condition. If the inlet is subsonic, the static pressure is extrapolated from the cells inside the inlet face.
The static temperature at the inlet is computed from the total enthalpy, which is determined from the total temperature that has been set as a boundary condition. The total enthalpy is given by
where the velocity magnitude is related to the mass flow rate given by Equation 7.3-27 and the known user-specified flow direction vector. Using Equation 7.3-28 to relate density to the (known) static pressure and (unknown) temperature, Equation 7.3-29 can be solved to obtain the static temperature.
When the mass flow is used as an outflow with the profile preserving feature, a scaling factor of the specified mass flow rate over the computed mass flow rate at the boundary is used to scale the normal face velocities at the boundary. The other velocity components will be extrapolated from the interior. Flow variables such as pressure, temperature, species, or other scalar quantities will be also extrapolated from adjacent cell centers.
Flow Calculations at Mass Flow Boundaries for Incompressible Flows
When you are modeling incompressible flows, the static temperature is equal to the total temperature. The density at the inlet is either constant or readily computed as a function of the temperature and (optionally) the species mass or mole fractions. The velocity is then computed using Equation 7.3-27.
Flux Calculations at Mass Flow Boundaries
To compute the fluxes of all variables at the inlet, the flux velocity,
, is used along with the inlet value of the variable in question. For example, the flux of mass is
, and the flux of turbulence kinetic energy is
. These fluxes are used as boundary conditions for the corresponding conservation equations during the course of the solution.