Model Inputs

Model link: MHTGR Griffin Model

The Griffin neutronics input file for Exercise 1 is described below.

# ==============================================================================
# Model description
# Application : Griffin
# ------------------------------------------------------------------------------
# Idaho Falls, INL, June 28th, 2022
# Author(s): Javi Ortensi
# If using or referring to this model, please cite as explained in
# https://mooseframework.inl.gov/virtual_test_bed/citing.html
# ==============================================================================
# - MHTGR350 GRIFFIN standalone neutronics input
# - Main App
# ==============================================================================
# - The Model has been built based on [1].
# NOTE: - In the benchmark configuration, this input is run with second order
#         variables OR first order with mesh refinement
# TODO: - Once flux_map can be printed by material, homogenize all blocks to a
#         few for 10% performance boost
# ------------------------------------------------------------------------------
# [1] Ortensi, J. and Strydom, G. OECD/NEA Coupled Neutronic/Thermal-Fluids
#     Benchmark of the MHTGR-350 MW Core Design: Results for
#     Phase I Excercise I. Idaho National Laboratory. March 2020.
#     INL/LTD-17-43099-Revision-0.
# ==============================================================================
# MODEL PARAMETERS
# ==============================================================================

# Power ------------------------------------------------------------------------
tpow = 350e6 #(350 MW)

# ==============================================================================
# GLOBAL PARAMETERS
# ==============================================================================
[GlobalParams]
  G = 26
[]

# ==============================================================================
# MESH AND MATERIALS
# ==============================================================================
[Mesh]
  [fmg]
    type = FileMeshGenerator
    file = ../data/MHTGR_Tri_r2.e
  []
  [reassign_block_id]
    type = RenameBlockGenerator
    input = fmg
    old_block = '190 191 192 193 194 195 196 197 198 199 200 201 202 203 205 206 207 208 210 211 212 213 281 282 283 284
                 285 286 287 288 289 290 291 292 293 294 296 297 298 299 301 302 303 304 372 373 374 375 376 377 378 379
                 380 381 382 383 384 385 387 388 389 390 392 393 394 395 463 464 465 466 467 468 469 470 471 472 473 474
                 475 476 478 479 480 481 483 484 485 486 554 555 556 557 558 559 560 561 562 563 564 565 566 567 569 570
                 571 572 574 575 576 577 645 646 647 648 649 650 651 652 653 654 655 656 657 658 660 661 662 663 665 666
                 667 668 736 737 738 739 740 741 742 743 744 745 746 747 748 749 751 752 753 754 756 757 758 759 827 828
                 829 830 831 832 833 834 835 836 837 838 839 840 842 843 844 845 847 848 849 850 918 919 920 921 922 923
                 924 925 926 927 928 929 930 931 933 934 935 936 938 939 940 941 1009 1010 1011 1012 1013 1014 1015 1016
                 1017 1018 1019 1020 1021 1022 1024 1025 1026 1027 1029 1030 1031 1032

               1 2 3 4 5 6 7 92 93 94 95 96 97 98

               183 184 185 186 187 188 189 274 275 276 277 278 279 280 365 366 367 368 369 370 371
               456 457 458 459 460 461 462 547 548 549 550 551 552 553 638 639 640 641 642 643 644
               729 730 731 732 733 734 735 820 821 822 823 824 825 826 911 912 913 914 915 916 917
               1002 1003 1004 1005 1006 1007 1008

               1093 1094 1095 1096 1097 1098 1099 1184 1185 1186 1187 1188 1189 1190

               8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 28 29 30 31 99
               100 101 102 103 104 105 106 107 108 109 110 111 112 114 115 116 117
               119 120 121 122

               1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1115
               1116 1117 1118 1120 1121 1122 1123 1191 1192 1193 1194 1195 1196 1197 1198
               1199 1200 1201 1202 1203 1204 1206 1207 1208 1209 1211 1212 1213 1214

               22 27 32 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 52 53 54 55 56 57
               113 118 123 125 126 127 128 129 130 131 132 133 134 136 137 138 139 140 141 143 144 145 146 147 148

               204 209 214 216 217 218 219 220 221 222 223 224 225 227 228 229 230 231 232 234 235 236 237 238 239
               295 300 305 307 308 309 310 311 312 313 314 315 316 318 319 320 321 322 323 325 326 327 328 329 330
               386 391 396 398 399 400 401 402 403 404 405 406 407 409 410 411 412 413 414 416 417 418 419 420 421
               477 482 487 489 490 491 492 493 494 495 496 497 498 500 501 502 503 504 505 507 508 509 510 511 512
               568 573 578 580 581 582 583 584 585 586 587 588 589 591 592 593 594 595 596 598 599 600 601 602 603
               659 664 669 671 672 673 674 675 676 677 678 679 680 682 683 684 685 686 687 689 690 691 692 693 694
               750 755 760 762 763 764 765 766 767 768 769 770 771 773 774 775 776 777 778 780 781 782 783 784 785
               841 846 851 853 854 855 856 857 858 859 860 861 862 864 865 866 867 868 869 871 872 873 874 875 876
               932 937 942 944 945 946 947 948 949 950 951 952 953 955 956 957 958 959 960 962 963 964 965 966 967
               1023 1028 1033 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1046 1047 1048 1049 1050 1051 1053 1054 1055 1056 1057 1058

               1114 1119 1124 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1137 1138 1139
               1140 1141 1142 1144 1145 1146 1147 1148 1149 1205 1210 1215 1217 1218 1219 1220
               1221 1222 1223 1224 1225 1226 1228 1229 1230 1231 1232 1233 1235 1236 1237 1238 1239 1240

               44 51 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
               135 142 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
               174 175 176 177 178 179 180 181 182

            226 233 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273
            317 324 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
            408 415 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455
            499 506 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546
            590 597 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637
            681 688 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728
            772 779 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819
            863 870 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910
            954 961 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001
           1045 1052 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092

           1136 1143 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183
           1227 1234 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274

           1280 1281 1282 1283

           1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301

           1303 1305 1307

           1302 1304 1306'
    new_block = '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
                 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
                 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
                 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
                 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
                 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
                 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220

               221 221 221 221 221 221 221 221 221 221 221 221 221 221

               225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225
               225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225
               225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225
               225 225 225 225 225 225 225

               228 228 228 228 228 228 228 228 228 228 228 228 228 228

               222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222
               222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222
               222 222 222 222

               229 229 229 229 229 229 229 229 229 229 229 229 229 229 229
               229 229 229 229 229 229 229 229 229 229 229 229 229 229 229
               229 229 229 229 229 229 229 229 229 229 229 229 229 229

               223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223
               223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223

               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226

               230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230
               230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230
               230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230

               224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224
               224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224
               224 224 224 224 224 224 224 224 224

               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227

               231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231
               231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231

               223 223 223 223

               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226

               233 233 233

               234 234 234'
  []
  [add_material_id]
    type = SubdomainExtraElementIDGenerator
    input = reassign_block_id
    subdomains = '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
                  37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
                  70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
                  102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                  127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
                  152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
                  177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
                  202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
                  227 228 229 230 231 233 234'
    extra_element_id_names = material_id
    extra_element_ids = '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
                  37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
                  70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
                  102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                  127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
                  152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
                  177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
                  202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
                  227 228 229 230 231 233 234'
  []
  second_order = true
  # uniform_refine = 1  # alternative to using higher order variables
[]

[Materials]
  [const_nm]
    type = ConstantMatIDNeutronicsMaterial
    library_file = '../data/materials_p0_trc.xml'
    is_meter = true
    plus = true
    #material_id =  1
    block = '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
                  37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
                  70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
                  102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                  127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
                  152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
                  177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
                  202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
                  227 228 229 230 231 233 234'
  []
[]

# ==============================================================================
# USER OBJECTS
# ==============================================================================
[UserObjects]
  [Flux1]
    type = FluxCartesianCoreMap
    transport_system = diff
    print = 'block'
    power_map_from = kappa_sigma_f
    print_assemblywise_fluxes = true
    print_groupflux = true
    output_in = 'griffin_RR.out'
    execute_on = 'TIMESTEP_END'
  []
[]

[PowerDensity]
  power = ${tpow}
  power_density_variable = power_density
  integrated_power_postprocessor = integrated_power
  power_scaling_postprocessor = power_scaling
  family = MONOMIAL
  order = CONSTANT
[]

# ==============================================================================
# INITIAL CONDITIONS AND FUNCTIONS
# ==============================================================================
[ICs]
[]

[Functions]
  active = 'tr_x tr_y tr_z itr_x itr_y itr_z '
  [tr_x]
    type = ParsedFunction
    expression = x*cos(4*pi/3)-y*sin(4*pi/3)
  []
  [tr_y]
    type = ParsedFunction
    expression = x*sin(4*pi/3)+y*cos(4*pi/3)
  []
  [tr_z]
    type = ParsedFunction
    expression = z
  []
  [itr_x]
    type = ParsedFunction
    expression = (x*cos(4*pi/3)+y*sin(4*pi/3))
  []
  [itr_y]
    type = ParsedFunction
    expression = (-x*sin(4*pi/3)+y*cos(4*pi/3))
  []
  [itr_z]
    type = ParsedFunction
    expression = z
  []
[]

# ==============================================================================
# BOUNDARY CONDITIONS
# ==============================================================================
[BCs]
  active = 'Periodic'
  [Periodic]
    [trans]
      primary = 1
      secondary = 2
      transform_func = 'tr_x tr_y tr_z'
      inv_transform_func = 'itr_x itr_y itr_z'
    []
  []
  [transverse]
    type = per
  []
[]

# ==============================================================================
# EXECUTION PARAMETERS
# ==============================================================================
[TransportSystems]
  particle = neutron
  equation_type = eigenvalue
  VacuumBoundary = '3 4 5'

  [diff]
    scheme = CFEM-Diffusion
    n_delay_groups = 0
    family = LAGRANGE
    order = SECOND
    fission_source_aux = true
    assemble_scattering_jacobian = true
    assemble_fission_jacobian = true

    fixed_jacobian = true
  []
[]

[MultigroupPreconditioning]
  active = 'pbp'
  [pbp]
    type = PBP
    preconditioner = 'AMG'
  []
  [bip]
    type = BIP
    bi_max_iter = 10
    bi_rel_tol = 1e-8
    l_tol = 1e-12
  []
[]

[Executioner]
  type = Eigenvalue
  solve_type = 'PJFNK'
  petsc_options_iname = '-pc_type -pc_hypre_type -pc_hypre_boomeramg_strong_threshold -ksp_gmres_restart'
  petsc_options_value = 'hypre boomeramg 0.7 200'
  nl_rel_tol = 1e-5
  nl_abs_tol = 5e-6
  l_max_its = 600
  free_power_iterations = 2
[]

# ==============================================================================
# POSTPROCESSORS DEBUG AND OUTPUTS
# ==============================================================================
[Postprocessors]
  [TotalPower]
    type = ElementIntegralVariablePostprocessor
    variable = power_density
    block = '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
                37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
                70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
                102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
                152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
                177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
                202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220'
    execute_on = 'INITIAL TIMESTEP_END'
  []
[]

[Debug]
  show_actions = false
  # show_material_props = 1
  # check_boundary_coverage = 1
  # print_block_volume = 1
  # show_neutronics_material_coverage = 1
[]

[Outputs]
  file_base = out_griffin
  time_step_interval = 1
  exodus = true
  csv = true
  perf_graph = true
  [console]
    type = Console
  []
[]
(htgr/mhtgr/mhtgr_griffin/benchmark/griffin.i)

Model Parameters

The first block is for model parameters. This could include the reactor state point (fuel temperature, coolant temperature/density, etc.), reactor power level, or any user-desired information. The cross sections for this model are not parameterized, instead, there only exists one state point – provided for the benchmark. The power for the MHTGR is 350 MW and set with tpow.

Global Parameters

Global parameters are parameters that may be referenced throughout the input file. This block is user specific; the purpose is to simplify repeated variable entries. However, be careful to not override a default parameter option in a later block without meaning to. It is common to provide cross section data for materials in this block. Here we include the number of energy groups for the diffusion solver with G = 26.

[GlobalParams]
  G = 26
[]
(htgr/mhtgr/mhtgr_griffin/benchmark/griffin.i)

Geometry and Mesh

The mesh block reads in the provided Exodus mesh file. Using the FileMeshGenerator type, the mesh file is identified with the file parameter. It is common to read in the material IDs directly from the mesh if they are provided. However, in this case, the mesh does not hold the material ids and these will be specified in the [Materials] block.

commentnote

Exodus files can be viewed with an Exodus supported visualization tool (i.e. ParaView, standalone or through workbench, or peacock). This allows the visualization of the computational mesh. It also allows for easy identification of material and equivalent ids (if provided).

[Mesh]
  [fmg]
    type = FileMeshGenerator
    file = ../data/MHTGR_Tri_r2.e
  []
  [reassign_block_id]
    type = RenameBlockGenerator
    input = fmg
    old_block = '190 191 192 193 194 195 196 197 198 199 200 201 202 203 205 206 207 208 210 211 212 213 281 282 283 284
                 285 286 287 288 289 290 291 292 293 294 296 297 298 299 301 302 303 304 372 373 374 375 376 377 378 379
                 380 381 382 383 384 385 387 388 389 390 392 393 394 395 463 464 465 466 467 468 469 470 471 472 473 474
                 475 476 478 479 480 481 483 484 485 486 554 555 556 557 558 559 560 561 562 563 564 565 566 567 569 570
                 571 572 574 575 576 577 645 646 647 648 649 650 651 652 653 654 655 656 657 658 660 661 662 663 665 666
                 667 668 736 737 738 739 740 741 742 743 744 745 746 747 748 749 751 752 753 754 756 757 758 759 827 828
                 829 830 831 832 833 834 835 836 837 838 839 840 842 843 844 845 847 848 849 850 918 919 920 921 922 923
                 924 925 926 927 928 929 930 931 933 934 935 936 938 939 940 941 1009 1010 1011 1012 1013 1014 1015 1016
                 1017 1018 1019 1020 1021 1022 1024 1025 1026 1027 1029 1030 1031 1032

               1 2 3 4 5 6 7 92 93 94 95 96 97 98

               183 184 185 186 187 188 189 274 275 276 277 278 279 280 365 366 367 368 369 370 371
               456 457 458 459 460 461 462 547 548 549 550 551 552 553 638 639 640 641 642 643 644
               729 730 731 732 733 734 735 820 821 822 823 824 825 826 911 912 913 914 915 916 917
               1002 1003 1004 1005 1006 1007 1008

               1093 1094 1095 1096 1097 1098 1099 1184 1185 1186 1187 1188 1189 1190

               8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 28 29 30 31 99
               100 101 102 103 104 105 106 107 108 109 110 111 112 114 115 116 117
               119 120 121 122

               1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1115
               1116 1117 1118 1120 1121 1122 1123 1191 1192 1193 1194 1195 1196 1197 1198
               1199 1200 1201 1202 1203 1204 1206 1207 1208 1209 1211 1212 1213 1214

               22 27 32 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 52 53 54 55 56 57
               113 118 123 125 126 127 128 129 130 131 132 133 134 136 137 138 139 140 141 143 144 145 146 147 148

               204 209 214 216 217 218 219 220 221 222 223 224 225 227 228 229 230 231 232 234 235 236 237 238 239
               295 300 305 307 308 309 310 311 312 313 314 315 316 318 319 320 321 322 323 325 326 327 328 329 330
               386 391 396 398 399 400 401 402 403 404 405 406 407 409 410 411 412 413 414 416 417 418 419 420 421
               477 482 487 489 490 491 492 493 494 495 496 497 498 500 501 502 503 504 505 507 508 509 510 511 512
               568 573 578 580 581 582 583 584 585 586 587 588 589 591 592 593 594 595 596 598 599 600 601 602 603
               659 664 669 671 672 673 674 675 676 677 678 679 680 682 683 684 685 686 687 689 690 691 692 693 694
               750 755 760 762 763 764 765 766 767 768 769 770 771 773 774 775 776 777 778 780 781 782 783 784 785
               841 846 851 853 854 855 856 857 858 859 860 861 862 864 865 866 867 868 869 871 872 873 874 875 876
               932 937 942 944 945 946 947 948 949 950 951 952 953 955 956 957 958 959 960 962 963 964 965 966 967
               1023 1028 1033 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1046 1047 1048 1049 1050 1051 1053 1054 1055 1056 1057 1058

               1114 1119 1124 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1137 1138 1139
               1140 1141 1142 1144 1145 1146 1147 1148 1149 1205 1210 1215 1217 1218 1219 1220
               1221 1222 1223 1224 1225 1226 1228 1229 1230 1231 1232 1233 1235 1236 1237 1238 1239 1240

               44 51 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
               135 142 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
               174 175 176 177 178 179 180 181 182

            226 233 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273
            317 324 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
            408 415 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455
            499 506 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546
            590 597 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637
            681 688 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728
            772 779 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819
            863 870 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910
            954 961 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001
           1045 1052 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092

           1136 1143 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183
           1227 1234 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274

           1280 1281 1282 1283

           1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301

           1303 1305 1307

           1302 1304 1306'
    new_block = '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
                 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
                 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
                 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
                 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
                 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
                 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220

               221 221 221 221 221 221 221 221 221 221 221 221 221 221

               225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225
               225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225
               225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225 225
               225 225 225 225 225 225 225

               228 228 228 228 228 228 228 228 228 228 228 228 228 228

               222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222
               222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222
               222 222 222 222

               229 229 229 229 229 229 229 229 229 229 229 229 229 229 229
               229 229 229 229 229 229 229 229 229 229 229 229 229 229 229
               229 229 229 229 229 229 229 229 229 229 229 229 229 229

               223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223
               223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223

               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226
               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226

               230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230
               230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230
               230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230

               224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224
               224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224 224
               224 224 224 224 224 224 224 224 224

               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227
               227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227 227

               231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231
               231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231 231

               223 223 223 223

               226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226

               233 233 233

               234 234 234'
  []
  [add_material_id]
    type = SubdomainExtraElementIDGenerator
    input = reassign_block_id
    subdomains = '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
                  37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
                  70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
                  102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                  127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
                  152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
                  177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
                  202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
                  227 228 229 230 231 233 234'
    extra_element_id_names = material_id
    extra_element_ids = '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
                  37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
                  70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
                  102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                  127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
                  152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
                  177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
                  202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
                  227 228 229 230 231 233 234'
  []
  second_order = true
  # uniform_refine = 1  # alternative to using higher order variables
[]
(htgr/mhtgr/mhtgr_griffin/benchmark/griffin.i)

Functions

User specified functions are defined in this block. Here, we construct a function for a periodic boundary condition that will be applied to the core segment sides of the symmetric problem. This is accomplished using a ParsedFunction acting on the Cartesian coordinates specified with value. The periodic boundary condition is imposed onto the left and right core segments with a sin/cosine function.

[Functions]
  active = 'tr_x tr_y tr_z itr_x itr_y itr_z '
  [tr_x]
    type = ParsedFunction
    expression = x*cos(4*pi/3)-y*sin(4*pi/3)
  []
  [tr_y]
    type = ParsedFunction
    expression = x*sin(4*pi/3)+y*cos(4*pi/3)
  []
  [tr_z]
    type = ParsedFunction
    expression = z
  []
  [itr_x]
    type = ParsedFunction
    expression = (x*cos(4*pi/3)+y*sin(4*pi/3))
  []
  [itr_y]
    type = ParsedFunction
    expression = (-x*sin(4*pi/3)+y*cos(4*pi/3))
  []
  [itr_z]
    type = ParsedFunction
    expression = z
  []
[]
(htgr/mhtgr/mhtgr_griffin/benchmark/griffin.i)

Materials and User Objects

The materials block allows the user to link the cross-section library to the computational mesh. There are many material types that may be used. Here, we specify the ConstantNeutronicsMaterial type because the cross sections are fixed for this exercise of the benchmark. The material_id on the cross-section library is then linked to the corresponding block on the computational mesh.

Notice that the material blocks are grouped by the axial level in the core (provided by the benchmark): level 1 to level 10.

[Materials]
  [const_nm]
    type = ConstantMatIDNeutronicsMaterial
    library_file = '../data/materials_p0_trc.xml'
    is_meter = true
    plus = true
    #material_id =  1
    block = '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
                  37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
                  70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
                  102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                  127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
                  152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
                  177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
                  202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
                  227 228 229 230 231 233 234'
  []
[]
(htgr/mhtgr/mhtgr_griffin/benchmark/griffin.i)

The user objects block allows the user to develop custom objects. Here, we define a block-wise map of reaction rates with the FluxCartesianCoreMap type. In this case, the FluxCartesianCoreMap generates the fission neutron production rate, power density, neutron absorption rate, total neutron flux, and the group-wise neutron fluxes for each block.

[UserObjects]
  [Flux1]
    type = FluxCartesianCoreMap
    transport_system = diff
    print = 'block'
    power_map_from = kappa_sigma_f
    print_assemblywise_fluxes = true
    print_groupflux = true
    output_in = 'griffin_RR.out'
    execute_on = 'TIMESTEP_END'
  []
[]
(htgr/mhtgr/mhtgr_griffin/benchmark/griffin.i)

The power density is not calculated implicitly and must be defined in the [PowerDensity] block. This block provides the power density with a user specified power and the proper flux scaling factor in the postprocessor. The two required arguments are power and power_density_variable. The power is in units of Watts. The power_density_variable simply sets the variable name. Optional arguments include the post-processors to use. The integrated_power_postprocessor sets the desired name for the integrated power post-processor. Likewise, the power_scaling_postprocessor sets the desired name for the power scaling post-processor. Lastly, the family and order parameters are the polynomial representations of the power density corresponding to the underlying FEM.

[PowerDensity]
  power = ${tpow}
  power_density_variable = power_density
  integrated_power_postprocessor = integrated_power
  power_scaling_postprocessor = power_scaling
  family = MONOMIAL
  order = CONSTANT
[]
(htgr/mhtgr/mhtgr_griffin/benchmark/griffin.i)

Transport System

The transport system is the heart of the Griffin simulation. We define the transport particle and eigenvalue equation with particle and equation_type, respectively. The number of energy groups is set to "26" in [GlobalParameters]. Vacuum boundary conditions are imposed on side sets "3 4 5": the top, bottom, and outer radial reflector boundaries. Reflective boundary conditions are applied to side sets "1 2": the core segments of the symmetric problem. The reflective boundary conditions are overridden by the periodic boundary defined in [Functions].

The [diff] sub-block defines the method to solve the problem. We use Griffin's diffusion method built on the MOOSE continuous finite element method solver. Finite element parameters are set with the family and order, which define the family of functions used to approximate the solution and polynomial order. In this case the second order lagrange polynomials are used. The last two options, assemble_scattering_jacobian and assemble_fission_jacobian are required to use the "PJFNK" method defined in the [Executioner].

[TransportSystems]
  particle = neutron
  equation_type = eigenvalue
  VacuumBoundary = '3 4 5'

  [diff]
    scheme = CFEM-Diffusion
    n_delay_groups = 0
    family = LAGRANGE
    order = SECOND
    fission_source_aux = true
    assemble_scattering_jacobian = true
    assemble_fission_jacobian = true

    fixed_jacobian = true
  []
[]
(htgr/mhtgr/mhtgr_griffin/benchmark/griffin.i)

Executioner

The [Executioner] block lets the user specify the type of problem to solve. Here, we select an Eigenvalue problem which will solve for the criticality and multi-group scalar flux (eigenvalue and eigenvectors). We also specify to solve with a Preconditioned Jacobian Free Newton Krylov method by setting solve_type equal to "PJFNK".

There are optional arguments that may also be included. For example, we first define a few PETSc options. The maximum number of inner iterations is set with l_max_its which is advised for a large number of energy groups (26 in this case). The initial free power iteration facilitate the elimination of higher order modes before using a Newton-like method. We set the number of free_power_iterations to 2.

[Executioner]
  type = Eigenvalue
  solve_type = 'PJFNK'
  petsc_options_iname = '-pc_type -pc_hypre_type -pc_hypre_boomeramg_strong_threshold -ksp_gmres_restart'
  petsc_options_value = 'hypre boomeramg 0.7 200'
  nl_rel_tol = 1e-5
  nl_abs_tol = 5e-6
  l_max_its = 600
  free_power_iterations = 2
[]
(htgr/mhtgr/mhtgr_griffin/benchmark/griffin.i)

Post-processors, Debug, and Outputs

The last blocks are for post-processors, debug options, and outputs. A post-processor can be thought of as a function to derive a variable of interest from the solution. For example, the total power is the integral of the power density over the entire spatial domain. This is defined with the ElementIntegralVariablePostprocessor type and the power density variable we created earlier (power_density). The blocks – with fissile material – at which the power density should be computed are defined with block. Finally, the execute_on parameter sets the time of execution. In this case, the initial time step and at the end of each subsequent time step.

[Postprocessors]
  [TotalPower]
    type = ElementIntegralVariablePostprocessor
    variable = power_density
    block = '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
                37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
                70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
                102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
                152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
                177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
                202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220'
    execute_on = 'INITIAL TIMESTEP_END'
  []
[]
(htgr/mhtgr/mhtgr_griffin/benchmark/griffin.i)

The debug options can be helpful when debugging a case. These are a set of true (1) and false (0) options to print statements.

[Debug]
  show_actions = false
  # show_material_props = 1
  # check_boundary_coverage = 1
  # print_block_volume = 1
  # show_neutronics_material_coverage = 1
[]
(htgr/mhtgr/mhtgr_griffin/benchmark/griffin.i)

The last block executes the output files from the simulation. Two of the most common options include the exodus and csv file. The Exodus file can be viewed with the same software as the mesh, but now will show the solution and solution derived quantities such as the multi-group scalar flux and power distribution. The csv file stores a summary of the solution that includes the criticality. The perf_graph parameter is helpful to evaluate the computational run time.

[Outputs]
  file_base = out_griffin
  time_step_interval = 1
  exodus = true
  csv = true
  perf_graph = true
  [console]
    type = Console
  []
[]
(htgr/mhtgr/mhtgr_griffin/benchmark/griffin.i)

How to run the model

The model can be run with Griffin in serial or parallel respectively with:

griffin-opt -i griffin.i

mpirun griffin-opt -i griffin.i

Running this model on a cluster using an interactive computational node - the following computational resources are recommended.

qsub -I -l select=4:ncpus=40:mpiprocs=40 -l walltime=02:00:00 -P neams