CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   conjugate gradient method for linear equations (http://www.cfd-online.com/Forums/main/13054-conjugate-gradient-method-linear-equations.html)

brian February 27, 2007 11:31

conjugate gradient method for linear equations
 
Does any one know the ratio in conjugate gradient method for linear equations system? My error is the ratio is either NAN or too low (e-15). Then how do I adjust the syetem of eqations to get correct solution?

Alexey March 5, 2007 09:27

Re: conjugate gradient method for linear equations
 
I reccomend you to use Saad's package SPARSKIT

http://www-users.cs.umn.edu/~saad/so.../sparskit.html

I use conjugate gradient solver from it and it works well. Look. I think it will help you.

I wish good luck.


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