Loading...
Searching...
No Matches
readConstants.H
1Info << "Reading transport properties" << endl;
2IOdictionary transportProperties
3(
4 IOobject
5 (
6 "transportProperties",
7 runTime.constant(),
8 mesh,
9 IOobject::MUST_READ_IF_MODIFIED,
10 IOobject::NO_WRITE
11 )
12);
13
14_betaTE = autoPtr<dimensionedScalar>
15 (
16 new dimensionedScalar
17 (
18 transportProperties.lookup("beta")
19 )
20 );
21dimensionedScalar& betaTE = _betaTE();
22
23_nu = autoPtr<dimensionedScalar>
24 (
25 new dimensionedScalar
26 (
27 transportProperties.lookup("nu")
28 )
29 );
30dimensionedScalar& nu = _nu();
31
32_Pr = autoPtr<dimensionedScalar>
33 (
34 new dimensionedScalar
35 (
36 transportProperties.lookup("Pr")
37 )
38 );
39dimensionedScalar& Pr = _Pr();
40
41_Prt = autoPtr<dimensionedScalar>
42 (
43 new dimensionedScalar
44 (
45 transportProperties.lookup("Prt")
46 )
47 );
48dimensionedScalar& Prt = _Prt();
49
50
51_rhoRef = autoPtr<dimensionedScalar>
52 (
53 new dimensionedScalar
54 (
55 transportProperties.lookup("rhoRef")
56 )
57 );
58dimensionedScalar& rhoRef = _rhoRef();
59
60_CpRef = autoPtr<dimensionedScalar>
61 (
62 new dimensionedScalar
63 (
64 transportProperties.lookup("CpRef")
65 )
66 );
67dimensionedScalar& CpRef = _CpRef();
68
69_Tref = autoPtr<dimensionedScalar>
70 (
71 new dimensionedScalar
72 (
73 transportProperties.lookup("Tref")
74 )
75 );
76dimensionedScalar& Tref = _Tref();
77
78IOdictionary precursorTransportProperties
79(
80 IOobject
81 (
82 "precursorTransportProperties",
83 runTime.constant(),
84 mesh,
85 IOobject::MUST_READ_IF_MODIFIED,
86 IOobject::NO_WRITE
87 )
88);
89
90_Sc = autoPtr<dimensionedScalar>
91 (
92 new dimensionedScalar
93 (
94 precursorTransportProperties.lookup("Sc")
95 )
96 );
97dimensionedScalar& Sc = _Sc();
98
99_Sct = autoPtr<dimensionedScalar>
100 (
101 new dimensionedScalar
102 (
103 precursorTransportProperties.lookup("Sct")
104 )
105 );
106dimensionedScalar& Sct = _Sct();