Segregated Flow Solver
The segregated flow solver solves the integral conservation equations of mass and momentum in a sequential manner. The non-linear governing equations are solved iteratively one after the other for the solution variables such as .
The segregated solver employs a pressure-velocity coupling algorithm where the mass conservation constraint on the velocity field is fulfilled by solving a pressure-correction equation. The pressure-correction equation is constructed from the continuity equation and the momentum equations such that a predicted velocity field is sought that fulfills the continuity equation, which is achieved by correcting the pressure. This method is also called a predictor-corrector approach. Pressure as a variable is obtained from the pressure-correction equation.
- SIMPLE
- SIMPLEC
- PISO
The segregated solver has its roots in constant-density flows. Although it can handle mildly compressible flows and low Rayleigh number natural convection, it is not suitable for shock-capturing, high Mach number, and high Rayleigh number applications.
To a large extent, the methods that are presented are based on [224], [235], [236], [267], [268], and [276].
Discretization of the Momentum Equation
The convective and diffusive fluxes are discretized as described in Convective Flux and Diffusive Flux. The discretization of the pressure gradient requires special attention.
Face Pressure Evaluation
Pressure appears as pressure gradient in the momentum equations. In order to compute the pressure gradient term in Eqn. (922), the pressure must be evaluated at each face.
where and are the average of the momentum coefficients for all components of momentum for cells 0 and 1, respectively. and are interpolated from cell values and reconstruction gradients according to Eqn. (911).
When the delta-V dissipation expert property is turned on, a dissipation term is incorporated into the face pressure evaluation, as follows:
where and are also evaluated according to Eqn. (911).
At boundaries, the cell 1 contribution comes from a fictitious “ghost cell” in which the velocity has been reflected about the boundary face. Therefore Eqn. (923) becomes:
With delta-V dissipation on, Eqn. (924) becomes:
at a boundary.
Pressure-Correction Equation
The pressure-velocity coupling is achieved by re-writing the continuity equation in terms of a mass flux correction :
The uncorrected face mass flux is computed after the discrete momentum equations have been solved. The momentum equations are solved with a guessed pressure field , which does not satify continuity. The mass flow correction is required to satisfy continuity.
The uncorrected mass flux at an interior face can be written in terms of the cell variables as follows:
where and are the cell velocities after the discrete momentum equations have been solved. Linear interpolation of the velocities at the cell centers to the face results in unphysical checkerboarding of pressure. To prevent this checkerboarding, the Rhie-and-Chow dissipation is introduced:
where:
, | Cell volumes for cell 0 and cell 1 |
, | Average of the momentum coefficients for all components of momentum for cells 0 and 1 |
Pressure for cell 0 | |
Pressure for cell 1 | |
Volume-weighted average of the cell gradients of pressure, computed using a volume-based interpolation between the gradient values of the two cells |
In multiphase flows, due to presence of interaction between the phases, the momentum coefficients form a matrix. However, only the diagonal terms of the matrix are considered. These are represented by and in Eqn. (930).
- Rhie-Chow
- The Rhie-Chow momentum interpolation method disregards the off diagonal terms in Eqn. (930) which represent the interactions between the different phases through interaction forces. This is sufficient if no strong inter-phase coupling is expected.
- Phase Coupled
- The Phase Coupled momentum
interpolation approach ([472]) is an extension of the Rhie-Chow interpolation
method for multiphase flows. This approach accounts for the interfacial forces, by
solving the full matrix form of a for the dissipation coefficient computation,
obtained from: (931)
where is the vector of volume fractions including the volume fraction of each phase. This approach gives an improved convergence behavior in cases where the dispersed phase has very small length scales.
- Unsteady Dissipation Correction
-
For either coefficient , when unsteady dissipation corrections are enabled, the coefficients are modified based on an Acoustic CFL.
- Let Acoustic CFL be where is the speed of sound, is the simulation time-step, and is the local grid size.
- Let be the Limit Acoustic CFL value specified by the user.
Then:
- If , is used without modification.
- Otherwise, is replaced with , as follows:
where:
- and
and are the pressures values computed by linear reconstruction at two symmetric points with regard to the face-centroid, in the direction of face normal.
and
where:
- is the unit vector associated with area vector .
- is the position vector of the face centroid.
- is a scalar distance, where:
- If , then .
-
Otherwise, , where:
- (the projection of onto the face area normal)
- (the projection of onto the face area normal).
- Density Correction
-
For compressible flow, the density correction is introduced:
(932)where the subscript “fn” denotes the face-normal component.
(933)where and are the cell pressure corrections, and:
(934)where:
(935)Since you can choose to neglect the second-order term , these equations can be combined to define the mass flow correction as:
(936) - Discrete Pressure Correction Equation
-
The discrete pressure correction equation is obtained from Eqn. (927) and Eqn. (936) and is written in coefficient form as:
(937)The residual r is the net mass flow into the cell:
(938)
SIMPLE Algorithm
The SIMPLE algorithm is used to control the overall solution. This algorithm is summarized as follows:
- Set the boundary conditions.
- Compute the reconstruction gradients of velocity and pressure.
- Compute the velocity and pressure gradients.
- Solve the discretized momentum equation. This creates the intermediate velocity field .
- Compute the uncorrected mass fluxes at faces .
- Solve the pressure correction equation. This produces cell values for the pressure correction .
- Update the pressure field: (939)
where is the under-relaxation factor for pressure.
- Update the boundary pressure corrections .
- Correct the face mass fluxes: (940)
- Correct the cell velocities: (941)
where is the gradient of the pressure corrections, is the vector of central coefficients for the discretized velocity equation, and is the cell volume.
- Update density due to pressure changes.
- Free all temporary storage.
SIMPLE Consistent (SIMPLEC) Algorithm
SIMPLEC follows the same steps as summarized for the SIMPLE algorithm. It differs in the form of the equation for the pressure correction . In SIMPLE, the velocity correction equation at a cell is written in terms of pressure correction, neglecting velocity corrections at the neighbouring cells. Taking divergence of this equation and making use of continuity gives the equation.
In its velocity correction equation, SIMPLEC assumes that the velocity corrections in the neighboring cells are equal to those at the central cell. This results in a different equation for .
Another difference is that the pressure under-relaxation relating to time-step size and velocity under-relaxation is implicitly built into the equation, so that there is no explicit pressure under-relaxation as in Eqn. (939).
In SIMPLEC, Eqn. (941) becomes:
where are the velocity neighbor coefficients.
PISO Algorithm
The PISO algorithm is suited for transient cases where the convective Courant number is small.
Comparing PISO with SIMPLE:
- PISO is faster than SIMPLE at short time-steps, though both algorithms have the same level of temporal accuracy. [254]
- PISO becomes unstable at long time-steps, when the combined CFL rises much above 10, while SIMPLE remains stable.
- As time-step size increases, SIMPLE loses temporal accuracy of transient solutions. However SIMPLE can still obtain accurate steady state solutions, if they exist, by using large time-step size.
Therefore, use SIMPLE for cases where large time-step sizes can be used, such as in achieving steady state solution, but use PISO where the problem demands use of small time-step size and greater temporal accuracy.
The PISO algorithm shares many features with the SIMPLE algorithm. The algorithm is summarized as follows:
- Set the boundary conditions.
- Compute the reconstruction gradients of velocity and pressure.
- Compute the velocity and pressure gradients.
- Solve the discretized momentum equation. This action creates the intermediate velocity field .
- Compute the uncorrected mass fluxes at faces .
- Construct the pressure correction equation and test for convergence of the PISO algorithm. If PISO has converged, then set the last iteration flag to true.
- Solve the pressure correction equation. This action produces cell values for the pressure correction .
- Update the pressure field: (943)
where is the under-relaxation factor for pressure. If this iteration is the last, is equal to one.
- Update the boundary pressure corrections .
- Correct the face mass fluxes: (944)
- Correct the cell velocities: (945)
where is the gradient of the pressure corrections, is the vector of central coefficients for the discretized linear system representing the velocity equation, and is the cell volume.
- Update density due to pressure changes.
- Solve any PISO-coupled equations such as for Species or Energy.
- Recalculate density from the equation of state (except for the last corrector).
- If this iteration is the last, then go to step 18.
- Explicitly update the momentum equation with corrections due to the neighbor cells.
- Go to step 5 and continue until convergence is reached.
- Free all temporary storage.