21.4.2. Discretization of the Continuity Equation

Equation 21–42 may be integrated over the control volume in Figure 21.3: Control Volume Used to Illustrate Discretization of a Scalar Transport Equation to yield the following discrete equation

(21–47)

where is the mass flux through face , .

In order to proceed further, it is necessary to relate the face values of velocity, , to the stored values of velocity at the cell centers. Linear interpolation of cell-centered velocities to the face results in unphysical checkerboarding of pressure. ANSYS Fluent uses a procedure similar to that outlined by Rhie and Chow [405] to prevent checkerboarding. The face value of velocity is not averaged linearly; instead, momentum-weighted averaging, using weighting factors based on the coefficient from Equation 21–44, is performed. Using this procedure, the face flux,

, may be written as

(21–48)

where , and , are the pressures and normal velocities, respectively, within the two cells on either side of the face, and contains the influence of velocities in these cells (see Figure 21.3: Control Volume Used to Illustrate Discretization of a Scalar Transport Equation). The term is a function of , the average of the momentum equation coefficients for the cells on either side of face .

21.4.2.1. Density Interpolation Schemes

For incompressible flows, ANSYS Fluent uses arithmetic averaging for density. For compressible flow calculations (that is, calculations that use the ideal gas law for density), ANSYS Fluent applies upwind interpolation of density at cell faces. Several interpolation schemes are available for the density upwinding at cell faces: first-order upwind, second-order upwind (default), QUICK, MUSCL, and when applicable, central differencing and bounded central differencing.

The first-order upwind scheme (based on  [218]) sets the density at the cell face to be the upstream cell-center value. This scheme provides stability for the discretization of the pressure-correction equation, and gives good results for most classes of flows. Although this scheme provides the best stability for compressible flow calculations, it gives very diffusive representations of shocks.

The second-order upwind scheme provides stability for supersonic flows and captures shocks better than the first-order upwind scheme. The QUICK scheme for density is similar to the QUICK scheme used for other variables. See QUICK Scheme for details.


Important:  In the case of multiphase flows, the selected density scheme is applied to the compressible phase and arithmetic averaging is used for incompressible phases.



Important:  If solution instability is encountered for compressible flow, it is recommended that you achieve a solution with a first order scheme and then switch to a higher order schemes.


For recommendations on choosing an appropriate density interpolation scheme for your compressible flow, see Choosing the Density Interpolation Scheme in the User's Guide.


Release 18.2 - © ANSYS, Inc. All rights reserved.