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

conjugate gradient method for linear equations

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 27, 2007, 11:31
Default conjugate gradient method for linear equations
  #1
brian
Guest
 
Posts: n/a
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?
  Reply With Quote

Old   March 5, 2007, 09:27
Default Re: conjugate gradient method for linear equations
  #2
Alexey
Guest
 
Posts: n/a
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.
  Reply With Quote

Reply

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
Least square method to computer gradient cpplabs OpenFOAM 1 February 21, 2008 08:47
Conjugate Gradient Method P.kalyanakumar CD-adapco 1 August 1, 2005 07:36
A Second-Order Projection Method for Incompressibl Ivan Main CFD Forum 5 April 29, 2001 07:27
Laplace or Stokes equations solver by Boundary Elements Method Lemonnier Main CFD Forum 3 December 28, 1999 14:48
Unstructured Multigrid Method for Euler equations Jian Xia Main CFD Forum 8 December 20, 1999 13:31


All times are GMT -4. The time now is 09:43.