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

condition number

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2001, 09:17
Default condition number
  #1
troubled kid
Guest
 
Posts: n/a
Hello, how are u guys doing? great, I hope CFD, rock on!!

I'd just like to ask whether there are any available softwares/codes/solvers which calculates the condition number of a square matrix using the formula of

cond(A)=[highest eigenvalue/lowest eigenvalue]

Basically, if possible, i can write up a programme using C++ which enables the user to key in the matrix and, making use of the solver, churn out its condition number.

Thanks a lot!
  Reply With Quote

Old   August 16, 2001, 15:42
Default Matlab
  #2
Astrid
Guest
 
Posts: n/a
Try Matlab.
  Reply With Quote

Old   August 16, 2001, 17:54
Default Re: condition number
  #3
Matrix Man
Guest
 
Posts: n/a
Try linpack.

http://www.netlib.org/linpack/index.html
  Reply With Quote

Old   August 17, 2001, 08:24
Default Re: condition number
  #4
Sebastien Perron
Guest
 
Posts: n/a
For a standard matrix, getting the smallest eigenvalue can be as long as solving the linear system (actually the methods for computing the eigenvalues are close to krilov methods).

For the discretization of the laplace equation on a structured grid with constant spacing, the eigenvalues can be dirictly computed with a formula. If you want the formula, I could write it down over the week-end.
  Reply With Quote

Reply


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
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 13:06
CFL Condition Matt Umbel Main CFD Forum 19 June 30, 2020 08:20
vorticity boundary condition bearcharge Main CFD Forum 0 May 14, 2010 11:32
Slip boundary condition what is inside normunds OpenFOAM Running, Solving & CFD 2 June 4, 2007 06:45
Spectral Method Boundary condition Deepak Main CFD Forum 1 February 25, 2004 09:48


All times are GMT -4. The time now is 05:13.