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 u,v,w,p.

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.

Simcenter STAR-CCM+ implements the following pressure-velocity coupling algorithms:
  • 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 momentum equations are discretized in a similar way to the scalar transport equation as described in Generic Transport Equation by setting ϕ=u,v,w:
Figure 1. EQUATION_DISPLAY
t(ρvV)0+f[ρvva]f=-f(pIa)f+fTa
(922)

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.

Figure 2. EQUATION_DISPLAY
pf=a0¯pf0+a1¯pf1a0¯+a1¯
(923)

where a 0 ¯ and a 1 ¯ are the average of the momentum coefficients for all components of momentum for cells 0 and 1, respectively. p f 0 and p f 1 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:

Figure 3. EQUATION_DISPLAY
pf=a0¯pf0+a1¯pf1a0¯+a1¯+2a0¯a1¯a0¯+a1¯(vf0vf1)a4(aa)
(924)

where vf0 and vf1 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:

Figure 4. EQUATION_DISPLAY
pf=pf0
(925)

With delta-V dissipation on, Eqn. (924) becomes:

Figure 5. EQUATION_DISPLAY
pf=pf0+a0¯vf0a2(aa)
(926)

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 m˙f:

Figure 6. EQUATION_DISPLAY
fm˙f=f(m˙f*+m˙f)=0
(927)

The uncorrected face mass flux m˙f* is computed after the discrete momentum equations have been solved. The momentum equations are solved with a guessed pressure field p*, which does not satify continuity. The mass flow correction m˙f is required to satisfy continuity.

The uncorrected mass flux at an interior face can be written in terms of the cell variables as follows:

Figure 7. EQUATION_DISPLAY
m˙f*=ρfa(v0*+v1*2)-ϒf
(928)

where v0* and v1* 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ϒf is introduced:

Figure 8. EQUATION_DISPLAY
ϒf=Qf(p1-p0-pf*¯ds)
(929)

where:

Figure 9. EQUATION_DISPLAY
Qf=ρf(V0+V1a¯0+a¯1)αa
(930)
where:
V 0 , V 1 Cell volumes for cell 0 and cell 1
a ¯ 0 , a ¯ 1 Average of the momentum coefficients for all components of momentum for cells 0 and 1
p 0 Pressure for cell 0
p 1 Pressure for cell 1
p f * ¯ 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 a ¯ 0 and a ¯ 1 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:
Figure 10. EQUATION_DISPLAY
Q f = ρ f | V × ( a 1 ¯ α ¯ ) | a v g a
(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 a ¯ = a ¯ 0 or a ¯ 1 , when unsteady dissipation corrections are enabled, the coefficients a ¯ are modified based on an Acoustic CFL.

  • Let Acoustic CFL be CFLa=cΔtΔx where c is the speed of sound, Δt is the simulation time-step, and Δx is the local grid size.
  • Let limCFL be the Limit Acoustic CFL value specified by the user.

Then:

  • If CFL>limCFL, a¯ is used without modification.
  • Otherwise, a¯ is replaced with a¯, as follows:

    a¯=a¯u(1+CFLra¯unsmax(a¯u,1×1020))

    where:

    • a¯u=a¯a¯uns and
a¯uns=32ρVolΔt
    • CFLr=min(1.0,CFLlimCFL)

pL and pR are the pressures values computed by linear reconstruction at two symmetric points (xL,xR) with regard to the face-centroid, in the direction of face normal.

xL=xf-dsn and xR=xf+dsn

where:

  • n is the unit vector associated with area vector af.
  • xf is the position vector of the face centroid.
  • ds is a scalar distance, where:
    • If max(V1V0,V0V1)>10, then ds=0.5|α|.
    • Otherwise, ds=min(ds0,ds1), where:

      • ds0=dx0n (the projection of dx0=xf-x0 onto the face area normal)
      • ds1=dx1n (the projection of dx1=xf-x1 onto the face area normal).
Density Correction

For compressible flow, the density correction ρ′ is introduced:

Figure 11. EQUATION_DISPLAY
m˙f=(ρ+ρ′)f(vfn*+v'fn)|a|=(ρfvfn*+ρ′fvfn*+ρfv′fn+ρ'fv′fn)|a|
(932)

where the subscript “fn” denotes the face-normal component.

Figure 12. EQUATION_DISPLAY
ρfv'fn|a|-Qf(p1-p0)
(933)

where p1 and p0 are the cell pressure corrections, and:

Figure 13. EQUATION_DISPLAY
ρ′fvfn*|a|=m˙f*ρf(ρp)Tp′upwind
(934)

where:

Figure 14. EQUATION_DISPLAY
p′upwind={p0    for m˙f*>0p1    for m˙f*<0
(935)

Since you can choose to neglect the second-order term ρ'fvfn', these equations can be combined to define the mass flow correction as:

Figure 15. EQUATION_DISPLAY
m˙f=Qf(p0-p1)+m˙f*ρf(ρp)Tp′upwind
(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:

Figure 16. EQUATION_DISPLAY
pp+nanpn=r
(937)

The residual r is the net mass flow into the cell:

Figure 17. EQUATION_DISPLAY
r=-nm˙f*
(938)

SIMPLE Algorithm

The SIMPLE algorithm is used to control the overall solution. This algorithm is summarized as follows:

  1. Set the boundary conditions.
  2. Compute the reconstruction gradients of velocity and pressure.
  3. Compute the velocity and pressure gradients.
  4. Solve the discretized momentum equation. This creates the intermediate velocity field v * .
  5. Compute the uncorrected mass fluxes at faces m˙f* .
  6. Solve the pressure correction equation. This produces cell values for the pressure correction p′ .
  7. Update the pressure field:
    Figure 18. EQUATION_DISPLAY
    p n + 1 = p n + ω p '
    (939)

    where ω is the under-relaxation factor for pressure.

  8. Update the boundary pressure corrections p b .
  9. Correct the face mass fluxes:
    Figure 19. EQUATION_DISPLAY
    m˙fn+1=m˙f*+m˙f
    (940)
  10. Correct the cell velocities:
    Figure 20. EQUATION_DISPLAY
    v p n + 1 = v p * - V p′ a p v
    (941)

    where p ' is the gradient of the pressure corrections, a p v is the vector of central coefficients for the discretized velocity equation, and V is the cell volume.

  11. Update density due to pressure changes.
  12. 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 p . 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 p 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 p .

Another difference is that the pressure under-relaxation relating to time-step size and velocity under-relaxation is implicitly built into the p equation, so that there is no explicit pressure under-relaxation as in Eqn. (939).

In SIMPLEC, Eqn. (941) becomes:

Figure 21. EQUATION_DISPLAY
v p n + 1 = v p * V p a p v n a n v
(942)

where a n v 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:

  1. Set the boundary conditions.
  2. Compute the reconstruction gradients of velocity and pressure.
  3. Compute the velocity and pressure gradients.
  4. Solve the discretized momentum equation. This action creates the intermediate velocity field v * .
  5. Compute the uncorrected mass fluxes at faces m˙f* .
  6. 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.
  7. Solve the pressure correction equation. This action produces cell values for the pressure correction p .
  8. Update the pressure field:
    Figure 22. EQUATION_DISPLAY
    p n + 1 = p n + ω p
    (943)

    where ω is the under-relaxation factor for pressure. If this iteration is the last, ω is equal to one.

  9. Update the boundary pressure corrections p b .
  10. Correct the face mass fluxes:
    Figure 23. EQUATION_DISPLAY
    m˙fn+1=m˙f*+m˙f
    (944)
  11. Correct the cell velocities:
    Figure 24. EQUATION_DISPLAY
    vpn+1=vp*Vωpapv
    (945)

    where p is the gradient of the pressure corrections, a p v is the vector of central coefficients for the discretized linear system representing the velocity equation, and V is the cell volume.

  12. Update density due to pressure changes.
  13. Solve any PISO-coupled equations such as for Species or Energy.
  14. Recalculate density from the equation of state (except for the last corrector).
  15. If this iteration is the last, then go to step 18.
  16. Explicitly update the momentum equation with corrections due to the neighbor cells.
  17. Go to step 5 and continue until convergence is reached.
  18. Free all temporary storage.