|
[Sponsors] |
August 16, 2001, 09:17 |
condition number
|
#1 |
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! |
|
August 16, 2001, 15:42 |
Matlab
|
#2 |
Guest
Posts: n/a
|
Try Matlab.
|
|
August 16, 2001, 17:54 |
Re: condition number
|
#3 |
Guest
Posts: n/a
|
||
August 17, 2001, 08:24 |
Re: condition number
|
#4 |
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. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |