|
[Sponsors] |
October 12, 2022, 12:52 |
How to choose solvers
|
#1 |
Senior Member
Nico
Join Date: Jan 2022
Location: Germany
Posts: 122
Rep Power: 6 |
Hi,
i have a pretty general question regarding the fvsolution file. I mostly worked from tutorial cases and chaged them according to my needs in terms of mesh and boundary conditions. However i am uncertain how one would choose configurations like the following: Code:
solvers { p { solver GAMG; smoother symGaussSeidel; tolerance 1e-7; relTol 0.01; } "(U|h|k|epsilon).*" { solver PBiCGStab; preconditioner DILU; tolerance 1e-7; relTol 0.1; } } |
|
October 12, 2022, 14:47 |
|
#2 |
Senior Member
|
pressure in incompressible case: matrix is symmetric and positive definite: pressure is best solved using GAMG as preconditioner for CG in sequential;
pressure in compressible case, velocity components and parallel computing: use DILU as preconditioner for PBiCGStab; Literature on the matter is vast. Possible entry point is https://netlib.org/templates/templates.pdf and references listed. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GPU Linear Solvers for OpenFOAM | gocarts | OpenFOAM Announcements from Other Sources | 37 | August 17, 2022 15:22 |
[TUTORIAL] Run fluent on distributed memory with 2 windows 7 64 bit machines | ghost82 | FLUENT | 54 | February 9, 2022 04:32 |
Question about buoyant Solvers | estang | OpenFOAM Programming & Development | 1 | February 7, 2017 13:26 |
Is there a difference between Riemann solvers and characteristic based solvers? | linkamp | Main CFD Forum | 3 | February 18, 2016 10:12 |
FSI solvers - best solvers | steven123 | OpenFOAM Running, Solving & CFD | 0 | July 8, 2014 11:26 |