Loading...
Searching...
No Matches
createFields_Neutronics.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_flux = autoPtr<volScalarField>
31 (
32 new volScalarField
33 (
34 IOobject
35 (
36 "flux",
37 runTime.timeName(),
38 mesh,
39 IOobject::MUST_READ,
40 IOobject::AUTO_WRITE
41 ),
42 mesh
43 )
44 );
45volScalarField& flux = _flux();
46
47volScalarField flux0(flux);
48
49_flux0 = autoPtr<volScalarField>
50 (
51 new volScalarField(flux0)
52 );
53
54
55
56_prec1 = autoPtr<volScalarField>
57 (
58 new volScalarField
59 (
60 IOobject
61 (
62 "prec1",
63 runTime.timeName(),
64 mesh,
65 IOobject::MUST_READ,
66 IOobject::AUTO_WRITE
67 ),
68 mesh
69 )
70 );
71volScalarField& prec1 = _prec1();
72
73volScalarField prec10(prec1);
74
75_prec10 = autoPtr<volScalarField>
76 (
77 new volScalarField(prec10)
78 );
79
80
81_prec2 = autoPtr<volScalarField>
82 (
83 new volScalarField
84 (
85 IOobject
86 (
87 "prec2",
88 runTime.timeName(),
89 mesh,
90 IOobject::MUST_READ,
91 IOobject::AUTO_WRITE
92 ),
93 mesh
94 )
95 );
96volScalarField& prec2 = _prec2();
97
98volScalarField prec20(prec2);
99
100_prec20 = autoPtr<volScalarField>
101 (
102 new volScalarField(prec20)
103 );
104
105
106_prec3 = autoPtr<volScalarField>
107 (
108 new volScalarField
109 (
110 IOobject
111 (
112 "prec3",
113 runTime.timeName(),
114 mesh,
115 IOobject::MUST_READ,
116 IOobject::AUTO_WRITE
117 ),
118 mesh
119 )
120 );
121volScalarField& prec3 = _prec3();
122
123volScalarField prec30(prec3);
124
125_prec30 = autoPtr<volScalarField>
126 (
127 new volScalarField(prec30)
128 );
129
130
131
132_prec4 = autoPtr<volScalarField>
133 (
134 new volScalarField
135 (
136 IOobject
137 (
138 "prec4",
139 runTime.timeName(),
140 mesh,
141 IOobject::MUST_READ,
142 IOobject::AUTO_WRITE
143 ),
144 mesh
145 )
146 );
147volScalarField& prec4 = _prec4();
148
149volScalarField prec40(prec4);
150
151_prec40 = autoPtr<volScalarField>
152 (
153 new volScalarField(prec40)
154 );
155
156
157
158_prec5 = autoPtr<volScalarField>
159 (
160 new volScalarField
161 (
162 IOobject
163 (
164 "prec5",
165 runTime.timeName(),
166 mesh,
167 IOobject::MUST_READ,
168 IOobject::AUTO_WRITE
169 ),
170 mesh
171 )
172 );
173volScalarField& prec5 = _prec5();
174
175volScalarField prec50(prec5);
176
177_prec50 = autoPtr<volScalarField>
178 (
179 new volScalarField(prec50)
180 );
181
182
183
184_prec6 = autoPtr<volScalarField>
185 (
186 new volScalarField
187 (
188 IOobject
189 (
190 "prec6",
191 runTime.timeName(),
192 mesh,
193 IOobject::MUST_READ,
194 IOobject::AUTO_WRITE
195 ),
196 mesh
197 )
198 );
199volScalarField& prec6 = _prec6();
200
201volScalarField prec60(prec6);
202
203_prec60 = autoPtr<volScalarField>
204 (
205 new volScalarField(prec60)
206 );
207
208
209
210_prec7 = autoPtr<volScalarField>
211 (
212 new volScalarField
213 (
214 IOobject
215 (
216 "prec7",
217 runTime.timeName(),
218 mesh,
219 IOobject::MUST_READ,
220 IOobject::AUTO_WRITE
221 ),
222 mesh
223 )
224 );
225volScalarField& prec7 = _prec7();
226
227volScalarField prec70(prec7);
228
229_prec70 = autoPtr<volScalarField>
230 (
231 new volScalarField(prec70)
232 );
233
234
235
236_prec8 = autoPtr<volScalarField>
237 (
238 new volScalarField
239 (
240 IOobject
241 (
242 "prec8",
243 runTime.timeName(),
244 mesh,
245 IOobject::MUST_READ,
246 IOobject::AUTO_WRITE
247 ),
248 mesh
249 )
250 );
251volScalarField& prec8 = _prec8();
252
253volScalarField prec80(prec8);
254
255_prec80 = autoPtr<volScalarField>
256 (
257 new volScalarField(prec80)
258 );
259
260
261
262
Foam::fvMesh & mesh
Definition createMesh.H:47
Foam::Time & runTime
Definition createTime.H:33
volScalarField prec20(prec2)
volScalarField & prec5
volScalarField & prec6
volScalarField prec40(prec4)
volScalarField prec10(prec1)
volScalarField prec70(prec7)
volScalarField prec50(prec5)
volScalarField & prec8
volScalarField & flux
volScalarField & prec3
volScalarField prec60(prec6)
volScalarField flux0(flux)
volScalarField prec30(prec3)
volScalarField & prec2
volScalarField & prec7
volScalarField & prec4
volScalarField prec80(prec8)
volScalarField & prec1