CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Solvers for Sparse Matrices

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 1999, 11:45
Default Solvers for Sparse Matrices
  #1
Morvan Dominique
Guest
 
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
  #2
Huckleberry Finn
Guest
 
Posts: n/a
Check Numerical Recipes
  Reply With Quote

Old   November 1, 1999, 06:38
Default Re: Solvers for Sparse Matrices
  #3
Dr. Hrvoje Jasak
Guest
 
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, 03:37
Default Re: Solvers for Sparse Matrices
  #4
Frank Bramkamp
Guest
 
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

http://www-fp.mcs.anl.gov/petsc/

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' http://www.netlib.org/linalg/html_te...Templates.html

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.

Frank

  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 37 August 17, 2022 14:22
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 19:58
PHOENICS Solvers Hu Phoenics 0 June 28, 2002 07:37


All times are GMT -4. The time now is 17:16.