CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

How to choose solvers

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By dlahaye

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 12, 2022, 12:52
Default How to choose solvers
  #1
Senior Member
 
Nico
Join Date: Jan 2022
Location: Germany
Posts: 122
Rep Power: 6
Hr_kules is on a distinguished road
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;
    }
}
Are there any ressources that touch that topic?
Hr_kules is offline   Reply With Quote

Old   October 12, 2022, 14:47
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 798
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
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.
Yann, Hr_kules, songyi719 and 1 others like this.
dlahaye 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
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


All times are GMT -4. The time now is 01:30.