Physics:SIMPLEC algorithm

From HandWiki
Short description: Numerical approximate solution to the Navier–Stokes equations

The SIMPLEC (Semi-Implicit Method for Pressure Linked Equations-Consistent) algorithm; a modified form of SIMPLE algorithm; is a commonly used numerical procedure in the field of computational fluid dynamics to solve the Navier–Stokes equations.

This algorithm was developed by Van Doormal and Raithby in 1984. The algorithm follows the same steps as the SIMPLE algorithm, with the variation that the momentum equations are manipulated, allowing the SIMPLEC velocity correction equations to omit terms that are less significant than those omitted in SIMPLE. This modification attempts to minimize the effects of dropping velocity neighbor correction terms.[1]

Algorithm

The steps involved are same as the SIMPLE algorithm and the algorithm is iterative in nature. p*, u*, v* are guessed Pressure, X-direction velocity and Y-direction velocity respectively, p', u', v' are the correction terms respectively and p, u, v are the correct fields respectively; Φ is the property for which we are solving and d terms are involved with the under relaxation factor. So, steps are as follows:

  1. Specify the boundary conditions and guess the initial values.
  2. Determine the velocity and pressure gradients.
  3. Calculate the pseudo velocities.
[math]\displaystyle{ \hat{u}_{i,J}=\frac{\sum a_{nb}u^*_{nb}+b_{i,J}}{a_{i,J}} }[/math]
[math]\displaystyle{ \hat{v}_{I,j}=\frac{\sum a_{nb}v^*_{nb}+b_{I,j}}{a_{I,j}} }[/math]
  1. Solve for the pressure equation and get the p.
[math]\displaystyle{ a_{I,J}p_{I,J} = a_{I-1,J}p_{I-1,J} + a_{I+1,J}p_{I+1,J} + a_{I,J-1}p_{I,J-1} + a_{I,J+1}p_{I,J+1} + b_{I,J} }[/math]
  1. Set p*=p.
  2. Using p* solve the discretized momentum equation and get u* and v*.
[math]\displaystyle{ a_{i,J} u^*_{i,J}=\sum a_{nb}u^*_{nb} + (p^*_{I-1,J} - p^*_{I,J})A_{i,J} + b_{i,J} }[/math]
[math]\displaystyle{ a_{I,j} v^*_{I,j}=\sum a_{nb}v^*_{nb} + (p^*_{I,J-1} - p^*_{I,J})A_{I,j} + b_{I,j} }[/math]
  1. Solve the pressure correction equation.
[math]\displaystyle{ a_{I,J}p'_{I,J} = a_{I-1,J}p'_{I-1,J} + a_{I+1,J}p'_{I+1,J} + a_{I,J-1}p'_{I,J-1} + a_{I,J+1}p'_{I,J+1} + b'_{I,J} }[/math]
  1. Get the pressure correction term and evaluate the corrected velocities and get p, u, v, Φ*.
[math]\displaystyle{ u_{i,J}=u^*_{i,J} + d_{i,J} (p'_{I-1,J} - p'_{I,J}) }[/math]
[math]\displaystyle{ v_{I,j}=v^*_{I,j} + d_{I,j}(p'_{I,J-1} - p'_{I,J}) }[/math]
  1. Solve all other discretized transport equations.
[math]\displaystyle{ a_{I,J}\phi_{I,J} = a_{I-1,J}\phi_{I-1,J} + a_{I+1,J}\phi_{I+1,J} + a_{I,J-1}\phi_{I,J-1} + a_{I,J+1}\phi_{I,J+1} + b^{\phi}_{I,J} }[/math]
  1. If Φ shows convergence, then STOP and if not, then set p*=p, u*=u, v*=v, Φ*=Φ and start the iteration again.
    [2][3]
Pseudo velocity equations in x and y dir.
Pressure equation
Discretized momentum equations
Pressure correction equation
Velocity Correction equations in X and Y dir.
Transport equations

Peculiar features

  • The discretized pressure correction equation is same as in the SIMPLE algorithm, except for the d terms which are used in momentum equations.
  • p=p*+p' which tells that the under relaxing factor is not there in SIMPLEC as it was in SIMPLE.
  • SIMPLEC algorithm is seen to converge 1.2-1.3 times faster than the SIMPLE algorithm
  • It doesn't solve extra equations like SIMPLER algorithm.
  • The cost per iteration is same as in the case of SIMPLE.
  • Like SIMPLE, a bad pressure field guess will destroy a good velocity field.[4]

See also

References

  1. "Variants of SIMPLE algorithm". https://engineering.purdue.edu/ME608/webpage/Variants%20of%20SIMPLE.pdf. Retrieved 11 November 2014. 
  2. Versteeg, H.K.; Malalasekera, W.. An introduction to Computational Fluid Dynamics- The finite volume method (1st edition, 1995 ed.). Longman Group Ltd.. pp. 149–151. 
  3. Patankar, S. V. (1980). Numerical Heat Transfer and Fluid Flow. Taylor & Francis. ISBN 978-0-89116-522-4. 
  4. "SIMPLE solver for driven cavity problem". https://engineering.purdue.edu/ME608/webpage/project-reports/SIMPLE-DrivenCavity.pdf.