CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

tolerance in simpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2022, 05:31
Question tolerance in simpleFoam
  #1
Senior Member
 
-
Join Date: Oct 2021
Location: -
Posts: 139
Rep Power: 5
FluidKo is on a distinguished road
Code:
solvers
{
    p
    {
        solver          GAMG;
        smoother        GaussSeidel;
        tolerance       1e-6;
        relTol          0.1;
    }

    "(U|k|omega|epsilon)"
    {
        solver          smoothSolver;
        smoother        symGaussSeidel;
        tolerance       1e-6;
        relTol          0.1;
    }
}

SIMPLE
{
    residualControl
    {
        p               1e-4;
        U               1e-4;
        "(k|omega|epsilon)" 1e-4;
    }
    nNonOrthogonalCorrectors 0;
    pRefCell        0;
    pRefValue       0;

}

potentialFlow
{
    nNonOrthogonalCorrectors 10;
}

relaxationFactors
{
    fields
    {
        p               0.3;
    }
    equations
    {
        U               0.7;
        "(k|omega|epsilon).*" 0.7;
    }
}
Hello everybody~
I'm wondering tolerance in simpleFoam.
Upper code is one of simple algorithm codes in tutorial file.
In this code, there are 2 types of tolerance.
One is tolerance in 'solvers' part and another is tolerance in 'residualControl' part.
I want to know difference between them.

Acutally I've learned PIMPLE algorithm before.
For the case of PIMPLE algorithm, I know difference between tolerance in 'solvers' part and tolerance in 'residualControl' part.
Tolerance in 'solvers' part is criteria of residual for pressure correction(inner loop) and tolerance in 'residualControl' part is criteria of residual for momentum prediction(outer loop).

But for the case of SIMPLE algorithm there is only momentum prediction(outer loop), not pressure correction(inner loop).
Even though there is only momentum prediction, why there can be 2 criterias(tolerance in 'solvers' and tolerance in 'residualControl')?

What is difference between them for SIMPLE algorithm?

Thank you~!
FluidKo is offline   Reply With Quote

Reply

Tags
residual, simple algorithm


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
tolerance in solver VS tolerance in residualControl FluidKo OpenFOAM Running, Solving & CFD 13 January 30, 2024 11:59
SimpleFoam Stops Without Error Message MoeCFD OpenFOAM Running, Solving & CFD 12 July 20, 2022 06:49
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 16:26
STL import is not working zordiack enGrid 9 July 1, 2014 15:49
High pressure residual simpleFoam CiccioPasticcio OpenFOAM Running, Solving & CFD 6 March 5, 2013 22:20


All times are GMT -4. The time now is 10:27.