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

solvers
{
20
21
22
23
24
25
26
27
    "(rho|.*Final)"
    {
        solver          PCG;
        preconditioner  DIC;
        tolerance       0;
        relTol          0.1;
    }

28
29
30
    p
    {
        solver           GAMG;
31

32
        tolerance        0;
33
        relTol           0.05;
34
35
36
37
38
39
40
41
42
43
44

        smoother         DICGaussSeidel;
        nPreSweeps       0;
        nPostSweeps      2;

        cacheAgglomeration true;

        nCellsInCoarsestLevel 10;
        agglomerator     faceAreaPair;
        mergeLevels      1;

45
        maxIter          50;
46
    };
47
48

    pFinal
49
    {
50
51
52
53
        $p;
        tolerance        1e-4;
    }

Henry's avatar
Henry committed
54
    "(U|Yi|h|k|omega|.*Final)"
55
    {
56
57
58
59
60
61
        solver          smoothSolver;
        smoother        GaussSeidel;
        tolerance       0;
        relTol          0.1;
        maxIter         20;
    }
62
63
}

64
PIMPLE
65
{
andy's avatar
andy committed
66
67
    nOuterCorrectors 1;
    nCorrectors     2;
68
    nNonOrthogonalCorrectors 0;
69
    momentumPredictor yes;
70
71
    rhoMin          0.1;
    rhoMax          1.5;
72

Henry Weller's avatar
Henry Weller committed
73
    maxCo           2.5;
74
    rDeltaTSmoothingCoeff 0.5;
75
    alphaTemp       1;
76
    maxDeltaT       1;
77
78
79
80
}


// ************************************************************************* //