Loading...
Searching...
No Matches
readConstants.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ██╗████████╗██╗ ██╗ █████╗ ██████╗ █████╗ ███████╗██╗ ██╗
3 ██║╚══██╔══╝██║ ██║██╔══██╗██╔════╝██╔══██╗ ██╔════╝██║ ██║
4 ██║ ██║ ███████║███████║██║ ███████║█████╗█████╗ ██║ ██║
5 ██║ ██║ ██╔══██║██╔══██║██║ ██╔══██║╚════╝██╔══╝ ╚██╗ ██╔╝
6 ██║ ██║ ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ╚████╔╝
7 ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═══╝
8
9 * In real Time Highly Advanced Computational Applications for Finite Volumes
10 * Copyright (C) 2017 by the ITHACA-FV authors
11-------------------------------------------------------------------------------
12
13 License
14 This file is part of ITHACA-FV
15
16 ITHACA-FV is free software: you can redistribute it and/or modify
17 it under the terms of the GNU Lesser General Public License as published by
18 the Free Software Foundation, either version 3 of the License, or
19 (at your option) any later version.
20
21 ITHACA-FV is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 GNU Lesser General Public License for more details.
25
26 You should have received a copy of the GNU Lesser General Public License
27 along with ITHACA-FV. If not, see <http://www.gnu.org/licenses/>.
28
29\*---------------------------------------------------------------------------*/
30Info << "Reading transport properties" << endl;
31IOdictionary transportProperties
32(
33 IOobject
34 (
35 "transportProperties",
36 runTime.constant(),
37 mesh,
38 IOobject::MUST_READ_IF_MODIFIED,
39 IOobject::NO_WRITE
40 )
41);
42
43_betaTE = autoPtr<dimensionedScalar>
44 (
45 new dimensionedScalar
46 (
47 transportProperties.lookup("beta")
48 )
49 );
50dimensionedScalar& betaTE = _betaTE();
51
52_nu = autoPtr<dimensionedScalar>
53 (
54 new dimensionedScalar
55 (
56 transportProperties.lookup("nu")
57 )
58 );
59dimensionedScalar& nu = _nu();
60
61_Pr = autoPtr<dimensionedScalar>
62 (
63 new dimensionedScalar
64 (
65 transportProperties.lookup("Pr")
66 )
67 );
68dimensionedScalar& Pr = _Pr();
69
70_Prt = autoPtr<dimensionedScalar>
71 (
72 new dimensionedScalar
73 (
74 transportProperties.lookup("Prt")
75 )
76 );
77dimensionedScalar& Prt = _Prt();
78
79
80_rhoRef = autoPtr<dimensionedScalar>
81 (
82 new dimensionedScalar
83 (
84 transportProperties.lookup("rhoRef")
85 )
86 );
87dimensionedScalar& rhoRef = _rhoRef();
88
89_CpRef = autoPtr<dimensionedScalar>
90 (
91 new dimensionedScalar
92 (
93 transportProperties.lookup("CpRef")
94 )
95 );
96dimensionedScalar& CpRef = _CpRef();
97
98_Tref = autoPtr<dimensionedScalar>
99 (
100 new dimensionedScalar
101 (
102 transportProperties.lookup("Tref")
103 )
104 );
105dimensionedScalar& Tref = _Tref();
106
107
108_tau = autoPtr<dimensionedScalar>
109 (
110 new dimensionedScalar
111 (
112 transportProperties.lookup("tau")
113 )
114 );
115dimensionedScalar& tau = _tau();
116
118(
119 IOobject
120 (
121 "precursorTransportProperties",
122 runTime.constant(),
123 mesh,
124 IOobject::MUST_READ_IF_MODIFIED,
125 IOobject::NO_WRITE
126 )
127);
128
129_Sc = autoPtr<dimensionedScalar>
130 (
131 new dimensionedScalar
132 (
134 )
135 );
136dimensionedScalar& Sc = _Sc();
137
138_Sct = autoPtr<dimensionedScalar>
139 (
140 new dimensionedScalar
141 (
142 precursorTransportProperties.lookup("Sct")
143 )
144 );
145dimensionedScalar& Sct = _Sct();
146
147
Foam::fvMesh & mesh
Definition createMesh.H:47
Foam::Time & runTime
Definition createTime.H:33
dimensionedScalar & Sc
dimensionedScalar & Tref
dimensionedScalar & rhoRef
dimensionedScalar & CpRef
_rhoRef
dimensionedScalar & betaTE
IOdictionary precursorTransportProperties(IOobject("precursorTransportProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE))
dimensionedScalar & nu
_Pr
_nu
dimensionedScalar & Prt
_Sct
dimensionedScalar & Pr
_Sc
_CpRef
_Prt
_Tref
dimensionedScalar & Sct
IOdictionary transportProperties(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE))
dimensionedScalar & tau