|
4 | 4 | State Point Binary File Specifications |
5 | 5 | ====================================== |
6 | 6 |
|
| 7 | +----------- |
| 8 | +Revision 11 |
| 9 | +----------- |
| 10 | + |
| 11 | +**integer(4) FILETYPE_STATEPOINT** |
| 12 | + |
| 13 | + Flags whether this file is a statepoint file or a particle restart file. |
| 14 | + |
| 15 | +**integer(4) REVISION_STATEPOINT** |
| 16 | + |
| 17 | + Revision of the binary state point file. Any time a change is made in the |
| 18 | + format of the state-point file, this integer is incremented. |
| 19 | + |
| 20 | +**integer(4) VERSION_MAJOR** |
| 21 | + |
| 22 | + Major version number for OpenMC |
| 23 | + |
| 24 | +**integer(4) VERSION_MINOR** |
| 25 | + |
| 26 | + Minor version number for OpenMC |
| 27 | + |
| 28 | +**integer(4) VERSION_RELEASE** |
| 29 | + |
| 30 | + Release version number for OpenMC |
| 31 | + |
| 32 | +**character(19) time_stamp** |
| 33 | + |
| 34 | + Date and time the state point was written. |
| 35 | + |
| 36 | +**character(255) path** |
| 37 | + |
| 38 | + Absolute path to directory containing input files. |
| 39 | + |
| 40 | +**integer(8) seed** |
| 41 | + |
| 42 | + Pseudo-random number generator seed. |
| 43 | + |
| 44 | +**integer(4) run_mode** |
| 45 | + |
| 46 | + run mode used. The modes are described in constants.F90. |
| 47 | + |
| 48 | +**integer(8) n_particles** |
| 49 | + |
| 50 | + Number of particles used per generation. |
| 51 | + |
| 52 | +**integer(4) n_batches** |
| 53 | + |
| 54 | + Total number of batches (active + inactive). |
| 55 | + |
| 56 | +**integer(4) current_batch** |
| 57 | + |
| 58 | + The number of batches already simulated. |
| 59 | + |
| 60 | +if (run_mode == MODE_EIGENVALUE) |
| 61 | + |
| 62 | + **integer(4) n_inactive** |
| 63 | + |
| 64 | + Number of inactive batches |
| 65 | + |
| 66 | + **integer(4) gen_per_batch** |
| 67 | + |
| 68 | + Number of generations per batch for criticality calculations |
| 69 | + |
| 70 | + *do i = 1, current_batch \* gen_per_batch* |
| 71 | + |
| 72 | + **real(8) k_generation(i)** |
| 73 | + |
| 74 | + k-effective for the i-th total generation |
| 75 | + |
| 76 | + *do i = 1, current_batch \* gen_per_batch* |
| 77 | + |
| 78 | + **real(8) entropy(i)** |
| 79 | + |
| 80 | + Shannon entropy for the i-th total generation |
| 81 | + |
| 82 | + **real(8) k_col_abs** |
| 83 | + |
| 84 | + Sum of product of collision/absorption estimates of k-effective |
| 85 | + |
| 86 | + **real(8) k_col_tra** |
| 87 | + |
| 88 | + Sum of product of collision/track-length estimates of k-effective |
| 89 | + |
| 90 | + **real(8) k_abs_tra** |
| 91 | + |
| 92 | + Sum of product of absorption/track-length estimates of k-effective |
| 93 | + |
| 94 | + **real(8) k_combined(2)** |
| 95 | + |
| 96 | + Mean and standard deviation of a combined estimate of k-effective |
| 97 | + |
| 98 | + **integer(4) cmfd_on** |
| 99 | + |
| 100 | + Flag that cmfd is on |
| 101 | + |
| 102 | + if (cmfd_on) |
| 103 | + |
| 104 | + **integer(4) cmfd % indices** |
| 105 | + |
| 106 | + Indices for cmfd mesh (i,j,k,g) |
| 107 | + |
| 108 | + **real(8) cmfd % k_cmfd(1:current_batch)** |
| 109 | + |
| 110 | + CMFD eigenvalues |
| 111 | + |
| 112 | + **real(8) cmfd % src(1:G,1:I,1:J,1:K)** |
| 113 | + |
| 114 | + CMFD fission source |
| 115 | + |
| 116 | + **real(8) cmfd % entropy(1:current_batch)** |
| 117 | + |
| 118 | + CMFD estimate of Shannon entropy |
| 119 | + |
| 120 | + **real(8) cmfd % balance(1:current_batch)** |
| 121 | + |
| 122 | + RMS of the residual neutron balance equation on CMFD mesh |
| 123 | + |
| 124 | + **real(8) cmfd % dom(1:current_batch)** |
| 125 | + |
| 126 | + CMFD estimate of dominance ratio |
| 127 | + |
| 128 | + **real(8) cmfd % scr_cmp(1:current_batch)** |
| 129 | + |
| 130 | + RMS comparison of difference between OpenMC and CMFD fission source |
| 131 | + |
| 132 | +**integer(4) n_meshes** |
| 133 | + |
| 134 | + Number of meshes in tallies.xml file |
| 135 | + |
| 136 | +*do i = 1, n_meshes* |
| 137 | + |
| 138 | + **integer(4) meshes(i) % id** |
| 139 | + |
| 140 | + Unique ID of mesh. |
| 141 | + |
| 142 | + **integer(4) meshes(i) % type** |
| 143 | + |
| 144 | + Type of mesh. |
| 145 | + |
| 146 | + **integer(4) meshes(i) % n_dimension** |
| 147 | + |
| 148 | + Number of dimensions for mesh (2 or 3). |
| 149 | + |
| 150 | + **integer(4) meshes(i) % dimension(:)** |
| 151 | + |
| 152 | + Number of mesh cells in each dimension. |
| 153 | + |
| 154 | + **real(8) meshes(i) % lower_left(:)** |
| 155 | + |
| 156 | + Coordinates of lower-left corner of mesh. |
| 157 | + |
| 158 | + **real(8) meshes(i) % upper_right(:)** |
| 159 | + |
| 160 | + Coordinates of upper-right corner of mesh. |
| 161 | + |
| 162 | + **real(8) meshes(i) % width(:)** |
| 163 | + |
| 164 | + Width of each mesh cell in each dimension. |
| 165 | + |
| 166 | +**integer(4) n_tallies** |
| 167 | + |
| 168 | +*do i = 1, n_tallies* |
| 169 | + |
| 170 | + **integer(4) tallies(i) % id** |
| 171 | + |
| 172 | + Unique ID of tally. |
| 173 | + |
| 174 | + **integer(4) tallies(i) % n_realizations** |
| 175 | + |
| 176 | + Number of realizations for the i-th tally. |
| 177 | + |
| 178 | + **integer(4) size(tallies(i) % scores, 1)** |
| 179 | + |
| 180 | + Total number of score bins for the i-th tally |
| 181 | + |
| 182 | + **integer(4) size(tallies(i) % scores, 2)** |
| 183 | + |
| 184 | + Total number of filter bins for the i-th tally |
| 185 | + |
| 186 | + **integer(4) tallies(i) % n_filters** |
| 187 | + |
| 188 | + *do j = 1, tallies(i) % n_filters* |
| 189 | + |
| 190 | + **integer(4) tallies(i) % filter(j) % type** |
| 191 | + |
| 192 | + Type of tally filter. |
| 193 | + |
| 194 | + **integer(4) tallies(i) % filter(j) % n_bins** |
| 195 | + |
| 196 | + Number of bins for filter. |
| 197 | + |
| 198 | + **integer(4)/real(8) tallies(i) % filter(j) % bins(:)** |
| 199 | + |
| 200 | + Value for each filter bin of this type. |
| 201 | + |
| 202 | + **integer(4) tallies(i) % n_nuclide_bins** |
| 203 | + |
| 204 | + Number of nuclide bins. If none are specified, this is just one. |
| 205 | + |
| 206 | + *do j = 1, tallies(i) % n_nuclide_bins* |
| 207 | + |
| 208 | + **integer(4) tallies(i) % nuclide_bins(j)** |
| 209 | + |
| 210 | + Values of specified nuclide bins |
| 211 | + |
| 212 | + **integer(4) tallies(i) % n_score_bins** |
| 213 | + |
| 214 | + Number of scoring bins. |
| 215 | + |
| 216 | + *do j = 1, tallies(i) % n_score_bins* |
| 217 | + |
| 218 | + **integer(4) tallies(i) % score_bins(j)** |
| 219 | + |
| 220 | + Values of specified scoring bins (e.g. SCORE_FLUX). |
| 221 | + |
| 222 | + *do j = 1, tallies(i) % n_score_bins* |
| 223 | + |
| 224 | + **integer(4) tallies(i) % scatt_order(j)** |
| 225 | + |
| 226 | + Scattering Order specified scoring bins. |
| 227 | + |
| 228 | + **integer(4) tallies(i) % n_score_bins** |
| 229 | + |
| 230 | + Number of scoring bins without accounting for those added by |
| 231 | + the scatter-pn command. |
| 232 | + |
| 233 | +**integer(4) source_present** |
| 234 | + |
| 235 | + Flag indicated if source bank is present in the file |
| 236 | + |
| 237 | +**integer(4) n_realizations** |
| 238 | + |
| 239 | + Number of realizations for global tallies. |
| 240 | + |
| 241 | +**integer(4) N_GLOBAL_TALLIES** |
| 242 | + |
| 243 | + Number of global tally scores |
| 244 | + |
| 245 | +*do i = 1, N_GLOBAL_TALLIES* |
| 246 | + |
| 247 | + **real(8) global_tallies(i) % sum** |
| 248 | + |
| 249 | + Accumulated sum for the i-th global tally |
| 250 | + |
| 251 | + **real(8) global_tallies(i) % sum_sq** |
| 252 | + |
| 253 | + Accumulated sum of squares for the i-th global tally |
| 254 | + |
| 255 | +**integer(4) tallies_on** |
| 256 | + |
| 257 | + Flag indicated if tallies are present in the file. |
| 258 | + |
| 259 | +if (tallies_on > 0) |
| 260 | + |
| 261 | + *do i = 1, n_tallies* |
| 262 | + |
| 263 | + *do k = 1, size(tallies(i) % scores, 2)* |
| 264 | + |
| 265 | + *do j = 1, size(tallies(i) % scores, 1)* |
| 266 | + |
| 267 | + **real(8) tallies(i) % scores(j,k) % sum** |
| 268 | + |
| 269 | + Accumulated sum for the j-th score and k-th filter of the |
| 270 | + i-th tally |
| 271 | + |
| 272 | + **real(8) tallies(i) % scores(j,k) % sum_sq** |
| 273 | + |
| 274 | + Accumulated sum of squares for the j-th score and k-th |
| 275 | + filter of the i-th tally |
| 276 | + |
| 277 | +if (run_mode == MODE_EIGENVALUE and source_present) |
| 278 | + |
| 279 | + *do i = 1, n_particles* |
| 280 | + |
| 281 | + **real(8) source_bank(i) % wgt** |
| 282 | + |
| 283 | + Weight of the i-th source particle |
| 284 | + |
| 285 | + **real(8) source_bank(i) % xyz(1:3)** |
| 286 | + |
| 287 | + Coordinates of the i-th source particle. |
| 288 | + |
| 289 | + **real(8) source_bank(i) % uvw(1:3)** |
| 290 | + |
| 291 | + Direction of the i-th source particle |
| 292 | + |
| 293 | + **real(8) source_bank(i) % E** |
| 294 | + |
| 295 | + Energy of the i-th source particle. |
| 296 | + |
7 | 297 | ----------- |
8 | 298 | Revision 10 |
9 | 299 | ----------- |
|
0 commit comments