CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Solvers for Sparse Matrices

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   October 29, 1999, 11:45
Default Solvers for Sparse Matrices
Morvan Dominique
Posts: n/a
I am in the search of linear solvers for sparse matrices preferably coded in FORTRAN. For 2D calculations the use of the Finite Volume method results in solving pentadiagonal systems which can be solved by an TDMA algorithm (TriDiagonal Matrix Algorithm). Then I hope of better performances by using a GMRES method (with a preconditioning)? Thank you in advance.

  Reply With Quote

Old   October 30, 1999, 17:49
Default Re: Solvers for Sparse Matrices
Huckleberry Finn
Posts: n/a
Check Numerical Recipes
  Reply With Quote

Old   November 1, 1999, 07:38
Default Re: Solvers for Sparse Matrices
Dr. Hrvoje Jasak
Posts: n/a
There is a book by Ferziger and Peric (Computational Methods for Fluid Dynamics), which deals with this (among others). The book also quotes a web-site with example codes you can get for free from the same authors (I guess you can find both in Frequently Asked Questions or similar).
  Reply With Quote

Old   November 2, 1999, 04:37
Default Re: Solvers for Sparse Matrices
Frank Bramkamp
Posts: n/a
Ths question was already asked a few days ago by someone else. So I can just repeat my answer again.

A good solver (in my opinion) is

including all kind of Krylov-subspave solvers (GMRES, BISTAB...) and Preconditioning (ILU(n)...)

It solves your equations etc.. also in parallel using MPI, if you want to do this.

A solver in Fortran is 'templates'

But I heard that in the GMRES routine there was a bug, though I don't know if it was the present version.

The PETSC software can be used in combination with C and Fortran.


  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
GPU Linear Solvers for OpenFOAM gocarts OpenFOAM Announcements from Other Sources 36 March 29, 2017 08:05
Reaction solvers megacrout OpenFOAM 5 July 8, 2011 10:54
Block matrices vs segregated solvers fisher OpenFOAM Running, Solving & CFD 9 June 13, 2010 04:15
network comms amg solvers bob Main CFD Forum 0 March 1, 2007 20:58
PHOENICS Solvers Hu Phoenics 0 June 28, 2002 07:37

All times are GMT -4. The time now is 14:21.