-
Notifications
You must be signed in to change notification settings - Fork 4
/
readTransportProperties.H
42 lines (25 loc) · 1.18 KB
/
readTransportProperties.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
IOdictionary transportProperties
(
IOobject
(
"transportProperties",
runTime.constant(),
mesh,
IOobject::MUST_READ,
IOobject::NO_WRITE
)
);
dimensionedScalar kappaSolid(transportProperties.lookup("kappaSolid"));
dimensionedScalar kappaLiquid(transportProperties.lookup("kappaLiquid"));
dimensionedScalar beta(transportProperties.lookup("beta"));
// Reference temperature [K]
dimensionedScalar Tref(transportProperties.lookup("Tref"));
dimensionedScalar L(transportProperties.lookup("L"));
dimensionedScalar rho(transportProperties.lookup("rho"));
dimensionedScalar darcyTermEpsilon(transportProperties.lookup("darcyTermEpsilon"));
dimensionedScalar darcyTermConstant(transportProperties.lookup("darcyTermConstant"));
dimensionedScalar cpSolid(transportProperties.lookup("cpSolid"));
dimensionedScalar cpLiquid(transportProperties.lookup("cpLiquid"));
dimensionedScalar TSolid(transportProperties.lookup("TSolid"));
dimensionedScalar TLiquid(transportProperties.lookup("TLiquid"));
dimensionedScalar nu(transportProperties.lookup("nu"));