Commit 176751b4 authored by Wysocki, Aaron's avatar Wysocki, Aaron
Browse files

Add inlet BC shape to nodal_p7

parent b488210a
Loading
Loading
Loading
Loading
+40 −1
Original line number Diff line number Diff line
@@ -13,6 +13,8 @@
# - The ability to provide the total core power to be used to calculate the average LHR
# - The ability to set global multipliers on wide and narrow gap widths and gap length
# - The ability to set RTWFP and convergence criteria for transient input decks
# - The ability to set a core inlet temperature distribution
# - The ability to set a core inlet flow rate distribution

import sys
sys.path.insert(0, '../../')
@@ -272,7 +274,44 @@ def main():
            3.1, 3.4, 3.8, 4.0, 4.6, 5.4, 6.5, 7.9, 9.2, 10.0]
    flow = [1.00, 1.00, 0.90, 0.83, 0.78, 0.75, 0.71, 0.70, 0.67,
            0.66, 0.64, 0.62, 0.61, 0.58, 0.55, 0.51, 0.46, 0.43, 0.40]
    builder.setCoreInletBC(inletMassFlux, inletTemp, flowRamp=[time, flow])

    tempDist = [
        7, 6, 6, 7, 8, 8, 9,
        4, 3, 3, 3, 3, 4, 4, 6, 9, 10, 11,
        -2, 0, 0, -2, -1, 0, 0, 1, 5, 7, 9, 11, 12,
        -5, -5, -5, -5, -8, -6, -3, 0, 2, 7, 9, 11, 12,
        -9, -9, -11, -10, -12, -11, -10, -7, -1, 3, 6, 10, 11, 12, 13,
        -13, -14, -16, -16, -15, -11, -11, -8, -1, 3, 7, 10, 11, 12, 13,
        -17, -18, -18, -18, -14, -10, -6, -2, 0, 5, 6, 9, 11, 12, 13,
        -22, -22, -20, -17, -15, -8, -1, -1, -1, 5, 8, 10, 11, 12, 13,
        -26, -25, -21, -18, -12, -6, 0, 0, 4, 8, 9, 11, 12, 13, 13,
        -28, -26, -22, -15, -10, -3, 2, 5, 9, 9, 11, 11, 13, 13, 13,
        -27, -27, -20, -15, -6, -2, 3, 8, 9, 11, 11, 12, 13, 13, 13,
        -24, -20, -12, -5, -1, 4, 8, 10, 11, 12, 12, 12, 13,
        -18, -17, -9, -5, 0, 4, 7, 9, 10, 11, 11, 12, 12,
        -10, -7, -4, -1, 2, 4, 7, 9, 9, 10, 10,
        -3, -1, 1, 3, 5, 7, 7]

    flowDist = [
        0.85, 0.89, 0.88, 0.88, 0.86, 0.88, 0.80,
        0.80, 0.79, 0.89, 0.96, 1.04, 0.95, 0.90, 0.94, 0.81, 0.82, 0.76,
        0.79, 0.85, 0.80, 0.93, 1.11, 1.03, 1.08, 1.04, 1.14, 0.96, 0.73, 0.83, 0.82,
        0.83, 0.83, 0.98, 1.07, 1.07, 1.19, 1.06, 1.25, 1.10, 1.15, 1.00, 0.89, 0.87,
        0.82, 0.87, 0.95, 1.14, 1.08, 1.29, 1.11, 1.19, 1.09, 1.28, 1.09, 1.12, 0.99, 0.96, 0.85,
        0.83, 0.91, 1.03, 1.07, 1.32, 1.15, 1.28, 1.10, 1.19, 1.11, 1.20, 1.05, 1.05, 0.93, 0.87,
        0.85, 0.89, 0.99, 1.19, 1.12, 1.27, 1.13, 1.16, 1.09, 1.29, 1.07, 1.15, 1.00, 0.91, 0.85,
        0.85, 0.90, 0.88, 1.09, 1.27, 1.08, 1.15, 1.29, 1.12, 1.06, 1.15, 1.06, 0.86, 0.88, 0.84,
        0.85, 0.90, 0.95, 1.24, 1.10, 1.20, 1.07, 1.18, 1.12, 1.24, 1.10, 1.16, 0.93, 0.93, 0.87,
        0.83, 0.91, 0.98, 1.05, 1.25, 1.11, 1.22, 1.10, 1.26, 1.12, 1.26, 1.08, 1.06, 0.91, 0.85,
        0.83, 0.93, 0.95, 1.10, 1.09, 1.22, 1.12, 1.25, 1.11, 1.27, 1.08, 1.15, 0.95, 0.89, 0.85,
        0.86, 0.88, 0.99, 1.08, 1.08, 1.16, 1.09, 1.19, 1.06, 1.08, 0.94, 0.83, 0.83,
        0.81, 0.83, 0.86, 0.96, 1.03, 1.01, 1.05, 0.97, 0.98, 0.95, 0.78, 0.80, 0.80,
        0.80, 0.87, 0.90, 0.92, 0.98, 0.94, 0.97, 0.87, 0.85, 0.81, 0.79,
        0.85, 0.88, 0.91, 0.94, 0.90, 0.85, 0.82]


    builder.setCoreInletBC(inletMassFlux, inletTemp, flowRamp=[
                           time, flow], massflowShape=flowDist, temperatureShape=tempDist)
    builder.setCoreOutletBC(outletPressure, inletTemp)

    # Set the nominal power and direct heating to coolant
+776 −776

File changed.

Preview size limit exceeded, changes collapsed.