forked from vitst/fhdFoam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readDicts.H
47 lines (38 loc) · 970 Bytes
/
readDicts.H
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
Info << "Reading dissolFoam flags" << nl;
Info << "Reading transportProperties" << nl;
IOdictionary transportProperties
(
IOobject
(
"transportProperties",
runTime.constant(),
mesh,
IOobject::MUST_READ,
IOobject::NO_WRITE
)
);
const dimensionSet dimInvL2(0, -2, 0, 0, 0, 0, 0);
const dimensionSet dimDiffusion(0, 2, -1, 0, 0, 0, 0);
dimensionedScalar nu
(
"nu",
dimDiffusion,
transportProperties
);
dimensionedScalar D
(
"D",
dimDiffusion,
transportProperties
);
dimensionedScalar lR
(
"lR",
dimLength,
transportProperties
);
Info << "***************************************************" << nl;
Info << "transportProperties, nu: " << nu << nl;
Info << "transportProperties, D: " << D << nl;
Info << "transportProperties, lR: " << lR << nl;
Info << "***************************************************" << endl;