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

Dense asymmetric rank-deficient linear system

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2022, 23:28
Default Dense asymmetric rank-deficient linear system
  #1
Member
 
optimux's Avatar
 
Mingming Zhang
Join Date: Dec 2019
Posts: 35
Rep Power: 6
optimux is on a distinguished road
Hi guys,

I just run into a dense asymmetric rank-deficient system (see attached fig). This system comes from a Fourier-Chebyshev approximation of thermal convection in an annulus. Its condition number is as high as 1.0e14 and would increase if we use higher spatial resolution. The author uses dgetrf to do LU factorization and then dgetrs to solve a similar system, but they're not the same.

Any suggestions? Thanks.

PS: for example, a 514*514 matrix, its rank is 507, condition number is 9.0e14.

Best,
Mingming
Attached Images
File Type: png Screen Shot 2022-08-20 at 23.15.57.png (39.9 KB, 10 views)
optimux is offline   Reply With Quote

Old   September 1, 2022, 22:52
Default
  #2
Member
 
optimux's Avatar
 
Mingming Zhang
Join Date: Dec 2019
Posts: 35
Rep Power: 6
optimux is on a distinguished road
Quote:
Originally Posted by optimux View Post
Hi guys,

I just run into a dense asymmetric rank-deficient system (see attached fig). This system comes from a Fourier-Chebyshev approximation of thermal convection in an annulus. Its condition number is as high as 1.0e14 and would increase if we use higher spatial resolution. The author uses dgetrf to do LU factorization and then dgetrs to solve a similar system, but they're not the same.

Any suggestions? Thanks.

PS: for example, a 514*514 matrix, its rank is 507, condition number is 9.0e14.

Best,
Mingming
Hello,

This dense matrix can be solved by LAPACK routines DGETRF and DGETRS, also MATLAB \ operator will work. So this post will end here.

Thanks
Mingming
optimux is offline   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
Fail to converge when solving with a fabricated solution zizhou FLUENT 0 March 22, 2021 06:33
Optimal tolerance and variables scaling settings 4513645ygq Main CFD Forum 0 July 28, 2020 08:56
On the block tridiagonal linear system zhanglei Main CFD Forum 2 July 24, 2000 06:15
On the block tridiagonal linear system zhanglei Main CFD Forum 0 July 18, 2000 08:55
solver for linear system with large sparse matrix Yangang Bao Main CFD Forum 1 October 25, 1999 04:22


All times are GMT -4. The time now is 11:50.