Commit caa74e80 authored by Gurecky, William's avatar Gurecky, William
Browse files

adding gold nodal 3d power ctf input deck for new integration test.

parent ac65057e
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -814,14 +814,20 @@ class SquareLatticeLWR_Nodal(CoreBuilder.Core):
          chanVTK (bool): Set to True to write the channel VTK file (default True).
          rodVTK (bool): Set to True to write the rod VTK file (default False).
          ctfHDF5 (bool): Set to True to write the native CTF HDF5 file (default True).
          veracsHDF5 (bool): Set to True to write the VERA-CS HDF5 file (requires that core map be specified and will only work for square rod lattices) (default False).
          veracsHDF5 (bool): Set to True to write the VERA-CS HDF5 file
            (requires that core map be specified and will only work for square rod lattices) (default False).
          chanASCII (bool): Set to True to write the ASCII channel output file.
          rodEdits (bool): Set to True to write rod edit information to the standard CTF .out file (Note the rod information in the .out file is limited in scope and it is better to get rod data from the native HDF5 file).
          rodEdits (bool): Set to True to write rod edit information to the standard CTF .out file
            (Note the rod information in the .out file is limited in scope and it is better to
             get rod data from the native HDF5 file).
          dnbEdits (bool): Set  to True to produce the CTF .dnb file, which contains information about DNB (default False).
      """
      if veracsHDF5 == True:
         rodMap, chanMap, assemMap, symOpt = me.getChannelAndRodMaps()
         me.model.setCoreMaps(rodMap, chanMap, assemMap, symOpt)
         if me.modelGuideTubes:
             raise RuntimeError("Nodal VERA CS edits are not compatible with modelGuideTubes=True. " + \
                     " Set modelGuideTubes=False")
      me.model.setEditOptions(chanVTK, rodVTK, ctfHDF5, veracsHDF5, chanASCII, rodEdits, dnbEdits)

   def getChannelAndRodMaps(me):
+1 −1
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ def main(power_3d_flag=1):
        axPow = axPow(np.array(axialMesh))
        powerDist3d = pow3D * axPow
        builder.setCorePowerShape3D(powerDist3d)
        builder.generateModel('nodal3dpow_deck.inp')
        builder.generateModel()
    else:
        builder.setCorePowerShape(radialPower=radPow, axialPower=axPow)
        builder.generateModel('orig_deck.inp')
+63705 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ runScriptTest "msre/single_block" "singleBlock.py" "$rebaseline"
runScriptTest "msre/single_block_loop" "make_deck.py" "$rebaseline"
runScriptTest "multiSection" "genModel.py" "$rebaseline"
runScriptTest "nodal_p7" "buildDeck.py" "$rebaseline"
runScriptTest "nodal_p7_pow3d" "buildDeck.py" "$rebaseline"
runScriptTest "msrTraining/simpleLoop/base" "genModel.py" "$rebaseline"
runScriptTest "msrTraining/simpleLoop/addPower" "genModel.py" "$rebaseline"
runScriptTest "msrTraining/simpleLoop/increaseFlow" "genModel.py" "$rebaseline"