Loading...
Searching...
No Matches
createFields_Thermal.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\*---------------------------------------------------------------------------*/
30_T = autoPtr<volScalarField>
31 (
32 new volScalarField
33 (
34 IOobject
35 (
36 "T",
37 runTime.timeName(),
38 mesh,
39 IOobject::MUST_READ,
40 IOobject::AUTO_WRITE
41 ),
42 mesh
43 )
44 );
45volScalarField& T = _T();
46
47volScalarField T0(T);
48
49_T0 = autoPtr<volScalarField>
50 (
51 new volScalarField(T0)
52 );
53
54
55
56
57_dec1 = autoPtr<volScalarField>
58 (
59 new volScalarField
60 (
61 IOobject
62 (
63 "dec1",
64 runTime.timeName(),
65 mesh,
66 IOobject::MUST_READ,
67 IOobject::AUTO_WRITE
68 ),
69 mesh
70 )
71 );
72volScalarField& dec1 = _dec1();
73
74volScalarField dec10(dec1);
75
76_dec10 = autoPtr<volScalarField>
77 (
78 new volScalarField(dec10)
79 );
80
81
82
83_dec2 = autoPtr<volScalarField>
84 (
85 new volScalarField
86 (
87 IOobject
88 (
89 "dec2",
90 runTime.timeName(),
91 mesh,
92 IOobject::MUST_READ,
93 IOobject::AUTO_WRITE
94 ),
95 mesh
96 )
97 );
98volScalarField& dec2 = _dec2();
99
100
101volScalarField dec20(dec2);
102
103_dec20 = autoPtr<volScalarField>
104 (
105 new volScalarField(dec20)
106 );
107
108
109
110_dec3 = autoPtr<volScalarField>
111 (
112 new volScalarField
113 (
114 IOobject
115 (
116 "dec3",
117 runTime.timeName(),
118 mesh,
119 IOobject::MUST_READ,
120 IOobject::AUTO_WRITE
121 ),
122 mesh
123 )
124 );
125volScalarField& dec3 = _dec3();
126
127
128volScalarField dec30(dec3);
129
130_dec30 = autoPtr<volScalarField>
131 (
132 new volScalarField(dec30)
133 );
134
135
Foam::fvMesh & mesh
Definition createMesh.H:47
Foam::Time & runTime
Definition createTime.H:33
volScalarField dec10(dec1)
volScalarField T0(T)
volScalarField & dec3
volScalarField & T
volScalarField dec20(dec2)
volScalarField & dec1
volScalarField & dec2
volScalarField dec30(dec3)