- heightAxial location of point [m]
C++ Type:Real
Unit:(no unit assumed)
Controllable:No
Description:Axial location of point [m]
- indexIndex of subchannel
C++ Type:int
Controllable:No
Description:Index of subchannel
- variableVariable you want the value of
C++ Type:VariableName
Unit:(no unit assumed)
Controllable:No
Description:Variable you want the value of
SubChannelPointValue
Prints out a user selected value of a specified subchannel at a user selected axial height
Overview
The user needs to specify the "variable" whose value they want to see, the "index" of the subchannel and the "height". The postprocessor will interpolate and print the value of that subchannel variable at that location.
Example Input File Syntax
[Postprocessors<<<{"href": "../../syntax/Postprocessors/index.html"}>>>]
[report_mass_flux_inlet]
type = Receiver<<<{"description": "Reports the value stored in this processor, which is usually filled in by another object. The Receiver does not compute its own value.", "href": "Receiver.html"}>>>
default<<<{"description": "The default value"}>>> = ${mass_flux_in}
[]
[total_pressure_drop]
type = SubChannelDelta<<<{"description": "Calculates an absolute overall inlet-mass-flow-rate weighted difference, of a chosen variable, for the whole subchannel assembly, from inlet to outlet", "href": "SubChannelDelta.html"}>>>
variable<<<{"description": "Variable you want the delta of"}>>> = P
execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = "timestep_end"
[]
[T1]
type = SubChannelPointValue<<<{"description": "Prints out a user selected value of a specified subchannel at a user selected axial height", "href": "SubChannelPointValue.html"}>>>
variable<<<{"description": "Variable you want the value of"}>>> = T
index<<<{"description": "Index of subchannel"}>>> = 0
execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = "timestep_end"
height<<<{"description": "Axial location of point [m]"}>>> = 1
[]
[T2]
type = SubChannelPointValue<<<{"description": "Prints out a user selected value of a specified subchannel at a user selected axial height", "href": "SubChannelPointValue.html"}>>>
variable<<<{"description": "Variable you want the value of"}>>> = T
index<<<{"description": "Index of subchannel"}>>> = 7
execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = "timestep_end"
height<<<{"description": "Axial location of point [m]"}>>> = 1
[]
[T3]
type = SubChannelPointValue<<<{"description": "Prints out a user selected value of a specified subchannel at a user selected axial height", "href": "SubChannelPointValue.html"}>>>
variable<<<{"description": "Variable you want the value of"}>>> = T
index<<<{"description": "Index of subchannel"}>>> = 14
execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = "timestep_end"
height<<<{"description": "Axial location of point [m]"}>>> = 1
[]
[T4]
type = SubChannelPointValue<<<{"description": "Prints out a user selected value of a specified subchannel at a user selected axial height", "href": "SubChannelPointValue.html"}>>>
variable<<<{"description": "Variable you want the value of"}>>> = T
index<<<{"description": "Index of subchannel"}>>> = 21
execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = "timestep_end"
height<<<{"description": "Axial location of point [m]"}>>> = 1
[]
[T5]
type = SubChannelPointValue<<<{"description": "Prints out a user selected value of a specified subchannel at a user selected axial height", "href": "SubChannelPointValue.html"}>>>
variable<<<{"description": "Variable you want the value of"}>>> = T
index<<<{"description": "Index of subchannel"}>>> = 28
execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = "timestep_end"
height<<<{"description": "Axial location of point [m]"}>>> = 1
[]
[T6]
type = SubChannelPointValue<<<{"description": "Prints out a user selected value of a specified subchannel at a user selected axial height", "href": "SubChannelPointValue.html"}>>>
variable<<<{"description": "Variable you want the value of"}>>> = T
index<<<{"description": "Index of subchannel"}>>> = 35
execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = "timestep_end"
height<<<{"description": "Axial location of point [m]"}>>> = 1
[]
[](modules/subchannel/test/tests/problems/psbt/psbt_explicit.i)Input Parameters
- allow_duplicate_execution_on_initialFalseIn the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).
Default:False
C++ Type:bool
Controllable:No
Description:In the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).
- execute_onTIMESTEP_ENDThe list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html.
Default:TIMESTEP_END
C++ Type:ExecFlagEnum
Options:XFEM_MARK, FORWARD, ADJOINT, HOMOGENEOUS_FORWARD, ADJOINT_TIMESTEP_BEGIN, ADJOINT_TIMESTEP_END, NONE, INITIAL, LINEAR, LINEAR_CONVERGENCE, NONLINEAR, NONLINEAR_CONVERGENCE, POSTCHECK, TIMESTEP_END, TIMESTEP_BEGIN, MULTIAPP_FIXED_POINT_END, MULTIAPP_FIXED_POINT_BEGIN, MULTIAPP_FIXED_POINT_CONVERGENCE, MULTISYSTEM_FIXED_POINT_ITERATION_END, FINAL, CUSTOM, TRANSFER
Controllable:No
Description:The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html.
- execution_order_group0Execution order groups are executed in increasing order (e.g., the lowest number is executed first). Note that negative group numbers may be used to execute groups before the default (0) group. Please refer to the user object documentation for ordering of user object execution within a group.
Default:0
C++ Type:int
Controllable:No
Description:Execution order groups are executed in increasing order (e.g., the lowest number is executed first). Note that negative group numbers may be used to execute groups before the default (0) group. Please refer to the user object documentation for ordering of user object execution within a group.
- force_postauxFalseForces the UserObject to be executed in POSTAUX
Default:False
C++ Type:bool
Controllable:No
Description:Forces the UserObject to be executed in POSTAUX
- force_preauxFalseForces the UserObject to be executed in PREAUX
Default:False
C++ Type:bool
Controllable:No
Description:Forces the UserObject to be executed in PREAUX
- force_preicFalseForces the UserObject to be executed in PREIC during initial setup
Default:False
C++ Type:bool
Controllable:No
Description:Forces the UserObject to be executed in PREIC during initial setup
Execution Scheduling Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
Controllable:No
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Controllable:Yes
Description:Set the enabled status of the MooseObject.
- outputsVector of output names where you would like to restrict the output of variables(s) associated with this object
C++ Type:std::vector<OutputName>
Controllable:No
Description:Vector of output names where you would like to restrict the output of variables(s) associated with this object
- use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.
Default:False
C++ Type:bool
Controllable:No
Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.
Advanced Parameters
- prop_getter_suffixAn optional suffix parameter that can be appended to any attempt to retrieve/get material properties. The suffix will be prepended with a '_' character.
C++ Type:MaterialPropertyName
Unit:(no unit assumed)
Controllable:No
Description:An optional suffix parameter that can be appended to any attempt to retrieve/get material properties. The suffix will be prepended with a '_' character.
- use_interpolated_stateFalseFor the old and older state use projected material properties interpolated at the quadrature points. To set up projection use the ProjectedStatefulMaterialStorageAction.
Default:False
C++ Type:bool
Controllable:No
Description:For the old and older state use projected material properties interpolated at the quadrature points. To set up projection use the ProjectedStatefulMaterialStorageAction.
Material Property Retrieval Parameters
Input Files
- (modules/subchannel/test/tests/ics/marvel/test.i)
- (modules/subchannel/validation/PNNL_12_pin/transient/2X6_transient.i)
- (modules/subchannel/test/tests/problems/psbt/psbt_monolithic.i)
- (modules/subchannel/verification/friction_model_verification/friction_model/friction_factor_sampling.i)
- (modules/subchannel/validation/Blockage/THORS/FFM-5B_low.i)
- (modules/subchannel/test/tests/problems/deformation/quad_pin_diameter.i)
- (modules/subchannel/test/tests/problems/SFR/sodium-19pin/test19_monolithic.i)
- (modules/subchannel/verification/enthalpy_mixing_verification/two_channel.i)
- (modules/subchannel/validation/areva_FCTF/deformed_duct_pp.i)
- (modules/subchannel/validation/EBR-II/XX09_SCM_TR17.i)
- (modules/subchannel/validation/EBR-II/XX09_SCM_SS17.i)
- (modules/subchannel/verification/friction_model_verification/friction_model/XX09_SS17.i)
- (modules/subchannel/validation/PNNL_12_pin/steady_state/2X6_ss.i)
- (modules/subchannel/validation/psbt/psbt_ss/psbt.i)
- (modules/subchannel/test/tests/ics/tri_flow_area/test.i)
- (modules/subchannel/test/tests/problems/psbt/psbt_explicit_staggered.i)
- (modules/subchannel/verification/friction_model_verification/two_channel/two_channel.i)
- (modules/subchannel/validation/EBR-II/XX09_SCM_TR45R.i)
- (modules/subchannel/validation/ORNL_19_pin/test_ORNL_19.i)
- (modules/subchannel/validation/Blockage/THORS/FFM-5B_high.i)
- (modules/subchannel/test/tests/auxkernels/mass_flow_rate/blocked_test.i)
- (modules/subchannel/test/tests/ics/mass_flow/test.i)
- (modules/subchannel/test/tests/ics/FCTFdisplacementIC/test.i)
- (modules/subchannel/test/tests/ics/quad_wetted_perimeter/test.i)
- (modules/subchannel/test/tests/postprocessors/trisubchannelpointvalue/test.i)
- (modules/subchannel/test/tests/problems/SFR/sodium-7pin/case1_scm.i)
- (modules/subchannel/test/tests/problems/psbt/psbt_implicit.i)
- (modules/subchannel/verification/friction_model_verification/friction_model/pacio_paper.i)
- (modules/subchannel/test/tests/problems/Lead-LBE-19pin/test_LEAD-19pin.i)
- (modules/subchannel/test/tests/problems/Lead-LBE-19pin/test_LBE-19pin.i)
- (modules/subchannel/test/tests/ics/tri_wetted_perimeter/test.i)
- (modules/subchannel/validation/EBR-II/XX09_SCM_SS17_corrected.i)
- (modules/subchannel/test/tests/problems/SFR/sodium-19pin/test19_implicit.i)
- (modules/subchannel/test/tests/postprocessors/quadsubchannelpointvalue/test_error.i)
- (modules/subchannel/validation/Blockage/THORS/FFM-3A.i)
- (modules/subchannel/validation/EBR-II/XX09_SCM_SS45R_corrected.i)
- (modules/subchannel/test/tests/postprocessors/quadsubchannelpointvalue/test.i)
- (modules/subchannel/test/tests/problems/SFR/sodium-19pin/test19_explicit.i)
- (modules/subchannel/verification/friction_model_verification/friction_model/pacio_liang_mdot.i)
- (modules/subchannel/verification/friction_model_verification/two_channel/two_channel2.i)
- (modules/subchannel/test/tests/problems/psbt/psbt_explicit_v2.i)
- (modules/subchannel/validation/EBR-II/XX09_SCM_SS45R.i)
- (modules/subchannel/verification/friction_model_verification/friction_model/tri_wire_flow_split.i)
- (modules/subchannel/test/tests/problems/deformation/tri_pin_diameter.i)
- (modules/subchannel/verification/friction_model_verification/friction_model/tri_bare_flow_split.i)
- (modules/subchannel/verification/friction_model_verification/friction_model/pacio_kennedy_mdot.i)
- (modules/subchannel/test/tests/problems/psbt/psbt_explicit.i)
- (modules/subchannel/test/tests/ics/quad_flow_area/test.i)
- (modules/subchannel/validation/areva_FCTF/non_deformed_duct_pp.i)
- (modules/subchannel/test/tests/problems/SFR/EBR-II/XX09_SS_SHRT17.i)
variable
C++ Type:VariableName
Unit:(no unit assumed)
Controllable:No
Description:Variable you want the value of
index
C++ Type:int
Controllable:No
Description:Index of subchannel
height
C++ Type:Real
Unit:(no unit assumed)
Controllable:No
Description:Axial location of point [m]
(modules/subchannel/test/tests/problems/psbt/psbt_explicit.i)
T_in = 359.15
# [1e+6 kg/m^2-hour] turns into kg/m^2-sec
mass_flux_in = '${fparse 1e+6 * 17.00 / 3600.}'
P_out = 4.923e6 # Pa
pin_diameter = 0.00950
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 6
ny = 6
n_cells = 10
pitch = 0.0126
pin_diameter = ${pin_diameter}
side_gap = 0.00095
heated_length = 1.0
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
n_blocks = 1
compute_density = true
compute_viscosity = true
compute_power = true
P_out = ${P_out}
verbose_subchannel = true
friction_closure = 'MATRA'
pin_HTC_closure = 'Dittus-Boelter'
full_output = true
mixing_closure ='constant_beta'
[]
[SCMClosures]
[MATRA]
type = SCMFrictionMATRA
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMQuadPowerIC
variable = q_prime
power = 1.0e6 # W
filename = "power_profile.txt" #type in name of file that describes radial power profile
block = fuel_pins
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = report_mass_flux_inlet
execute_on = 'timestep_begin'
block = subchannel
[]
[]
[Postprocessors]
[report_mass_flux_inlet]
type = Receiver
default = ${mass_flux_in}
[]
[total_pressure_drop]
type = SubChannelDelta
variable = P
execute_on = "timestep_end"
[]
[T1]
type = SubChannelPointValue
variable = T
index = 0
execute_on = "timestep_end"
height = 1
[]
[T2]
type = SubChannelPointValue
variable = T
index = 7
execute_on = "timestep_end"
height = 1
[]
[T3]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 1
[]
[T4]
type = SubChannelPointValue
variable = T
index = 21
execute_on = "timestep_end"
height = 1
[]
[T5]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 1
[]
[T6]
type = SubChannelPointValue
variable = T
index = 35
execute_on = "timestep_end"
height = 1
[]
[]
[Outputs]
csv = true
[]
[Executioner]
type = Steady
[]
(modules/subchannel/test/tests/ics/marvel/test.i)
################################################################################
## MARVEL-type SCM geometry setup simulation ##
## POC : Vasileios Kyriakopoulos, [email protected] ##
################################################################################
heated_length = 0.51
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = 4
n_cells = 40
flat_to_flat = 0.22
heated_length = ${heated_length}
unheated_length_entry = 0.2
unheated_length_exit = 0.2
pin_diameter = 0.03269
pitch = 0.0346514
dwire = 0.0
hwire = 0.0
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[AuxVariables]
[S]
block = subchannel
[]
[w_perim]
block = subchannel
[]
[]
[Problem]
type = NoSolveProblem
[]
[ICs]
[S_IC]
type = MarvelTriFlowAreaIC
variable = S
[]
[w_perim_IC]
type = MarvelTriWettedPerimIC
variable = w_perim
[]
[]
[Postprocessors]
[center_S]
type = SubChannelPointValue
variable = S
index = 0
execute_on = 'timestep_end'
height = 0.5
[]
[edge_S]
type = SubChannelPointValue
variable = S
index = 54
execute_on = 'timestep_end'
height = 0.5
[]
[corner_S]
type = SubChannelPointValue
variable = S
index = 55
execute_on = 'timestep_end'
height = 0.5
[]
[center_w_perim]
type = SubChannelPointValue
variable = w_perim
index = 0
execute_on = 'timestep_end'
height = 0.5
[]
[edge_w_perim]
type = SubChannelPointValue
variable = w_perim
index = 54
execute_on = 'timestep_end'
height = 0.5
[]
[corner_w_perim]
type = SubChannelPointValue
variable = w_perim
index = 55
execute_on = 'timestep_end'
height = 0.5
[]
[]
[Executioner]
type = Steady
[]
[Outputs]
exodus = false
csv = true
[]
(modules/subchannel/validation/PNNL_12_pin/transient/2X6_transient.i)
T_in = 297.039 # K
P_out = 101325 # Pa
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 7
ny = 3
n_cells = 60
pitch = 0.014605
pin_diameter = 0.012065
side_gap = 0.0015875
unheated_length_entry = 0.3048
heated_length = 1.2192
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
n_blocks = 1
P_tol = 1e-6
T_tol = 1e-6
compute_density = true
compute_viscosity = true
compute_power = false
P_out = ${P_out}
friction_closure = 'MATRA'
full_output = true
mixing_closure ='constant_beta'
pin_HTC_closure = 'Dittus-Boelter'
[]
[SCMClosures]
[MATRA]
type = SCMFrictionMATRA
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
CT = 2.6
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[q_prime_IC]
type = SCMQuadPowerIC
variable = q_prime
power = 0.0 # W
filename = "power_profile.txt"
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = 0.012065
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.012101767481985
[]
[]
[Functions]
[mass_flux]
type = PiecewiseLinear
xy_data = '
5.0 122.2645
10.0 42.7926'
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = mass_flux_in
execute_on = 'timestep_begin'
[]
[]
[Postprocessors]
[mass_flux_in]
type = FunctionValuePostprocessor
function = mass_flux
execute_on = 'initial timestep_end'
[]
[mdot]
type = SubChannelPointValue
variable = mdot
index = 4
execute_on = 'initial timestep_end'
height = 0.4953
[]
[mdot2]
type = SubChannelPointValue
variable = mdot
index = 4
execute_on = 'initial timestep_end'
height = 0.0
[]
[]
[Outputs]
exodus = true
csv = true
[]
[Executioner]
type = Transient
nl_rel_tol = 0.9
l_tol = 0.9
start_time = 0.0
end_time = 10
dt = 1.0
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = TransientMultiApp
input_files = "3d.i"
execute_on = "timestep_end"
[]
[]
[Transfers]
[xfer]
type = SCMSolutionTransfer
to_multi_app = viz
transfer_type = subchannel
variable = 'mdot SumWij P DP h T rho mu S'
[]
[xfer_q_prime]
type = SCMSolutionTransfer
to_multi_app = viz
transfer_type = pin
variable = q_prime
[]
[]
(modules/subchannel/test/tests/problems/psbt/psbt_monolithic.i)
T_in = 359.15
# [1e+6 kg/m^2-hour] turns into kg/m^2-sec
mass_flux_in = '${fparse 1e+6 * 17.00 / 3600.}'
P_out = 4.923e6 # Pa
pin_diameter = 0.00950
[QuadSubChannelMesh]
[assembly]
type = SCMQuadAssemblyMeshGenerator
nx = 6
ny = 6
n_cells = 10
pitch = 0.0126
pin_diameter = ${pin_diameter}
side_gap = 0.00095
heated_length = 1.0
spacer_z = '0.0'
spacer_k = '0.0'
subchannel_block_id = 0
pin_block_id = 1
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
n_blocks = 1
compute_density = true
compute_viscosity = true
compute_power = true
P_out = ${P_out}
verbose_subchannel = true
implicit = true
segregated = false
friction_closure = 'MATRA'
pin_HTC_closure = 'Dittus-Boelter'
full_output = true
mixing_closure ='constant_beta'
[]
[SCMClosures]
[MATRA]
type = SCMFrictionMATRA
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMQuadPowerIC
variable = q_prime
power = 1.0e6 # W
filename = "power_profile.txt" #type in name of file that describes radial power profile
block = fuel_pins
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = report_mass_flux_inlet
execute_on = 'timestep_begin'
block = subchannel
[]
[]
[Postprocessors]
[report_mass_flux_inlet]
type = Receiver
default = ${mass_flux_in}
[]
[total_pressure_drop]
type = SubChannelDelta
variable = P
execute_on = "timestep_end"
[]
[T1]
type = SubChannelPointValue
variable = T
index = 0
execute_on = "timestep_end"
height = 1
[]
[T2]
type = SubChannelPointValue
variable = T
index = 7
execute_on = "timestep_end"
height = 1
[]
[T3]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 1
[]
[T4]
type = SubChannelPointValue
variable = T
index = 21
execute_on = "timestep_end"
height = 1
[]
[T5]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 1
[]
[T6]
type = SubChannelPointValue
variable = T
index = 35
execute_on = "timestep_end"
height = 1
[]
[]
[Outputs]
exodus = true
csv = true
[]
[Executioner]
type = Steady
[]
(modules/subchannel/verification/friction_model_verification/friction_model/friction_factor_sampling.i)
# Shared part of the friction factor sampling inputs. Each time step solves the assembly at a
# larger inlet mass flux, and the friction factor and Reynolds number of one interior, edge, and
# corner subchannel are reported. The including input defines the mesh, the problem type, the
# friction closure, the exponent G_exp0 of the initial inlet mass flux, and the center, edge, and
# corner subchannel indices.
T_in = 359.15 # K
P_out = 4.923e6 # Pa
# Inlet mass flux 10^(G_exp0 + 0.1 n) [kg/m^2-s] at step n. The bulk Reynolds number is about 1 at
# n = 1 and grows by 0.1 decades per step, so 56 steps stop the sweep just below the upper limit
# Re = 3e5 of the Pacio-Chen-Todreas applicability range
G_exp_rate = 0.1
# Each sweep step is a time step of the transient solve. The time derivative of the axial momentum
# equation, about dz (mdot - mdot_old) / dt, is about 9% of the laminar friction of the wire-wrapped
# assembly for dt = 1 s and skews the laminar flow split, so each step lasts 1e4 s, which makes it
# negligible
dt_step = 1e4 # s
# The inlet mass flux is uniform, and the flow split develops over about 1.5 m, so the friction
# factor is sampled near the outlet of the 3 m assembly, where the flow is developed. The closure
# at the outlet node of a cell uses the Reynolds number at the inlet node, so the Reynolds number
# is sampled one cell (0.1 m) below the friction factor
z_Re = 2.8
z_ff = 2.9
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
fp = water
n_blocks = 1
P_out = ${P_out}
compute_density = true
compute_viscosity = true
compute_power = false
full_output = true
mixing_closure = 'constant_beta'
pin_HTC_closure = 'Dittus-Boelter'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
# No turbulent exchange of axial momentum, so the developed flow split is set by the friction
# closure alone
CT = 0.0
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mu_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[Functions]
[mass_flux_fn]
type = ParsedFunction
expression = '10^(${G_exp0} + ${G_exp_rate} * t / ${dt_step})'
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = mass_flux
execute_on = 'timestep_begin'
[]
[]
[Postprocessors]
[mass_flux]
type = FunctionValuePostprocessor
function = mass_flux_fn
execute_on = 'initial timestep_begin'
outputs = none
[]
[ff_center]
type = SubChannelPointValue
variable = ff
index = ${center}
height = ${z_ff}
[]
[ff_edge]
type = SubChannelPointValue
variable = ff
index = ${edge}
height = ${z_ff}
[]
[ff_corner]
type = SubChannelPointValue
variable = ff
index = ${corner}
height = ${z_ff}
[]
[mdot_center]
type = SubChannelPointValue
variable = mdot
index = ${center}
height = ${z_Re}
outputs = none
[]
[mdot_edge]
type = SubChannelPointValue
variable = mdot
index = ${edge}
height = ${z_Re}
outputs = none
[]
[mdot_corner]
type = SubChannelPointValue
variable = mdot
index = ${corner}
height = ${z_Re}
outputs = none
[]
[w_perim_center]
type = SubChannelPointValue
variable = w_perim
index = ${center}
height = ${z_Re}
outputs = none
[]
[w_perim_edge]
type = SubChannelPointValue
variable = w_perim
index = ${edge}
height = ${z_Re}
outputs = none
[]
[w_perim_corner]
type = SubChannelPointValue
variable = w_perim
index = ${corner}
height = ${z_Re}
outputs = none
[]
[mu_center]
type = SubChannelPointValue
variable = mu
index = ${center}
height = ${z_Re}
outputs = none
[]
[mu_edge]
type = SubChannelPointValue
variable = mu
index = ${edge}
height = ${z_Re}
outputs = none
[]
[mu_corner]
type = SubChannelPointValue
variable = mu
index = ${corner}
height = ${z_Re}
outputs = none
[]
# Subchannel Reynolds number (mdot / S) Dh / mu with Dh = 4 S / w_perim, as in the solver
[Re_center]
type = ParsedPostprocessor
expression = '4 * mdot_center / (w_perim_center * mu_center)'
pp_names = 'mdot_center w_perim_center mu_center'
[]
[Re_edge]
type = ParsedPostprocessor
expression = '4 * mdot_edge / (w_perim_edge * mu_edge)'
pp_names = 'mdot_edge w_perim_edge mu_edge'
[]
[Re_corner]
type = ParsedPostprocessor
expression = '4 * mdot_corner / (w_perim_corner * mu_corner)'
pp_names = 'mdot_corner w_perim_corner mu_corner'
[]
[]
[Outputs]
csv = true
[]
[Executioner]
type = Transient
start_time = 0.0
end_time = '${fparse 56 * dt_step}'
dt = ${dt_step}
[]
(modules/subchannel/validation/Blockage/THORS/FFM-5B_low.i)
################################################################################
## THORS bundle 5B partial edge blockage benchmark ##
## SCM simulation, low flow casenn ##
## POC : Vasileios Kyriakopoulos, [email protected] ##
################################################################################
# Details on the experimental facility modeled can be found at:
# Han, J. T. "Blockages in LMFBR fuel assemblies: A review of experimental and theoretical studies." (1977).
# This input file models a block next to the duct of the of the assembly
# 102 mm above the start of the heated section.
# Boundary conditions
T_in = 541.55 #K, low flow case
A12 = 1.00423e3
A13 = -0.21390
A14 = -1.1046e-5
rho = '${fparse A12 + A13 * T_in + A14 * T_in * T_in}'
inlet_vel = 0.48 #m/sec, low flow case
mass_flux_in = '${fparse rho * inlet_vel}'
P_out = 2.0e5 # Pa
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = 3
n_cells = 50
flat_to_flat = 0.0324290
heated_length = 0.4572
unheated_length_entry = 0.4064
unheated_length_exit = 0.1524
pin_diameter = 0.005842
pitch = 7.2644e-3
dwire = 0.0014224
hwire = 0.3048
z_blockage = '0.49 0.52'
index_blockage = '29 31 30 32 34 33 35 15 16 8 17 18 9 19'
reduction_blockage = '0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08'
k_blockage = '4 4 4 4 4 4 4 4 4 4 4 4 4 4 '
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = 2.0e5
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-4
T_tol = 1.0e-4
implicit = true
segregated = false
verbose_subchannel = true
interpolation_scheme = exponential
pin_HTC_closure = 'Dittus-Boelter'
# friction model
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
CT = 2.0
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = 0.005842
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[q_prime_Aux]
type = SCMTriPowerAux
variable = q_prime
power = 52800 #W, low flow case
filename = "pin_power_profile_19.txt"
execute_on = 'initial timestep_begin'
[]
[]
[Outputs]
exodus = true
csv = true
[]
[Postprocessors]
[1]
type = SubChannelPointValue
variable = T
index = 34
execute_on = 'initial timestep_end'
height = 0.94
[]
[2]
type = SubChannelPointValue
variable = T
index = 33
execute_on = 'initial timestep_end'
height = 0.94
[]
[3]
type = SubChannelPointValue
variable = T
index = 18
execute_on = 'initial timestep_end'
height = 0.94
[]
[4]
type = SubChannelPointValue
variable = T
index = 9
execute_on = 'initial timestep_end'
height = 0.94
[]
[5]
type = SubChannelPointValue
variable = T
index = 3
execute_on = 'initial timestep_end'
height = 0.94
[]
[6]
type = SubChannelPointValue
variable = T
index = 0
execute_on = 'initial timestep_end'
height = 0.94
[]
[7]
type = SubChannelPointValue
variable = T
index = 12
execute_on = 'initial timestep_end'
height = 0.94
[]
[8]
type = SubChannelPointValue
variable = T
index = 25
execute_on = 'initial timestep_end'
height = 0.94
[]
[]
[Executioner]
type = Steady
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = FullSolveMultiApp
input_files = "FFM-5B_viz.i"
execute_on = "timestep_end"
[]
[]
[Transfers]
[xfer_subchannel]
type = SCMSolutionTransfer
to_multi_app = viz
transfer_type = subchannel
variable = 'mdot SumWij P DP h T rho mu S displacement w_perim'
[]
[xfer_q_prime]
type = SCMSolutionTransfer
to_multi_app = viz
transfer_type = pin
variable = q_prime
[]
[]
(modules/subchannel/test/tests/problems/deformation/quad_pin_diameter.i)
T_in = 359.15
P_out = 4.923e6
mass_flux_in = '${fparse 1e+6 * 17.00 / 3600.}'
[QuadSubChannelMesh]
[assembly]
type = SCMQuadAssemblyMeshGenerator
nx = 3
ny = 3
n_cells = 5
pitch = 0.014605
pin_diameter = 0.012
side_gap = 0.0015875
heated_length = 0.5
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
n_blocks = 1
compute_density = true
compute_viscosity = true
compute_power = false
P_out = ${P_out}
implicit = true
segregated = false
friction_closure = 'MATRA'
mixing_closure = 'constant_beta'
pin_HTC_closure = 'Dittus-Boelter'
full_output = true
[]
[SCMClosures]
[MATRA]
type = SCMFrictionMATRA
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.08
CT = 2.6
[]
[]
[ICs]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = 0.012065
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Postprocessors]
[S_deformed]
type = SubChannelPointValue
variable = S
index = 4
height = 0.25
execute_on = 'timestep_end'
[]
[w_perim_deformed]
type = SubChannelPointValue
variable = w_perim
index = 4
height = 0.25
execute_on = 'timestep_end'
[]
[]
[Executioner]
type = Steady
[]
[Outputs]
console = true
csv = true
[]
(modules/subchannel/test/tests/problems/SFR/sodium-19pin/test19_monolithic.i)
T_in = 660
mass_flux_in = '${fparse 1e+6 * 300.00 / 36000.*0.5}'
P_out = 2.0e5 # Pa
[GlobalParams]
nrings = 3
n_cells = 5
flat_to_flat = 0.056
heated_length = 0.5
pitch = 0.012
[]
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
pin_diameter = 0.01
dwire = 0.002
hwire = 0.0833
spacer_z = '0'
spacer_k = '5.0'
[]
[duct]
type = SCMTriDuctMeshGenerator
input = subchannel
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = 2.0e5
compute_density = true
compute_viscosity = true
compute_power = true
T_tol = 1.0e-8
P_tol = 1.0e-8
rtol = 1.0e-10
atol = 1.0e-10
mass_flow_equation_relaxation = 0.8
pressure_equation_relaxation = 0.8
crossflow_equation_relaxation = 0.08
mass_flow_relaxation = 0.8
pressure_relaxation = 0.8
crossflow_relaxation = 0.8
implicit = true
segregated = false
duct_HTC_closure = 'gnielinski'
pin_HTC_closure = 'gnielinski'
friction_closure = 'Chen'
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[gnielinski]
type = SCMHTCGnielinski
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = 1000.0 # W
filename = "pin_power_profile19.txt"
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = 0.01
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
exodus = true
csv = true
[]
[Postprocessors]
[T1]
type = SubChannelPointValue
variable = T
index = 37
execute_on = "timestep_end"
height = 0.5
[]
[T2]
type = SubChannelPointValue
variable = T
index = 36
execute_on = "timestep_end"
height = 0.5
[]
[T3]
type = SubChannelPointValue
variable = T
index = 20
execute_on = "timestep_end"
height = 0.5
[]
[T4]
type = SubChannelPointValue
variable = T
index = 10
execute_on = "timestep_end"
height = 0.5
[]
[T5]
type = SubChannelPointValue
variable = T
index = 4
execute_on = "timestep_end"
height = 0.5
[]
[T6]
type = SubChannelPointValue
variable = T
index = 1
execute_on = "timestep_end"
height = 0.5
[]
[T7]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 0.5
[]
[T8]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 0.5
[]
####### Assembly pressure drop
[DP_SubchannelDelta]
type = SubChannelDelta
variable = P
execute_on = 'TIMESTEP_END'
[]
#####
[Mean_Temp]
type = SCMPlanarMean
variable = T
height = 2
[]
[Total_power]
type = ElementIntegralVariablePostprocessor
variable = q_prime
block = fuel_pins
[]
[mdot-8]
type = SubChannelPointValue
variable = mdot
index = 28
execute_on = 'TIMESTEP_END'
height = 0.5
[]
[]
[Executioner]
type = Steady
[]
(modules/subchannel/verification/enthalpy_mixing_verification/two_channel.i)
mass_flux_in = 3500 # kg /sec m2
P_out = 155e+5 # Pa
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 2
ny = 1
n_cells = 100
pitch = 0.0126
pin_diameter = 0.00950
side_gap = 0.00095
heated_length = 10.0
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[Functions]
[T_fn]
type = ParsedFunction
expression = if(x>0.0,483.10,473.10)
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
n_blocks = 1
P_tol = 1e-6
T_tol = 1e-6
compute_density = true
compute_viscosity = true
compute_power = true
P_out = ${P_out}
friction_closure = 'MATRA'
full_output = true
mixing_closure ='constant_beta'
[]
[SCMClosures]
[MATRA]
type = SCMFrictionMATRA
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
CT = 2.0
[]
[]
[ICs]
[S_ic]
type = ConstantIC
variable = S
value = 8.78778158e-05
[]
[T_ic]
type = FunctionIC
variable = T
function = T_fn
[]
[w_perim_IC]
type = ConstantIC
variable = w_perim
value = 0.34188034
[]
[q_prime_IC]
type = ConstantIC
variable = q_prime
value = 0.0
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
exodus = true
csv = true
[]
[Postprocessors]
[Temp_1]
type = SubChannelPointValue
variable = T
index = 0
execute_on = 'initial timestep_end'
height = 10.0
[]
[Temp_2]
type = SubChannelPointValue
variable = T
index = 1
execute_on = 'initial timestep_end'
height = 10.0
[]
[]
[Executioner]
type = Steady
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = FullSolveMultiApp
input_files = "3d.i"
execute_on = "timestep_end"
[]
[]
[Transfers]
[xfer]
type = SCMSolutionTransfer
to_multi_app = viz
variable = 'mdot SumWij P DP h T rho mu q_prime S'
[]
[]
(modules/subchannel/validation/areva_FCTF/deformed_duct_pp.i)
[Postprocessors]
##### Pressure on Face B at various axial heights
##### -4 pitch from heated entrance
[Pressure_FB1]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 0.0
[]
##### -3 pitch from heated entrance
[Pressure_FB2]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 0.285
[]
##### -2 pitch from heated entrance
[Pressure_FB3]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 0.57
[]
##### -1.5 pitch from heated entrance
[Pressure_FB4]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 0.7125
[]
##### -0.5 pitch from heated entrance
[Pressure_FB5]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 0.9975
[]
##### 0 pitch from heated entrance
[Pressure_FB6]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 1.14
[]
#### 3 pitch from heated entrance
[Pressure_FB7]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 1.995
[]
#### 6 pitch from heated entrance
[Pressure_FB9]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 2.85
[]
#### 8 pitch from heated entrance
[Pressure_FB8]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 3.42
[]
# ###### Temperature at 4' and 6' o clock at plane B (SC) ##########
# ###### Plane B is 4.4167 P above start of heated section
# ###### Plane B: z = 2.3987595
[Temp_B_01]
type = SubChannelPointValue
variable = T
index = 14
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_02]
type = SubChannelPointValue
variable = T
index = 28
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_03]
type = SubChannelPointValue
variable = T
index = 45
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_04]
type = SubChannelPointValue
variable = T
index = 47
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_05]
type = SubChannelPointValue
variable = T
index = 33
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_06]
type = SubChannelPointValue
variable = T
index = 23
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_07]
type = SubChannelPointValue
variable = T
index = 39
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_08]
type = SubChannelPointValue
variable = T
index = 62
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_09]
type = SubChannelPointValue
variable = T
index = 86
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_10]
type = SubChannelPointValue
variable = T
index = 66
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_11]
type = SubChannelPointValue
variable = T
index = 51
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_12]
type = SubChannelPointValue
variable = T
index = 77
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_13]
type = SubChannelPointValue
variable = T
index = 79
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_14]
type = SubChannelPointValue
variable = T
index = 106
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_15]
type = SubChannelPointValue
variable = T
index = 112
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_16]
type = SubChannelPointValue
variable = T
index = 111
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_17]
type = SubChannelPointValue
variable = T
index = 117
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_18]
type = SubChannelPointValue
variable = T
index = 119
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_19]
type = SubChannelPointValue
variable = T
index = 120
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_20]
type = SubChannelPointValue
variable = T
index = 95
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_21]
type = SubChannelPointValue
variable = T
index = 54
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_22]
type = SubChannelPointValue
variable = T
index = 56
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
########### Planar mean of temperature at plane B
[Temp_B]
type = SCMPlanarMean
variable = T
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
####### Temperature at wall E at plane B
[Temp_B_E1]
type = SubChannelPointValue
variable = T
index = 121
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_E2]
type = SubChannelPointValue
variable = T
index = 123
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_E4]
type = SubChannelPointValue
variable = T
index = 124
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_E5]
type = SubChannelPointValue
variable = T
index = 125
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
###### Temperature at 8 and 10 'o clock at plane C ##########
###### Plane C is 6.75 P above start of heated section
###### Plane C: z = 3.06375 [m]
# [Temp_C_01]
# type = SubChannelPointValue
# variable = T
# index = 25
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_02]
# type = SubChannelPointValue
# variable = T
# index = 15
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_03]
# type = SubChannelPointValue
# variable = T
# index = 18
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_04]
# type = SubChannelPointValue
# variable = T
# index = 32
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_05]
# type = SubChannelPointValue
# variable = T
# index = 51
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_06]
# type = SubChannelPointValue
# variable = T
# index = 53
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_07]
# type = SubChannelPointValue
# variable = T
# index = 56
# execute_on = 'TIMESTEP_END'
# height = 2.3987595
# []
# [Temp_C_08]
# type = SubChannelPointValue
# variable = T
# index = 29
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_09]
# type = SubChannelPointValue
# variable = T
# index = 47
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_10]
# type = SubChannelPointValue
# variable = T
# index = 67
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_11]
# type = SubChannelPointValue
# variable = T
# index = 93
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_12]
# type = SubChannelPointValue
# variable = T
# index = 76
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_13]
# type = SubChannelPointValue
# variable = T
# index = 78
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_14]
# type = SubChannelPointValue
# variable = T
# index = 79
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_15]
# type = SubChannelPointValue
# variable = T
# index = 84
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_16]
# type = SubChannelPointValue
# variable = T
# index = 85
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_17]
# type = SubChannelPointValue
# variable = T
# index = 116
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_18]
# type = SubChannelPointValue
# variable = T
# index = 120
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_19]
# type = SubChannelPointValue
# variable = T
# index = 122
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_20]
# type = SubChannelPointValue
# variable = T
# index = 97
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_21]
# type = SubChannelPointValue
# variable = T
# index = 96
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_22]
# type = SubChannelPointValue
# variable = T
# index = 99
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# ########### Planar mean of temperature at plane C
# [Temp_C]
# type = SCMPlanarMean
# variable = T
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# ####### Temperature at wall E at plane B
# [Temp_C_E1]
# type = SubChannelPointValue
# variable = T
# index = 121
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_E2]
# type = SubChannelPointValue
# variable = T
# index = 123
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_E4]
# type = SubChannelPointValue
# variable = T
# index = 124
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_E5]
# type = SubChannelPointValue
# variable = T
# index = 125
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
####### Area, wetted-perim, at midpoint of heated section, displacement
###### Mid plane is 3P above start of heated section
###### Mid plane: z = 7P = 1.995 [m]
[Area_1]
type = SubChannelPointValue
variable = S
index = 104
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[Area_2]
type = SubChannelPointValue
variable = S
index = 105
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[Area_3]
type = SubChannelPointValue
variable = S
index = 107
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[WP_1]
type = SubChannelPointValue
variable = w_perim
index = 104
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[WP_2]
type = SubChannelPointValue
variable = w_perim
index = 105
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[WP_3]
type = SubChannelPointValue
variable = w_perim
index = 107
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[Disp_1]
type = SubChannelPointValue
variable = displacement
index = 104
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[Disp_2]
type = SubChannelPointValue
variable = displacement
index = 105
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[Disp_3]
type = SubChannelPointValue
variable = displacement
index = 107
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[]
(modules/subchannel/validation/EBR-II/XX09_SCM_TR17.i)
# Following Benchmark Specifications and Data Requirements for EBR-II Shutdown Heat Removal Tests SHRT-17 and SHRT-45R
# Available at: https://publications.anl.gov/anlpubs/2012/06/73647.pdf
# Transient subchannel calculation
###################################################
# Thermal-hydraulics parameters
###################################################
T_in = 624.7 #Kelvin
Total_Surface_Area = 0.000854322 #m3
mass_flux_in = '${fparse 2.45 / Total_Surface_Area}'
P_out = 2.0e5
Power_initial = 486200 #W (Page 26,35 of ANL document)
###################################################
# Geometric parameters
###################################################
scale_factor = 0.01
fuel_pin_pitch = '${fparse 0.5664*scale_factor}'
fuel_pin_diameter = '${fparse 0.4419*scale_factor}'
wire_z_spacing = '${fparse 15.24*scale_factor}'
wire_diameter = '${fparse 0.1244*scale_factor}'
inner_duct_in = '${fparse 4.64*scale_factor}'
n_rings = 5
heated_length = '${fparse 34.3*scale_factor}'
unheated_length_exit = '${fparse 26.9*scale_factor}'
###################################################
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = ${n_rings}
n_cells = 50
flat_to_flat = ${inner_duct_in}
unheated_length_exit = ${unheated_length_exit}
heated_length = ${heated_length}
pin_diameter = ${fuel_pin_diameter}
pitch = ${fuel_pin_pitch}
dwire = ${wire_diameter}
hwire = ${wire_z_spacing}
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[AuxVariables]
[q_prime_init]
block = fuel_pins
[]
[power_history_field]
block = fuel_pins
[]
[q_prime]
block = fuel_pins
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = ${P_out}
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-4
T_tol = 1.0e-4
implicit = true
segregated = false
interpolation_scheme = 'upwind'
pin_HTC_closure = 'gnielinski'
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[gnielinski]
type = SCMHTCGnielinski
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime_init
power = ${Power_initial}
filename = "pin_power_profile61_uniform.txt"
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[Functions]
[power_func]
type = PiecewiseLinear
data_file = 'power_history_SHRT17.csv'
format = "columns"
scale_factor = 1.0
[]
[mass_flux_in]
type = PiecewiseLinear
data_file = 'massflow_SHRT17.csv'
format = "columns"
scale_factor = '${fparse mass_flux_in / 2.45}'
[]
[time_step_limiting]
type = PiecewiseLinear
xy_data = '0.1 0.1
10.0 10.0'
[]
[]
[Controls]
[mass_flux_ctrl]
type = RealFunctionControl
parameter = 'Postprocessors/mass_flux_PP/value'
function = 'mass_flux_in'
execute_on = 'initial timestep_begin'
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = mass_flux_PP
execute_on = 'timestep_begin'
[]
[populate_power_history]
type = FunctionAux
variable = power_history_field
function = 'power_func'
execute_on = 'INITIAL TIMESTEP_BEGIN'
[]
[change_q_prime]
type = ParsedAux
variable = q_prime
coupled_variables = 'q_prime_init power_history_field'
expression = 'q_prime_init*power_history_field'
execute_on = 'INITIAL TIMESTEP_BEGIN'
[]
[]
[Outputs]
csv = true
[]
[Postprocessors]
[report_pressure_outlet]
type = Receiver
default = ${P_out}
[]
[TTC-31]
type = SubChannelPointValue
variable = T
index = 0
execute_on = 'initial timestep_end'
height = 0.322
[]
[post_func]
type = ElementIntegralVariablePostprocessor
block = fuel_pins
variable = q_prime
execute_on = 'INITIAL TIMESTEP_BEGIN'
[]
[mass_flux_PP]
type = ConstantPostprocessor
value = ${mass_flux_in}
[]
[mass_flow_PP]
type = ParsedPostprocessor
expression = '${Total_Surface_Area} * mass_flux_PP'
pp_names = 'mass_flux_PP'
[]
[]
[Executioner]
type = Transient
start_time = -1.0
end_time = 900.0
[TimeStepper]
type = IterationAdaptiveDT
dt = 0.1
iteration_window = 5
optimal_iterations = 6
growth_factor = 1.1
cutback_factor = 0.8
timestep_limiting_function = 'time_step_limiting'
[]
dtmax = 20
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = TransientMultiApp
input_files = '3d_SCM_TR.i'
execute_on = 'INITIAL TIMESTEP_END'
catch_up = true
[]
[]
[Transfers]
[subchannel_transfer]
type = SCMSolutionTransfer
to_multi_app = viz
variable = 'mdot SumWij P DP h T rho mu S'
[]
[pin_transfer]
type = SCMSolutionTransfer
transfer_type = pin
to_multi_app = viz
variable = 'Tpin q_prime'
[]
[]
(modules/subchannel/validation/EBR-II/XX09_SCM_SS17.i)
# Following Benchmark Specifications and Data Requirements for EBR-II Shutdown Heat Removal Tests SHRT-17 and SHRT-45R
# Available at: https://publications.anl.gov/anlpubs/2012/06/73647.pdf
###################################################
# Steady state subchannel calculation
# Thermal-hydraulics parameters
###################################################
T_in = 624.70556 #Kelvin
Total_Surface_Area = 0.000854322 #m2
Mass_In = 2.45 #kg/sec
mass_flux_in = '${fparse Mass_In / Total_Surface_Area}' #kg/m2
P_out = 2.0e5 #Pa
Power_initial = 486200 #W (Page 26,35 of ANL document)
###################################################
# Geometric parameters
###################################################
scale_factor = 0.01
fuel_pin_pitch = '${fparse 0.5664*scale_factor}'
fuel_pin_diameter = '${fparse 0.4419*scale_factor}'
wire_z_spacing = '${fparse 15.24*scale_factor}'
wire_diameter = '${fparse 0.1244*scale_factor}'
inner_duct_in = '${fparse 4.64*scale_factor}'
n_rings = 5
heated_length = '${fparse 34.3*scale_factor}'
unheated_length_exit = '${fparse 26.9*scale_factor}'
###################################################
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = ${n_rings}
n_cells = 50
flat_to_flat = ${inner_duct_in}
unheated_length_exit = ${unheated_length_exit}
heated_length = ${heated_length}
pin_diameter = ${fuel_pin_diameter}
pitch = ${fuel_pin_pitch}
dwire = ${wire_diameter}
hwire = ${wire_z_spacing}
[]
[duct]
type = SCMTriDuctMeshGenerator
input = subchannel
nrings = ${n_rings}
n_cells = 50
flat_to_flat = ${inner_duct_in}
unheated_length_exit = ${unheated_length_exit}
heated_length = ${heated_length}
pitch = ${fuel_pin_pitch}
[]
[]
[Functions]
[axial_heat_rate]
type = ParsedFunction
expression = '(pi/2)*sin(pi*z/L)*exp(-alpha*z)/(1.0/alpha*(1.0 - exp(-alpha*L)))*L'
symbol_names = 'L alpha'
symbol_values = '${heated_length} 1.8012'
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = ${P_out}
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-4
T_tol = 1.0e-5
implicit = true
segregated = false
interpolation_scheme = 'upwind'
verbose_subchannel = true
pin_HTC_closure = 'gnielinski'
duct_HTC_closure = 'gnielinski'
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[gnielinski]
type = SCMHTCGnielinski
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = ${Power_initial}
filename = "pin_power_profile61_uniform.txt"
axial_heat_rate = axial_heat_rate
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
csv = true
[]
[Postprocessors]
[TTC-27]
type = SubChannelPointValue
variable = T
index = 91
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-28]
type = SubChannelPointValue
variable = T
index = 50
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-29]
type = SubChannelPointValue
variable = T
index = 21
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-30]
type = SubChannelPointValue
variable = T
index = 4
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-31]
type = SubChannelPointValue
variable = T
index = 2
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-32]
type = SubChannelPointValue
variable = T
index = 16
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-33]
type = SubChannelPointValue
variable = T
index = 42
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-34]
type = SubChannelPointValue
variable = T
index = 80
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-35]
type = SubChannelPointValue
variable = T
index = 107
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[MTC-20]
type = SubChannelPointValue
variable = T
index = 33
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-22]
type = SubChannelPointValue
variable = T
index = 3
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-24]
type = SubChannelPointValue
variable = T
index = 28
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-25]
type = SubChannelPointValue
variable = T
index = 60
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-26]
type = SubChannelPointValue
variable = T
index = 106
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[14TC-37]
type = SubChannelPointValue
variable = T
index = 52
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[14TC-39]
type = SubChannelPointValue
variable = T
index = 6
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[14TC-41]
type = SubChannelPointValue
variable = T
index = 40
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[14TC-43]
type = SubChannelPointValue
variable = T
index = 105
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[]
[Executioner]
type = Steady
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = FullSolveMultiApp
input_files = '3d_SCM_SS.i'
execute_on = 'FINAL'
[]
[]
[Transfers]
[subchannel_transfer]
type = SCMSolutionTransfer
to_multi_app = viz
variable = 'mdot SumWij P DP h T rho mu S'
[]
[pin_transfer]
type = SCMSolutionTransfer
transfer_type = pin
to_multi_app = viz
variable = 'Tpin q_prime'
[]
[]
(modules/subchannel/verification/friction_model_verification/friction_model/XX09_SS17.i)
# EBR-II XX09 SHRT-17 steady state of validation/EBR-II/XX09_SCM_SS17.i, with the mass flow rate
# and the position of the TTC subchannels at the TTC height for the comparison with DASSH.
# The default closures are UCTD friction and Chen-Todreas (1986) mixing. For Pacio-Chen-Todreas (PCTD)
# friction and mixing run:
# subchannel-opt -i XX09_SS17.i SCMClosures/Chen/friction_model=Pacio
# SCMClosures/Chen_Todreas/mixing_model=Pacio Outputs/file_base=XX09_SS17_pacio_out
!include ../../../validation/EBR-II/XX09_SCM_SS17.i
# SCMTriPowerIC opens the file relative to the working directory
[ICs]
[q_prime_IC]
filename := '../../../validation/EBR-II/pin_power_profile61_uniform.txt'
[]
[]
# Turbulent momentum exchange of the mixing crossflow without the CT = 2.6 enhancement of
# XX09_SCM_SS17.i
[SCMClosures]
[Chen_Todreas]
CT := 1.0
[]
[]
# The projection onto a detailed mesh is not needed
[MultiApps]
active = ''
[]
[Transfers]
active = ''
[]
[Functions]
[x_fn]
type = ParsedFunction
expression = 'x'
[]
[y_fn]
type = ParsedFunction
expression = 'y'
[]
[]
[AuxVariables]
[x_sc]
block = subchannel
[]
[y_sc]
block = subchannel
[]
[]
[AuxKernels]
[x_sc]
type = FunctionAux
variable = x_sc
function = x_fn
block = subchannel
execute_on = 'initial'
[]
[y_sc]
type = FunctionAux
variable = y_sc
function = y_fn
block = subchannel
execute_on = 'initial'
[]
[]
# Same subchannels and height as the TTC temperature postprocessors
[Postprocessors]
[mdot-27]
type = SubChannelPointValue
variable = mdot
index = 91
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[mdot-28]
type = SubChannelPointValue
variable = mdot
index = 50
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[mdot-29]
type = SubChannelPointValue
variable = mdot
index = 21
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[mdot-30]
type = SubChannelPointValue
variable = mdot
index = 4
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[mdot-31]
type = SubChannelPointValue
variable = mdot
index = 2
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[mdot-32]
type = SubChannelPointValue
variable = mdot
index = 16
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[mdot-33]
type = SubChannelPointValue
variable = mdot
index = 42
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[mdot-34]
type = SubChannelPointValue
variable = mdot
index = 80
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[mdot-35]
type = SubChannelPointValue
variable = mdot
index = 107
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[x-27]
type = SubChannelPointValue
variable = x_sc
index = 91
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[x-28]
type = SubChannelPointValue
variable = x_sc
index = 50
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[x-29]
type = SubChannelPointValue
variable = x_sc
index = 21
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[x-30]
type = SubChannelPointValue
variable = x_sc
index = 4
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[x-31]
type = SubChannelPointValue
variable = x_sc
index = 2
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[x-32]
type = SubChannelPointValue
variable = x_sc
index = 16
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[x-33]
type = SubChannelPointValue
variable = x_sc
index = 42
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[x-34]
type = SubChannelPointValue
variable = x_sc
index = 80
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[x-35]
type = SubChannelPointValue
variable = x_sc
index = 107
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[y-27]
type = SubChannelPointValue
variable = y_sc
index = 91
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[y-28]
type = SubChannelPointValue
variable = y_sc
index = 50
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[y-29]
type = SubChannelPointValue
variable = y_sc
index = 21
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[y-30]
type = SubChannelPointValue
variable = y_sc
index = 4
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[y-31]
type = SubChannelPointValue
variable = y_sc
index = 2
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[y-32]
type = SubChannelPointValue
variable = y_sc
index = 16
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[y-33]
type = SubChannelPointValue
variable = y_sc
index = 42
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[y-34]
type = SubChannelPointValue
variable = y_sc
index = 80
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[y-35]
type = SubChannelPointValue
variable = y_sc
index = 107
height = 0.322
execute_on = 'TIMESTEP_END'
[]
[]
(modules/subchannel/validation/PNNL_12_pin/steady_state/2X6_ss.i)
[GlobalParams]
######## Geometry #
nx = 7
ny = 3
n_cells = 48
n_blocks = 1
pitch = 0.014605
pin_diameter = 0.012065
side_gap = 0.0015875
heated_length = 1.2192
spacer_z = '0.0'
spacer_k = '0.0'
[]
######## BC's #################
T_in = 297.039 # K
P_out = 101325 # Pa
[QuadSubChannelMesh]
[assembly]
type = SCMQuadAssemblyMeshGenerator
subchannel_block_id = 0
pin_block_id = 1
[]
[]
[AuxVariables]
[mdot]
block = subchannel
[]
[SumWij]
block = subchannel
[]
[P]
block = subchannel
[]
[DP]
block = subchannel
[]
[h]
block = subchannel
[]
[T]
block = subchannel
[]
[Tpin]
block = fuel_pins
[]
[Dpin]
block = fuel_pins
[]
[rho]
block = subchannel
[]
[mu]
block = subchannel
[]
[S]
block = subchannel
[]
[w_perim]
block = subchannel
[]
[q_prime]
block = fuel_pins
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
P_tol = 1e-6
T_tol = 1e-6
compute_density = true
compute_viscosity = true
compute_power = true
P_out = ${P_out}
implicit = true
segregated = false
friction_closure = 'MATRA'
pin_HTC_closure = 'Dittus-Boelter'
full_output = true
mixing_closure ='constant_beta'
[]
[SCMClosures]
[MATRA]
type = SCMFrictionMATRA
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMQuadPowerIC
variable = q_prime
power = 5460 # W
filename = "power_profile.txt"
block = fuel_pins
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = 131.43435930715006
execute_on = 'timestep_begin'
[]
[]
[Outputs]
exodus = true
csv = true
[mdot_in_MATRIX]
type = QuadSubChannelNormalSliceValues
variable = mdot
execute_on = final
file_base = "mdot_in.txt"
height = 0.0
[]
[rho_in_MATRIX]
type = QuadSubChannelNormalSliceValues
variable = rho
execute_on = final
file_base = "rho_in.txt"
height = 0.0
[]
[mdot_out_MATRIX]
type = QuadSubChannelNormalSliceValues
variable = mdot
execute_on = final
file_base = "mdot_out.txt"
height = 1.2192
[]
[rho_out_MATRIX]
type = QuadSubChannelNormalSliceValues
variable = rho
execute_on = final
file_base = "rho_out.txt"
height = 1.2192
[]
[mdot_MATRIX]
type = QuadSubChannelNormalSliceValues
variable = mdot
execute_on = final
file_base = "mdot_075.txt"
height = 0.9144
[]
[T_in_MATRIX]
type = QuadSubChannelNormalSliceValues
variable = T
execute_on = final
file_base = "T_in.txt"
height = 0.0
[]
[T_out_MATRIX]
type = QuadSubChannelNormalSliceValues
variable = T
execute_on = final
file_base = "T_out.txt"
height = 1.2192
[]
[]
[Postprocessors]
[mdot7]
type = SubChannelPointValue
variable = mdot
index = 7
execute_on = 'initial timestep_end'
height = 0.9144
[]
[mdot8]
type = SubChannelPointValue
variable = mdot
index = 8
execute_on = 'initial timestep_end'
height = 0.9144
[]
[mdot9]
type = SubChannelPointValue
variable = mdot
index = 9
execute_on = 'initial timestep_end'
height = 0.9144
[]
[mdot10]
type = SubChannelPointValue
variable = mdot
index = 10
execute_on = 'initial timestep_end'
height = 0.9144
[]
[mdot11]
type = SubChannelPointValue
variable = mdot
index = 11
execute_on = 'initial timestep_end'
height = 0.9144
[]
[mdot12]
type = SubChannelPointValue
variable = mdot
index = 12
execute_on = 'initial timestep_end'
height = 0.9144
[]
[mdot13]
type = SubChannelPointValue
variable = mdot
index = 13
execute_on = 'initial timestep_end'
height = 0.9144
[]
[]
[Executioner]
type = Steady
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = FullSolveMultiApp
input_files = "3d.i"
execute_on = "timestep_end"
[]
[]
# Transfers to the detailedMesh at the end of the coupled simulations
[Transfers]
[subchannel_transfer]
type = SCMSolutionTransfer
to_multi_app = viz
variable = 'mdot SumWij P DP h T rho mu S'
[]
[pin_transfer]
type = SCMSolutionTransfer
transfer_type = pin
to_multi_app = viz
variable = 'Tpin q_prime'
[]
[]
(modules/subchannel/validation/psbt/psbt_ss/psbt.i)
# M. Avramova et al., 2012,
# OECD/NRC Benchmark Based on NUPEC PWR
# Sub-channel and Bundle Tests (PSBT). Volume III: Departure from Nucleate Boiling
# Case:01-5237
T_in = 502.35
# [1e+6 kg/m^2-hour] turns into kg/m^2-sec
mass_flux_in = ${fparse 1e+6 * 16.95 / 3600.}
P_out = 14.72e6 # Pa
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 6
ny = 6
n_cells = 20
pitch = 0.0126
pin_diameter = 0.00950
side_gap = 0.00095
heated_length = 3.658
spacer_z = '0.0 0.229 0.457 0.686 0.914 1.143 1.372 1.600 1.829 2.057 2.286 2.515 2.743 2.972 3.200 3.429'
spacer_k = '0.7 0.4 1.0 0.4 1.0 0.4 1.0 0.4 1.0 0.4 1.0 0.4 1.0 0.4 1.0 0.4'
[]
[]
[AuxVariables]
[mdot]
block = subchannel
[]
[SumWij]
block = subchannel
[]
[P]
block = subchannel
[]
[DP]
block = subchannel
[]
[h]
block = subchannel
[]
[T]
block = subchannel
[]
[Tpin]
block = fuel_pins
[]
[rho]
block = subchannel
[]
[mu]
block = subchannel
[]
[S]
block = subchannel
[]
[w_perim]
block = subchannel
[]
[q_prime]
block = fuel_pins
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
n_blocks = 1
compute_density = true
compute_viscosity = true
compute_power = true
P_out = ${P_out}
implicit = true
segregated = false
staggered_pressure = false
verbose_subchannel = true
interpolation_scheme = exponential
friction_closure = 'MATRA'
pin_HTC_closure = 'Dittus-Boelter'
full_output = true
mixing_closure ='constant_beta'
[]
[SCMClosures]
[MATRA]
type = SCMFrictionMATRA
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
correction_factor = none
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.08
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMQuadPowerIC
variable = q_prime
power = 3.23e6 # W
filename = "power_profile.txt"
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
exodus = true
csv = true
[Temp_Out_MATRIX]
type = QuadSubChannelNormalSliceValues
variable = T
execute_on = final
file_base = "Temp_Out.txt"
height = 3.658
[]
[mdot_Out_MATRIX]
type = QuadSubChannelNormalSliceValues
variable = mdot
execute_on = final
file_base = "mdot_Out.txt"
height = 3.658
[]
[mdot_In_MATRIX]
type = QuadSubChannelNormalSliceValues
variable = mdot
execute_on = final
file_base = "mdot_In.txt"
height = 0.0
[]
[]
[Postprocessors]
[total_pressure_drop]
type = SubChannelDelta
variable = P
execute_on = "timestep_end"
[]
[T1]
type = SubChannelPointValue
variable = T
index = 0
execute_on = "timestep_end"
height = 3.658
[]
[T2]
type = SubChannelPointValue
variable = T
index = 7
execute_on = "timestep_end"
height = 3.658
[]
[T3]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 3.658
[]
[T4]
type = SubChannelPointValue
variable = T
index = 21
execute_on = "timestep_end"
height = 3.658
[]
[T5]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 3.658
[]
[T6]
type = SubChannelPointValue
variable = T
index = 35
execute_on = "timestep_end"
height = 3.658
[]
[PinTemp]
type = SCMPinSurfaceTemperature
index = 10
height = 3.658
[]
[]
[Executioner]
type = Steady
[]
(modules/subchannel/test/tests/ics/tri_flow_area/test.i)
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
n_cells = 2
nrings = 3
flat_to_flat = 0.60
heated_length = 1.0
pin_diameter = 0.1
pitch = 0.13
dwire = 0.03
hwire = 0.3
spacer_k = '0.5'
spacer_z = '0'
[]
[]
[Variables]
[S]
block = subchannel
[]
[]
[ICs]
[S_IC]
type = SCMTriFlowAreaIC
variable = S
block = subchannel
[]
[]
[Postprocessors]
[center]
type = SubChannelPointValue
variable = S
index = 0
execute_on = 'timestep_end'
height = 0.5
[]
[edge]
type = SubChannelPointValue
variable = S
index = 24
execute_on = 'timestep_end'
height = 0.5
[]
[corner]
type = SubChannelPointValue
variable = S
index = 25
execute_on = 'timestep_end'
height = 0.5
[]
[]
[Problem]
solve = false
[]
[Executioner]
type = Steady
[]
[Outputs]
exodus = false
csv = true
[]
(modules/subchannel/test/tests/problems/psbt/psbt_explicit_staggered.i)
T_in = 359.15
# [1e+6 kg/m^2-hour] turns into kg/m^2-sec
mass_flux_in = '${fparse 1e+6 * 17.00 / 3600.}'
P_out = 4.923e6 # Pa
pin_diameter = 0.00950
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 6
ny = 6
n_cells = 10
pitch = 0.0126
pin_diameter = ${pin_diameter}
side_gap = 0.00095
heated_length = 1.0
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
n_blocks = 1
compute_density = true
compute_viscosity = true
compute_power = true
P_out = ${P_out}
verbose_subchannel = true
staggered_pressure = true
friction_closure = 'MATRA'
pin_HTC_closure = 'Dittus-Boelter'
full_output = true
mixing_closure ='constant_beta'
[]
[SCMClosures]
[MATRA]
type = SCMFrictionMATRA
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMQuadPowerIC
variable = q_prime
power = 1.0e6 # W
filename = "power_profile.txt" #type in name of file that describes radial power profile
block = fuel_pins
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = report_mass_flux_inlet
execute_on = 'timestep_begin'
block = subchannel
[]
[]
[Postprocessors]
[report_mass_flux_inlet]
type = Receiver
default = ${mass_flux_in}
[]
[total_pressure_drop]
type = SubChannelDelta
variable = P
execute_on = "timestep_end"
[]
[T1]
type = SubChannelPointValue
variable = T
index = 0
execute_on = "timestep_end"
height = 1
[]
[T2]
type = SubChannelPointValue
variable = T
index = 7
execute_on = "timestep_end"
height = 1
[]
[T3]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 1
[]
[T4]
type = SubChannelPointValue
variable = T
index = 21
execute_on = "timestep_end"
height = 1
[]
[T5]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 1
[]
[T6]
type = SubChannelPointValue
variable = T
index = 35
execute_on = "timestep_end"
height = 1
[]
[]
[Outputs]
csv = true
[]
[Executioner]
type = Steady
[]
(modules/subchannel/verification/friction_model_verification/two_channel/two_channel.i)
T_in = 473.15 # K
mass_flux_in = 3500 # kg /sec m2
P_out = 155e+5 # Pa
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 1
ny = 2
n_cells = 100
pitch = 0.0126
pin_diameter = 0.00950
side_gap = 0.00095
heated_length = 10.0
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[Functions]
[S_fn]
type = ParsedFunction
expression = if(y>0.0,0.002,0.001)
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
n_blocks = 1
P_tol = 1e-6
T_tol = 1e-6
implicit = false
compute_density = true
compute_viscosity = true
compute_power = true
P_out = ${P_out}
friction_closure = 'MATRA'
full_output = true
mixing_closure ='constant_beta'
[]
[SCMClosures]
[MATRA]
type = SCMFrictionMATRA
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
CT = 0.0
[]
[]
[ICs]
[S_ic]
type = FunctionIC
variable = S
function = S_fn
[]
[w_perim_IC]
type = ConstantIC
variable = w_perim
value = 0.34188034
[]
[q_prime_IC]
type = ConstantIC
variable = q_prime
value = 0.0
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
csv = true
[]
[Postprocessors]
[mdot_1]
type = SubChannelPointValue
variable = mdot
index = 0
execute_on = 'initial timestep_end'
height = 10.0
[]
[mdot_2]
type = SubChannelPointValue
variable = mdot
index = 1
execute_on = 'initial timestep_end'
height = 10.0
[]
[]
[Executioner]
type = Steady
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = FullSolveMultiApp
input_files = "3d.i"
execute_on = "timestep_end"
[]
[]
[Transfers]
[xfer]
type = SCMSolutionTransfer
to_multi_app = viz
variable = 'mdot SumWij P DP h T rho mu q_prime S'
[]
[]
(modules/subchannel/validation/EBR-II/XX09_SCM_TR45R.i)
# Following Benchmark Specifications and Data Requirements for EBR-II Shutdown Heat Removal Tests SHRT-17 and SHRT-45R
# Available at: https://publications.anl.gov/anlpubs/2012/06/73647.pdf
# Transient subchannel calculation
###################################################
# Thermal-hydraulics parameters
###################################################
T_in = 616.4 #Kelvin
Total_Surface_Area = 0.000854322 #m3
mass_flux_in = '${fparse 2.427 / Total_Surface_Area}'
P_out = 2.0e5
Power_initial = 379800 #W (Page 26,35 of ANL document)
###################################################
# Geometric parameters
###################################################
scale_factor = 0.01
fuel_pin_pitch = '${fparse 0.5664*scale_factor}'
fuel_pin_diameter = '${fparse 0.4419*scale_factor}'
wire_z_spacing = '${fparse 15.24*scale_factor}'
wire_diameter = '${fparse 0.1244*scale_factor}'
inner_duct_in = '${fparse 4.64*scale_factor}'
n_rings = 5
heated_length = '${fparse 34.3*scale_factor}'
unheated_length_exit = '${fparse 26.9*scale_factor}'
###################################################
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = ${n_rings}
n_cells = 50
flat_to_flat = ${inner_duct_in}
unheated_length_exit = ${unheated_length_exit}
heated_length = ${heated_length}
pin_diameter = ${fuel_pin_diameter}
pitch = ${fuel_pin_pitch}
dwire = ${wire_diameter}
hwire = ${wire_z_spacing}
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[AuxVariables]
[q_prime_init]
block = fuel_pins
[]
[power_history_field]
block = fuel_pins
[]
[q_prime]
block = fuel_pins
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = ${P_out}
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-4
T_tol = 1.0e-4
implicit = true
segregated = false
interpolation_scheme = 'upwind'
pin_HTC_closure = 'gnielinski'
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[gnielinski]
type = SCMHTCGnielinski
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime_init
power = ${Power_initial}
filename = "pin_power_profile61_uniform.txt"
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[Functions]
[power_func]
type = PiecewiseLinear
data_file = 'power_history_SHRT45.csv'
format = "columns"
scale_factor = 1.0
[]
[mass_flux_in]
type = PiecewiseLinear
data_file = 'massflow_SHRT45.csv'
format = "columns"
scale_factor = '${fparse mass_flux_in / 2.427}'
[]
[dts]
type = PiecewiseLinear
xy_data = '0.0 0.1
5.0 2.0
100 2.0
110 20.0
900 20.0'
[]
[]
[Controls]
[mass_flux_ctrl]
type = RealFunctionControl
parameter = 'Postprocessors/mass_flux_PP/value'
function = 'mass_flux_in'
execute_on = 'initial timestep_begin'
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = mass_flux_PP
execute_on = 'timestep_begin'
[]
[populate_power_history]
type = FunctionAux
variable = power_history_field
function = 'power_func'
execute_on = 'INITIAL TIMESTEP_BEGIN'
[]
[change_q_prime]
type = ParsedAux
variable = q_prime
coupled_variables = 'q_prime_init power_history_field'
expression = 'q_prime_init*power_history_field'
execute_on = 'INITIAL TIMESTEP_BEGIN'
[]
[]
[Outputs]
csv = true
[]
[Postprocessors]
[report_pressure_outlet]
type = Receiver
default = ${P_out}
[]
[TTC-31]
type = SubChannelPointValue
variable = T
index = 0
execute_on = 'initial timestep_end'
height = 0.322
[]
[post_func]
type = ElementIntegralVariablePostprocessor
block = fuel_pins
variable = q_prime
execute_on = 'INITIAL TIMESTEP_BEGIN'
[]
[mass_flux_PP]
type = ConstantPostprocessor
value = ${mass_flux_in}
[]
[mass_flow_PP]
type = ParsedPostprocessor
expression = '${Total_Surface_Area} * mass_flux_PP'
pp_names = 'mass_flux_PP'
[]
[]
[Executioner]
type = Transient
start_time = -1
end_time = 900.0
[TimeStepper]
type = FunctionDT
function = dts
min_dt = 0.1
growth_factor = 2.0
[]
dtmax = 20
# num_steps = 15
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = TransientMultiApp
input_files = '3d_SCM_TR.i'
execute_on = 'INITIAL TIMESTEP_END'
catch_up = true
[]
[]
[Transfers]
[subchannel_transfer]
type = SCMSolutionTransfer
to_multi_app = viz
variable = 'mdot SumWij P DP h T rho mu S'
[]
[pin_transfer]
type = SCMSolutionTransfer
transfer_type = pin
to_multi_app = viz
variable = 'Tpin q_prime'
[]
[]
(modules/subchannel/validation/ORNL_19_pin/test_ORNL_19.i)
# M. Fontana, et al,
# "Temperature distribution in the duct wall and at the exit of a 19-pin simulated lmfbr fuel assembly (ffm bundle 2a),
# "Nuclear Technology, vol. 24, no. 2, pp. 176-200, 1974.
T_in = 588.5
A12 = 1.00423e3
A13 = -0.21390
A14 = -1.1046e-5
rho = '${fparse A12 + A13 * T_in + A14 * T_in * T_in}'
flow_area = 0.000467906 #m2
vol_flow = 4.67E-05 #low flow case
mass_flux_in = '${fparse rho * vol_flow / flow_area}'
P_out = 2.0e5 # Pa
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = 3
n_cells = 40
flat_to_flat = 3.41e-2
heated_length = 0.5334
unheated_length_entry = 0.4064
unheated_length_exit = 0.0762
pin_diameter = 5.84e-3
pitch = 7.26e-3
dwire = 1.42e-3
hwire = 0.3048
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = 2.0e5
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-5
T_tol = 1.0e-4
implicit = true
segregated = false
verbose_multiapps = true
verbose_subchannel = true
interpolation_scheme = upwind
pin_HTC_closure = 'Dittus-Boelter'
# friction model
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
CT = 2.6
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = 4966 #W
filename = "pin_power_profile19.txt"
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = 5.84e-3
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
exodus = true
csv = true
[]
[Executioner]
type = Steady
[]
[Postprocessors]
[T1]
type = SubChannelPointValue
variable = T
index = 37
execute_on = "timestep_end"
height = 1.016
[]
[T2]
type = SubChannelPointValue
variable = T
index = 36
execute_on = "timestep_end"
height = 1.016
[]
[T3]
type = SubChannelPointValue
variable = T
index = 20
execute_on = "timestep_end"
height = 1.016
[]
[T4]
type = SubChannelPointValue
variable = T
index = 10
execute_on = "timestep_end"
height = 1.016
[]
[T5]
type = SubChannelPointValue
variable = T
index = 4
execute_on = "timestep_end"
height = 1.016
[]
[T6]
type = SubChannelPointValue
variable = T
index = 1
execute_on = "timestep_end"
height = 1.016
[]
[T7]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 1.016
[]
[T8]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 1.016
[]
####### Assembly pressure drop
[DP_SubchannelDelta]
type = SubChannelDelta
variable = P
execute_on = 'TIMESTEP_END'
[]
#####
[Mean_Temp]
type = SCMPlanarMean
variable = T
height = 2
[]
[Total_power]
type = ElementIntegralVariablePostprocessor
variable = q_prime
block = fuel_pins
[]
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = FullSolveMultiApp
input_files = "3d_ORNL_19.i"
execute_on = "timestep_end"
[]
[]
[Transfers]
[subchannel_transfer]
type = SCMSolutionTransfer
to_multi_app = viz
variable = 'mdot SumWij P DP h T rho mu S'
[]
[pin_transfer]
type = SCMSolutionTransfer
transfer_type = pin
to_multi_app = viz
variable = q_prime
[]
[]
(modules/subchannel/validation/Blockage/THORS/FFM-5B_high.i)
################################################################################
## THORS bundle 5B partial edge blockage benchmark ##
## SCM simulation, high flow case ##
## POC : Vasileios Kyriakopoulos, [email protected] ##
################################################################################
# Details on the experimental facility modeled can be found at:
# Han, J. T. "Blockages in LMFBR fuel assemblies: A review of experimental and theoretical studies." (1977).
# This input file models a block next to the duct of the of the assembly
# 102 mm above the start of the heated section.
# Boundary conditions
T_in = 596.75 # K, high flow case
A12 = 1.00423e3
A13 = -0.21390
A14 = -1.1046e-5
rho = '${fparse A12 + A13 * T_in + A14 * T_in * T_in}'
inlet_vel = 6.93 #m/sec, high flow case
mass_flux_in = '${fparse rho * inlet_vel}'
P_out = 2.0e5 # Pa
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = 3
n_cells = 50
flat_to_flat = 0.0324290
heated_length = 0.4572
unheated_length_entry = 0.4064
unheated_length_exit = 0.1524
pin_diameter = 0.005842
pitch = 7.2644e-3
dwire = 0.0014224
hwire = 0.3048
z_blockage = '0.49 0.52'
index_blockage = '29 31 30 32 34 33 35 15 16 8 17 18 9 19'
reduction_blockage = '0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08 0.08'
k_blockage = '4 4 4 4 4 4 4 4 4 4 4 4 4 4 '
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = 2.0e5
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-4
T_tol = 1.0e-4
implicit = true
segregated = false
verbose_subchannel = true
interpolation_scheme = exponential
pin_HTC_closure = 'Dittus-Boelter'
# friction model
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
CT = 2.0
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = 145000 #W, high flow case
filename = "pin_power_profile_19.txt"
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = 0.005842
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
exodus = true
csv = true
[]
[Postprocessors]
[1]
type = SubChannelPointValue
variable = T
index = 34
execute_on = 'initial timestep_end'
height = 0.94
[]
[2]
type = SubChannelPointValue
variable = T
index = 33
execute_on = 'initial timestep_end'
height = 0.94
[]
[3]
type = SubChannelPointValue
variable = T
index = 18
execute_on = 'initial timestep_end'
height = 0.94
[]
[4]
type = SubChannelPointValue
variable = T
index = 9
execute_on = 'initial timestep_end'
height = 0.94
[]
[5]
type = SubChannelPointValue
variable = T
index = 3
execute_on = 'initial timestep_end'
height = 0.94
[]
[6]
type = SubChannelPointValue
variable = T
index = 0
execute_on = 'initial timestep_end'
height = 0.94
[]
[7]
type = SubChannelPointValue
variable = T
index = 12
execute_on = 'initial timestep_end'
height = 0.94
[]
[8]
type = SubChannelPointValue
variable = T
index = 25
execute_on = 'initial timestep_end'
height = 0.94
[]
[]
[Executioner]
type = Steady
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = FullSolveMultiApp
input_files = "FFM-5B_viz.i"
execute_on = "timestep_end"
[]
[]
[Transfers]
[xfer_subchannel]
type = SCMSolutionTransfer
to_multi_app = viz
transfer_type = subchannel
variable = 'mdot SumWij P DP h T rho mu S displacement w_perim'
[]
[xfer_q_prime]
type = SCMSolutionTransfer
to_multi_app = viz
transfer_type = pin
variable = q_prime
[]
[]
(modules/subchannel/test/tests/auxkernels/mass_flow_rate/blocked_test.i)
[QuadSubChannelMesh]
[subchannel]
type = SCMQuadAssemblyMeshGenerator
nx = 6
ny = 6
n_cells = 3
pitch = 0.0126
pin_diameter = 0.00950
side_gap = 0.00095
heated_length = 1.0
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[AuxVariables]
[S]
[]
[mdot]
[]
[]
[ICs]
[S_IC]
type = ConstantIC
variable = S
value = 0.5
[]
[]
[AuxKernels]
[mdot_ak]
type = SCMBlockedMassFlowRateAux
variable = mdot
area = S
index_blockage = '0'
unblocked_mass_flux = 4722
blocked_mass_flux = 1.0
execute_on = 'initial'
[]
[]
[Postprocessors]
[blocked_inlet]
type = SubChannelPointValue
variable = mdot
index = 0
height = 0.0
execute_on = 'timestep_end'
[]
[central_inlet]
type = SubChannelPointValue
variable = mdot
index = 14
height = 0.0
execute_on = 'timestep_end'
[]
[]
[Problem]
solve = false
[]
[Executioner]
type = Steady
[]
[Outputs]
csv = true
[]
(modules/subchannel/test/tests/ics/mass_flow/test.i)
mass_flux_in = ${fparse 1e+6 * 17.00 / 3600.}
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 3
ny = 3
n_cells = 10
pitch = 0.25
pin_diameter = 0.125
side_gap = 0.1
heated_length = 1
spacer_k = '0.0'
spacer_z = '0'
[]
[]
[Variables]
[S]
[]
[mdot]
[]
[]
[ICs]
[S_IC]
type = SCMQuadFlowAreaIC
variable = S
[]
[mdot_ic]
type = SCMMassFlowRateIC
variable = mdot
area = S
mass_flux = ${mass_flux_in}
[]
[]
[Postprocessors]
[center]
type = SubChannelPointValue
variable = mdot
index = 4
execute_on = 'timestep_end'
height = 0.5
[]
[edge]
type = SubChannelPointValue
variable = mdot
index = 1
execute_on = 'timestep_end'
height = 0.5
[]
[corner]
type = SubChannelPointValue
variable = mdot
index = 0
execute_on = 'timestep_end'
height = 0.5
[]
[]
[Problem]
solve = false
[]
[Executioner]
type = Steady
[]
[Outputs]
exodus = false
csv = true
[]
(modules/subchannel/test/tests/ics/FCTFdisplacementIC/test.i)
# Following Benchmark Specifications and Data Requirements for the AREVA heated-bundle test in its Fuel Cooling Test Facility (FCTF)
# as part of a U.S. DOE funded project: Towards a Longer-Life Core. In partnership with TerraPower, TAMU and ANL,
# AREVA NP tested a wire-wrapped pin bundle. The bundle consists of electrically heated pins and non-heated pins.
# This test collected measurements to evaluate thermal hydraulic performance of a wire wrapped bundle, useful for CFD and other software validation.
# Available at: https://www.osti.gov/servlets/purl/1346027/
###################################################
# This input file tests the ICs kernel that populates discplament for the FCTF deformed assembly.
###################################################
# Steady state sub_channel calculation
# Thermal-hydraulics parameters
###################################################
T_in = 305.68 #Kelvin (32.53 C)
Total_Surface_Area_SC = 0.00285294 #m2
Total_Surface_Area_EXP = 0.002808 #m2
P_out = 829370.355 # Pa (120.29 psia)
Power = 90640 # Watt Each heater pin had a max power of 30kW
mdot_average = '${fparse 9.58 * Total_Surface_Area_SC / Total_Surface_Area_EXP}'
mass_flux_in = '${fparse mdot_average / Total_Surface_Area_SC / 1.5}' #kg/m2
###################################################
# Geometric parameters (non-deformed heated bundle)
###################################################
fuel_pin_pitch = 0.01122652 #m
fuel_pin_diameter = 0.009514 #m
wire_z_spacing = 0.285 #m
wire_diameter = 0.0017062 #m
inner_duct_in = 0.092 #m
n_rings = 5
unheated_length_entry = 1.14 #m
heated_length = 1.71 #m
unheated_length_exit = 0.855 #m
###################################################
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = ${n_rings}
n_cells = 10
flat_to_flat = ${inner_duct_in}
unheated_length_entry = ${unheated_length_entry}
heated_length = ${heated_length}
unheated_length_exit = ${unheated_length_exit}
pin_diameter = ${fuel_pin_diameter}
pitch = ${fuel_pin_pitch}
dwire = ${wire_diameter}
hwire = ${wire_z_spacing}
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[Functions]
[axial_heat_rate]
type = ParsedFunction
expression = '(0.4*pi/(pi-2))*sin(pi*z/L) + 1.4 - (0.4*pi/(pi-2))'
symbol_names = 'L'
symbol_values = '${heated_length}'
[]
[]
[AuxVariables]
[mdot]
block = subchannel
[]
[SumWij]
block = subchannel
[]
[P]
block = subchannel
[]
[DP]
block = subchannel
[]
[h]
block = subchannel
[]
[T]
block = subchannel
[]
[rho]
block = subchannel
[]
[mu]
block = subchannel
[]
[S]
block = subchannel
[]
[w_perim]
block = subchannel
[]
[displacement]
block = subchannel
[]
[q_prime]
block = fuel_pins
[]
[Tpin]
block = fuel_pins
[]
[Dpin]
block = fuel_pins
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[Problem]
type = NoSolveProblem
[]
[ICs]
[S_IC]
type = SCMTriFlowAreaIC
variable = S
[]
[w_perim_IC]
type = SCMTriWettedPerimIC
variable = w_perim
[]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = ${Power}
filename = "pin_power_profile61.txt"
axial_heat_rate = axial_heat_rate
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = ${fuel_pin_diameter}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[displacement_ic]
type = FCTFdisplacementIC
variable = displacement
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Postprocessors]
[center_S]
type = SubChannelPointValue
variable = S
index = 0
execute_on = 'timestep_end'
height = 0.5
[]
[edge_S]
type = SubChannelPointValue
variable = S
index = 96
execute_on = 'timestep_end'
height = 0.5
[]
[corner_S]
type = SubChannelPointValue
variable = S
index = 97
execute_on = 'timestep_end'
height = 0.5
[]
[center_w_perim]
type = SubChannelPointValue
variable = w_perim
index = 0
execute_on = 'timestep_end'
height = 0.5
[]
[edge_w_perim]
type = SubChannelPointValue
variable = w_perim
index = 96
execute_on = 'timestep_end'
height = 0.5
[]
[corner_w_perim]
type = SubChannelPointValue
variable = w_perim
index = 97
execute_on = 'timestep_end'
height = 0.5
[]
[]
[Executioner]
type = Steady
[]
[Outputs]
exodus = false
csv = true
[]
(modules/subchannel/test/tests/ics/quad_wetted_perimeter/test.i)
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 3
ny = 3
n_cells = 10
pitch = 0.25
pin_diameter = 0.125
side_gap = 0.1
heated_length = 1
spacer_k = '0.0'
spacer_z = '0'
[]
[]
[Variables]
[w_perim]
[]
[]
[ICs]
[w_perim_IC]
type = SCMQuadWettedPerimIC
variable = w_perim
[]
[]
[Postprocessors]
[center]
type = SubChannelPointValue
variable = w_perim
index = 4
execute_on = 'timestep_end'
height = 0.5
[]
[edge]
type = SubChannelPointValue
variable = w_perim
index = 1
execute_on = 'timestep_end'
height = 0.5
[]
[corner]
type = SubChannelPointValue
variable = w_perim
index = 0
execute_on = 'timestep_end'
height = 0.5
[]
[]
[Problem]
solve = false
[]
[Executioner]
type = Steady
[]
[Outputs]
exodus = false
csv = true
[]
(modules/subchannel/test/tests/postprocessors/trisubchannelpointvalue/test.i)
T_in = 359.15
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = 3
n_cells = 10
flat_to_flat = 3.41e-2
heated_length = 1.0
pin_diameter = 5.84e-3
pitch = 7.26e-3
dwire = 1.42e-3
hwire = 0.3048
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[AuxVariables]
[T]
[]
[]
[ICs]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[]
[Problem]
type = NoSolveProblem
[]
[Postprocessors]
[T]
type = SubChannelPointValue
variable = T
index = 0
execute_on = 'initial timestep_end'
height = 0.5
[]
[]
[Outputs]
csv = true
[]
[Executioner]
type = Transient
start_time = 0.0
end_time = 10.0
dt = 1.0
[]
(modules/subchannel/test/tests/problems/SFR/sodium-7pin/case1_scm.i)
T_in = 667.15
outlet_pressure = 1.01325e5
assembly_power = 4000.0
volume_flow_rate = 0.002090242
rho_in = '${fparse 1004.23 - 0.21390 * T_in - 1.1046e-5 * T_in * T_in}'
mass_flow_rate = '${fparse volume_flow_rate * rho_in}'
core_length = 1.145
pin_pitch = 0.027813
pin_diameter = 0.024638
duct_inner_ftf = 0.0769620
n_pins = 7
flow_area = ${fparse sqrt(3)/2 * duct_inner_ftf ^2 - n_pins * pi * pin_diameter^2 / 4}
mass_flux_in = '${fparse mass_flow_rate / flow_area}'
axial_shape_scale = 1.33449883449883
[TriSubChannelMesh]
[assembly]
type = SCMTriAssemblyMeshGenerator
nrings = 2
n_cells = 20
heated_length = ${core_length}
flat_to_flat = ${duct_inner_ftf}
pin_diameter = ${pin_diameter}
pitch = ${pin_pitch}
dwire = 0.0
hwire = 0.0
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[Functions]
[axial_heat_rate]
type = PiecewiseConstant
axis = z
x = '0.000 0.118 0.641 0.692 1.027'
y = '0.0 ${axial_shape_scale} 0.0 ${axial_shape_scale} 0.0'
direction = left
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = ${outlet_pressure}
compute_density = true
compute_viscosity = true
compute_power = true
implicit = true
segregated = false
interpolation_scheme = upwind
gravity = counter_flow
friction_closure = uctd_friction
mixing_closure = kim_chung_mixing
pin_HTC_closure = kazimi_carelli_htc
P_tol = 1.0e-8
T_tol = 1.0e-8
rtol = 1.0e-10
atol = 1.0e-10
full_output = true
verbose_subchannel = true
[]
[SCMClosures]
[uctd_friction]
type = SCMFrictionChenTodreas
[]
[kim_chung_mixing]
type = SCMMixingKimAndChung
[]
[kazimi_carelli_htc]
type = SCMHTCKazimiCarelli
[]
[]
[ICs]
[q_prime_ic]
type = SCMTriPowerIC
variable = q_prime
power = ${assembly_power}
filename = "pin_power_profile7.txt"
axial_heat_rate = axial_heat_rate
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = ${pin_diameter}
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[mu_ic]
type = ViscosityIC
variable = mu
p = ${outlet_pressure}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${outlet_pressure}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${outlet_pressure}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[inlet_temperature]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = timestep_begin
[]
[inlet_mass_flow]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = timestep_begin
[]
[]
[Postprocessors]
# For nrings = 2, channels 0-5 are center channels and the perimeter channels then alternate
# edge/corner. Sample one center, one edge, and one corner channel at the outlet.
[T_center_out]
type = SubChannelPointValue
variable = T
index = 0
execute_on = 'timestep_end'
height = ${core_length}
[]
[T_edge_out]
type = SubChannelPointValue
variable = T
index = 6
execute_on = 'timestep_end'
height = ${core_length}
[]
[T_corner_out]
type = SubChannelPointValue
variable = T
index = 7
execute_on = 'timestep_end'
height = ${core_length}
[]
[mdot_center_out]
type = SubChannelPointValue
variable = mdot
index = 0
execute_on = 'timestep_end'
height = ${core_length}
[]
[mdot_edge_out]
type = SubChannelPointValue
variable = mdot
index = 6
execute_on = 'timestep_end'
height = ${core_length}
[]
[mdot_corner_out]
type = SubChannelPointValue
variable = mdot
index = 7
execute_on = 'timestep_end'
height = ${core_length}
[]
[]
[Executioner]
type = Steady
[]
[Outputs]
csv = true
exodus = false
[]
(modules/subchannel/test/tests/problems/psbt/psbt_implicit.i)
T_in = 359.15
# [1e+6 kg/m^2-hour] turns into kg/m^2-sec
mass_flux_in = '${fparse 1e+6 * 17.00 / 3600.}'
P_out = 4.923e6 # Pa
pin_diameter = 0.00950
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 6
ny = 6
n_cells = 10
pitch = 0.0126
pin_diameter = ${pin_diameter}
side_gap = 0.00095
heated_length = 1.0
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
n_blocks = 1
compute_density = true
compute_viscosity = true
compute_power = true
P_out = ${P_out}
verbose_subchannel = true
implicit = true
segregated = true
friction_closure = 'MATRA'
pin_HTC_closure = 'Dittus-Boelter'
full_output = true
mixing_closure ='constant_beta'
[]
[SCMClosures]
[MATRA]
type = SCMFrictionMATRA
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMQuadPowerIC
variable = q_prime
power = 1.0e6 # W
filename = "power_profile.txt" #type in name of file that describes radial power profile
block = fuel_pins
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = report_mass_flux_inlet
execute_on = 'timestep_begin'
block = subchannel
[]
[]
[Postprocessors]
[report_mass_flux_inlet]
type = Receiver
default = ${mass_flux_in}
[]
[total_pressure_drop]
type = SubChannelDelta
variable = P
execute_on = "timestep_end"
[]
[T1]
type = SubChannelPointValue
variable = T
index = 0
execute_on = "timestep_end"
height = 1
[]
[T2]
type = SubChannelPointValue
variable = T
index = 7
execute_on = "timestep_end"
height = 1
[]
[T3]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 1
[]
[T4]
type = SubChannelPointValue
variable = T
index = 21
execute_on = "timestep_end"
height = 1
[]
[T5]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 1
[]
[T6]
type = SubChannelPointValue
variable = T
index = 35
execute_on = "timestep_end"
height = 1
[]
[]
[Outputs]
csv = true
[]
[Executioner]
type = Steady
[]
(modules/subchannel/verification/friction_model_verification/friction_model/pacio_paper.i)
# Shared part of the inputs that reproduce the calculations of the PCTD paper, Pacio et al. (2022),
# for the wire-wrapped triangular lattices of Kennedy et al. (2015) and Liang et al. (2020). Each
# time step solves the assembly at a larger inlet mass flux, which sets the bulk Reynolds number.
# The including input defines the mesh, the exponent G_exp0 of the initial inlet mass flux, the
# inlet mass flux 10^(G_exp0 + G_exp_rate n) [kg/m^2-s] at step n through G_exp_rate, the number of
# steps, the center, edge, and corner subchannel indices and counts, and includes the file
# with the mass flow rate and flow area of every subchannel at the outlet. The PCTD model lumps the
# subchannels of each type, so the flow split of a type is calculated from those in the plotting
# script. The bulk friction factor is calculated from the pressure gradient in the developed flow.
# The fluid is water and the assembly is unheated, so the density is nearly uniform and the flow split
# and friction factors depend only on the bulk Reynolds number and the geometry, as in the PCTD model.
T_in = 359.15 # K
P_out = 4.923e6 # Pa
# The inlet mass flux is uniform, and the flow split develops over about 1.5 m, so it is sampled at
# the outlet of the 3 m assembly, where the flow is developed
z_out = 3.0
# The pressure gradient is calculated between z_dp_in and z_dp_out, in the developed flow and away
# from the outlet boundary
z_dp_in = 2.0
z_dp_out = 2.9
# Each sweep step is a time step of the transient solve; the time derivative of the axial momentum
# equation is negligible for a time step this long, as in friction_factor_sampling.i
dt_step = 1e4 # s
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = water
n_blocks = 1
P_out = ${P_out}
compute_density = true
compute_viscosity = true
compute_power = false
full_output = true
# Monolithic implicit solver. The explicit solver converges the developed turbulent flow split
# only to about 1% with the default tolerances.
implicit = true
segregated = false
P_tol = 1e-8
T_tol = 1e-8
rtol = 1e-10
atol = 1e-10
# No gravity, so that the pressure gradient is the friction pressure gradient
gravity = none
friction_closure = 'Chen'
mixing_closure = 'Chen_Todreas'
pin_HTC_closure = 'Dittus-Boelter'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
friction_model = Pacio
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
mixing_model = Pacio
# C_T multiplies the mixing parameter in the axial momentum equation, whose mixing term is the
# exchange of axial momentum of the PCTD equations, Eq. (2) of Pacio et al. (2022); the enthalpy
# mixing uses the mixing parameter without C_T. C_T = 1 applies it unchanged, as in PCTD.
CT = 1.0
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mu_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[Functions]
[mass_flux_fn]
type = ParsedFunction
expression = '10^(${G_exp0} + ${G_exp_rate} * t / ${dt_step})'
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = mass_flux
execute_on = 'timestep_begin'
[]
[]
[Postprocessors]
[mass_flux]
type = FunctionValuePostprocessor
function = mass_flux_fn
execute_on = 'initial timestep_begin'
[]
[w_perim_center]
type = SubChannelPointValue
variable = w_perim
index = ${center}
height = ${z_out}
outputs = none
[]
[w_perim_edge]
type = SubChannelPointValue
variable = w_perim
index = ${edge}
height = ${z_out}
outputs = none
[]
[w_perim_corner]
type = SubChannelPointValue
variable = w_perim
index = ${corner}
height = ${z_out}
outputs = none
[]
# The solver evaluates the bulk Reynolds number with the inlet viscosity
[mu_in]
type = SubChannelPointValue
variable = mu
index = ${center}
height = 0.0
outputs = none
[]
# Subchannel hydraulic diameters Dh = 4 S / w_perim, as in the solver
[Dh_center]
type = ParsedPostprocessor
expression = '4 * S_${center} / w_perim_center'
pp_names = 'S_${center} w_perim_center'
[]
[Dh_edge]
type = ParsedPostprocessor
expression = '4 * S_${edge} / w_perim_edge'
pp_names = 'S_${edge} w_perim_edge'
[]
[Dh_corner]
type = ParsedPostprocessor
expression = '4 * S_${corner} / w_perim_corner'
pp_names = 'S_${corner} w_perim_corner'
[]
# Bulk hydraulic diameter, 4 times the total flow area over the total wetted perimeter
[Dh_bulk]
type = ParsedPostprocessor
expression = '4 * (${n_center} * S_${center} + ${n_edge} * S_${edge} + ${n_corner} * S_${corner})
/ (${n_center} * w_perim_center + ${n_edge} * w_perim_edge
+ ${n_corner} * w_perim_corner)'
pp_names = 'S_${center} S_${edge} S_${corner} w_perim_center w_perim_edge w_perim_corner'
[]
[Re_bulk]
type = ParsedPostprocessor
expression = 'mass_flux * Dh_bulk / mu_in'
pp_names = 'mass_flux Dh_bulk mu_in'
[]
# Bulk friction factor f_b = (dP/L) 2 Dh_bulk rho / mass_flux^2, from the pressure gradient of the
# developed flow
[P_dp_in]
type = SubChannelPointValue
variable = P
index = ${center}
height = ${z_dp_in}
outputs = none
[]
[P_dp_out]
type = SubChannelPointValue
variable = P
index = ${center}
height = ${z_dp_out}
outputs = none
[]
[rho_dp]
type = SubChannelPointValue
variable = rho
index = ${center}
height = ${z_dp_in}
outputs = none
[]
[f_bulk]
type = ParsedPostprocessor
expression = '(P_dp_in - P_dp_out) / (z_dp_out - z_dp_in) * 2 * Dh_bulk * rho_dp / mass_flux^2'
constant_names = 'z_dp_in z_dp_out'
constant_expressions = '${z_dp_in} ${z_dp_out}'
pp_names = 'P_dp_in P_dp_out Dh_bulk rho_dp mass_flux'
[]
[]
[Outputs]
csv = true
[]
[Executioner]
type = Transient
start_time = 0.0
end_time = '${fparse n_steps * dt_step}'
dt = ${dt_step}
[]
(modules/subchannel/test/tests/problems/Lead-LBE-19pin/test_LEAD-19pin.i)
T_in = 673.15
flow_area = 0.00128171 #m2
rho_in = 10453.21705
# [10 m^3/hour] turns into kg/m^2-sec
mass_flux_in = '${fparse 10*rho_in/3600/flow_area}'
P_out = 1.0e5 # Pa
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = 3
n_cells = 50
flat_to_flat = 0.05319936
heated_length = 0.87
unheated_length_entry = 0.0
unheated_length_exit = 0.402
pin_diameter = 8.2e-3
pitch = 0.01148
dwire = 0.0
hwire = 0.0
spacer_z = '0.177 0.547 0.870'
spacer_k = '1.1719 1.1719 1.1719'
[]
[]
[FluidProperties]
[LEAD]
type = LeadFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = LEAD
n_blocks = 1
P_out = 1.0e5
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-4
T_tol = 1.0e-4
implicit = true
segregated = false
staggered_pressure = false
verbose_multiapps = true
verbose_subchannel = true
interpolation_scheme = upwind
pin_HTC_closure = 'Dittus-Boelter'
# friction model
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Kim_and_Chung'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[Kim_and_Chung]
type = SCMMixingKimAndChung
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = '${fparse 250000}'
filename = "pin_power_profile19.txt"
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = 8.2e-3
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = LEAD
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = LEAD
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = LEAD
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
csv = true
[]
[Postprocessors]
[T1]
type = SubChannelPointValue
variable = T
index = 37
execute_on = "timestep_end"
height = 0.87
[]
[T2]
type = SubChannelPointValue
variable = T
index = 36
execute_on = "timestep_end"
height = 0.87
[]
[T3]
type = SubChannelPointValue
variable = T
index = 20
execute_on = "timestep_end"
height = 0.87
[]
[T4]
type = SubChannelPointValue
variable = T
index = 10
execute_on = "timestep_end"
height = 0.87
[]
[T5]
type = SubChannelPointValue
variable = T
index = 4
execute_on = "timestep_end"
height = 0.87
[]
[T6]
type = SubChannelPointValue
variable = T
index = 1
execute_on = "timestep_end"
height = 0.87
[]
[T7]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 0.87
[]
[T8]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 0.87
[]
####### Assembly pressure drop
[DP_SubchannelDelta]
type = SubChannelDelta
variable = P
execute_on = 'TIMESTEP_END'
[]
#####
[Mean_Temp]
type = SCMPlanarMean
variable = T
height = 2
[]
[Total_power]
type = ElementIntegralVariablePostprocessor
variable = q_prime
block = fuel_pins
[]
[]
[Executioner]
type = Steady
[]
# ################################################################################
# # A multiapp that projects data to a detailed mesh
# ################################################################################
# [MultiApps]
# [viz]
# type = FullSolveMultiApp
# input_files = "3d_LBE_19.i"
# execute_on = "timestep_end"
# max_procs_per_app = 1
# []
# []
# [Transfers]
# [xfer]
# type = SCMSolutionTransfer
# to_multi_app = viz
# variable = 'mdot SumWij P DP h T rho mu q_prime S'
# []
# []
(modules/subchannel/test/tests/problems/Lead-LBE-19pin/test_LBE-19pin.i)
T_in = 673.15
flow_area = 0.00128171 #m2
rho_in = 10453.21705
# [10 m^3/hour] turns into kg/m^2-sec
mass_flux_in = '${fparse 10*rho_in/3600/flow_area}'
P_out = 1.0e5 # Pa
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = 3
n_cells = 50
flat_to_flat = 0.05319936
heated_length = 0.87
unheated_length_entry = 0.0
unheated_length_exit = 0.402
pin_diameter = 8.2e-3
pitch = 0.01148
dwire = 0.0
hwire = 0.0
spacer_z = '0.177 0.547 0.870'
spacer_k = '1.1719 1.1719 1.1719'
[]
[]
[FluidProperties]
[LBE]
type = LeadBismuthFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = LBE
n_blocks = 1
P_out = 1.0e5
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-4
T_tol = 1.0e-4
implicit = true
segregated = false
verbose_subchannel = true
interpolation_scheme = upwind
pin_HTC_closure = 'Dittus-Boelter'
# friction model
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Kim_and_Chung'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[Kim_and_Chung]
type = SCMMixingKimAndChung
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = '${fparse 250000}'
filename = "pin_power_profile19.txt"
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = 8.2e-3
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = LBE
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = LBE
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = LBE
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Postprocessors]
[T1]
type = SubChannelPointValue
variable = T
index = 37
execute_on = "timestep_end"
height = 0.87
[]
[T2]
type = SubChannelPointValue
variable = T
index = 36
execute_on = "timestep_end"
height = 0.87
[]
[T3]
type = SubChannelPointValue
variable = T
index = 20
execute_on = "timestep_end"
height = 0.87
[]
[T4]
type = SubChannelPointValue
variable = T
index = 10
execute_on = "timestep_end"
height = 0.87
[]
[T5]
type = SubChannelPointValue
variable = T
index = 4
execute_on = "timestep_end"
height = 0.87
[]
[T6]
type = SubChannelPointValue
variable = T
index = 1
execute_on = "timestep_end"
height = 0.87
[]
[T7]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 0.87
[]
[T8]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 0.87
[]
####### Assembly pressure drop
[DP_SubchannelDelta]
type = SubChannelDelta
variable = P
execute_on = 'TIMESTEP_END'
[]
#####
[Mean_Temp]
type = SCMPlanarMean
variable = T
height = 2
[]
[Total_power]
type = ElementIntegralVariablePostprocessor
variable = q_prime
block = fuel_pins
[]
[]
[Outputs]
csv = true
[]
[Executioner]
type = Steady
[]
# ################################################################################
# # A multiapp that projects data to a detailed mesh
# ################################################################################
# [MultiApps]
# [viz]
# type = FullSolveMultiApp
# input_files = "3d_LBE_19.i"
# execute_on = "timestep_end"
# max_procs_per_app = 1
# []
# []
# [Transfers]
# [xfer]
# type = SCMSolutionTransfer
# to_multi_app = viz
# variable = 'mdot SumWij P DP h T rho mu q_prime S'
# []
# []
(modules/subchannel/test/tests/ics/tri_wetted_perimeter/test.i)
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = 3
n_cells = 2
flat_to_flat = 0.60
heated_length = 1.0
pin_diameter = 0.1
pitch = 0.13
dwire = 0.03
hwire = 0.3
spacer_k = '0.5'
spacer_z = '0'
[]
[]
[Variables]
[w_perim]
block = subchannel
[]
[]
[ICs]
[w_perim_IC]
type = SCMTriWettedPerimIC
variable = w_perim
block = subchannel
[]
[]
[Postprocessors]
[center]
type = SubChannelPointValue
variable = w_perim
index = 0
execute_on = 'timestep_end'
height = 0.5
[]
[edge]
type = SubChannelPointValue
variable = w_perim
index = 24
execute_on = 'timestep_end'
height = 0.5
[]
[corner]
type = SubChannelPointValue
variable = w_perim
index = 25
execute_on = 'timestep_end'
height = 0.5
[]
[]
[Problem]
solve = false
[]
[Executioner]
type = Steady
[]
[Outputs]
exodus = false
csv = true
[]
(modules/subchannel/validation/EBR-II/XX09_SCM_SS17_corrected.i)
# Following Benchmark Specifications and Data Requirements for EBR-II Shutdown Heat Removal Tests SHRT-17 and SHRT-45R
# Available at: https://publications.anl.gov/anlpubs/2012/06/73647.pdf
###################################################
# Steady state subchannel calculation
# Thermal-hydraulics parameters
###################################################
T_in = 624.70556 #Kelvin
Total_Surface_Area = 0.000854322 #m2
Mass_In = 2.45 #kg/sec
mass_flux_in = '${fparse Mass_In / Total_Surface_Area}' #kg/m2
P_out = 2.0e5 #Pa
Power_initial = 486200 #W (Page 26,35 of ANL document)
###################################################
# Geometric parameters
###################################################
scale_factor = 0.01
fuel_pin_pitch = '${fparse 0.5664*scale_factor}'
fuel_pin_diameter = '${fparse 0.4419*scale_factor}'
wire_z_spacing = '${fparse 15.24*scale_factor}'
wire_diameter = '${fparse 0.1244*scale_factor}'
inner_duct_in = '${fparse 4.64*scale_factor}'
n_rings = 5
heated_length = '${fparse 34.3*scale_factor}'
unheated_length_exit = '${fparse 26.9*scale_factor}'
###################################################
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = ${n_rings}
n_cells = 50
flat_to_flat = ${inner_duct_in}
unheated_length_exit = ${unheated_length_exit}
heated_length = ${heated_length}
pin_diameter = ${fuel_pin_diameter}
pitch = ${fuel_pin_pitch}
dwire = ${wire_diameter}
hwire = ${wire_z_spacing}
[]
[duct]
type = SCMTriDuctMeshGenerator
input = subchannel
nrings = ${n_rings}
n_cells = 50
flat_to_flat = ${inner_duct_in}
unheated_length_exit = ${unheated_length_exit}
heated_length = ${heated_length}
pitch = ${fuel_pin_pitch}
[]
[]
[Functions]
[axial_heat_rate]
type = ParsedFunction
expression = '(pi/2)*sin(pi*z/L)*exp(-alpha*z)/(1.0/alpha*(1.0 - exp(-alpha*L)))*L'
symbol_names = 'L alpha'
symbol_values = '${heated_length} 1.8012'
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = ${P_out}
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-4
T_tol = 1.0e-5
implicit = true
segregated = false
interpolation_scheme = 'upwind'
verbose_subchannel = true
pin_HTC_closure = 'gnielinski'
duct_HTC_closure = 'gnielinski'
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[gnielinski]
type = SCMHTCGnielinski
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = ${Power_initial}
filename = "pin_power_profile61.txt"
axial_heat_rate = axial_heat_rate
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
csv = true
[]
[Postprocessors]
[TTC-27]
type = SubChannelPointValue
variable = T
index = 91
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-28]
type = SubChannelPointValue
variable = T
index = 50
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-29]
type = SubChannelPointValue
variable = T
index = 21
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-30]
type = SubChannelPointValue
variable = T
index = 4
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-31]
type = SubChannelPointValue
variable = T
index = 2
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-32]
type = SubChannelPointValue
variable = T
index = 16
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-33]
type = SubChannelPointValue
variable = T
index = 42
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-34]
type = SubChannelPointValue
variable = T
index = 80
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-35]
type = SubChannelPointValue
variable = T
index = 107
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[MTC-20]
type = SubChannelPointValue
variable = T
index = 33
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-22]
type = SubChannelPointValue
variable = T
index = 3
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-24]
type = SubChannelPointValue
variable = T
index = 28
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-25]
type = SubChannelPointValue
variable = T
index = 60
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-26]
type = SubChannelPointValue
variable = T
index = 106
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[14TC-37]
type = SubChannelPointValue
variable = T
index = 52
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[14TC-39]
type = SubChannelPointValue
variable = T
index = 6
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[14TC-41]
type = SubChannelPointValue
variable = T
index = 40
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[14TC-43]
type = SubChannelPointValue
variable = T
index = 105
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[]
[Executioner]
type = Steady
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = FullSolveMultiApp
input_files = '3d_SCM_SS.i'
execute_on = 'FINAL'
[]
[]
[Transfers]
[subchannel_transfer]
type = SCMSolutionTransfer
to_multi_app = viz
variable = 'mdot SumWij P DP h T rho mu S'
[]
[pin_transfer]
type = SCMSolutionTransfer
transfer_type = pin
to_multi_app = viz
variable = 'Tpin q_prime'
[]
[]
(modules/subchannel/test/tests/problems/SFR/sodium-19pin/test19_implicit.i)
T_in = 660
mass_flux_in = '${fparse 1e+6 * 300.00 / 36000.*0.5}'
P_out = 2.0e5 # Pa
[GlobalParams]
nrings = 3
n_cells = 5
flat_to_flat = 0.056
heated_length = 0.5
pitch = 0.012
[]
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
pin_diameter = 0.01
dwire = 0.002
hwire = 0.0833
spacer_z = '0'
spacer_k = '5.0'
[]
[duct]
type = SCMTriDuctMeshGenerator
input = subchannel
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = 2.0e5
compute_density = true
compute_viscosity = true
compute_power = true
implicit = true
segregated = true
verbose_subchannel = true
duct_HTC_closure = 'gnielinski'
pin_HTC_closure = 'gnielinski'
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[gnielinski]
type = SCMHTCGnielinski
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = 1000.0 # W
filename = "pin_power_profile19.txt"
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = 0.01
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[duct_heat_flux_ic]
type = ConstantIC
variable = duct_heat_flux #W/m2
value = 1000.0
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
exodus = true
csv = true
[]
[Postprocessors]
[T1]
type = SubChannelPointValue
variable = T
index = 37
execute_on = "timestep_end"
height = 0.5
[]
[T2]
type = SubChannelPointValue
variable = T
index = 36
execute_on = "timestep_end"
height = 0.5
[]
[T3]
type = SubChannelPointValue
variable = T
index = 20
execute_on = "timestep_end"
height = 0.5
[]
[T4]
type = SubChannelPointValue
variable = T
index = 10
execute_on = "timestep_end"
height = 0.5
[]
[T5]
type = SubChannelPointValue
variable = T
index = 4
execute_on = "timestep_end"
height = 0.5
[]
[T6]
type = SubChannelPointValue
variable = T
index = 1
execute_on = "timestep_end"
height = 0.5
[]
[T7]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 0.5
[]
[T8]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 0.5
[]
####### Assembly pressure drop
[DP_SubchannelDelta]
type = SubChannelDelta
variable = P
execute_on = 'TIMESTEP_END'
[]
#####
[Mean_Temp]
type = SCMPlanarMean
variable = T
height = 2
[]
[mdot-8]
type = SubChannelPointValue
variable = mdot
index = 28
execute_on = 'TIMESTEP_END'
height = 0.5
[]
[Total_power]
type = ElementIntegralVariablePostprocessor
variable = q_prime
block = fuel_pins
[]
[Total_power_SCMDuctPowerPostprocessor]
type = SCMDuctHeatRatePostprocessor
[]
[Total_power_SCMTHPowerPostprocessor]
type = SCMTHPowerPostprocessor
[]
[]
[Executioner]
type = Steady
[]
(modules/subchannel/test/tests/postprocessors/quadsubchannelpointvalue/test_error.i)
T_in = 359.15
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 3
ny = 3
n_cells = 10
pitch = 0.25
pin_diameter = 0.125
side_gap = 0.1
heated_length = 1
spacer_k = '0.0'
spacer_z = '0'
[]
[]
[AuxVariables]
[T]
[]
[]
[ICs]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[]
[Problem]
type = NoSolveProblem
[]
[Postprocessors]
[T]
type = SubChannelPointValue
variable = T
index = 4
execute_on = 'initial timestep_end'
height = 5
[]
[]
[Outputs]
csv = true
[]
[Executioner]
type = Transient
start_time = 0.0
end_time = 10.0
dt = 1.0
[]
(modules/subchannel/validation/Blockage/THORS/FFM-3A.i)
################################################################################
## THORS bundle 3A central blockage benchmark ##
## SCM simulation ##
## POC : Vasileios Kyriakopoulos, [email protected] ##
################################################################################
# Details on the experimental facility modeled can be found at:
# Han, J. T. "Blockages in LMFBR fuel assemblies: A review of experimental and theoretical studies." (1977).
# The affected subchannels get an area reduction and a form loss coefficient
T_in = 714.261
A12 = 1.00423e3
A13 = -0.21390
A14 = -1.1046e-5
rho = '${fparse A12 + A13 * T_in + A14 * T_in * T_in}'
Total_surface_area = 0.000452826 #m2
Blocked_surface_area = 0.0 #m2
Flow_area = '${fparse Total_surface_area - Blocked_surface_area}'
vol_flow = 3.4E-03 #m3/s
mass_flux_in = '${fparse rho * vol_flow / Flow_area}'
P_out = 2.0e5 # Pa
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = 3
n_cells = 36
flat_to_flat = 0.0338514
heated_length = 0.5334
unheated_length_entry = 0.3048
unheated_length_exit = 0.0762
pin_diameter = 0.005842
pitch = 7.2644e-3
dwire = 0.0014224
hwire = 0.3048
spacer_z = '0.0'
spacer_k = '0.0'
z_blockage = '0.6858 0.69215'
index_blockage = '0 1 2 3 4 5'
reduction_blockage = '0.08 0.08 0.08 0.08 0.08 0.08'
k_blockage = '2.0 2.0 2.0 2.0 2.0 2.0'
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = 2.0e5
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-4
T_tol = 1.0e-4
implicit = true
segregated = false
verbose_subchannel = true
interpolation_scheme = exponential
pin_HTC_closure = 'Dittus-Boelter'
# friction model
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
CT = 2.0
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = 332500.0 #W
filename = "pin_power_profile_19.txt"
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = 0.005842
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
exodus = true
csv = true
[]
[Executioner]
type = Steady
[]
[Postprocessors]
[1]
type = SubChannelPointValue
variable = T
index = 37
execute_on = 'TIMESTEP_END'
height = 0.9144
[]
[2]
type = SubChannelPointValue
variable = T
index = 36
execute_on = 'TIMESTEP_END'
height = 0.9144
[]
[3]
type = SubChannelPointValue
variable = T
index = 20
execute_on = 'TIMESTEP_END'
height = 0.9144
[]
[4]
type = SubChannelPointValue
variable = T
index = 10
execute_on = 'TIMESTEP_END'
height = 0.9144
[]
[5]
type = SubChannelPointValue
variable = T
index = 4
execute_on = 'TIMESTEP_END'
height = 0.9144
[]
[6]
type = SubChannelPointValue
variable = T
index = 1
execute_on = 'TIMESTEP_END'
height = 0.9144
[]
[7]
type = SubChannelPointValue
variable = T
index = 14
execute_on = 'TIMESTEP_END'
height = 0.9144
[]
[8]
type = SubChannelPointValue
variable = T
index = 28
execute_on = 'TIMESTEP_END'
height = 0.9144
[]
[]
(modules/subchannel/validation/EBR-II/XX09_SCM_SS45R_corrected.i)
# Following Benchmark Specifications and Data Requirements for EBR-II Shutdown Heat Removal Tests SHRT-17 and SHRT-45R
# Available at: https://publications.anl.gov/anlpubs/2012/06/73647.pdf
###################################################
# Steady state subchannel calculation
# Thermal-hydraulics parameters
###################################################
T_in = 616.4 #Kelvin
Total_Surface_Area = 0.000854322 #m2
Mass_In = 2.427 #kg/sec
mass_flux_in = '${fparse Mass_In / Total_Surface_Area}' #kg/m2
P_out = 2.0e5
Power_initial = 379800 #W (Page 26,35 of ANL document)
###################################################
# Geometric parameters
###################################################
scale_factor = 0.01
fuel_pin_pitch = '${fparse 0.5664*scale_factor}'
fuel_pin_diameter = '${fparse 0.4419*scale_factor}'
wire_z_spacing = '${fparse 15.24*scale_factor}'
wire_diameter = '${fparse 0.1244*scale_factor}'
inner_duct_in = '${fparse 4.64*scale_factor}'
n_rings = 5
heated_length = '${fparse 34.3*scale_factor}'
unheated_length_exit = '${fparse 26.9*scale_factor}'
###################################################
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = ${n_rings}
n_cells = 50
flat_to_flat = ${inner_duct_in}
unheated_length_exit = ${unheated_length_exit}
heated_length = ${heated_length}
pin_diameter = ${fuel_pin_diameter}
pitch = ${fuel_pin_pitch}
dwire = ${wire_diameter}
hwire = ${wire_z_spacing}
[]
[duct]
type = SCMTriDuctMeshGenerator
input = subchannel
nrings = ${n_rings}
n_cells = 50
flat_to_flat = ${inner_duct_in}
unheated_length_exit = ${unheated_length_exit}
heated_length = ${heated_length}
pitch = ${fuel_pin_pitch}
[]
[]
[Functions]
[axial_heat_rate]
type = ParsedFunction
expression = '(pi/2)*sin(pi*z/L)*exp(-alpha*z)/(1.0/alpha*(1.0 - exp(-alpha*L)))*L'
symbol_names = 'L alpha'
symbol_values = '${heated_length} 1.8012'
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = ${P_out}
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-4
T_tol = 1.0e-5
implicit = true
segregated = false
interpolation_scheme = 'upwind'
verbose_subchannel = true
pin_HTC_closure = 'gnielinski'
duct_HTC_closure = 'gnielinski'
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[gnielinski]
type = SCMHTCGnielinski
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = ${Power_initial}
filename = "pin_power_profile61.txt"
axial_heat_rate = axial_heat_rate
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
csv = true
[]
[Postprocessors]
[TTC-27]
type = SubChannelPointValue
variable = T
index = 91
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-28]
type = SubChannelPointValue
variable = T
index = 50
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-29]
type = SubChannelPointValue
variable = T
index = 21
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-30]
type = SubChannelPointValue
variable = T
index = 4
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-31]
type = SubChannelPointValue
variable = T
index = 2
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-32]
type = SubChannelPointValue
variable = T
index = 16
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-33]
type = SubChannelPointValue
variable = T
index = 42
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-34]
type = SubChannelPointValue
variable = T
index = 80
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-35]
type = SubChannelPointValue
variable = T
index = 107
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[MTC-20]
type = SubChannelPointValue
variable = T
index = 33
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-22]
type = SubChannelPointValue
variable = T
index = 3
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-24]
type = SubChannelPointValue
variable = T
index = 28
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-25]
type = SubChannelPointValue
variable = T
index = 60
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-26]
type = SubChannelPointValue
variable = T
index = 106
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[14TC-37]
type = SubChannelPointValue
variable = T
index = 52
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[14TC-39]
type = SubChannelPointValue
variable = T
index = 6
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[14TC-41]
type = SubChannelPointValue
variable = T
index = 40
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[14TC-43]
type = SubChannelPointValue
variable = T
index = 105
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[]
[Executioner]
type = Steady
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = FullSolveMultiApp
input_files = '3d_SCM_SS.i'
execute_on = 'FINAL'
[]
[]
[Transfers]
[subchannel_transfer]
type = SCMSolutionTransfer
to_multi_app = viz
variable = 'mdot SumWij P DP h T rho mu S'
[]
[pin_transfer]
type = SCMSolutionTransfer
transfer_type = pin
to_multi_app = viz
variable = 'Tpin q_prime'
[]
[]
(modules/subchannel/test/tests/postprocessors/quadsubchannelpointvalue/test.i)
T_in = 359.15
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 3
ny = 3
n_cells = 10
pitch = 0.25
pin_diameter = 0.125
side_gap = 0.1
heated_length = 1
spacer_k = '0.0'
spacer_z = '0'
[]
[]
[AuxVariables]
[T]
[]
[]
[ICs]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[]
[Problem]
type = NoSolveProblem
[]
[Postprocessors]
[T]
type = SubChannelPointValue
variable = T
index = 4
execute_on = 'initial timestep_end'
height = 0.5
[]
[]
[Outputs]
csv = true
[]
[Executioner]
type = Transient
start_time = 0.0
end_time = 10.0
dt = 1.0
[]
(modules/subchannel/test/tests/problems/SFR/sodium-19pin/test19_explicit.i)
T_in = 660
mass_flux_in = '${fparse 1e+6 * 300.00 / 36000.*0.5}'
P_out = 2.0e5 # Pa
[GlobalParams]
nrings = 3
n_cells = 5
flat_to_flat = 0.056
heated_length = 0.5
pitch = 0.012
[]
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
pin_diameter = 0.01
dwire = 0.002
hwire = 0.0833
spacer_z = '0'
spacer_k = '5.0'
[]
[duct]
type = SCMTriDuctMeshGenerator
input = subchannel
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = 2.0e5
compute_density = true
compute_viscosity = true
compute_power = true
implicit = false
segregated = true
verbose_subchannel = true
duct_HTC_closure = 'gnielinski'
pin_HTC_closure = 'gnielinski'
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[gnielinski]
type = SCMHTCGnielinski
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = 1000.0 # W
filename = "pin_power_profile19.txt"
[]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = 0.01
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
exodus = true
csv = true
[]
[Postprocessors]
[T1]
type = SubChannelPointValue
variable = T
index = 37
execute_on = "timestep_end"
height = 0.5
[]
[T2]
type = SubChannelPointValue
variable = T
index = 36
execute_on = "timestep_end"
height = 0.5
[]
[T3]
type = SubChannelPointValue
variable = T
index = 20
execute_on = "timestep_end"
height = 0.5
[]
[T4]
type = SubChannelPointValue
variable = T
index = 10
execute_on = "timestep_end"
height = 0.5
[]
[T5]
type = SubChannelPointValue
variable = T
index = 4
execute_on = "timestep_end"
height = 0.5
[]
[T6]
type = SubChannelPointValue
variable = T
index = 1
execute_on = "timestep_end"
height = 0.5
[]
[T7]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 0.5
[]
[T8]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 0.5
[]
####### Assembly pressure drop
[DP_SubchannelDelta]
type = SubChannelDelta
variable = P
execute_on = 'TIMESTEP_END'
[]
#####
[Mean_Temp]
type = SCMPlanarMean
variable = T
height = 2
[]
[Total_power]
type = ElementIntegralVariablePostprocessor
variable = q_prime
block = fuel_pins
[]
[mdot-8]
type = SubChannelPointValue
variable = mdot
index = 28
execute_on = 'TIMESTEP_END'
height = 0.5
[]
[]
[Executioner]
type = Steady
[]
(modules/subchannel/verification/friction_model_verification/friction_model/pacio_liang_mdot.i)
# Mass flow rate and flow area of every subchannel at the outlet, for the flow split of each type
# of subchannel. Generated for 78 subchannels by writing, for each index i, the blocks
# [mdot_<i>] type = SubChannelPointValue variable = mdot index = <i> height = ${z_out} []
# [S_<i>] type = SubChannelPointValue variable = S index = <i> height = ${z_out} []
[Postprocessors]
[mdot_0]
type = SubChannelPointValue
variable = mdot
index = 0
height = ${z_out}
[]
[S_0]
type = SubChannelPointValue
variable = S
index = 0
height = ${z_out}
[]
[mdot_1]
type = SubChannelPointValue
variable = mdot
index = 1
height = ${z_out}
[]
[S_1]
type = SubChannelPointValue
variable = S
index = 1
height = ${z_out}
[]
[mdot_2]
type = SubChannelPointValue
variable = mdot
index = 2
height = ${z_out}
[]
[S_2]
type = SubChannelPointValue
variable = S
index = 2
height = ${z_out}
[]
[mdot_3]
type = SubChannelPointValue
variable = mdot
index = 3
height = ${z_out}
[]
[S_3]
type = SubChannelPointValue
variable = S
index = 3
height = ${z_out}
[]
[mdot_4]
type = SubChannelPointValue
variable = mdot
index = 4
height = ${z_out}
[]
[S_4]
type = SubChannelPointValue
variable = S
index = 4
height = ${z_out}
[]
[mdot_5]
type = SubChannelPointValue
variable = mdot
index = 5
height = ${z_out}
[]
[S_5]
type = SubChannelPointValue
variable = S
index = 5
height = ${z_out}
[]
[mdot_6]
type = SubChannelPointValue
variable = mdot
index = 6
height = ${z_out}
[]
[S_6]
type = SubChannelPointValue
variable = S
index = 6
height = ${z_out}
[]
[mdot_7]
type = SubChannelPointValue
variable = mdot
index = 7
height = ${z_out}
[]
[S_7]
type = SubChannelPointValue
variable = S
index = 7
height = ${z_out}
[]
[mdot_8]
type = SubChannelPointValue
variable = mdot
index = 8
height = ${z_out}
[]
[S_8]
type = SubChannelPointValue
variable = S
index = 8
height = ${z_out}
[]
[mdot_9]
type = SubChannelPointValue
variable = mdot
index = 9
height = ${z_out}
[]
[S_9]
type = SubChannelPointValue
variable = S
index = 9
height = ${z_out}
[]
[mdot_10]
type = SubChannelPointValue
variable = mdot
index = 10
height = ${z_out}
[]
[S_10]
type = SubChannelPointValue
variable = S
index = 10
height = ${z_out}
[]
[mdot_11]
type = SubChannelPointValue
variable = mdot
index = 11
height = ${z_out}
[]
[S_11]
type = SubChannelPointValue
variable = S
index = 11
height = ${z_out}
[]
[mdot_12]
type = SubChannelPointValue
variable = mdot
index = 12
height = ${z_out}
[]
[S_12]
type = SubChannelPointValue
variable = S
index = 12
height = ${z_out}
[]
[mdot_13]
type = SubChannelPointValue
variable = mdot
index = 13
height = ${z_out}
[]
[S_13]
type = SubChannelPointValue
variable = S
index = 13
height = ${z_out}
[]
[mdot_14]
type = SubChannelPointValue
variable = mdot
index = 14
height = ${z_out}
[]
[S_14]
type = SubChannelPointValue
variable = S
index = 14
height = ${z_out}
[]
[mdot_15]
type = SubChannelPointValue
variable = mdot
index = 15
height = ${z_out}
[]
[S_15]
type = SubChannelPointValue
variable = S
index = 15
height = ${z_out}
[]
[mdot_16]
type = SubChannelPointValue
variable = mdot
index = 16
height = ${z_out}
[]
[S_16]
type = SubChannelPointValue
variable = S
index = 16
height = ${z_out}
[]
[mdot_17]
type = SubChannelPointValue
variable = mdot
index = 17
height = ${z_out}
[]
[S_17]
type = SubChannelPointValue
variable = S
index = 17
height = ${z_out}
[]
[mdot_18]
type = SubChannelPointValue
variable = mdot
index = 18
height = ${z_out}
[]
[S_18]
type = SubChannelPointValue
variable = S
index = 18
height = ${z_out}
[]
[mdot_19]
type = SubChannelPointValue
variable = mdot
index = 19
height = ${z_out}
[]
[S_19]
type = SubChannelPointValue
variable = S
index = 19
height = ${z_out}
[]
[mdot_20]
type = SubChannelPointValue
variable = mdot
index = 20
height = ${z_out}
[]
[S_20]
type = SubChannelPointValue
variable = S
index = 20
height = ${z_out}
[]
[mdot_21]
type = SubChannelPointValue
variable = mdot
index = 21
height = ${z_out}
[]
[S_21]
type = SubChannelPointValue
variable = S
index = 21
height = ${z_out}
[]
[mdot_22]
type = SubChannelPointValue
variable = mdot
index = 22
height = ${z_out}
[]
[S_22]
type = SubChannelPointValue
variable = S
index = 22
height = ${z_out}
[]
[mdot_23]
type = SubChannelPointValue
variable = mdot
index = 23
height = ${z_out}
[]
[S_23]
type = SubChannelPointValue
variable = S
index = 23
height = ${z_out}
[]
[mdot_24]
type = SubChannelPointValue
variable = mdot
index = 24
height = ${z_out}
[]
[S_24]
type = SubChannelPointValue
variable = S
index = 24
height = ${z_out}
[]
[mdot_25]
type = SubChannelPointValue
variable = mdot
index = 25
height = ${z_out}
[]
[S_25]
type = SubChannelPointValue
variable = S
index = 25
height = ${z_out}
[]
[mdot_26]
type = SubChannelPointValue
variable = mdot
index = 26
height = ${z_out}
[]
[S_26]
type = SubChannelPointValue
variable = S
index = 26
height = ${z_out}
[]
[mdot_27]
type = SubChannelPointValue
variable = mdot
index = 27
height = ${z_out}
[]
[S_27]
type = SubChannelPointValue
variable = S
index = 27
height = ${z_out}
[]
[mdot_28]
type = SubChannelPointValue
variable = mdot
index = 28
height = ${z_out}
[]
[S_28]
type = SubChannelPointValue
variable = S
index = 28
height = ${z_out}
[]
[mdot_29]
type = SubChannelPointValue
variable = mdot
index = 29
height = ${z_out}
[]
[S_29]
type = SubChannelPointValue
variable = S
index = 29
height = ${z_out}
[]
[mdot_30]
type = SubChannelPointValue
variable = mdot
index = 30
height = ${z_out}
[]
[S_30]
type = SubChannelPointValue
variable = S
index = 30
height = ${z_out}
[]
[mdot_31]
type = SubChannelPointValue
variable = mdot
index = 31
height = ${z_out}
[]
[S_31]
type = SubChannelPointValue
variable = S
index = 31
height = ${z_out}
[]
[mdot_32]
type = SubChannelPointValue
variable = mdot
index = 32
height = ${z_out}
[]
[S_32]
type = SubChannelPointValue
variable = S
index = 32
height = ${z_out}
[]
[mdot_33]
type = SubChannelPointValue
variable = mdot
index = 33
height = ${z_out}
[]
[S_33]
type = SubChannelPointValue
variable = S
index = 33
height = ${z_out}
[]
[mdot_34]
type = SubChannelPointValue
variable = mdot
index = 34
height = ${z_out}
[]
[S_34]
type = SubChannelPointValue
variable = S
index = 34
height = ${z_out}
[]
[mdot_35]
type = SubChannelPointValue
variable = mdot
index = 35
height = ${z_out}
[]
[S_35]
type = SubChannelPointValue
variable = S
index = 35
height = ${z_out}
[]
[mdot_36]
type = SubChannelPointValue
variable = mdot
index = 36
height = ${z_out}
[]
[S_36]
type = SubChannelPointValue
variable = S
index = 36
height = ${z_out}
[]
[mdot_37]
type = SubChannelPointValue
variable = mdot
index = 37
height = ${z_out}
[]
[S_37]
type = SubChannelPointValue
variable = S
index = 37
height = ${z_out}
[]
[mdot_38]
type = SubChannelPointValue
variable = mdot
index = 38
height = ${z_out}
[]
[S_38]
type = SubChannelPointValue
variable = S
index = 38
height = ${z_out}
[]
[mdot_39]
type = SubChannelPointValue
variable = mdot
index = 39
height = ${z_out}
[]
[S_39]
type = SubChannelPointValue
variable = S
index = 39
height = ${z_out}
[]
[mdot_40]
type = SubChannelPointValue
variable = mdot
index = 40
height = ${z_out}
[]
[S_40]
type = SubChannelPointValue
variable = S
index = 40
height = ${z_out}
[]
[mdot_41]
type = SubChannelPointValue
variable = mdot
index = 41
height = ${z_out}
[]
[S_41]
type = SubChannelPointValue
variable = S
index = 41
height = ${z_out}
[]
[mdot_42]
type = SubChannelPointValue
variable = mdot
index = 42
height = ${z_out}
[]
[S_42]
type = SubChannelPointValue
variable = S
index = 42
height = ${z_out}
[]
[mdot_43]
type = SubChannelPointValue
variable = mdot
index = 43
height = ${z_out}
[]
[S_43]
type = SubChannelPointValue
variable = S
index = 43
height = ${z_out}
[]
[mdot_44]
type = SubChannelPointValue
variable = mdot
index = 44
height = ${z_out}
[]
[S_44]
type = SubChannelPointValue
variable = S
index = 44
height = ${z_out}
[]
[mdot_45]
type = SubChannelPointValue
variable = mdot
index = 45
height = ${z_out}
[]
[S_45]
type = SubChannelPointValue
variable = S
index = 45
height = ${z_out}
[]
[mdot_46]
type = SubChannelPointValue
variable = mdot
index = 46
height = ${z_out}
[]
[S_46]
type = SubChannelPointValue
variable = S
index = 46
height = ${z_out}
[]
[mdot_47]
type = SubChannelPointValue
variable = mdot
index = 47
height = ${z_out}
[]
[S_47]
type = SubChannelPointValue
variable = S
index = 47
height = ${z_out}
[]
[mdot_48]
type = SubChannelPointValue
variable = mdot
index = 48
height = ${z_out}
[]
[S_48]
type = SubChannelPointValue
variable = S
index = 48
height = ${z_out}
[]
[mdot_49]
type = SubChannelPointValue
variable = mdot
index = 49
height = ${z_out}
[]
[S_49]
type = SubChannelPointValue
variable = S
index = 49
height = ${z_out}
[]
[mdot_50]
type = SubChannelPointValue
variable = mdot
index = 50
height = ${z_out}
[]
[S_50]
type = SubChannelPointValue
variable = S
index = 50
height = ${z_out}
[]
[mdot_51]
type = SubChannelPointValue
variable = mdot
index = 51
height = ${z_out}
[]
[S_51]
type = SubChannelPointValue
variable = S
index = 51
height = ${z_out}
[]
[mdot_52]
type = SubChannelPointValue
variable = mdot
index = 52
height = ${z_out}
[]
[S_52]
type = SubChannelPointValue
variable = S
index = 52
height = ${z_out}
[]
[mdot_53]
type = SubChannelPointValue
variable = mdot
index = 53
height = ${z_out}
[]
[S_53]
type = SubChannelPointValue
variable = S
index = 53
height = ${z_out}
[]
[mdot_54]
type = SubChannelPointValue
variable = mdot
index = 54
height = ${z_out}
[]
[S_54]
type = SubChannelPointValue
variable = S
index = 54
height = ${z_out}
[]
[mdot_55]
type = SubChannelPointValue
variable = mdot
index = 55
height = ${z_out}
[]
[S_55]
type = SubChannelPointValue
variable = S
index = 55
height = ${z_out}
[]
[mdot_56]
type = SubChannelPointValue
variable = mdot
index = 56
height = ${z_out}
[]
[S_56]
type = SubChannelPointValue
variable = S
index = 56
height = ${z_out}
[]
[mdot_57]
type = SubChannelPointValue
variable = mdot
index = 57
height = ${z_out}
[]
[S_57]
type = SubChannelPointValue
variable = S
index = 57
height = ${z_out}
[]
[mdot_58]
type = SubChannelPointValue
variable = mdot
index = 58
height = ${z_out}
[]
[S_58]
type = SubChannelPointValue
variable = S
index = 58
height = ${z_out}
[]
[mdot_59]
type = SubChannelPointValue
variable = mdot
index = 59
height = ${z_out}
[]
[S_59]
type = SubChannelPointValue
variable = S
index = 59
height = ${z_out}
[]
[mdot_60]
type = SubChannelPointValue
variable = mdot
index = 60
height = ${z_out}
[]
[S_60]
type = SubChannelPointValue
variable = S
index = 60
height = ${z_out}
[]
[mdot_61]
type = SubChannelPointValue
variable = mdot
index = 61
height = ${z_out}
[]
[S_61]
type = SubChannelPointValue
variable = S
index = 61
height = ${z_out}
[]
[mdot_62]
type = SubChannelPointValue
variable = mdot
index = 62
height = ${z_out}
[]
[S_62]
type = SubChannelPointValue
variable = S
index = 62
height = ${z_out}
[]
[mdot_63]
type = SubChannelPointValue
variable = mdot
index = 63
height = ${z_out}
[]
[S_63]
type = SubChannelPointValue
variable = S
index = 63
height = ${z_out}
[]
[mdot_64]
type = SubChannelPointValue
variable = mdot
index = 64
height = ${z_out}
[]
[S_64]
type = SubChannelPointValue
variable = S
index = 64
height = ${z_out}
[]
[mdot_65]
type = SubChannelPointValue
variable = mdot
index = 65
height = ${z_out}
[]
[S_65]
type = SubChannelPointValue
variable = S
index = 65
height = ${z_out}
[]
[mdot_66]
type = SubChannelPointValue
variable = mdot
index = 66
height = ${z_out}
[]
[S_66]
type = SubChannelPointValue
variable = S
index = 66
height = ${z_out}
[]
[mdot_67]
type = SubChannelPointValue
variable = mdot
index = 67
height = ${z_out}
[]
[S_67]
type = SubChannelPointValue
variable = S
index = 67
height = ${z_out}
[]
[mdot_68]
type = SubChannelPointValue
variable = mdot
index = 68
height = ${z_out}
[]
[S_68]
type = SubChannelPointValue
variable = S
index = 68
height = ${z_out}
[]
[mdot_69]
type = SubChannelPointValue
variable = mdot
index = 69
height = ${z_out}
[]
[S_69]
type = SubChannelPointValue
variable = S
index = 69
height = ${z_out}
[]
[mdot_70]
type = SubChannelPointValue
variable = mdot
index = 70
height = ${z_out}
[]
[S_70]
type = SubChannelPointValue
variable = S
index = 70
height = ${z_out}
[]
[mdot_71]
type = SubChannelPointValue
variable = mdot
index = 71
height = ${z_out}
[]
[S_71]
type = SubChannelPointValue
variable = S
index = 71
height = ${z_out}
[]
[mdot_72]
type = SubChannelPointValue
variable = mdot
index = 72
height = ${z_out}
[]
[S_72]
type = SubChannelPointValue
variable = S
index = 72
height = ${z_out}
[]
[mdot_73]
type = SubChannelPointValue
variable = mdot
index = 73
height = ${z_out}
[]
[S_73]
type = SubChannelPointValue
variable = S
index = 73
height = ${z_out}
[]
[mdot_74]
type = SubChannelPointValue
variable = mdot
index = 74
height = ${z_out}
[]
[S_74]
type = SubChannelPointValue
variable = S
index = 74
height = ${z_out}
[]
[mdot_75]
type = SubChannelPointValue
variable = mdot
index = 75
height = ${z_out}
[]
[S_75]
type = SubChannelPointValue
variable = S
index = 75
height = ${z_out}
[]
[mdot_76]
type = SubChannelPointValue
variable = mdot
index = 76
height = ${z_out}
[]
[S_76]
type = SubChannelPointValue
variable = S
index = 76
height = ${z_out}
[]
[mdot_77]
type = SubChannelPointValue
variable = mdot
index = 77
height = ${z_out}
[]
[S_77]
type = SubChannelPointValue
variable = S
index = 77
height = ${z_out}
[]
[]
(modules/subchannel/verification/friction_model_verification/two_channel/two_channel2.i)
T_in = 473.15 # K
mass_flux_in = 3500 # kg /sec m2
P_out = 155e+5 # Pa
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 2
ny = 1
n_cells = 100
pitch = 0.0126
pin_diameter = 0.00950
side_gap = 0.00095
heated_length = 10.0
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[Functions]
[S_fn]
type = ParsedFunction
expression = if(x>0.0,0.002,0.001)
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
n_blocks = 1
compute_density = true
compute_viscosity = true
compute_power = true
P_out = ${P_out}
friction_closure = 'Chen'
full_output = true
mixing_closure ='constant_beta'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
CT = 0.0
[]
[]
[ICs]
[S_ic]
type = FunctionIC
variable = S
function = S_fn
[]
[w_perim_IC]
type = ConstantIC
variable = w_perim
value = 0.34188034
[]
[q_prime_IC]
type = ConstantIC
variable = q_prime
value = 0.0
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Postprocessors]
[mdot_1]
type = SubChannelPointValue
variable = mdot
index = 0
execute_on = 'initial timestep_end'
height = 10.0
[]
[mdot_2]
type = SubChannelPointValue
variable = mdot
index = 1
execute_on = 'initial timestep_end'
height = 10.0
[]
[]
[Outputs]
csv = true
[]
[Executioner]
type = Steady
[]
(modules/subchannel/test/tests/problems/psbt/psbt_explicit_v2.i)
T_in = 359.15
# [1e+6 kg/m^2-hour] turns into kg/m^2-sec
mass_flux_in = '${fparse 1e+6 * 17.00 / 3600.}'
P_out = 4.923e6 # Pa
pin_diameter = 0.00950
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 6
ny = 6
n_cells = 10
pitch = 0.0126
pin_diameter = ${pin_diameter}
side_gap = 0.00095
heated_length = 1.0
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
n_blocks = 1
compute_density = true
compute_viscosity = true
compute_power = true
P_out = report_pressure_outlet
verbose_subchannel = true
mixing_closure = 'Kim_and_Chung'
friction_closure = 'Chen'
pin_HTC_closure = 'Dittus-Boelter'
full_output = true
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[Kim_and_Chung]
type = SCMMixingKimAndChung
CT = 2.6
[]
[]
[ICs]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = report_mass_flux_inlet
execute_on = 'timestep_begin'
block = subchannel
[]
[q_prime_IC]
type = SCMQuadPowerAux
variable = q_prime
power = 1.0e6 # W
filename = "power_profile.txt" #type in name of file that describes radial power profile
execute_on = 'initial timestep_begin'
[]
[]
[Postprocessors]
[report_mass_flux_inlet]
type = Receiver
default = ${mass_flux_in}
[]
[report_pressure_outlet]
type = Receiver
default = ${P_out}
[]
[total_pressure_drop]
type = SubChannelDelta
variable = P
execute_on = "timestep_end"
[]
[T1]
type = SubChannelPointValue
variable = T
index = 0
execute_on = "timestep_end"
height = 1
[]
[T2]
type = SubChannelPointValue
variable = T
index = 7
execute_on = "timestep_end"
height = 1
[]
[T3]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 1
[]
[T4]
type = SubChannelPointValue
variable = T
index = 21
execute_on = "timestep_end"
height = 1
[]
[T5]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 1
[]
[T6]
type = SubChannelPointValue
variable = T
index = 35
execute_on = "timestep_end"
height = 1
[]
[]
[Outputs]
csv = true
[Temp_Out_MATRIX]
type = QuadSubChannelNormalSliceValues
variable = T
execute_on = final
file_base = "Temp_Out_Explicit.txt"
height = 1.0
[]
[]
[Executioner]
type = Steady
[]
(modules/subchannel/validation/EBR-II/XX09_SCM_SS45R.i)
# Following Benchmark Specifications and Data Requirements for EBR-II Shutdown Heat Removal Tests SHRT-17 and SHRT-45R
# Available at: https://publications.anl.gov/anlpubs/2012/06/73647.pdf
###################################################
# Steady state subchannel calculation
# Thermal-hydraulics parameters
###################################################
T_in = 616.4 #Kelvin
Total_Surface_Area = 0.000854322 #m2
Mass_In = 2.427 #kg/sec
mass_flux_in = '${fparse Mass_In / Total_Surface_Area}' #kg/m2
P_out = 2.0e5
Power_initial = 379800 #W (Page 26,35 of ANL document)
###################################################
# Geometric parameters
###################################################
scale_factor = 0.01
fuel_pin_pitch = '${fparse 0.5664*scale_factor}'
fuel_pin_diameter = '${fparse 0.4419*scale_factor}'
wire_z_spacing = '${fparse 15.24*scale_factor}'
wire_diameter = '${fparse 0.1244*scale_factor}'
inner_duct_in = '${fparse 4.64*scale_factor}'
n_rings = 5
heated_length = '${fparse 34.3*scale_factor}'
unheated_length_exit = '${fparse 26.9*scale_factor}'
###################################################
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = ${n_rings}
n_cells = 50
flat_to_flat = ${inner_duct_in}
unheated_length_exit = ${unheated_length_exit}
heated_length = ${heated_length}
pin_diameter = ${fuel_pin_diameter}
pitch = ${fuel_pin_pitch}
dwire = ${wire_diameter}
hwire = ${wire_z_spacing}
[]
[duct]
type = SCMTriDuctMeshGenerator
input = subchannel
nrings = ${n_rings}
n_cells = 50
flat_to_flat = ${inner_duct_in}
unheated_length_exit = ${unheated_length_exit}
heated_length = ${heated_length}
pitch = ${fuel_pin_pitch}
[]
[]
[AuxVariables]
[q_prime_init]
block = fuel_pins
[]
[power_history_field]
block = fuel_pins
[]
[]
[Functions]
[axial_heat_rate]
type = ParsedFunction
expression = '(pi/2)*sin(pi*z/L)*exp(-alpha*z)/(1.0/alpha*(1.0 - exp(-alpha*L)))*L'
symbol_names = 'L alpha'
symbol_values = '${heated_length} 1.8012'
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = ${P_out}
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-4
T_tol = 1.0e-5
implicit = true
segregated = false
interpolation_scheme = 'upwind'
verbose_subchannel = true
pin_HTC_closure = 'gnielinski'
duct_HTC_closure = 'gnielinski'
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[gnielinski]
type = SCMHTCGnielinski
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = ${Power_initial}
filename = "pin_power_profile61_uniform.txt"
axial_heat_rate = axial_heat_rate
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Outputs]
csv = true
[]
[Postprocessors]
[TTC-27]
type = SubChannelPointValue
variable = T
index = 91
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-28]
type = SubChannelPointValue
variable = T
index = 50
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-29]
type = SubChannelPointValue
variable = T
index = 21
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-30]
type = SubChannelPointValue
variable = T
index = 4
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-31]
type = SubChannelPointValue
variable = T
index = 2
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-32]
type = SubChannelPointValue
variable = T
index = 16
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-33]
type = SubChannelPointValue
variable = T
index = 42
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-34]
type = SubChannelPointValue
variable = T
index = 80
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-35]
type = SubChannelPointValue
variable = T
index = 107
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[MTC-20]
type = SubChannelPointValue
variable = T
index = 33
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-22]
type = SubChannelPointValue
variable = T
index = 3
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-24]
type = SubChannelPointValue
variable = T
index = 28
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-25]
type = SubChannelPointValue
variable = T
index = 60
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[MTC-26]
type = SubChannelPointValue
variable = T
index = 106
execute_on = 'TIMESTEP_END'
height = 0.172
[]
[14TC-37]
type = SubChannelPointValue
variable = T
index = 52
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[14TC-39]
type = SubChannelPointValue
variable = T
index = 6
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[14TC-41]
type = SubChannelPointValue
variable = T
index = 40
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[14TC-43]
type = SubChannelPointValue
variable = T
index = 105
execute_on = 'TIMESTEP_END'
height = 0.480
[]
[]
[Executioner]
type = Steady
[]
################################################################################
# A multiapp that projects data to a detailed mesh
################################################################################
[MultiApps]
[viz]
type = FullSolveMultiApp
input_files = '3d_SCM_SS.i'
execute_on = 'FINAL'
[]
[]
[Transfers]
[subchannel_transfer]
type = SCMSolutionTransfer
to_multi_app = viz
variable = 'mdot SumWij P DP h T rho mu S'
[]
[pin_transfer]
type = SCMSolutionTransfer
transfer_type = pin
to_multi_app = viz
variable = 'Tpin q_prime'
[]
[]
(modules/subchannel/verification/friction_model_verification/friction_model/tri_wire_flow_split.i)
# Developed flow split of the 61-pin EBR-II XX09 wire-wrapped triangular lattice of tri_wire.i.
# The assembly is solved in steady state at one inlet mass flux, which gives a bulk Reynolds number
# of about 3.3e4, the bulk Reynolds number of the EBR-II XX09 SHRT-17 steady state. The flow split,
# the mass flux of a subchannel divided by the bulk mass flux, of one interior, edge, and corner
# subchannel is reported at the outlet.
T_in = 359.15 # K
P_out = 4.923e6 # Pa
# Bulk mass flux that gives a bulk Reynolds number of about 3.3e4
mass_flux = 4000 # kg/m^2-s
# The inlet mass flux is uniform, and the flow split develops over about 1.5 m, so it is sampled at
# the outlet of the 3 m assembly, where the flow is developed
z_out = 3.0
# Subchannel indices of an interior, an edge, and a corner subchannel
center = 0
edge = 100
corner = 97
# Number of interior, edge, and corner subchannels of the 5-ring assembly: 6 (nrings - 1)^2,
# 6 (nrings - 1), and 6
n_center = 96
n_edge = 24
n_corner = 6
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = 5
n_cells = 30
flat_to_flat = 0.0464
heated_length = 3
pin_diameter = 0.004419
pitch = 0.005664
dwire = 0.001244
hwire = 0.1524
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = water
n_blocks = 1
P_out = ${P_out}
compute_density = true
compute_viscosity = true
compute_power = false
full_output = true
# Monolithic implicit solver. The explicit solver converges the developed turbulent flow split
# only to about 1% with the default tolerances.
implicit = true
segregated = false
P_tol = 1e-8
T_tol = 1e-8
rtol = 1e-10
atol = 1e-10
friction_closure = 'Chen'
mixing_closure = 'constant_beta'
pin_HTC_closure = 'Dittus-Boelter'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
# No turbulent exchange of axial momentum, so the developed flow split is set by the friction
# closure alone
CT = 0.0
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mu_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux}
execute_on = 'timestep_begin'
[]
[]
[Postprocessors]
[mdot_center]
type = SubChannelPointValue
variable = mdot
index = ${center}
height = ${z_out}
outputs = none
[]
[mdot_edge]
type = SubChannelPointValue
variable = mdot
index = ${edge}
height = ${z_out}
outputs = none
[]
[mdot_corner]
type = SubChannelPointValue
variable = mdot
index = ${corner}
height = ${z_out}
outputs = none
[]
[S_center]
type = SubChannelPointValue
variable = S
index = ${center}
height = ${z_out}
outputs = none
[]
[S_edge]
type = SubChannelPointValue
variable = S
index = ${edge}
height = ${z_out}
outputs = none
[]
[S_corner]
type = SubChannelPointValue
variable = S
index = ${corner}
height = ${z_out}
outputs = none
[]
[w_perim_center]
type = SubChannelPointValue
variable = w_perim
index = ${center}
height = ${z_out}
outputs = none
[]
[w_perim_edge]
type = SubChannelPointValue
variable = w_perim
index = ${edge}
height = ${z_out}
outputs = none
[]
[w_perim_corner]
type = SubChannelPointValue
variable = w_perim
index = ${corner}
height = ${z_out}
outputs = none
[]
# The solver evaluates the bulk Reynolds number with the inlet viscosity
[mu_in]
type = SubChannelPointValue
variable = mu
index = ${center}
height = 0.0
outputs = none
[]
# Subchannel hydraulic diameters Dh = 4 S / w_perim, as in the solver
[Dh_center]
type = ParsedPostprocessor
expression = '4 * S_center / w_perim_center'
pp_names = 'S_center w_perim_center'
[]
[Dh_edge]
type = ParsedPostprocessor
expression = '4 * S_edge / w_perim_edge'
pp_names = 'S_edge w_perim_edge'
[]
[Dh_corner]
type = ParsedPostprocessor
expression = '4 * S_corner / w_perim_corner'
pp_names = 'S_corner w_perim_corner'
[]
# Bulk hydraulic diameter, 4 times the total flow area over the total wetted perimeter
[Dh_bulk]
type = ParsedPostprocessor
expression = '4 * (${n_center} * S_center + ${n_edge} * S_edge + ${n_corner} * S_corner)
/ (${n_center} * w_perim_center + ${n_edge} * w_perim_edge
+ ${n_corner} * w_perim_corner)'
pp_names = 'S_center S_edge S_corner w_perim_center w_perim_edge w_perim_corner'
[]
[Re_bulk]
type = ParsedPostprocessor
expression = '${mass_flux} * Dh_bulk / mu_in'
pp_names = 'Dh_bulk mu_in'
[]
# Flow split, the subchannel mass flux divided by the bulk mass flux
[X_center]
type = ParsedPostprocessor
expression = 'mdot_center / (S_center * ${mass_flux})'
pp_names = 'mdot_center S_center'
[]
[X_edge]
type = ParsedPostprocessor
expression = 'mdot_edge / (S_edge * ${mass_flux})'
pp_names = 'mdot_edge S_edge'
[]
[X_corner]
type = ParsedPostprocessor
expression = 'mdot_corner / (S_corner * ${mass_flux})'
pp_names = 'mdot_corner S_corner'
[]
[]
[Outputs]
csv = true
execute_on = final
[]
[Executioner]
type = Steady
[]
(modules/subchannel/test/tests/problems/deformation/tri_pin_diameter.i)
T_in = 588.5
P_out = 2.0e5
flow_area = 0.0004980799633447909
mass_flux_in = '${fparse 55*3.78541/10/60/flow_area}'
[TriSubChannelMesh]
[assembly]
type = SCMTriAssemblyMeshGenerator
nrings = 3
n_cells = 5
flat_to_flat = 3.41e-2
heated_length = 0.5
pin_diameter = 5.5e-3
pitch = 7.26e-3
dwire = 1.42e-3
hwire = 0.3048
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = ${P_out}
compute_density = true
compute_viscosity = true
compute_power = false
implicit = true
segregated = false
interpolation_scheme = upwind
friction_closure = 'Chen'
mixing_closure = 'Chen_Todreas'
pin_HTC_closure = 'gnielinski'
full_output = true
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[gnielinski]
type = SCMHTCGnielinski
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
CT = 2.6
[]
[]
[ICs]
[Dpin_ic]
type = ConstantIC
variable = Dpin
value = 5.84e-3
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Postprocessors]
[S_deformed]
type = SubChannelPointValue
variable = S
index = 0
height = 0.25
execute_on = 'timestep_end'
[]
[w_perim_deformed]
type = SubChannelPointValue
variable = w_perim
index = 0
height = 0.25
execute_on = 'timestep_end'
[]
[]
[Executioner]
type = Steady
[]
[Outputs]
console = true
csv = true
[]
(modules/subchannel/verification/friction_model_verification/friction_model/tri_bare_flow_split.i)
# Developed flow split of the 19-pin LBE bare-pin triangular lattice of tri_bare.i. The assembly is
# solved in steady state at one inlet mass flux, which gives a bulk Reynolds number of about 3.3e4,
# the same as tri_wire_flow_split.i. The flow split, the mass flux of a subchannel divided by the
# bulk mass flux, of one interior, edge, and corner subchannel is reported at the outlet.
T_in = 359.15 # K
P_out = 4.923e6 # Pa
# Bulk mass flux that gives a bulk Reynolds number of about 3.3e4 with the bulk hydraulic diameter
# of this assembly, about 8.6 mm, and the inlet viscosity of tri_wire_flow_split.i
mass_flux = 1275 # kg/m^2-s
# The inlet mass flux is uniform, and the flow split develops over about 1.5 m, so it is sampled at
# the outlet of the 3 m assembly, where the flow is developed
z_out = 3.0
# Subchannel indices of an interior, an edge, and a corner subchannel, as in tri_bare.i
center = 0
edge = 24
corner = 25
# Number of interior, edge, and corner subchannels of the 3-ring assembly: 6 (nrings - 1)^2,
# 6 (nrings - 1), and 6
n_center = 24
n_edge = 12
n_corner = 6
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = 3
n_cells = 30
flat_to_flat = 0.05319936
heated_length = 3
pin_diameter = 0.0082
pitch = 0.01148
dwire = 0.0
hwire = 0.0
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = water
n_blocks = 1
P_out = ${P_out}
compute_density = true
compute_viscosity = true
compute_power = false
full_output = true
# Monolithic implicit solver. The explicit solver converges the developed turbulent flow split
# only to about 1% with the default tolerances.
implicit = true
segregated = false
P_tol = 1e-8
T_tol = 1e-8
rtol = 1e-10
atol = 1e-10
friction_closure = 'Chen'
mixing_closure = 'constant_beta'
pin_HTC_closure = 'Dittus-Boelter'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
# No turbulent exchange of axial momentum, so the developed flow split is set by the friction
# closure alone
CT = 0.0
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[]
[ICs]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mu_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux}
execute_on = 'timestep_begin'
[]
[]
[Postprocessors]
[mdot_center]
type = SubChannelPointValue
variable = mdot
index = ${center}
height = ${z_out}
outputs = none
[]
[mdot_edge]
type = SubChannelPointValue
variable = mdot
index = ${edge}
height = ${z_out}
outputs = none
[]
[mdot_corner]
type = SubChannelPointValue
variable = mdot
index = ${corner}
height = ${z_out}
outputs = none
[]
[S_center]
type = SubChannelPointValue
variable = S
index = ${center}
height = ${z_out}
outputs = none
[]
[S_edge]
type = SubChannelPointValue
variable = S
index = ${edge}
height = ${z_out}
outputs = none
[]
[S_corner]
type = SubChannelPointValue
variable = S
index = ${corner}
height = ${z_out}
outputs = none
[]
[w_perim_center]
type = SubChannelPointValue
variable = w_perim
index = ${center}
height = ${z_out}
outputs = none
[]
[w_perim_edge]
type = SubChannelPointValue
variable = w_perim
index = ${edge}
height = ${z_out}
outputs = none
[]
[w_perim_corner]
type = SubChannelPointValue
variable = w_perim
index = ${corner}
height = ${z_out}
outputs = none
[]
# The solver evaluates the bulk Reynolds number with the inlet viscosity
[mu_in]
type = SubChannelPointValue
variable = mu
index = ${center}
height = 0.0
outputs = none
[]
# Subchannel hydraulic diameters Dh = 4 S / w_perim, as in the solver
[Dh_center]
type = ParsedPostprocessor
expression = '4 * S_center / w_perim_center'
pp_names = 'S_center w_perim_center'
[]
[Dh_edge]
type = ParsedPostprocessor
expression = '4 * S_edge / w_perim_edge'
pp_names = 'S_edge w_perim_edge'
[]
[Dh_corner]
type = ParsedPostprocessor
expression = '4 * S_corner / w_perim_corner'
pp_names = 'S_corner w_perim_corner'
[]
# Bulk hydraulic diameter, 4 times the total flow area over the total wetted perimeter
[Dh_bulk]
type = ParsedPostprocessor
expression = '4 * (${n_center} * S_center + ${n_edge} * S_edge + ${n_corner} * S_corner)
/ (${n_center} * w_perim_center + ${n_edge} * w_perim_edge
+ ${n_corner} * w_perim_corner)'
pp_names = 'S_center S_edge S_corner w_perim_center w_perim_edge w_perim_corner'
[]
[Re_bulk]
type = ParsedPostprocessor
expression = '${mass_flux} * Dh_bulk / mu_in'
pp_names = 'Dh_bulk mu_in'
[]
# Flow split, the subchannel mass flux divided by the bulk mass flux
[X_center]
type = ParsedPostprocessor
expression = 'mdot_center / (S_center * ${mass_flux})'
pp_names = 'mdot_center S_center'
[]
[X_edge]
type = ParsedPostprocessor
expression = 'mdot_edge / (S_edge * ${mass_flux})'
pp_names = 'mdot_edge S_edge'
[]
[X_corner]
type = ParsedPostprocessor
expression = 'mdot_corner / (S_corner * ${mass_flux})'
pp_names = 'mdot_corner S_corner'
[]
[]
[Outputs]
csv = true
execute_on = final
[]
[Executioner]
type = Steady
[]
(modules/subchannel/verification/friction_model_verification/friction_model/pacio_kennedy_mdot.i)
# Mass flow rate and flow area of every subchannel at the outlet, for the flow split of each type
# of subchannel. Generated for 258 subchannels by writing, for each index i, the blocks
# [mdot_<i>] type = SubChannelPointValue variable = mdot index = <i> height = ${z_out} []
# [S_<i>] type = SubChannelPointValue variable = S index = <i> height = ${z_out} []
[Postprocessors]
[mdot_0]
type = SubChannelPointValue
variable = mdot
index = 0
height = ${z_out}
[]
[S_0]
type = SubChannelPointValue
variable = S
index = 0
height = ${z_out}
[]
[mdot_1]
type = SubChannelPointValue
variable = mdot
index = 1
height = ${z_out}
[]
[S_1]
type = SubChannelPointValue
variable = S
index = 1
height = ${z_out}
[]
[mdot_2]
type = SubChannelPointValue
variable = mdot
index = 2
height = ${z_out}
[]
[S_2]
type = SubChannelPointValue
variable = S
index = 2
height = ${z_out}
[]
[mdot_3]
type = SubChannelPointValue
variable = mdot
index = 3
height = ${z_out}
[]
[S_3]
type = SubChannelPointValue
variable = S
index = 3
height = ${z_out}
[]
[mdot_4]
type = SubChannelPointValue
variable = mdot
index = 4
height = ${z_out}
[]
[S_4]
type = SubChannelPointValue
variable = S
index = 4
height = ${z_out}
[]
[mdot_5]
type = SubChannelPointValue
variable = mdot
index = 5
height = ${z_out}
[]
[S_5]
type = SubChannelPointValue
variable = S
index = 5
height = ${z_out}
[]
[mdot_6]
type = SubChannelPointValue
variable = mdot
index = 6
height = ${z_out}
[]
[S_6]
type = SubChannelPointValue
variable = S
index = 6
height = ${z_out}
[]
[mdot_7]
type = SubChannelPointValue
variable = mdot
index = 7
height = ${z_out}
[]
[S_7]
type = SubChannelPointValue
variable = S
index = 7
height = ${z_out}
[]
[mdot_8]
type = SubChannelPointValue
variable = mdot
index = 8
height = ${z_out}
[]
[S_8]
type = SubChannelPointValue
variable = S
index = 8
height = ${z_out}
[]
[mdot_9]
type = SubChannelPointValue
variable = mdot
index = 9
height = ${z_out}
[]
[S_9]
type = SubChannelPointValue
variable = S
index = 9
height = ${z_out}
[]
[mdot_10]
type = SubChannelPointValue
variable = mdot
index = 10
height = ${z_out}
[]
[S_10]
type = SubChannelPointValue
variable = S
index = 10
height = ${z_out}
[]
[mdot_11]
type = SubChannelPointValue
variable = mdot
index = 11
height = ${z_out}
[]
[S_11]
type = SubChannelPointValue
variable = S
index = 11
height = ${z_out}
[]
[mdot_12]
type = SubChannelPointValue
variable = mdot
index = 12
height = ${z_out}
[]
[S_12]
type = SubChannelPointValue
variable = S
index = 12
height = ${z_out}
[]
[mdot_13]
type = SubChannelPointValue
variable = mdot
index = 13
height = ${z_out}
[]
[S_13]
type = SubChannelPointValue
variable = S
index = 13
height = ${z_out}
[]
[mdot_14]
type = SubChannelPointValue
variable = mdot
index = 14
height = ${z_out}
[]
[S_14]
type = SubChannelPointValue
variable = S
index = 14
height = ${z_out}
[]
[mdot_15]
type = SubChannelPointValue
variable = mdot
index = 15
height = ${z_out}
[]
[S_15]
type = SubChannelPointValue
variable = S
index = 15
height = ${z_out}
[]
[mdot_16]
type = SubChannelPointValue
variable = mdot
index = 16
height = ${z_out}
[]
[S_16]
type = SubChannelPointValue
variable = S
index = 16
height = ${z_out}
[]
[mdot_17]
type = SubChannelPointValue
variable = mdot
index = 17
height = ${z_out}
[]
[S_17]
type = SubChannelPointValue
variable = S
index = 17
height = ${z_out}
[]
[mdot_18]
type = SubChannelPointValue
variable = mdot
index = 18
height = ${z_out}
[]
[S_18]
type = SubChannelPointValue
variable = S
index = 18
height = ${z_out}
[]
[mdot_19]
type = SubChannelPointValue
variable = mdot
index = 19
height = ${z_out}
[]
[S_19]
type = SubChannelPointValue
variable = S
index = 19
height = ${z_out}
[]
[mdot_20]
type = SubChannelPointValue
variable = mdot
index = 20
height = ${z_out}
[]
[S_20]
type = SubChannelPointValue
variable = S
index = 20
height = ${z_out}
[]
[mdot_21]
type = SubChannelPointValue
variable = mdot
index = 21
height = ${z_out}
[]
[S_21]
type = SubChannelPointValue
variable = S
index = 21
height = ${z_out}
[]
[mdot_22]
type = SubChannelPointValue
variable = mdot
index = 22
height = ${z_out}
[]
[S_22]
type = SubChannelPointValue
variable = S
index = 22
height = ${z_out}
[]
[mdot_23]
type = SubChannelPointValue
variable = mdot
index = 23
height = ${z_out}
[]
[S_23]
type = SubChannelPointValue
variable = S
index = 23
height = ${z_out}
[]
[mdot_24]
type = SubChannelPointValue
variable = mdot
index = 24
height = ${z_out}
[]
[S_24]
type = SubChannelPointValue
variable = S
index = 24
height = ${z_out}
[]
[mdot_25]
type = SubChannelPointValue
variable = mdot
index = 25
height = ${z_out}
[]
[S_25]
type = SubChannelPointValue
variable = S
index = 25
height = ${z_out}
[]
[mdot_26]
type = SubChannelPointValue
variable = mdot
index = 26
height = ${z_out}
[]
[S_26]
type = SubChannelPointValue
variable = S
index = 26
height = ${z_out}
[]
[mdot_27]
type = SubChannelPointValue
variable = mdot
index = 27
height = ${z_out}
[]
[S_27]
type = SubChannelPointValue
variable = S
index = 27
height = ${z_out}
[]
[mdot_28]
type = SubChannelPointValue
variable = mdot
index = 28
height = ${z_out}
[]
[S_28]
type = SubChannelPointValue
variable = S
index = 28
height = ${z_out}
[]
[mdot_29]
type = SubChannelPointValue
variable = mdot
index = 29
height = ${z_out}
[]
[S_29]
type = SubChannelPointValue
variable = S
index = 29
height = ${z_out}
[]
[mdot_30]
type = SubChannelPointValue
variable = mdot
index = 30
height = ${z_out}
[]
[S_30]
type = SubChannelPointValue
variable = S
index = 30
height = ${z_out}
[]
[mdot_31]
type = SubChannelPointValue
variable = mdot
index = 31
height = ${z_out}
[]
[S_31]
type = SubChannelPointValue
variable = S
index = 31
height = ${z_out}
[]
[mdot_32]
type = SubChannelPointValue
variable = mdot
index = 32
height = ${z_out}
[]
[S_32]
type = SubChannelPointValue
variable = S
index = 32
height = ${z_out}
[]
[mdot_33]
type = SubChannelPointValue
variable = mdot
index = 33
height = ${z_out}
[]
[S_33]
type = SubChannelPointValue
variable = S
index = 33
height = ${z_out}
[]
[mdot_34]
type = SubChannelPointValue
variable = mdot
index = 34
height = ${z_out}
[]
[S_34]
type = SubChannelPointValue
variable = S
index = 34
height = ${z_out}
[]
[mdot_35]
type = SubChannelPointValue
variable = mdot
index = 35
height = ${z_out}
[]
[S_35]
type = SubChannelPointValue
variable = S
index = 35
height = ${z_out}
[]
[mdot_36]
type = SubChannelPointValue
variable = mdot
index = 36
height = ${z_out}
[]
[S_36]
type = SubChannelPointValue
variable = S
index = 36
height = ${z_out}
[]
[mdot_37]
type = SubChannelPointValue
variable = mdot
index = 37
height = ${z_out}
[]
[S_37]
type = SubChannelPointValue
variable = S
index = 37
height = ${z_out}
[]
[mdot_38]
type = SubChannelPointValue
variable = mdot
index = 38
height = ${z_out}
[]
[S_38]
type = SubChannelPointValue
variable = S
index = 38
height = ${z_out}
[]
[mdot_39]
type = SubChannelPointValue
variable = mdot
index = 39
height = ${z_out}
[]
[S_39]
type = SubChannelPointValue
variable = S
index = 39
height = ${z_out}
[]
[mdot_40]
type = SubChannelPointValue
variable = mdot
index = 40
height = ${z_out}
[]
[S_40]
type = SubChannelPointValue
variable = S
index = 40
height = ${z_out}
[]
[mdot_41]
type = SubChannelPointValue
variable = mdot
index = 41
height = ${z_out}
[]
[S_41]
type = SubChannelPointValue
variable = S
index = 41
height = ${z_out}
[]
[mdot_42]
type = SubChannelPointValue
variable = mdot
index = 42
height = ${z_out}
[]
[S_42]
type = SubChannelPointValue
variable = S
index = 42
height = ${z_out}
[]
[mdot_43]
type = SubChannelPointValue
variable = mdot
index = 43
height = ${z_out}
[]
[S_43]
type = SubChannelPointValue
variable = S
index = 43
height = ${z_out}
[]
[mdot_44]
type = SubChannelPointValue
variable = mdot
index = 44
height = ${z_out}
[]
[S_44]
type = SubChannelPointValue
variable = S
index = 44
height = ${z_out}
[]
[mdot_45]
type = SubChannelPointValue
variable = mdot
index = 45
height = ${z_out}
[]
[S_45]
type = SubChannelPointValue
variable = S
index = 45
height = ${z_out}
[]
[mdot_46]
type = SubChannelPointValue
variable = mdot
index = 46
height = ${z_out}
[]
[S_46]
type = SubChannelPointValue
variable = S
index = 46
height = ${z_out}
[]
[mdot_47]
type = SubChannelPointValue
variable = mdot
index = 47
height = ${z_out}
[]
[S_47]
type = SubChannelPointValue
variable = S
index = 47
height = ${z_out}
[]
[mdot_48]
type = SubChannelPointValue
variable = mdot
index = 48
height = ${z_out}
[]
[S_48]
type = SubChannelPointValue
variable = S
index = 48
height = ${z_out}
[]
[mdot_49]
type = SubChannelPointValue
variable = mdot
index = 49
height = ${z_out}
[]
[S_49]
type = SubChannelPointValue
variable = S
index = 49
height = ${z_out}
[]
[mdot_50]
type = SubChannelPointValue
variable = mdot
index = 50
height = ${z_out}
[]
[S_50]
type = SubChannelPointValue
variable = S
index = 50
height = ${z_out}
[]
[mdot_51]
type = SubChannelPointValue
variable = mdot
index = 51
height = ${z_out}
[]
[S_51]
type = SubChannelPointValue
variable = S
index = 51
height = ${z_out}
[]
[mdot_52]
type = SubChannelPointValue
variable = mdot
index = 52
height = ${z_out}
[]
[S_52]
type = SubChannelPointValue
variable = S
index = 52
height = ${z_out}
[]
[mdot_53]
type = SubChannelPointValue
variable = mdot
index = 53
height = ${z_out}
[]
[S_53]
type = SubChannelPointValue
variable = S
index = 53
height = ${z_out}
[]
[mdot_54]
type = SubChannelPointValue
variable = mdot
index = 54
height = ${z_out}
[]
[S_54]
type = SubChannelPointValue
variable = S
index = 54
height = ${z_out}
[]
[mdot_55]
type = SubChannelPointValue
variable = mdot
index = 55
height = ${z_out}
[]
[S_55]
type = SubChannelPointValue
variable = S
index = 55
height = ${z_out}
[]
[mdot_56]
type = SubChannelPointValue
variable = mdot
index = 56
height = ${z_out}
[]
[S_56]
type = SubChannelPointValue
variable = S
index = 56
height = ${z_out}
[]
[mdot_57]
type = SubChannelPointValue
variable = mdot
index = 57
height = ${z_out}
[]
[S_57]
type = SubChannelPointValue
variable = S
index = 57
height = ${z_out}
[]
[mdot_58]
type = SubChannelPointValue
variable = mdot
index = 58
height = ${z_out}
[]
[S_58]
type = SubChannelPointValue
variable = S
index = 58
height = ${z_out}
[]
[mdot_59]
type = SubChannelPointValue
variable = mdot
index = 59
height = ${z_out}
[]
[S_59]
type = SubChannelPointValue
variable = S
index = 59
height = ${z_out}
[]
[mdot_60]
type = SubChannelPointValue
variable = mdot
index = 60
height = ${z_out}
[]
[S_60]
type = SubChannelPointValue
variable = S
index = 60
height = ${z_out}
[]
[mdot_61]
type = SubChannelPointValue
variable = mdot
index = 61
height = ${z_out}
[]
[S_61]
type = SubChannelPointValue
variable = S
index = 61
height = ${z_out}
[]
[mdot_62]
type = SubChannelPointValue
variable = mdot
index = 62
height = ${z_out}
[]
[S_62]
type = SubChannelPointValue
variable = S
index = 62
height = ${z_out}
[]
[mdot_63]
type = SubChannelPointValue
variable = mdot
index = 63
height = ${z_out}
[]
[S_63]
type = SubChannelPointValue
variable = S
index = 63
height = ${z_out}
[]
[mdot_64]
type = SubChannelPointValue
variable = mdot
index = 64
height = ${z_out}
[]
[S_64]
type = SubChannelPointValue
variable = S
index = 64
height = ${z_out}
[]
[mdot_65]
type = SubChannelPointValue
variable = mdot
index = 65
height = ${z_out}
[]
[S_65]
type = SubChannelPointValue
variable = S
index = 65
height = ${z_out}
[]
[mdot_66]
type = SubChannelPointValue
variable = mdot
index = 66
height = ${z_out}
[]
[S_66]
type = SubChannelPointValue
variable = S
index = 66
height = ${z_out}
[]
[mdot_67]
type = SubChannelPointValue
variable = mdot
index = 67
height = ${z_out}
[]
[S_67]
type = SubChannelPointValue
variable = S
index = 67
height = ${z_out}
[]
[mdot_68]
type = SubChannelPointValue
variable = mdot
index = 68
height = ${z_out}
[]
[S_68]
type = SubChannelPointValue
variable = S
index = 68
height = ${z_out}
[]
[mdot_69]
type = SubChannelPointValue
variable = mdot
index = 69
height = ${z_out}
[]
[S_69]
type = SubChannelPointValue
variable = S
index = 69
height = ${z_out}
[]
[mdot_70]
type = SubChannelPointValue
variable = mdot
index = 70
height = ${z_out}
[]
[S_70]
type = SubChannelPointValue
variable = S
index = 70
height = ${z_out}
[]
[mdot_71]
type = SubChannelPointValue
variable = mdot
index = 71
height = ${z_out}
[]
[S_71]
type = SubChannelPointValue
variable = S
index = 71
height = ${z_out}
[]
[mdot_72]
type = SubChannelPointValue
variable = mdot
index = 72
height = ${z_out}
[]
[S_72]
type = SubChannelPointValue
variable = S
index = 72
height = ${z_out}
[]
[mdot_73]
type = SubChannelPointValue
variable = mdot
index = 73
height = ${z_out}
[]
[S_73]
type = SubChannelPointValue
variable = S
index = 73
height = ${z_out}
[]
[mdot_74]
type = SubChannelPointValue
variable = mdot
index = 74
height = ${z_out}
[]
[S_74]
type = SubChannelPointValue
variable = S
index = 74
height = ${z_out}
[]
[mdot_75]
type = SubChannelPointValue
variable = mdot
index = 75
height = ${z_out}
[]
[S_75]
type = SubChannelPointValue
variable = S
index = 75
height = ${z_out}
[]
[mdot_76]
type = SubChannelPointValue
variable = mdot
index = 76
height = ${z_out}
[]
[S_76]
type = SubChannelPointValue
variable = S
index = 76
height = ${z_out}
[]
[mdot_77]
type = SubChannelPointValue
variable = mdot
index = 77
height = ${z_out}
[]
[S_77]
type = SubChannelPointValue
variable = S
index = 77
height = ${z_out}
[]
[mdot_78]
type = SubChannelPointValue
variable = mdot
index = 78
height = ${z_out}
[]
[S_78]
type = SubChannelPointValue
variable = S
index = 78
height = ${z_out}
[]
[mdot_79]
type = SubChannelPointValue
variable = mdot
index = 79
height = ${z_out}
[]
[S_79]
type = SubChannelPointValue
variable = S
index = 79
height = ${z_out}
[]
[mdot_80]
type = SubChannelPointValue
variable = mdot
index = 80
height = ${z_out}
[]
[S_80]
type = SubChannelPointValue
variable = S
index = 80
height = ${z_out}
[]
[mdot_81]
type = SubChannelPointValue
variable = mdot
index = 81
height = ${z_out}
[]
[S_81]
type = SubChannelPointValue
variable = S
index = 81
height = ${z_out}
[]
[mdot_82]
type = SubChannelPointValue
variable = mdot
index = 82
height = ${z_out}
[]
[S_82]
type = SubChannelPointValue
variable = S
index = 82
height = ${z_out}
[]
[mdot_83]
type = SubChannelPointValue
variable = mdot
index = 83
height = ${z_out}
[]
[S_83]
type = SubChannelPointValue
variable = S
index = 83
height = ${z_out}
[]
[mdot_84]
type = SubChannelPointValue
variable = mdot
index = 84
height = ${z_out}
[]
[S_84]
type = SubChannelPointValue
variable = S
index = 84
height = ${z_out}
[]
[mdot_85]
type = SubChannelPointValue
variable = mdot
index = 85
height = ${z_out}
[]
[S_85]
type = SubChannelPointValue
variable = S
index = 85
height = ${z_out}
[]
[mdot_86]
type = SubChannelPointValue
variable = mdot
index = 86
height = ${z_out}
[]
[S_86]
type = SubChannelPointValue
variable = S
index = 86
height = ${z_out}
[]
[mdot_87]
type = SubChannelPointValue
variable = mdot
index = 87
height = ${z_out}
[]
[S_87]
type = SubChannelPointValue
variable = S
index = 87
height = ${z_out}
[]
[mdot_88]
type = SubChannelPointValue
variable = mdot
index = 88
height = ${z_out}
[]
[S_88]
type = SubChannelPointValue
variable = S
index = 88
height = ${z_out}
[]
[mdot_89]
type = SubChannelPointValue
variable = mdot
index = 89
height = ${z_out}
[]
[S_89]
type = SubChannelPointValue
variable = S
index = 89
height = ${z_out}
[]
[mdot_90]
type = SubChannelPointValue
variable = mdot
index = 90
height = ${z_out}
[]
[S_90]
type = SubChannelPointValue
variable = S
index = 90
height = ${z_out}
[]
[mdot_91]
type = SubChannelPointValue
variable = mdot
index = 91
height = ${z_out}
[]
[S_91]
type = SubChannelPointValue
variable = S
index = 91
height = ${z_out}
[]
[mdot_92]
type = SubChannelPointValue
variable = mdot
index = 92
height = ${z_out}
[]
[S_92]
type = SubChannelPointValue
variable = S
index = 92
height = ${z_out}
[]
[mdot_93]
type = SubChannelPointValue
variable = mdot
index = 93
height = ${z_out}
[]
[S_93]
type = SubChannelPointValue
variable = S
index = 93
height = ${z_out}
[]
[mdot_94]
type = SubChannelPointValue
variable = mdot
index = 94
height = ${z_out}
[]
[S_94]
type = SubChannelPointValue
variable = S
index = 94
height = ${z_out}
[]
[mdot_95]
type = SubChannelPointValue
variable = mdot
index = 95
height = ${z_out}
[]
[S_95]
type = SubChannelPointValue
variable = S
index = 95
height = ${z_out}
[]
[mdot_96]
type = SubChannelPointValue
variable = mdot
index = 96
height = ${z_out}
[]
[S_96]
type = SubChannelPointValue
variable = S
index = 96
height = ${z_out}
[]
[mdot_97]
type = SubChannelPointValue
variable = mdot
index = 97
height = ${z_out}
[]
[S_97]
type = SubChannelPointValue
variable = S
index = 97
height = ${z_out}
[]
[mdot_98]
type = SubChannelPointValue
variable = mdot
index = 98
height = ${z_out}
[]
[S_98]
type = SubChannelPointValue
variable = S
index = 98
height = ${z_out}
[]
[mdot_99]
type = SubChannelPointValue
variable = mdot
index = 99
height = ${z_out}
[]
[S_99]
type = SubChannelPointValue
variable = S
index = 99
height = ${z_out}
[]
[mdot_100]
type = SubChannelPointValue
variable = mdot
index = 100
height = ${z_out}
[]
[S_100]
type = SubChannelPointValue
variable = S
index = 100
height = ${z_out}
[]
[mdot_101]
type = SubChannelPointValue
variable = mdot
index = 101
height = ${z_out}
[]
[S_101]
type = SubChannelPointValue
variable = S
index = 101
height = ${z_out}
[]
[mdot_102]
type = SubChannelPointValue
variable = mdot
index = 102
height = ${z_out}
[]
[S_102]
type = SubChannelPointValue
variable = S
index = 102
height = ${z_out}
[]
[mdot_103]
type = SubChannelPointValue
variable = mdot
index = 103
height = ${z_out}
[]
[S_103]
type = SubChannelPointValue
variable = S
index = 103
height = ${z_out}
[]
[mdot_104]
type = SubChannelPointValue
variable = mdot
index = 104
height = ${z_out}
[]
[S_104]
type = SubChannelPointValue
variable = S
index = 104
height = ${z_out}
[]
[mdot_105]
type = SubChannelPointValue
variable = mdot
index = 105
height = ${z_out}
[]
[S_105]
type = SubChannelPointValue
variable = S
index = 105
height = ${z_out}
[]
[mdot_106]
type = SubChannelPointValue
variable = mdot
index = 106
height = ${z_out}
[]
[S_106]
type = SubChannelPointValue
variable = S
index = 106
height = ${z_out}
[]
[mdot_107]
type = SubChannelPointValue
variable = mdot
index = 107
height = ${z_out}
[]
[S_107]
type = SubChannelPointValue
variable = S
index = 107
height = ${z_out}
[]
[mdot_108]
type = SubChannelPointValue
variable = mdot
index = 108
height = ${z_out}
[]
[S_108]
type = SubChannelPointValue
variable = S
index = 108
height = ${z_out}
[]
[mdot_109]
type = SubChannelPointValue
variable = mdot
index = 109
height = ${z_out}
[]
[S_109]
type = SubChannelPointValue
variable = S
index = 109
height = ${z_out}
[]
[mdot_110]
type = SubChannelPointValue
variable = mdot
index = 110
height = ${z_out}
[]
[S_110]
type = SubChannelPointValue
variable = S
index = 110
height = ${z_out}
[]
[mdot_111]
type = SubChannelPointValue
variable = mdot
index = 111
height = ${z_out}
[]
[S_111]
type = SubChannelPointValue
variable = S
index = 111
height = ${z_out}
[]
[mdot_112]
type = SubChannelPointValue
variable = mdot
index = 112
height = ${z_out}
[]
[S_112]
type = SubChannelPointValue
variable = S
index = 112
height = ${z_out}
[]
[mdot_113]
type = SubChannelPointValue
variable = mdot
index = 113
height = ${z_out}
[]
[S_113]
type = SubChannelPointValue
variable = S
index = 113
height = ${z_out}
[]
[mdot_114]
type = SubChannelPointValue
variable = mdot
index = 114
height = ${z_out}
[]
[S_114]
type = SubChannelPointValue
variable = S
index = 114
height = ${z_out}
[]
[mdot_115]
type = SubChannelPointValue
variable = mdot
index = 115
height = ${z_out}
[]
[S_115]
type = SubChannelPointValue
variable = S
index = 115
height = ${z_out}
[]
[mdot_116]
type = SubChannelPointValue
variable = mdot
index = 116
height = ${z_out}
[]
[S_116]
type = SubChannelPointValue
variable = S
index = 116
height = ${z_out}
[]
[mdot_117]
type = SubChannelPointValue
variable = mdot
index = 117
height = ${z_out}
[]
[S_117]
type = SubChannelPointValue
variable = S
index = 117
height = ${z_out}
[]
[mdot_118]
type = SubChannelPointValue
variable = mdot
index = 118
height = ${z_out}
[]
[S_118]
type = SubChannelPointValue
variable = S
index = 118
height = ${z_out}
[]
[mdot_119]
type = SubChannelPointValue
variable = mdot
index = 119
height = ${z_out}
[]
[S_119]
type = SubChannelPointValue
variable = S
index = 119
height = ${z_out}
[]
[mdot_120]
type = SubChannelPointValue
variable = mdot
index = 120
height = ${z_out}
[]
[S_120]
type = SubChannelPointValue
variable = S
index = 120
height = ${z_out}
[]
[mdot_121]
type = SubChannelPointValue
variable = mdot
index = 121
height = ${z_out}
[]
[S_121]
type = SubChannelPointValue
variable = S
index = 121
height = ${z_out}
[]
[mdot_122]
type = SubChannelPointValue
variable = mdot
index = 122
height = ${z_out}
[]
[S_122]
type = SubChannelPointValue
variable = S
index = 122
height = ${z_out}
[]
[mdot_123]
type = SubChannelPointValue
variable = mdot
index = 123
height = ${z_out}
[]
[S_123]
type = SubChannelPointValue
variable = S
index = 123
height = ${z_out}
[]
[mdot_124]
type = SubChannelPointValue
variable = mdot
index = 124
height = ${z_out}
[]
[S_124]
type = SubChannelPointValue
variable = S
index = 124
height = ${z_out}
[]
[mdot_125]
type = SubChannelPointValue
variable = mdot
index = 125
height = ${z_out}
[]
[S_125]
type = SubChannelPointValue
variable = S
index = 125
height = ${z_out}
[]
[mdot_126]
type = SubChannelPointValue
variable = mdot
index = 126
height = ${z_out}
[]
[S_126]
type = SubChannelPointValue
variable = S
index = 126
height = ${z_out}
[]
[mdot_127]
type = SubChannelPointValue
variable = mdot
index = 127
height = ${z_out}
[]
[S_127]
type = SubChannelPointValue
variable = S
index = 127
height = ${z_out}
[]
[mdot_128]
type = SubChannelPointValue
variable = mdot
index = 128
height = ${z_out}
[]
[S_128]
type = SubChannelPointValue
variable = S
index = 128
height = ${z_out}
[]
[mdot_129]
type = SubChannelPointValue
variable = mdot
index = 129
height = ${z_out}
[]
[S_129]
type = SubChannelPointValue
variable = S
index = 129
height = ${z_out}
[]
[mdot_130]
type = SubChannelPointValue
variable = mdot
index = 130
height = ${z_out}
[]
[S_130]
type = SubChannelPointValue
variable = S
index = 130
height = ${z_out}
[]
[mdot_131]
type = SubChannelPointValue
variable = mdot
index = 131
height = ${z_out}
[]
[S_131]
type = SubChannelPointValue
variable = S
index = 131
height = ${z_out}
[]
[mdot_132]
type = SubChannelPointValue
variable = mdot
index = 132
height = ${z_out}
[]
[S_132]
type = SubChannelPointValue
variable = S
index = 132
height = ${z_out}
[]
[mdot_133]
type = SubChannelPointValue
variable = mdot
index = 133
height = ${z_out}
[]
[S_133]
type = SubChannelPointValue
variable = S
index = 133
height = ${z_out}
[]
[mdot_134]
type = SubChannelPointValue
variable = mdot
index = 134
height = ${z_out}
[]
[S_134]
type = SubChannelPointValue
variable = S
index = 134
height = ${z_out}
[]
[mdot_135]
type = SubChannelPointValue
variable = mdot
index = 135
height = ${z_out}
[]
[S_135]
type = SubChannelPointValue
variable = S
index = 135
height = ${z_out}
[]
[mdot_136]
type = SubChannelPointValue
variable = mdot
index = 136
height = ${z_out}
[]
[S_136]
type = SubChannelPointValue
variable = S
index = 136
height = ${z_out}
[]
[mdot_137]
type = SubChannelPointValue
variable = mdot
index = 137
height = ${z_out}
[]
[S_137]
type = SubChannelPointValue
variable = S
index = 137
height = ${z_out}
[]
[mdot_138]
type = SubChannelPointValue
variable = mdot
index = 138
height = ${z_out}
[]
[S_138]
type = SubChannelPointValue
variable = S
index = 138
height = ${z_out}
[]
[mdot_139]
type = SubChannelPointValue
variable = mdot
index = 139
height = ${z_out}
[]
[S_139]
type = SubChannelPointValue
variable = S
index = 139
height = ${z_out}
[]
[mdot_140]
type = SubChannelPointValue
variable = mdot
index = 140
height = ${z_out}
[]
[S_140]
type = SubChannelPointValue
variable = S
index = 140
height = ${z_out}
[]
[mdot_141]
type = SubChannelPointValue
variable = mdot
index = 141
height = ${z_out}
[]
[S_141]
type = SubChannelPointValue
variable = S
index = 141
height = ${z_out}
[]
[mdot_142]
type = SubChannelPointValue
variable = mdot
index = 142
height = ${z_out}
[]
[S_142]
type = SubChannelPointValue
variable = S
index = 142
height = ${z_out}
[]
[mdot_143]
type = SubChannelPointValue
variable = mdot
index = 143
height = ${z_out}
[]
[S_143]
type = SubChannelPointValue
variable = S
index = 143
height = ${z_out}
[]
[mdot_144]
type = SubChannelPointValue
variable = mdot
index = 144
height = ${z_out}
[]
[S_144]
type = SubChannelPointValue
variable = S
index = 144
height = ${z_out}
[]
[mdot_145]
type = SubChannelPointValue
variable = mdot
index = 145
height = ${z_out}
[]
[S_145]
type = SubChannelPointValue
variable = S
index = 145
height = ${z_out}
[]
[mdot_146]
type = SubChannelPointValue
variable = mdot
index = 146
height = ${z_out}
[]
[S_146]
type = SubChannelPointValue
variable = S
index = 146
height = ${z_out}
[]
[mdot_147]
type = SubChannelPointValue
variable = mdot
index = 147
height = ${z_out}
[]
[S_147]
type = SubChannelPointValue
variable = S
index = 147
height = ${z_out}
[]
[mdot_148]
type = SubChannelPointValue
variable = mdot
index = 148
height = ${z_out}
[]
[S_148]
type = SubChannelPointValue
variable = S
index = 148
height = ${z_out}
[]
[mdot_149]
type = SubChannelPointValue
variable = mdot
index = 149
height = ${z_out}
[]
[S_149]
type = SubChannelPointValue
variable = S
index = 149
height = ${z_out}
[]
[mdot_150]
type = SubChannelPointValue
variable = mdot
index = 150
height = ${z_out}
[]
[S_150]
type = SubChannelPointValue
variable = S
index = 150
height = ${z_out}
[]
[mdot_151]
type = SubChannelPointValue
variable = mdot
index = 151
height = ${z_out}
[]
[S_151]
type = SubChannelPointValue
variable = S
index = 151
height = ${z_out}
[]
[mdot_152]
type = SubChannelPointValue
variable = mdot
index = 152
height = ${z_out}
[]
[S_152]
type = SubChannelPointValue
variable = S
index = 152
height = ${z_out}
[]
[mdot_153]
type = SubChannelPointValue
variable = mdot
index = 153
height = ${z_out}
[]
[S_153]
type = SubChannelPointValue
variable = S
index = 153
height = ${z_out}
[]
[mdot_154]
type = SubChannelPointValue
variable = mdot
index = 154
height = ${z_out}
[]
[S_154]
type = SubChannelPointValue
variable = S
index = 154
height = ${z_out}
[]
[mdot_155]
type = SubChannelPointValue
variable = mdot
index = 155
height = ${z_out}
[]
[S_155]
type = SubChannelPointValue
variable = S
index = 155
height = ${z_out}
[]
[mdot_156]
type = SubChannelPointValue
variable = mdot
index = 156
height = ${z_out}
[]
[S_156]
type = SubChannelPointValue
variable = S
index = 156
height = ${z_out}
[]
[mdot_157]
type = SubChannelPointValue
variable = mdot
index = 157
height = ${z_out}
[]
[S_157]
type = SubChannelPointValue
variable = S
index = 157
height = ${z_out}
[]
[mdot_158]
type = SubChannelPointValue
variable = mdot
index = 158
height = ${z_out}
[]
[S_158]
type = SubChannelPointValue
variable = S
index = 158
height = ${z_out}
[]
[mdot_159]
type = SubChannelPointValue
variable = mdot
index = 159
height = ${z_out}
[]
[S_159]
type = SubChannelPointValue
variable = S
index = 159
height = ${z_out}
[]
[mdot_160]
type = SubChannelPointValue
variable = mdot
index = 160
height = ${z_out}
[]
[S_160]
type = SubChannelPointValue
variable = S
index = 160
height = ${z_out}
[]
[mdot_161]
type = SubChannelPointValue
variable = mdot
index = 161
height = ${z_out}
[]
[S_161]
type = SubChannelPointValue
variable = S
index = 161
height = ${z_out}
[]
[mdot_162]
type = SubChannelPointValue
variable = mdot
index = 162
height = ${z_out}
[]
[S_162]
type = SubChannelPointValue
variable = S
index = 162
height = ${z_out}
[]
[mdot_163]
type = SubChannelPointValue
variable = mdot
index = 163
height = ${z_out}
[]
[S_163]
type = SubChannelPointValue
variable = S
index = 163
height = ${z_out}
[]
[mdot_164]
type = SubChannelPointValue
variable = mdot
index = 164
height = ${z_out}
[]
[S_164]
type = SubChannelPointValue
variable = S
index = 164
height = ${z_out}
[]
[mdot_165]
type = SubChannelPointValue
variable = mdot
index = 165
height = ${z_out}
[]
[S_165]
type = SubChannelPointValue
variable = S
index = 165
height = ${z_out}
[]
[mdot_166]
type = SubChannelPointValue
variable = mdot
index = 166
height = ${z_out}
[]
[S_166]
type = SubChannelPointValue
variable = S
index = 166
height = ${z_out}
[]
[mdot_167]
type = SubChannelPointValue
variable = mdot
index = 167
height = ${z_out}
[]
[S_167]
type = SubChannelPointValue
variable = S
index = 167
height = ${z_out}
[]
[mdot_168]
type = SubChannelPointValue
variable = mdot
index = 168
height = ${z_out}
[]
[S_168]
type = SubChannelPointValue
variable = S
index = 168
height = ${z_out}
[]
[mdot_169]
type = SubChannelPointValue
variable = mdot
index = 169
height = ${z_out}
[]
[S_169]
type = SubChannelPointValue
variable = S
index = 169
height = ${z_out}
[]
[mdot_170]
type = SubChannelPointValue
variable = mdot
index = 170
height = ${z_out}
[]
[S_170]
type = SubChannelPointValue
variable = S
index = 170
height = ${z_out}
[]
[mdot_171]
type = SubChannelPointValue
variable = mdot
index = 171
height = ${z_out}
[]
[S_171]
type = SubChannelPointValue
variable = S
index = 171
height = ${z_out}
[]
[mdot_172]
type = SubChannelPointValue
variable = mdot
index = 172
height = ${z_out}
[]
[S_172]
type = SubChannelPointValue
variable = S
index = 172
height = ${z_out}
[]
[mdot_173]
type = SubChannelPointValue
variable = mdot
index = 173
height = ${z_out}
[]
[S_173]
type = SubChannelPointValue
variable = S
index = 173
height = ${z_out}
[]
[mdot_174]
type = SubChannelPointValue
variable = mdot
index = 174
height = ${z_out}
[]
[S_174]
type = SubChannelPointValue
variable = S
index = 174
height = ${z_out}
[]
[mdot_175]
type = SubChannelPointValue
variable = mdot
index = 175
height = ${z_out}
[]
[S_175]
type = SubChannelPointValue
variable = S
index = 175
height = ${z_out}
[]
[mdot_176]
type = SubChannelPointValue
variable = mdot
index = 176
height = ${z_out}
[]
[S_176]
type = SubChannelPointValue
variable = S
index = 176
height = ${z_out}
[]
[mdot_177]
type = SubChannelPointValue
variable = mdot
index = 177
height = ${z_out}
[]
[S_177]
type = SubChannelPointValue
variable = S
index = 177
height = ${z_out}
[]
[mdot_178]
type = SubChannelPointValue
variable = mdot
index = 178
height = ${z_out}
[]
[S_178]
type = SubChannelPointValue
variable = S
index = 178
height = ${z_out}
[]
[mdot_179]
type = SubChannelPointValue
variable = mdot
index = 179
height = ${z_out}
[]
[S_179]
type = SubChannelPointValue
variable = S
index = 179
height = ${z_out}
[]
[mdot_180]
type = SubChannelPointValue
variable = mdot
index = 180
height = ${z_out}
[]
[S_180]
type = SubChannelPointValue
variable = S
index = 180
height = ${z_out}
[]
[mdot_181]
type = SubChannelPointValue
variable = mdot
index = 181
height = ${z_out}
[]
[S_181]
type = SubChannelPointValue
variable = S
index = 181
height = ${z_out}
[]
[mdot_182]
type = SubChannelPointValue
variable = mdot
index = 182
height = ${z_out}
[]
[S_182]
type = SubChannelPointValue
variable = S
index = 182
height = ${z_out}
[]
[mdot_183]
type = SubChannelPointValue
variable = mdot
index = 183
height = ${z_out}
[]
[S_183]
type = SubChannelPointValue
variable = S
index = 183
height = ${z_out}
[]
[mdot_184]
type = SubChannelPointValue
variable = mdot
index = 184
height = ${z_out}
[]
[S_184]
type = SubChannelPointValue
variable = S
index = 184
height = ${z_out}
[]
[mdot_185]
type = SubChannelPointValue
variable = mdot
index = 185
height = ${z_out}
[]
[S_185]
type = SubChannelPointValue
variable = S
index = 185
height = ${z_out}
[]
[mdot_186]
type = SubChannelPointValue
variable = mdot
index = 186
height = ${z_out}
[]
[S_186]
type = SubChannelPointValue
variable = S
index = 186
height = ${z_out}
[]
[mdot_187]
type = SubChannelPointValue
variable = mdot
index = 187
height = ${z_out}
[]
[S_187]
type = SubChannelPointValue
variable = S
index = 187
height = ${z_out}
[]
[mdot_188]
type = SubChannelPointValue
variable = mdot
index = 188
height = ${z_out}
[]
[S_188]
type = SubChannelPointValue
variable = S
index = 188
height = ${z_out}
[]
[mdot_189]
type = SubChannelPointValue
variable = mdot
index = 189
height = ${z_out}
[]
[S_189]
type = SubChannelPointValue
variable = S
index = 189
height = ${z_out}
[]
[mdot_190]
type = SubChannelPointValue
variable = mdot
index = 190
height = ${z_out}
[]
[S_190]
type = SubChannelPointValue
variable = S
index = 190
height = ${z_out}
[]
[mdot_191]
type = SubChannelPointValue
variable = mdot
index = 191
height = ${z_out}
[]
[S_191]
type = SubChannelPointValue
variable = S
index = 191
height = ${z_out}
[]
[mdot_192]
type = SubChannelPointValue
variable = mdot
index = 192
height = ${z_out}
[]
[S_192]
type = SubChannelPointValue
variable = S
index = 192
height = ${z_out}
[]
[mdot_193]
type = SubChannelPointValue
variable = mdot
index = 193
height = ${z_out}
[]
[S_193]
type = SubChannelPointValue
variable = S
index = 193
height = ${z_out}
[]
[mdot_194]
type = SubChannelPointValue
variable = mdot
index = 194
height = ${z_out}
[]
[S_194]
type = SubChannelPointValue
variable = S
index = 194
height = ${z_out}
[]
[mdot_195]
type = SubChannelPointValue
variable = mdot
index = 195
height = ${z_out}
[]
[S_195]
type = SubChannelPointValue
variable = S
index = 195
height = ${z_out}
[]
[mdot_196]
type = SubChannelPointValue
variable = mdot
index = 196
height = ${z_out}
[]
[S_196]
type = SubChannelPointValue
variable = S
index = 196
height = ${z_out}
[]
[mdot_197]
type = SubChannelPointValue
variable = mdot
index = 197
height = ${z_out}
[]
[S_197]
type = SubChannelPointValue
variable = S
index = 197
height = ${z_out}
[]
[mdot_198]
type = SubChannelPointValue
variable = mdot
index = 198
height = ${z_out}
[]
[S_198]
type = SubChannelPointValue
variable = S
index = 198
height = ${z_out}
[]
[mdot_199]
type = SubChannelPointValue
variable = mdot
index = 199
height = ${z_out}
[]
[S_199]
type = SubChannelPointValue
variable = S
index = 199
height = ${z_out}
[]
[mdot_200]
type = SubChannelPointValue
variable = mdot
index = 200
height = ${z_out}
[]
[S_200]
type = SubChannelPointValue
variable = S
index = 200
height = ${z_out}
[]
[mdot_201]
type = SubChannelPointValue
variable = mdot
index = 201
height = ${z_out}
[]
[S_201]
type = SubChannelPointValue
variable = S
index = 201
height = ${z_out}
[]
[mdot_202]
type = SubChannelPointValue
variable = mdot
index = 202
height = ${z_out}
[]
[S_202]
type = SubChannelPointValue
variable = S
index = 202
height = ${z_out}
[]
[mdot_203]
type = SubChannelPointValue
variable = mdot
index = 203
height = ${z_out}
[]
[S_203]
type = SubChannelPointValue
variable = S
index = 203
height = ${z_out}
[]
[mdot_204]
type = SubChannelPointValue
variable = mdot
index = 204
height = ${z_out}
[]
[S_204]
type = SubChannelPointValue
variable = S
index = 204
height = ${z_out}
[]
[mdot_205]
type = SubChannelPointValue
variable = mdot
index = 205
height = ${z_out}
[]
[S_205]
type = SubChannelPointValue
variable = S
index = 205
height = ${z_out}
[]
[mdot_206]
type = SubChannelPointValue
variable = mdot
index = 206
height = ${z_out}
[]
[S_206]
type = SubChannelPointValue
variable = S
index = 206
height = ${z_out}
[]
[mdot_207]
type = SubChannelPointValue
variable = mdot
index = 207
height = ${z_out}
[]
[S_207]
type = SubChannelPointValue
variable = S
index = 207
height = ${z_out}
[]
[mdot_208]
type = SubChannelPointValue
variable = mdot
index = 208
height = ${z_out}
[]
[S_208]
type = SubChannelPointValue
variable = S
index = 208
height = ${z_out}
[]
[mdot_209]
type = SubChannelPointValue
variable = mdot
index = 209
height = ${z_out}
[]
[S_209]
type = SubChannelPointValue
variable = S
index = 209
height = ${z_out}
[]
[mdot_210]
type = SubChannelPointValue
variable = mdot
index = 210
height = ${z_out}
[]
[S_210]
type = SubChannelPointValue
variable = S
index = 210
height = ${z_out}
[]
[mdot_211]
type = SubChannelPointValue
variable = mdot
index = 211
height = ${z_out}
[]
[S_211]
type = SubChannelPointValue
variable = S
index = 211
height = ${z_out}
[]
[mdot_212]
type = SubChannelPointValue
variable = mdot
index = 212
height = ${z_out}
[]
[S_212]
type = SubChannelPointValue
variable = S
index = 212
height = ${z_out}
[]
[mdot_213]
type = SubChannelPointValue
variable = mdot
index = 213
height = ${z_out}
[]
[S_213]
type = SubChannelPointValue
variable = S
index = 213
height = ${z_out}
[]
[mdot_214]
type = SubChannelPointValue
variable = mdot
index = 214
height = ${z_out}
[]
[S_214]
type = SubChannelPointValue
variable = S
index = 214
height = ${z_out}
[]
[mdot_215]
type = SubChannelPointValue
variable = mdot
index = 215
height = ${z_out}
[]
[S_215]
type = SubChannelPointValue
variable = S
index = 215
height = ${z_out}
[]
[mdot_216]
type = SubChannelPointValue
variable = mdot
index = 216
height = ${z_out}
[]
[S_216]
type = SubChannelPointValue
variable = S
index = 216
height = ${z_out}
[]
[mdot_217]
type = SubChannelPointValue
variable = mdot
index = 217
height = ${z_out}
[]
[S_217]
type = SubChannelPointValue
variable = S
index = 217
height = ${z_out}
[]
[mdot_218]
type = SubChannelPointValue
variable = mdot
index = 218
height = ${z_out}
[]
[S_218]
type = SubChannelPointValue
variable = S
index = 218
height = ${z_out}
[]
[mdot_219]
type = SubChannelPointValue
variable = mdot
index = 219
height = ${z_out}
[]
[S_219]
type = SubChannelPointValue
variable = S
index = 219
height = ${z_out}
[]
[mdot_220]
type = SubChannelPointValue
variable = mdot
index = 220
height = ${z_out}
[]
[S_220]
type = SubChannelPointValue
variable = S
index = 220
height = ${z_out}
[]
[mdot_221]
type = SubChannelPointValue
variable = mdot
index = 221
height = ${z_out}
[]
[S_221]
type = SubChannelPointValue
variable = S
index = 221
height = ${z_out}
[]
[mdot_222]
type = SubChannelPointValue
variable = mdot
index = 222
height = ${z_out}
[]
[S_222]
type = SubChannelPointValue
variable = S
index = 222
height = ${z_out}
[]
[mdot_223]
type = SubChannelPointValue
variable = mdot
index = 223
height = ${z_out}
[]
[S_223]
type = SubChannelPointValue
variable = S
index = 223
height = ${z_out}
[]
[mdot_224]
type = SubChannelPointValue
variable = mdot
index = 224
height = ${z_out}
[]
[S_224]
type = SubChannelPointValue
variable = S
index = 224
height = ${z_out}
[]
[mdot_225]
type = SubChannelPointValue
variable = mdot
index = 225
height = ${z_out}
[]
[S_225]
type = SubChannelPointValue
variable = S
index = 225
height = ${z_out}
[]
[mdot_226]
type = SubChannelPointValue
variable = mdot
index = 226
height = ${z_out}
[]
[S_226]
type = SubChannelPointValue
variable = S
index = 226
height = ${z_out}
[]
[mdot_227]
type = SubChannelPointValue
variable = mdot
index = 227
height = ${z_out}
[]
[S_227]
type = SubChannelPointValue
variable = S
index = 227
height = ${z_out}
[]
[mdot_228]
type = SubChannelPointValue
variable = mdot
index = 228
height = ${z_out}
[]
[S_228]
type = SubChannelPointValue
variable = S
index = 228
height = ${z_out}
[]
[mdot_229]
type = SubChannelPointValue
variable = mdot
index = 229
height = ${z_out}
[]
[S_229]
type = SubChannelPointValue
variable = S
index = 229
height = ${z_out}
[]
[mdot_230]
type = SubChannelPointValue
variable = mdot
index = 230
height = ${z_out}
[]
[S_230]
type = SubChannelPointValue
variable = S
index = 230
height = ${z_out}
[]
[mdot_231]
type = SubChannelPointValue
variable = mdot
index = 231
height = ${z_out}
[]
[S_231]
type = SubChannelPointValue
variable = S
index = 231
height = ${z_out}
[]
[mdot_232]
type = SubChannelPointValue
variable = mdot
index = 232
height = ${z_out}
[]
[S_232]
type = SubChannelPointValue
variable = S
index = 232
height = ${z_out}
[]
[mdot_233]
type = SubChannelPointValue
variable = mdot
index = 233
height = ${z_out}
[]
[S_233]
type = SubChannelPointValue
variable = S
index = 233
height = ${z_out}
[]
[mdot_234]
type = SubChannelPointValue
variable = mdot
index = 234
height = ${z_out}
[]
[S_234]
type = SubChannelPointValue
variable = S
index = 234
height = ${z_out}
[]
[mdot_235]
type = SubChannelPointValue
variable = mdot
index = 235
height = ${z_out}
[]
[S_235]
type = SubChannelPointValue
variable = S
index = 235
height = ${z_out}
[]
[mdot_236]
type = SubChannelPointValue
variable = mdot
index = 236
height = ${z_out}
[]
[S_236]
type = SubChannelPointValue
variable = S
index = 236
height = ${z_out}
[]
[mdot_237]
type = SubChannelPointValue
variable = mdot
index = 237
height = ${z_out}
[]
[S_237]
type = SubChannelPointValue
variable = S
index = 237
height = ${z_out}
[]
[mdot_238]
type = SubChannelPointValue
variable = mdot
index = 238
height = ${z_out}
[]
[S_238]
type = SubChannelPointValue
variable = S
index = 238
height = ${z_out}
[]
[mdot_239]
type = SubChannelPointValue
variable = mdot
index = 239
height = ${z_out}
[]
[S_239]
type = SubChannelPointValue
variable = S
index = 239
height = ${z_out}
[]
[mdot_240]
type = SubChannelPointValue
variable = mdot
index = 240
height = ${z_out}
[]
[S_240]
type = SubChannelPointValue
variable = S
index = 240
height = ${z_out}
[]
[mdot_241]
type = SubChannelPointValue
variable = mdot
index = 241
height = ${z_out}
[]
[S_241]
type = SubChannelPointValue
variable = S
index = 241
height = ${z_out}
[]
[mdot_242]
type = SubChannelPointValue
variable = mdot
index = 242
height = ${z_out}
[]
[S_242]
type = SubChannelPointValue
variable = S
index = 242
height = ${z_out}
[]
[mdot_243]
type = SubChannelPointValue
variable = mdot
index = 243
height = ${z_out}
[]
[S_243]
type = SubChannelPointValue
variable = S
index = 243
height = ${z_out}
[]
[mdot_244]
type = SubChannelPointValue
variable = mdot
index = 244
height = ${z_out}
[]
[S_244]
type = SubChannelPointValue
variable = S
index = 244
height = ${z_out}
[]
[mdot_245]
type = SubChannelPointValue
variable = mdot
index = 245
height = ${z_out}
[]
[S_245]
type = SubChannelPointValue
variable = S
index = 245
height = ${z_out}
[]
[mdot_246]
type = SubChannelPointValue
variable = mdot
index = 246
height = ${z_out}
[]
[S_246]
type = SubChannelPointValue
variable = S
index = 246
height = ${z_out}
[]
[mdot_247]
type = SubChannelPointValue
variable = mdot
index = 247
height = ${z_out}
[]
[S_247]
type = SubChannelPointValue
variable = S
index = 247
height = ${z_out}
[]
[mdot_248]
type = SubChannelPointValue
variable = mdot
index = 248
height = ${z_out}
[]
[S_248]
type = SubChannelPointValue
variable = S
index = 248
height = ${z_out}
[]
[mdot_249]
type = SubChannelPointValue
variable = mdot
index = 249
height = ${z_out}
[]
[S_249]
type = SubChannelPointValue
variable = S
index = 249
height = ${z_out}
[]
[mdot_250]
type = SubChannelPointValue
variable = mdot
index = 250
height = ${z_out}
[]
[S_250]
type = SubChannelPointValue
variable = S
index = 250
height = ${z_out}
[]
[mdot_251]
type = SubChannelPointValue
variable = mdot
index = 251
height = ${z_out}
[]
[S_251]
type = SubChannelPointValue
variable = S
index = 251
height = ${z_out}
[]
[mdot_252]
type = SubChannelPointValue
variable = mdot
index = 252
height = ${z_out}
[]
[S_252]
type = SubChannelPointValue
variable = S
index = 252
height = ${z_out}
[]
[mdot_253]
type = SubChannelPointValue
variable = mdot
index = 253
height = ${z_out}
[]
[S_253]
type = SubChannelPointValue
variable = S
index = 253
height = ${z_out}
[]
[mdot_254]
type = SubChannelPointValue
variable = mdot
index = 254
height = ${z_out}
[]
[S_254]
type = SubChannelPointValue
variable = S
index = 254
height = ${z_out}
[]
[mdot_255]
type = SubChannelPointValue
variable = mdot
index = 255
height = ${z_out}
[]
[S_255]
type = SubChannelPointValue
variable = S
index = 255
height = ${z_out}
[]
[mdot_256]
type = SubChannelPointValue
variable = mdot
index = 256
height = ${z_out}
[]
[S_256]
type = SubChannelPointValue
variable = S
index = 256
height = ${z_out}
[]
[mdot_257]
type = SubChannelPointValue
variable = mdot
index = 257
height = ${z_out}
[]
[S_257]
type = SubChannelPointValue
variable = S
index = 257
height = ${z_out}
[]
[]
(modules/subchannel/test/tests/problems/psbt/psbt_explicit.i)
T_in = 359.15
# [1e+6 kg/m^2-hour] turns into kg/m^2-sec
mass_flux_in = '${fparse 1e+6 * 17.00 / 3600.}'
P_out = 4.923e6 # Pa
pin_diameter = 0.00950
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 6
ny = 6
n_cells = 10
pitch = 0.0126
pin_diameter = ${pin_diameter}
side_gap = 0.00095
heated_length = 1.0
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[water]
type = Water97FluidProperties
[]
[]
[SubChannel]
type = QuadSubChannel1PhaseProblem
fp = water
n_blocks = 1
compute_density = true
compute_viscosity = true
compute_power = true
P_out = ${P_out}
verbose_subchannel = true
friction_closure = 'MATRA'
pin_HTC_closure = 'Dittus-Boelter'
full_output = true
mixing_closure ='constant_beta'
[]
[SCMClosures]
[MATRA]
type = SCMFrictionMATRA
[]
[Dittus-Boelter]
type = SCMHTCDittusBoelter
[]
[constant_beta]
type = SCMMixingConstantBeta
beta = 0.006
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMQuadPowerIC
variable = q_prime
power = 1.0e6 # W
filename = "power_profile.txt" #type in name of file that describes radial power profile
block = fuel_pins
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = water
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = water
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = water
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = report_mass_flux_inlet
execute_on = 'timestep_begin'
block = subchannel
[]
[]
[Postprocessors]
[report_mass_flux_inlet]
type = Receiver
default = ${mass_flux_in}
[]
[total_pressure_drop]
type = SubChannelDelta
variable = P
execute_on = "timestep_end"
[]
[T1]
type = SubChannelPointValue
variable = T
index = 0
execute_on = "timestep_end"
height = 1
[]
[T2]
type = SubChannelPointValue
variable = T
index = 7
execute_on = "timestep_end"
height = 1
[]
[T3]
type = SubChannelPointValue
variable = T
index = 14
execute_on = "timestep_end"
height = 1
[]
[T4]
type = SubChannelPointValue
variable = T
index = 21
execute_on = "timestep_end"
height = 1
[]
[T5]
type = SubChannelPointValue
variable = T
index = 28
execute_on = "timestep_end"
height = 1
[]
[T6]
type = SubChannelPointValue
variable = T
index = 35
execute_on = "timestep_end"
height = 1
[]
[]
[Outputs]
csv = true
[]
[Executioner]
type = Steady
[]
(modules/subchannel/test/tests/ics/quad_flow_area/test.i)
[QuadSubChannelMesh]
[sub_channel]
type = SCMQuadAssemblyMeshGenerator
nx = 3
ny = 3
n_cells = 10
pitch = 0.25
pin_diameter = 0.125
side_gap = 0.1
heated_length = 1
spacer_k = '0.0'
spacer_z = '0'
[]
[]
[Variables]
[S]
[]
[]
[ICs]
[S_IC]
type = SCMQuadFlowAreaIC
variable = S
[]
[]
[Postprocessors]
[center]
type = SubChannelPointValue
variable = S
index = 4
execute_on = 'timestep_end'
height = 0.5
[]
[edge]
type = SubChannelPointValue
variable = S
index = 1
execute_on = 'timestep_end'
height = 0.5
[]
[corner]
type = SubChannelPointValue
variable = S
index = 0
execute_on = 'timestep_end'
height = 0.5
[]
[]
[Problem]
solve = false
[]
[Executioner]
type = Steady
[]
[Outputs]
exodus = false
csv = true
[]
(modules/subchannel/validation/areva_FCTF/non_deformed_duct_pp.i)
[Postprocessors]
##### Pressure on Face B at various axial heights
##### -4 pitch from heated entrance
[Pressure_FB01]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 0.0
[]
##### -3 pitch from heated entrance
[Pressure_FB02]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 0.285
[]
##### -2 pitch from heated entrance
[Pressure_FB03]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 0.57
[]
##### -1.5 pitch from heated entrance
[Pressure_FB04]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 0.7125
[]
##### -0.5 pitch from heated entrance
[Pressure_FB05]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 0.9975
[]
##### 0 pitch from heated entrance
[Pressure_FB06]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 1.14
[]
##### 0.5 pitch from heated entrance
[Pressure_FB07]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 1.2825
[]
#### 3 pitch from heated entrance
[Pressure_FB08]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 1.995
[]
#### 6 pitch from heated entrance
[Pressure_FB09]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 2.85
[]
#### 8 pitch from heated entrance
[Pressure_FB10]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 3.42
[]
###### Temperature at 4' and 6' o clock at plane B (SC) ##########
###### Plane B is 4.4167 P above start of heated section
###### Plane B: z = 2.3987595
[Temp_B_01]
type = SubChannelPointValue
variable = T
index = 14
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_02]
type = SubChannelPointValue
variable = T
index = 28
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_03]
type = SubChannelPointValue
variable = T
index = 45
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_04]
type = SubChannelPointValue
variable = T
index = 47
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_05]
type = SubChannelPointValue
variable = T
index = 33
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_06]
type = SubChannelPointValue
variable = T
index = 23
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_07]
type = SubChannelPointValue
variable = T
index = 39
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_08]
type = SubChannelPointValue
variable = T
index = 62
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_09]
type = SubChannelPointValue
variable = T
index = 86
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_10]
type = SubChannelPointValue
variable = T
index = 66
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_11]
type = SubChannelPointValue
variable = T
index = 51
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_12]
type = SubChannelPointValue
variable = T
index = 77
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_13]
type = SubChannelPointValue
variable = T
index = 79
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_14]
type = SubChannelPointValue
variable = T
index = 106
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_15]
type = SubChannelPointValue
variable = T
index = 112
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_16]
type = SubChannelPointValue
variable = T
index = 111
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_17]
type = SubChannelPointValue
variable = T
index = 117
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_18]
type = SubChannelPointValue
variable = T
index = 119
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_19]
type = SubChannelPointValue
variable = T
index = 120
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_20]
type = SubChannelPointValue
variable = T
index = 95
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_21]
type = SubChannelPointValue
variable = T
index = 54
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_22]
type = SubChannelPointValue
variable = T
index = 56
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
########### Planar mean of temperature at plane B
[Temp_B]
type = SCMPlanarMean
variable = T
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
####### Temperature at wall E at plane B
[Temp_B_E1]
type = SubChannelPointValue
variable = T
index = 121
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_E2]
type = SubChannelPointValue
variable = T
index = 123
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_E4]
type = SubChannelPointValue
variable = T
index = 124
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
[Temp_B_E5]
type = SubChannelPointValue
variable = T
index = 125
execute_on = 'TIMESTEP_END'
height = 2.3987595
[]
# ###### Temperature at 8 and 10 'o clock at plane C ##########
# ###### Plane C is 6.75 P above start of heated section
# ###### Plane C: z = 3.06375 [m]
# [Temp_C_01]
# type = SubChannelPointValue
# variable = T
# index = 25
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_02]
# type = SubChannelPointValue
# variable = T
# index = 15
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_03]
# type = SubChannelPointValue
# variable = T
# index = 18
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_04]
# type = SubChannelPointValue
# variable = T
# index = 32
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_05]
# type = SubChannelPointValue
# variable = T
# index = 51
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_06]
# type = SubChannelPointValue
# variable = T
# index = 53
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_07]
# type = SubChannelPointValue
# variable = T
# index = 56
# execute_on = 'TIMESTEP_END'
# height = 2.3987595
# []
# [Temp_C_08]
# type = SubChannelPointValue
# variable = T
# index = 29
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_09]
# type = SubChannelPointValue
# variable = T
# index = 47
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_10]
# type = SubChannelPointValue
# variable = T
# index = 67
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_11]
# type = SubChannelPointValue
# variable = T
# index = 93
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_12]
# type = SubChannelPointValue
# variable = T
# index = 76
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_13]
# type = SubChannelPointValue
# variable = T
# index = 78
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_14]
# type = SubChannelPointValue
# variable = T
# index = 79
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_15]
# type = SubChannelPointValue
# variable = T
# index = 84
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_16]
# type = SubChannelPointValue
# variable = T
# index = 85
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_17]
# type = SubChannelPointValue
# variable = T
# index = 116
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_18]
# type = SubChannelPointValue
# variable = T
# index = 120
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_19]
# type = SubChannelPointValue
# variable = T
# index = 122
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_20]
# type = SubChannelPointValue
# variable = T
# index = 97
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_21]
# type = SubChannelPointValue
# variable = T
# index = 96
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_22]
# type = SubChannelPointValue
# variable = T
# index = 99
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# ########### Planar mean of temperature at plane C
# [Temp_C]
# type = SCMPlanarMean
# variable = T
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# ####### Temperature at wall E at plane C
# [Temp_C_E1]
# type = SubChannelPointValue
# variable = T
# index = 121
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_E2]
# type = SubChannelPointValue
# variable = T
# index = 123
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_E4]
# type = SubChannelPointValue
# variable = T
# index = 124
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# [Temp_C_E5]
# type = SubChannelPointValue
# variable = T
# index = 125
# execute_on = 'TIMESTEP_END'
# height = 3.06375
# []
# ####### Area, wetted-perim, at midpoint of heated section, displacement
# ###### Mid plane is 3P above start of heated section
# ###### Mid plane: z = 7P = 1.995 [m]
[Area_1]
type = SubChannelPointValue
variable = S
index = 104
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[Area_2]
type = SubChannelPointValue
variable = S
index = 105
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[Area_3]
type = SubChannelPointValue
variable = S
index = 107
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[WP_1]
type = SubChannelPointValue
variable = w_perim
index = 104
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[WP_2]
type = SubChannelPointValue
variable = w_perim
index = 105
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[WP_3]
type = SubChannelPointValue
variable = w_perim
index = 107
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[Disp_1]
type = SubChannelPointValue
variable = displacement
index = 104
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[Disp_2]
type = SubChannelPointValue
variable = displacement
index = 105
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[Disp_3]
type = SubChannelPointValue
variable = displacement
index = 107
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[PB]
type = SubChannelPointValue
variable = P
index = 108
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[PA]
type = SubChannelPointValue
variable = P
index = 80
execute_on = 'TIMESTEP_END'
height = 1.995
[]
[]
(modules/subchannel/test/tests/problems/SFR/EBR-II/XX09_SS_SHRT17.i)
# Following Benchmark Specifications and Data Requirements for EBR-II Shutdown Heat Removal Tests SHRT-17 and SHRT-45R
# Available at: https://publications.anl.gov/anlpubs/2012/06/73647.pdf
###################################################
#Steady state subchannel calcultion,with adapted massflow rate
# Thermal-hydraulics parameters
###################################################
T_in = 624.70556 #Kelvin
Total_Surface_Area = 0.000854322 #m3
mass_flux_in = '${fparse 2.6923 / Total_Surface_Area}' #
P_out = 2.0e5
Power_initial = 486200 #W (Page 26,35 of ANL document)
###################################################
# Geometric parameters
###################################################
scale_factor = 0.01
fuel_pin_pitch = '${fparse 0.5664*scale_factor}'
fuel_pin_diameter = '${fparse 0.4419*scale_factor}'
wire_z_spacing = '${fparse 15.24*scale_factor}'
wire_diameter = '${fparse 0.1244*scale_factor}'
inner_duct_in = '${fparse 4.64*scale_factor}'
n_rings = 5
heated_length = '${fparse 34.3*scale_factor}'
unheated_length_exit = '${fparse 26.9*scale_factor}'
###################################################
[TriSubChannelMesh]
[subchannel]
type = SCMTriAssemblyMeshGenerator
nrings = ${n_rings}
n_cells = 50
flat_to_flat = ${inner_duct_in}
unheated_length_exit = ${unheated_length_exit}
heated_length = ${heated_length}
pin_diameter = ${fuel_pin_diameter}
pitch = ${fuel_pin_pitch}
dwire = ${wire_diameter}
hwire = ${wire_z_spacing}
spacer_z = '0.0'
spacer_k = '0.0'
[]
[]
[FluidProperties]
[sodium]
type = PBSodiumFluidProperties
[]
[]
[SubChannel]
type = TriSubChannel1PhaseProblem
fp = sodium
n_blocks = 1
P_out = ${P_out}
compute_density = true
compute_viscosity = true
compute_power = true
P_tol = 1.0e-4
T_tol = 1.0e-5
implicit = true
segregated = false
interpolation_scheme = 'upwind'
verbose_subchannel = true
pin_HTC_closure = 'gnielinski'
friction_closure = 'Chen'
full_output = true
mixing_closure = 'Chen_Todreas'
[]
[SCMClosures]
[Chen]
type = SCMFrictionChenTodreas
[]
[gnielinski]
type = SCMHTCGnielinski
[]
[Chen_Todreas]
type = SCMMixingChenTodreas
CT = 2.6
[]
[]
[ICs]
[q_prime_IC]
type = SCMTriPowerIC
variable = q_prime
power = ${Power_initial}
filename = "pin_power_profile61_uniform.txt"
[]
[T_ic]
type = ConstantIC
variable = T
value = ${T_in}
[]
[P_ic]
type = ConstantIC
variable = P
value = 0.0
[]
[DP_ic]
type = ConstantIC
variable = DP
value = 0.0
[]
[Viscosity_ic]
type = ViscosityIC
variable = mu
p = ${P_out}
T = T
fp = sodium
[]
[rho_ic]
type = RhoFromPressureTemperatureIC
variable = rho
p = ${P_out}
T = T
fp = sodium
[]
[h_ic]
type = SpecificEnthalpyFromPressureTemperatureIC
variable = h
p = ${P_out}
T = T
fp = sodium
[]
[mdot_ic]
type = ConstantIC
variable = mdot
value = 0.0
[]
[]
[AuxKernels]
[T_in_bc]
type = ConstantAux
variable = T
boundary = inlet
value = ${T_in}
execute_on = 'timestep_begin'
block = subchannel
[]
[mdot_in_bc]
type = SCMMassFlowRateAux
variable = mdot
boundary = inlet
area = S
mass_flux = ${mass_flux_in}
execute_on = 'timestep_begin'
[]
[]
[Postprocessors]
[TTC-27]
type = SubChannelPointValue
variable = T
index = 91
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-28]
type = SubChannelPointValue
variable = T
index = 50
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-29]
type = SubChannelPointValue
variable = T
index = 21
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-30]
type = SubChannelPointValue
variable = T
index = 4
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-31]
type = SubChannelPointValue
variable = T
index = 2
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-32]
type = SubChannelPointValue
variable = T
index = 16
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-33]
type = SubChannelPointValue
variable = T
index = 42
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-34]
type = SubChannelPointValue
variable = T
index = 80
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[TTC-35]
type = SubChannelPointValue
variable = T
index = 107
execute_on = 'TIMESTEP_END'
height = 0.322
[]
####### Assembly pressure drop
[DP_SubchannelDelta]
type = SubChannelDelta
variable = P
execute_on = 'TIMESTEP_END'
[]
#####
[Mean_Temp]
type = SCMPlanarMean
variable = T
height = 2
[]
#####
[mdot-35]
type = SubChannelPointValue
variable = mdot
index = 107
execute_on = 'TIMESTEP_END'
height = 0.322
[]
[]
[Outputs]
exodus = true
csv = true
[]
[Executioner]
type = Steady
[]