Loading...
Searching...
No Matches
readConstants_N.H
Go to the documentation of this file.
1Info << "\n Reading nuclear properties \n" << endl;
2
3IOdictionary nuclearProperties
4(
5 IOobject
6 (
7 "nuclearProperties",
8 runTime.constant(),
9 mesh,
10 IOobject::MUST_READ,
11 IOobject::NO_WRITE
12 )
13);
14
15_TrefXS = autoPtr<dimensionedScalar>
16 (
17 new dimensionedScalar
18 (
19 nuclearProperties.lookup("TrefXS")
20 )
21 );
22dimensionedScalar& TrefXS = _TrefXS();
23
24_IV1 = autoPtr<dimensionedScalar>
25 (
26 new dimensionedScalar
27 (
28 nuclearProperties.lookup("IV1")
29 )
30 );
31dimensionedScalar& IV1 = _IV1();
32
33_D1_0 = autoPtr<dimensionedScalar>
34 (
35 new dimensionedScalar
36 (
37 nuclearProperties.lookup("D1_0")
38 )
39 );
40dimensionedScalar& D1_0 = _D1_0();
41
42_alfa_D1 = autoPtr<dimensionedScalar>
43 (
44 new dimensionedScalar
45 (
46 nuclearProperties.lookup("alfa_D1")
47 )
48 );
49dimensionedScalar& alfa_D1 = _alfa_D1();
50
51
52_A1_0 = autoPtr<dimensionedScalar>
53 (
54 new dimensionedScalar
55 (
56 nuclearProperties.lookup("A1_0")
57 )
58 );
59dimensionedScalar& A1_0 = _A1_0();
60
61_alfa_A1 = autoPtr<dimensionedScalar>
62 (
63 new dimensionedScalar
64 (
65 nuclearProperties.lookup("alfa_A1")
66 )
67 );
68dimensionedScalar& alfa_A1 = _alfa_A1();
69
70
71_NSF1_0 = autoPtr<dimensionedScalar>
72 (
73 new dimensionedScalar
74 (
75 nuclearProperties.lookup("NSF1_0")
76 )
77 );
78dimensionedScalar& NSF1_0 = _NSF1_0();
79
80_alfa_NSF1 = autoPtr<dimensionedScalar>
81 (
82 new dimensionedScalar
83 (
84 nuclearProperties.lookup("alfa_NSF1")
85 )
86 );
87dimensionedScalar& alfa_NSF1 = _alfa_NSF1();
88
89_SP1_0 = autoPtr<dimensionedScalar>
90 (
91 new dimensionedScalar
92 (
93 nuclearProperties.lookup("SP1_0")
94 )
95 );
96dimensionedScalar& SP1_0 = _SP1_0();
97
98_alfa_SP1 = autoPtr<dimensionedScalar>
99 (
100 new dimensionedScalar
101 (
102 nuclearProperties.lookup("alfa_SP1")
103 )
104 );
105dimensionedScalar& alfa_SP1 = _alfa_SP1();
106
107_Keff = autoPtr<dimensionedScalar>
108 (
109 new dimensionedScalar
110 (
111 nuclearProperties.lookup("Keff")
112 )
113 );
114dimensionedScalar& Keff = _Keff();
115
116dimensionedScalar K0(Keff);
117
118_K0 = autoPtr<dimensionedScalar>
119 (
120 new dimensionedScalar(K0)
121 );
122
123
124
125//read delayed neutron constant
126
127Info << "\n Reading precursors decay constants \n" << endl;
128
129IOdictionary delayedNeutronConstants
130(
131 IOobject
132 (
133 "delayedNeutronConstants",
134 runTime.constant(),
135 mesh,
136 IOobject::MUST_READ,
137 IOobject::NO_WRITE
138 )
139);
140
141_lam1 = autoPtr<dimensionedScalar>
142 (
143 new dimensionedScalar
144 (
145 delayedNeutronConstants.lookup("lam1")
146 )
147 );
148dimensionedScalar& lam1 = _lam1();
149
150_lam2 = autoPtr<dimensionedScalar>
151 (
152 new dimensionedScalar
153 (
154 delayedNeutronConstants.lookup("lam2")
155 )
156 );
157dimensionedScalar& lam2 = _lam2();
158
159_lam3 = autoPtr<dimensionedScalar>
160 (
161 new dimensionedScalar
162 (
163 delayedNeutronConstants.lookup("lam3")
164 )
165 );
166dimensionedScalar& lam3 = _lam3();
167
168_lam4 = autoPtr<dimensionedScalar>
169 (
170 new dimensionedScalar
171 (
172 delayedNeutronConstants.lookup("lam4")
173 )
174 );
175dimensionedScalar& lam4 = _lam4();
176
177_lam5 = autoPtr<dimensionedScalar>
178 (
179 new dimensionedScalar
180 (
181 delayedNeutronConstants.lookup("lam5")
182 )
183 );
184dimensionedScalar& lam5 = _lam5();
185
186_lam6 = autoPtr<dimensionedScalar>
187 (
188 new dimensionedScalar
189 (
190 delayedNeutronConstants.lookup("lam6")
191 )
192 );
193dimensionedScalar& lam6 = _lam6();
194
195_lam7 = autoPtr<dimensionedScalar>
196 (
197 new dimensionedScalar
198 (
199 delayedNeutronConstants.lookup("lam7")
200 )
201 );
202dimensionedScalar& lam7 = _lam7();
203
204_lam8 = autoPtr<dimensionedScalar>
205 (
206 new dimensionedScalar
207 (
208 delayedNeutronConstants.lookup("lam8")
209 )
210 );
211dimensionedScalar& lam8 = _lam8();
212
213
214_beta1 = autoPtr<dimensionedScalar>
215 (
216 new dimensionedScalar
217 (
218 delayedNeutronConstants.lookup("beta1")
219 )
220 );
221dimensionedScalar& beta1 = _beta1();
222
223_beta2 = autoPtr<dimensionedScalar>
224 (
225 new dimensionedScalar
226 (
227 delayedNeutronConstants.lookup("beta2")
228 )
229 );
230dimensionedScalar& beta2 = _beta2();
231
232_beta3 = autoPtr<dimensionedScalar>
233 (
234 new dimensionedScalar
235 (
236 delayedNeutronConstants.lookup("beta3")
237 )
238 );
239dimensionedScalar& beta3 = _beta3();
240
241_beta4 = autoPtr<dimensionedScalar>
242 (
243 new dimensionedScalar
244 (
245 delayedNeutronConstants.lookup("beta4")
246 )
247 );
248dimensionedScalar& beta4 = _beta4();
249
250_beta5 = autoPtr<dimensionedScalar>
251 (
252 new dimensionedScalar
253 (
254 delayedNeutronConstants.lookup("beta5")
255 )
256 );
257dimensionedScalar& beta5 = _beta5();
258
259_beta6 = autoPtr<dimensionedScalar>
260 (
261 new dimensionedScalar
262 (
263 delayedNeutronConstants.lookup("beta6")
264 )
265 );
266dimensionedScalar& beta6 = _beta6();
267
268_beta7 = autoPtr<dimensionedScalar>
269 (
270 new dimensionedScalar
271 (
272 delayedNeutronConstants.lookup("beta7")
273 )
274 );
275dimensionedScalar& beta7 = _beta7();
276
277_beta8 = autoPtr<dimensionedScalar>
278 (
279 new dimensionedScalar
280 (
281 delayedNeutronConstants.lookup("beta8")
282 )
283 );
284dimensionedScalar& beta8 = _beta8();
285
Foam::fvMesh & mesh
Definition createMesh.H:47
Foam::Time & runTime
Definition createTime.H:33
dimensionedScalar & beta1
dimensionedScalar & beta3
_alfa_SP1
_alfa_A1
dimensionedScalar & D1_0
dimensionedScalar & A1_0
dimensionedScalar & beta2
dimensionedScalar & Keff
_NSF1_0
dimensionedScalar & lam2
dimensionedScalar & beta5
dimensionedScalar & beta4
dimensionedScalar & beta8
dimensionedScalar & lam6
dimensionedScalar & IV1
dimensionedScalar & lam4
dimensionedScalar & lam8
dimensionedScalar & alfa_NSF1
dimensionedScalar & lam1
dimensionedScalar & alfa_A1
dimensionedScalar & beta6
dimensionedScalar & NSF1_0
dimensionedScalar & TrefXS
dimensionedScalar & lam5
dimensionedScalar & lam7
dimensionedScalar & lam3
dimensionedScalar & beta7
dimensionedScalar K0(Keff)
dimensionedScalar & alfa_D1
dimensionedScalar & alfa_SP1
dimensionedScalar & SP1_0
_alfa_D1
_alfa_NSF1