- bundle_pitchBundle pitch, or flat-to-flat distance across bundle
C++ Type:double
Controllable:No
Description:Bundle pitch, or flat-to-flat distance across bundle
- n_ringsNumber of pin rings, including the centermost pin as a 'ring'
C++ Type:unsigned int
Controllable:No
Description:Number of pin rings, including the centermost pin as a 'ring'
- pin_diameterPin outer diameter
C++ Type:double
Controllable:No
Description:Pin outer diameter
- pin_pitchPin pitch, or distance between pin centers
C++ Type:double
Controllable:No
Description:Pin pitch, or distance between pin centers
HexagonalSubchannelGapBin
Creates a unique spatial bin for each subchannel in a hexagonal lattice
Description
This user object bins the spatial domain according to a unique index for each gap in a subchannel discretization of an array of pins in a triangular lattice enclosed by a hexagonal prism. Each gap consists of the line between two pins or the line between a pin and a duct wall. For gaps that connect two pins, ordering is done first by sorting on the lower pin ID in the pair, and next by the higher pin ID in the pair. For instance, in the gaps shown in Figure 1, the interior gaps are ordered as:
gap 0: pin 0 - pin 1,
gap 1: pin 0 - pin 2,
gap 2: pin 0 - pin 3,
gap 3: pin 0 - pin 4,
gap 4: pin 0 - pin 5,
gap 5: pin 0 - pin 6,
gap 6: pin 1 - pin 2,
gap 7: pin 1 - pin 6,
gap 8: pin 1 - pin 7,
gap 9: pin 1 - pin 8,
gap 10: pin 1 - pin 18,
gap 11: pin 2 - pin 3,
gap 12: pin 2 - pin 8, etc.
For the gaps connecting a pin to a wall, called "peripheral gaps" here, the ordering is counterclockwise starting with the gap connecting the pin in the "upper right" corner of the assembly to the top duct wall.
Some user objects allow taking averages of velocity projected onto the gap planes. The unit normals for the planes are defined to be in the counter-clockwise direction as shown in Figure 1.
Example Input Syntax
Below is an example input file that computes gap indices (bins) for a subchannel discretization.
[UserObjects]
[subchannel_bins]
type = HexagonalSubchannelGapBin
bundle_pitch = ${bundle_pitch}
pin_pitch = 0.0089656996
pin_diameter = 7.646e-3
n_rings = 3
[]
[]
(test/tests/userobjects/hexagonal_gap_bin/subchannel.i)The value of the userobject is shown below; in white are shown the numbering for the pins (which determine the gap indexing), and in black the numbering for the gaps.
Input Parameters
- axiszvertical axis of the reactor (x, y, or z) along which pins are aligned
Default:z
C++ Type:MooseEnum
Controllable:No
Description:vertical axis of the reactor (x, y, or z) along which pins are aligned
- execute_onTIMESTEP_ENDThe list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, POSTCHECK, TIMESTEP_END, TIMESTEP_BEGIN, MULTIAPP_FIXED_POINT_END, MULTIAPP_FIXED_POINT_BEGIN, FINAL, CUSTOM.
Default:TIMESTEP_END
C++ Type:ExecFlagEnum
Controllable:No
Description:The list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, POSTCHECK, TIMESTEP_END, TIMESTEP_BEGIN, MULTIAPP_FIXED_POINT_END, MULTIAPP_FIXED_POINT_BEGIN, FINAL, CUSTOM.
- 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
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.
Optional 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).
- 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.
- 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
- 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
Input Files
- (test/tests/userobjects/hexagonal_gap_layered/nek.i)
- (test/tests/userobjects/subchannel_layered/wrong_type.i)
- (test/tests/userobjects/hexagonal_gap_bin/subchannel.i)
- (test/tests/userobjects/hexagonal_gap_layered/normals/nek.i)
- (tutorials/subchannel/nek.i)
- (test/tests/userobjects/hexagonal_gap_layered/user_component.i)