fvSolution 3.23 KB
Newer Older
1
/*--------------------------------*- C++ -*----------------------------------*\
2
3
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
Andrew Heather's avatar
Andrew Heather committed
4
5
|  \\    /   O peration     | Version:  1.5                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
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
    pcorr
21
    {
Andrew Heather's avatar
Andrew Heather committed
22
23
        solver          PCG;
        preconditioner
24
        {
Andrew Heather's avatar
Andrew Heather committed
25
26
27
28
29
30
31
            preconditioner  GAMG;
            tolerance       0.001;
            relTol          0;
            smoother        GaussSeidel;
            nPreSweeps      0;
            nPostSweeps     2;
            nBottomSweeps   2;
32
33
            cacheAgglomeration false;
            nCellsInCoarsestLevel 10;
Andrew Heather's avatar
Andrew Heather committed
34
35
36
            agglomerator    faceAreaPair;
            mergeLevels     1;
        }
37

Andrew Heather's avatar
Andrew Heather committed
38
39
40
41
        tolerance       0.0001;
        relTol          0;
        maxIter         100;
    }
42

Andrew Heather's avatar
Andrew Heather committed
43
    pd
44
    {
Andrew Heather's avatar
Andrew Heather committed
45
46
47
48
49
50
51
        solver          GAMG;
        tolerance       1e-08;
        relTol          0.05;
        smoother        GaussSeidel;
        nPreSweeps      0;
        nPostSweeps     2;
        nFinestSweeps   2;
52
53
        cacheAgglomeration false;
        nCellsInCoarsestLevel 10;
Andrew Heather's avatar
Andrew Heather committed
54
55
56
        agglomerator    faceAreaPair;
        mergeLevels     1;
    }
57

Andrew Heather's avatar
Andrew Heather committed
58
    pdFinal
59
    {
Andrew Heather's avatar
Andrew Heather committed
60
61
        solver          PCG;
        preconditioner
62
        {
Andrew Heather's avatar
Andrew Heather committed
63
64
65
66
67
68
69
70
            preconditioner  GAMG;
            tolerance       1e-08;
            relTol          0;
            nVcycles        2;
            smoother        GaussSeidel;
            nPreSweeps      0;
            nPostSweeps     2;
            nFinestSweeps   2;
71
72
            cacheAgglomeration false;
            nCellsInCoarsestLevel 10;
Andrew Heather's avatar
Andrew Heather committed
73
74
75
            agglomerator    faceAreaPair;
            mergeLevels     1;
        }
76

Andrew Heather's avatar
Andrew Heather committed
77
78
79
80
        tolerance       1e-08;
        relTol          0;
        maxIter         20;
    }
81

Andrew Heather's avatar
Andrew Heather committed
82
    U
83
    {
Andrew Heather's avatar
Andrew Heather committed
84
85
86
87
88
89
90
91
        solver          smoothSolver;
        smoother        GaussSeidel;
        tolerance       1e-06;
        relTol          0;
        nSweeps         1;
    }

    k
92
    {
Andrew Heather's avatar
Andrew Heather committed
93
94
95
96
97
98
99
        solver          PBiCG;
        preconditioner  DILU;
        tolerance       1e-08;
        relTol          0;
    }

    B
100
    {
Andrew Heather's avatar
Andrew Heather committed
101
102
103
104
105
106
107
        solver          PBiCG;
        preconditioner  DILU;
        tolerance       1e-08;
        relTol          0;
    }

    nuTilda
108
    {
Andrew Heather's avatar
Andrew Heather committed
109
110
111
112
113
        solver          PBiCG;
        preconditioner  DILU;
        tolerance       1e-08;
        relTol          0;
    }
114
115
116
117
118
119
120
}

PISO
{
    momentumPredictor no;
    nCorrectors     3;
    nNonOrthogonalCorrectors 0;
Andrew Heather's avatar
updates    
Andrew Heather committed
121
122
123
    nAlphaCorr      1;
    nAlphaSubCycles 3;
    cAlpha          1;
124
125
126
127
    pdRefCell       0;
    pdRefValue      0;
    pRefProbe
    {
Andrew Heather's avatar
Andrew Heather committed
128
129
130
        fields          ( pd );
        probeLocations  ( ( 0.51 0.51 0.51 ) );
    }
131
132
}

Andrew Heather's avatar
Andrew Heather committed
133

134
// ************************************************************************* //