fvSolution 1.97 KB
Newer Older
1
/*--------------------------------*- C++ -*----------------------------------*\
2
3
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4
|  \\    /   O peration     | Version:  plus                                  |
5
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
6
7
8
9
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
10
11
12
    version     2.0;
    format      ascii;
    class       dictionary;
Andrew Heather's avatar
Andrew Heather committed
13
    location    "system";
14
    object      fvSolution;
15
16
17
18
19
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
Andrew Heather's avatar
Andrew Heather committed
20
    p
21
    {
Andrew Heather's avatar
Andrew Heather committed
22
23
        solver          PCG;
        preconditioner  DIC;
24
        tolerance       1e-07;
Andrew Heather's avatar
Andrew Heather committed
25
26
27
28
        relTol          0.01;
    }

    pFinal
29
    {
30
        $p;
Andrew Heather's avatar
Andrew Heather committed
31
32
33
        relTol          0;
    }

34
    "(rho|U|e|k|epsilon|omega)"
35
    {
36
37
        solver          smoothSolver;
        smoother        symGaussSeidel;
38
        tolerance       1e-06;
39
        relTol          0.1;
Andrew Heather's avatar
Andrew Heather committed
40
41
    }

42
    "(rho|U|e|k|epsilon|omega)Final"
43
    {
44
        $U;
Andrew Heather's avatar
Andrew Heather committed
45
46
        relTol          0;
    }
47
48
49
50
}

PIMPLE
{
51
52
53
54
    momentumPredictor   yes;
    transonic           no;
    nOuterCorrectors    50;
    nCorrectors         1;
55
    nNonOrthogonalCorrectors 0;
56
    consistent          yes;
57
    SIMPLErho           yes;
58

59
60
    pMaxFactor          1.5;
    pMinFactor          0.9;
61
62
63
64
65
66

    residualControl
    {
        "(U|k|epsilon)"
        {
            relTol          0;
67
            tolerance       0.0001;
68
69
        }
    }
70

71
    turbOnFinalIterOnly no;
72
73
74
75
}

relaxationFactors
{
76
77
    fields
    {
78
        "p.*"           0.3;
79
        "rho.*"         1;
80
81
82
    }
    equations
    {
83
        "U.*"           0.7;
84
        "e.*"           0.7;
85
        "(k|epsilon|omega).*" 0.7;
86
    }
87
88
}

Andrew Heather's avatar
Andrew Heather committed
89

90
// ************************************************************************* //