|
[Sponsors] |
Linear solver choice for inner iterations of implicit CFD solvers |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 22, 2023, 06:46 |
Linear solver choice for inner iterations of implicit CFD solvers
|
#1 |
Senior Member
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8 |
Hello everyone,
I'm trying to implement this implicit solver : https://doi.org/10.1016/j.jcp.2018.04.005 They use an approximate Jacobian to linearize the system, then relax it using 10 inner iterations of a Gauss-Seidel solver. Essentially it is a Newton's method based solver, and in the inner iterations, the solver takes small steps following the gradient/direction prescribed in the Jacobian Since it is not required to completely solve the linear system in one step, a simple Gauss-Seidel solver seems to be fast enough for the inner iterations. In future I will use PETSc, but for now I'm trying to use Eigen 3. However, Eigen 3 does not have a sparse Gauss-Seidel solver, so I'm not sure which solver I should use for the inner iterations. Eigen has Sparse LU, Sparse QR, Conjugate Gradient, Least Square Conjugate Gradient, BiCGSTAB, and few other sparse solvers : https://eigen.tuxfamily.org/dox/grou...seSystems.html Can we use any of these solvers instead of Gauss-Seidel for the inner iterations? Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionSimpleFoam: maximum number of iterations excedeed. | Nkl | OpenFOAM Running, Solving & CFD | 19 | October 10, 2019 02:42 |
Suppress twoPhaseEulerFoam energy | AlmostSurelyRob | OpenFOAM Running, Solving & CFD | 33 | September 25, 2018 17:45 |
p_rgh initial residual no change with different settings | manuc | OpenFOAM Running, Solving & CFD | 3 | June 26, 2018 15:53 |
Segmentation fault when using reactingFOAM for Fluids | Tommy Floessner | OpenFOAM Running, Solving & CFD | 4 | April 22, 2018 12:30 |
Free surface issues with interDyMFoam for hydroturbine | oumnion | OpenFOAM Running, Solving & CFD | 0 | October 6, 2017 14:05 |