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

outerCorrectorResidualControl OpenFOAM v1812 vs. OpenFOAM 6

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2019, 05:30
Default outerCorrectorResidualControl OpenFOAM v1812 vs. OpenFOAM 6
  #1
New Member
 
Korbinian Faust
Join Date: Feb 2019
Posts: 7
Rep Power: 7
Kobi_Faust is on a distinguished road
Hi,
I am quite new to OpenFOAM so if any important Information is missing, just ask for it.

Solver: chtMultiRegionFoam
OF-Version: v1812

I have a Problem with the outerCorrectorResidualControl in PIMPLE Mode (Solver: chtMultiRegionFoam) when using OpenFOAM v1812 while on OpenFOAM 6 it works fine. (I use OpenFOAM 6 on my Computer but on our Cluster OpenFOAM v1812 is installed, so I can not change anything on this.)

I'm defining the general PIMPLE-loop in the fvSolution-file placed in the system folder. The outerCorrectorResidualConrol is given in the system/<material>/fvSolution files.

system/fvSolution:
Code:
PIMPLE
{
    nOuterCorrectors 50;
    nCorrectors     1;
    consistent      true;
    nNonOrthogonalCorrectors 0;
    turbOnFinalIterOnly false;
}
system/fluid1/fvSolution:
Code:
solvers
{
    rho
    {
        solver          PCG;
        preconditioner  DIC;
        tolerance       1e-7;
        relTol          0.1;
    }

    rhoFinal
    {
        $rho;
        tolerance       1e-7;
        relTol          0;
    }

    p_rgh
    {
        solver           GAMG;
        tolerance        1e-7;
        //relTol           0.01;
        smoother         DIC;
	maxIter		 20;
    }

    p_rghFinal
    {
        $p_rgh;
        tolerance        1e-7;
        relTol           0;
    }

    "(U|h|k|epsilon|R)"
    {
        solver           PBiCGStab;
        preconditioner   DILU;
        tolerance        1e-7;
        relTol           0.1;
    }

    "(U|h|k|epsilon|R)Final"
    {
        $U;
        tolerance        1e-7;
        relTol           0;
    }
}

PIMPLE
{
    
    momentumPredictor   true;
    nOuterCorrectors 50;
    nCorrectors     1;
    consistent      true;
    nNonOrthogonalCorrectors 0;
    turbOnFinalIterOnly false;
    outerCorrectorResidualControl
    {
        p_rgh
        {
            tolerance 1e-3;
            relTol 0;
        }
    }
}

relaxationFactors
{
    equations
    {
	"U.*"		0.5;
	"(h|e).*"	0.3;
	"(k|epsilon).*"	0.2;
    }
    fields
    {
    	"p_rgh.*"       0.7;
    }
}
system/solid1/fvSolution:
Code:
solvers
{
    h
    {
        solver           PCG;
        preconditioner   DIC;
        tolerance        1e-06;
        relTol           0.1;
    }

    hFinal
    {
        $h;
        tolerance        1e-06;
        relTol           0;
    }
}

PIMPLE
{
    
    momentumPredictor   true;
    nOuterCorrectors 50;
    nCorrectors     1;
    consistent      true;
    nNonOrthogonalCorrectors 0;
    turbOnFinalIterOnly false;
    outerCorrectorResidualControl
    {
        h
        {
            tolerance 1e-2;
            relTol 0;
        }
    }
}
When using OF 6 the outerCorrectors loop is left if all ResidualControl criteria are fulfilled (solid1 & fluid1). But when using OF v1812 the solver allways run the 50 OuterCorrector loops (probably without reading the ResidualControls).

What am I doing wrong, or how can I use ResiualControls in chtMultiRegionFoam with OF v1812? Any idea would be helpfull.

Thanks for your help
Kobi
Kobi_Faust is offline   Reply With Quote

Reply

Tags
chtmultiregionfoam, residualcontrol

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
OpenFOAM Foundation releases OpenFOAMŪ 3.0.0 CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 1 November 7, 2015 16:16
OpenFOAM Foundation Releases OpenFOAM v2.3.0 opencfd OpenFOAM Announcements from OpenFOAM Foundation 3 December 23, 2014 04:43
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


All times are GMT -4. The time now is 02:35.