File size: 5,453 Bytes
5a600cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    object      configDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

documentation
{
    docBrowser      "firefox";
    doxyDocDirs
    (
        "$WM_PROJECT_USER_DIR/html"
        "~OpenFOAM/html"
        "$WM_PROJECT_DIR/doc/Doxygen/html"
        "http://cpp.openfoam.org/dev"
    );
    doxySourceFileExt "_8C.html";
}

InfoSwitches
{
    writePrecision          6;
    writeJobControl         0;
    writeJobInfo            0;
    writeDictionaries       0;

    // Allow case-supplied C++ code (#codeStream, codedFixedValue)
    allowSystemOperations   1;
}

OptimisationSwitches
{
    // On NFS mounted file system: maximum wait for files to appear/get
    // updated. Set to 0 on distributed case.
    fileModificationSkew 10;

    //- Modification checking:
    //  - timeStamp         : use modification time on file
    //  - inotify           : use inotify framework
    //  - timeStampMaster   : do time stamp (and file reading) only on master.
    //  - inotifyMaster     : do inotify (and file reading) only on master.
    fileModificationChecking timeStampMaster;

    //- Parallel IO file handler
    //  uncollated (default), collated or masterUncollated
    fileHandler uncollated;

    //- collated: thread buffer size for queued file writes.
    //  If set to 0 or not sufficient for the file size threading is not used.
    //  Default: 2e9
    maxThreadFileBufferSize 2e9;

    //- masterUncollated: non-blocking buffer size.
    //  If the file exceeds this buffer size scheduled transfer is used.
    //  Default: 2e9
    maxMasterFileBufferSize 2e9;

    commsType       nonBlocking; // scheduled; // blocking;
    floatTransfer   0;
    nProcsSimpleSum 0;

    // Force dumping (at next timestep) upon signal (-1 to disable)
    writeNowSignal              -1; // 10; // SIGUSR1

    // Force dumping and exit (at next timestep) upon signal (-1 to disable)
    stopAtWriteNowSignal        -1; // 12; // SIGUSR2
}

DebugSwitches
{
    dimensionSet        1;
    fileName            2;
    GAMGAgglomeration   1;
    level               2;
    lduMatrix           1;
    SolverPerformance   1;
    vtkUnstructuredReader 1;
}

units
{
    set     SI;

    SI
    {
        kg      [1 0 0 0 0 0 0];
        m       [0 1 0 0 0 0 0];
        s       [0 0 1 0 0 0 0];
        K       [0 0 0 1 0 0 0];
        kmol    [0 0 0 0 1 0 0];
        A       [0 0 0 0 0 1 0];
        Cd      [0 0 0 0 0 0 1];
    }

    CGS
    {
        g       [1 0 0 0 0 0 0];
        cm      [0 1 0 0 0 0 0];
        s       [0 0 1 0 0 0 0];
        K       [0 0 0 1 0 0 0];
        mol     [0 0 0 0 1 0 0];
        A       [0 0 0 0 0 1 0];
        Cd      [0 0 0 0 0 0 1];
    }

    USCS
    {
        lb      [1 0 0 0 0 0 0];
        ft      [0 1 0 0 0 0 0];
        s       [0 0 1 0 0 0 0];
        R       [0 0 0 1 0 0 0];
        lbmol   [0 0 0 0 1 0 0];
        A       [0 0 0 0 0 1 0];
        Cd      [0 0 0 0 0 0 1];
    }

    // Conversions between fundamental units
    g       1e-3                [kg];
    lb      0.45359237          [kg];
    cm      1e-2                [m];
    ft      0.3048              [m];
    K       1.8                 [R];
    kmol    1000                [mol];
    lbmol   453.59237           [mol];

    // Derived units
    Hz      1                   [s^-1];
    N       1                   [kg m s^-2];
    pdl     1                   [lb ft s^-2];
    Pa      1                   [N m^-2];
    J       1                   [N m];
    W       1                   [J s^-1];
    C       1                   [A s];
    V       1                   [J/C];
    Ohm     1                   [V/A];
    S       1                   [Ohm^-1];
    F       1                   [C/V];
    Wb      1                   [V s];
    T       1                   [Wb/m^2];
    H       1                   [Wb/A];

    // Scaled units
    um      1e-6                [m];
    mm      1e-3                [m];
    km      1e3                 [m];
    in      25.4                [mm];
    yd      3                   [ft];
    mi      1760                [yd];
    us      1e-6                [s];
    ms      1e-3                [s];
    min     60                  [s];
    hr      3600                [s];
    lbf     32.174049           [pdl];

    // Derived scaled units
    l       1e-3                [m^3];
    ml      1e-6                [m^3];
    rpm     1                   [rot/min];
    bar     1e5                 [Pa];
    atm     101325              [Pa];
    kPa     1e3                 [Pa];
    MPa     1e6                 [Pa];
    psi     1                   [lbf/in^2];
    cal     4.184               [J];
    kcal    4184                [J];
    cSt     1e-6                [m^2/s];
    cP      1e-3                [kg/m/s];
}

constants
{
    pStd    1e5                 [kg m^-1 s^-2];
    Tstd    298.15              [K];
}

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