|
[Sponsors] |
Asymmetric matrix solving on parallel incompressible computation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 7, 2023, 07:17 |
Asymmetric matrix solving on parallel incompressible computation
|
#1 |
Member
Song Young Ik
Join Date: Apr 2022
Location: South Korea
Posts: 59
Rep Power: 4 |
Hello, I am trying several matrix solvers on incompressible steady-state flow, and currently using GAMG
I found this thread saying that for parallel computation, PBiCGstab with DILU as preconditioner performs best for pressure How to choose solvers However, when I try to implement by myself, according to log, error occurs because my matrix is symmetric while DILU is for asymmetric. I guess this error occurs because decomposePar seperates mesh into several parts and each processor runs n x n matrix where n is # of cell, while what thread wanted is decomposed N x N matrix into many asymmetric matrix calculation. How can I change my matrix solver work so? Or is it best to just replace it with DIC preconditioner? |
|
March 7, 2023, 15:02 |
|
#2 |
Senior Member
|
The post you refer to does distinguish between the incompressible and compressible case.
In the incompressible case, the pressure matrix is symmetric and positive definite in both the sequential and parallel decomposed case. The advice is to use CG as Krylov solver in both the sequential and parallel decomposed case. The preconditioner should be adapted with the number of subdomains becomes large. The advice is to use GAMG as preconditioner in case of one or a small number of processors. The advice is to replace GAMG by a preconditioner for symmetric matrices such as DIC (as you suggest) in case that the number of subdomains is large. More precise statements depend on the version of GAMG used (PETSC4FOAM or AMGX). Last edited by dlahaye; March 7, 2023 at 15:03. Reason: improved |
|
March 7, 2023, 20:48 |
|
#3 |
Member
Song Young Ik
Join Date: Apr 2022
Location: South Korea
Posts: 59
Rep Power: 4 |
Thanks for the reply!
Is there reference paper about matrix solvers? I would like to know |
|
March 8, 2023, 03:41 |
|
#4 |
Senior Member
|
https://netlib.org/templates/templates.pdf
https://www-users.cse.umn.edu/~saad/...Book_2ndEd.pdf and references cited therein |
|
Tags |
dilu, matrix, pbicg |
|
|
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 |
chtMultiRegionSimpleFoam: maximum number of iterations excedeed. | Nkl | OpenFOAM Running, Solving & CFD | 19 | October 10, 2019 03:42 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 06:24 |