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

Solving almost-degenerate linear problem?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2016, 10:05
Default Solving almost-degenerate linear problem?
  #1
Member
 
Join Date: Feb 2011
Posts: 41
Rep Power: 15
jollage is on a distinguished road
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.
jollage is offline   Reply With Quote

Old   April 7, 2016, 12:13
Default
  #2
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
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.
mprinkey 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
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


All times are GMT -4. The time now is 16:17.