CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   fast penta diagonal solver (https://www.cfd-online.com/Forums/main/13997-fast-penta-diagonal-solver.html)

sudhakar August 22, 2007 13:20

fast penta diagonal solver
 
hi all,

It is obvious that when we discretise Navier-Stokes equations with central differencing scheme, the resulting matrix will be of penta-diagonal. There are number of special solvers to handle this like Stones algorithm and its variants, Krylov solver etc. Which has the fastest convergence rate among all these solver types from your experience?

thanks for your reply...

Harish August 22, 2007 15:38

Re: fast penta diagonal solver
 
I assume that you are talking about implicit algorithms.There are two ways to handle the penta diagonal solver.One is the direct inversion of the pentadiagonal system.The other possible way is to use the approximate factorization to split it into two tridiagonal systems which are much faster to invert than the pentadiagonal system.

ag August 22, 2007 15:42

Re: fast penta diagonal solver
 
Or you could use Gauss-Seidel or another iterative approach.

otd August 22, 2007 17:24

Re: fast penta diagonal solver
 
Also uncoupled and two space dimensions?

sudhakar August 23, 2007 00:23

Re: fast penta diagonal solver
 
hi otd, yes. I am dealing with uncoupled 2D flows only.. I know there are number of iterative schemes to solve penta diagonal matrix.. I need to know which of these has fastest convergence rate.. thanks

Arpiruk August 23, 2007 08:11

Re: fast penta diagonal solver
 
Do you mean, for a given precision e, which algorithm can solve the pentadiagonal fastest?

I think multigrid should be the fastest for this type of problem. ILU/GS will eventually stagnate when the low wave number component of residual is dominant. I've seen somewhere that multigrid+SIP(strongly implicit) is pretty good.

One question, is it positive definite? If so preconditioning CG should be very effective.

Tom August 23, 2007 08:18

Re: fast penta diagonal solver
 
Actually the best, and quickest, method of solving this is by considering the pentadiagonal system as a tridiagonal system whose entries are 2x2 matrices. The resulting block tridiagonal system can be solved using a variant of the standard tridiagonal solver.

sudhakar August 23, 2007 08:36

Re: fast penta diagonal solver
 
thank you friends.. I will look at CG and multi-gird methods.. If you get to know more details regarding this, kindly post a reply..

Neazen August 23, 2007 12:20

Re: fast penta diagonal solver
 
Before talking about improvements, you need to look for appropriate methods depending on the matrix properties. You can see in this link a very good introductory in this matter :

http://netlib2.cs.utk.edu/linalg/htm...Templates.html

When a method is working, no matter how long it takes, then you can look for preconditionners.


All times are GMT -4. The time now is 18:00.