|
[Sponsors] |
[Other] Note on mesh size, iterative and direct solvers (MECHANICAL) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 15, 2024, 11:33 |
Note on mesh size, iterative and direct solvers (MECHANICAL)
|
#1 |
New Member
Nicoḷ Badodi
Join Date: Mar 2020
Posts: 20
Rep Power: 6 |
I just had a nice two days dive in the underlying solver logic of mechanical, here are some of my notes for anyone needing them in the future. I will dump the complete details even if some might seem obvious.
There are two main categories of solvers: direct and iterative. Direct solvers try to diagonalize the matrix representing the problem in one go while iterative ones do that iteratively slowly converging to the solution. In practice there is only one direct solver (SPARSE) and several iterative ones (JCG, ICCG, QMR, and PCG). You can find details for all of them here.
Now, it might happen that, when solving with the iterative option active, the algorithm switches back to the DIRECT solver and then crashes because it doesn't have enough RAM or memory. These two cases are:
So this is it, I hope someone will find it useful in the event they get stuck with memory problems. |
|
Tags |
ansys mechanical apdl, memory allocation, memory limit, solver control |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linear solver choice for inner iterations of implicit CFD solvers | aerosayan | Main CFD Forum | 4 | January 5, 2024 13:49 |
Direct vs Iterative Linear Solvers for non-linears | bill | Main CFD Forum | 16 | November 5, 2014 08:18 |
Problems with Direct Solvers | pnr4432 | Main CFD Forum | 2 | February 27, 2014 15:00 |
direct and iterative solution | subhra | Main CFD Forum | 2 | May 9, 2004 02:23 |