|
[Sponsors] |
April 7, 2016, 10:05 |
Solving almost-degenerate linear problem?
|
#1 |
Member
Join Date: Feb 2011
Posts: 41
Rep Power: 15 |
Hi,
I have a problem of how to solve safely an almost-degenerate linear problem. The problem comes from the nonlinear analysis near the critical condition, at which the growth rate of the disturbance is vanishing, rendering the corresponding linear problem almost degenerate. I just used Matlab to brutally inverse the matrix (using backslash), but I'm concerned about its accuracy. Therefore, I'm asking if there is any linear algebra package which is designed specifically for solving such problem? What's the tricks not mentioned in the literature of tackling such problem? Thank you in advance. Any comments will be appreciated. |
|
April 7, 2016, 12:13 |
|
#2 |
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25 |
If the system is dense, use singular value decomposition. It will find the solution or a reduced basis for the solution if it degenerate.
If the system is sparse, you have a murkier situation. My first recommendation is to try GMRES with a simple preconditioner (Jacobi or Incomplete LU with zero fill-in). GMRES is a very robust workhorse. But elaborate preconditioning may cause the solution of a degenerate system to drift from iteration to iteration. This is just intuition though. I'm sure there are tomes written about analysis of such systems. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with chtMultiregionFoam radiation boundary condition | baran_foam | OpenFOAM Running, Solving & CFD | 10 | December 17, 2019 18:36 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 12:16 |