Loading...
Searching...
No Matches
readConstants_TH.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 decay heat properties" << endl;
31IOdictionary decayheatProperties
32(
33 IOobject
34 (
35 "decayheatProperties",
36 runTime.constant(),
37 mesh,
38 IOobject::MUST_READ_IF_MODIFIED,
39 IOobject::NO_WRITE
40 )
41);
42
43_decLam1 = autoPtr<dimensionedScalar>
44 (
45 new dimensionedScalar
46 (
47 decayheatProperties.lookup("decLam1")
48 )
49 );
50dimensionedScalar& decLam1 = _decLam1();
51
52_decLam2 = autoPtr<dimensionedScalar>
53 (
54 new dimensionedScalar
55 (
56 decayheatProperties.lookup("decLam2")
57 )
58 );
59dimensionedScalar& decLam2 = _decLam2();
60
61_decLam3 = autoPtr<dimensionedScalar>
62 (
63 new dimensionedScalar
64 (
65 decayheatProperties.lookup("decLam3")
66 )
67 );
68dimensionedScalar& decLam3 = _decLam3();
69
70_decBeta1 = autoPtr<dimensionedScalar>
71 (
72 new dimensionedScalar
73 (
74 decayheatProperties.lookup("decBeta1")
75 )
76 );
77dimensionedScalar& decBeta1 = _decBeta1();
78
79_decBeta2 = autoPtr<dimensionedScalar>
80 (
81 new dimensionedScalar
82 (
83 decayheatProperties.lookup("decBeta2")
84 )
85 );
86dimensionedScalar& decBeta2 = _decBeta2();
87
88_decBeta3 = autoPtr<dimensionedScalar>
89 (
90 new dimensionedScalar
91 (
92 decayheatProperties.lookup("decBeta3")
93 )
94 );
95dimensionedScalar& decBeta3 = _decBeta3();
96
Foam::fvMesh & mesh
Definition createMesh.H:47
Foam::Time & runTime
Definition createTime.H:33
_decBeta2
_decBeta3
dimensionedScalar & decLam1
_decBeta1
dimensionedScalar & decBeta3
dimensionedScalar & decBeta1
dimensionedScalar & decBeta2
dimensionedScalar & decLam3
dimensionedScalar & decLam2