- areaSegment/Component flow area [m^2]. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
C++ Type:MooseFunctorName
Unit:(no unit assumed)
Controllable:No
Description:Segment/Component flow area [m^2]. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
- fpThe name of the user object for fluid properties
C++ Type:UserObjectName
Controllable:No
Description:The name of the user object for fluid properties
- heat_transfer_coefficientHeat transfer coefficient of the fluid [W/(m^2-K)]. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
C++ Type:MooseFunctorName
Unit:(no unit assumed)
Controllable:No
Description:Heat transfer coefficient of the fluid [W/(m^2-K)]. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
- lengthSegment/Component length [m]. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
C++ Type:MooseFunctorName
Unit:(no unit assumed)
Controllable:No
Description:Segment/Component length [m]. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
- perimeterSegment/Component wetted perimeter [m]. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
C++ Type:MooseFunctorName
Unit:(no unit assumed)
Controllable:No
Description:Segment/Component wetted perimeter [m]. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
- reference_pressuresystem reference pressure [Pa]. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
C++ Type:MooseFunctorName
Unit:(no unit assumed)
Controllable:No
Description:system reference pressure [Pa]. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
- variableThe name of the variable that this residual object operates on
C++ Type:NonlinearVariableName
Unit:(no unit assumed)
Controllable:No
Description:The name of the variable that this residual object operates on
ADIncompressibleEnergySPScalarKernel
Overview
This class implements the steady-state residual of the energy equation for the Path-integrated incompressible flow model, the right-hand side of Path-Integrated Incompressible Flow Model, Eq. (7). It requires a coupled variable mass flow rate, a coupled variable upstream fluid temperature, a coupled variable downstream fluid temperature, and a coupled variable wall temperature, all given as coupled ScalarVariables. It operates on the segment temperature, :
where is a smoothed sign of the mass flow rate (equal to away from zero flow, with the constant regularizing it at ), is the bulk temperature used for wall heat transfer, and and are evaluated at and the reference pressure. The density is the density of the reference liquid at if "reference_fp" is given, and otherwise. The bulk temperature is selected with "use_fluid_node_temp":
false: , with the upwinded neighbor temperature. This is the segment-average option of Path-Integrated Incompressible Flow Model, Eq. (7).true(default): , the default of Path-Integrated Incompressible Flow Model, Eq. (7). This is monotone for any number of transfer units and any flow rate, whereas the segment average is not monotone for more than two transfer units and, at zero flow, cannot damp an odd/even mode of the node temperatures. It must match the setting of the coupled wall temperature kernel so that the wall and fluid exchange the same heat.
Note, use of this kernel with transient problems also necessitates the use of a ODETimeDerivative or ADScalarTimeDerivative, which adds the time derivative of the segment temperature, , to the residual.
This kernel takes a fluid properties object based on the SinglePhaseFluidProperties base class. It also takes functor inputs for flow area, perimeter, length, and heat transfer coefficient. All parameters are defined as functors, which should allow versatility in accepting a variety of input arguments. Furthermore, being functors, it is possible for them to be controlled via Controls as supplied Postprocessors, for example.
Some consideration should be given to the "is_implicit" parameter. This term allows the user to select whether the solve should be done with the current or the previous state values of functor properties. This may allow the system to evolve more slowly which may avoid some issues with respect to divergence of particularly unstable systems.
As a reminder, the system of variables should be defined with the "family" attribute set to SCALAR for each variable.
Input Parameters
- inlet_temperatureFluid temperature of nominal inlet segment/component (N-1). Takes a scalar variable name
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:Fluid temperature of nominal inlet segment/component (N-1). Takes a scalar variable name
- is_implicitTrueWhether an explicit (previous value calculation) or implicit (current value) is used
Default:True
C++ Type:bool
Controllable:No
Description:Whether an explicit (previous value calculation) or implicit (current value) is used
- mass_flow_rateMass flow rate in component. Takes a scalar variable name
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:Mass flow rate in component. Takes a scalar variable name
- outlet_temperatureFluid temperature of nominal outlet segment/component (N+1). Takes a scalar variable name
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:Fluid temperature of nominal outlet segment/component (N+1). Takes a scalar variable name
- reference_fpLiquid-phase fluid properties; see momentum kernel.
C++ Type:UserObjectName
Controllable:No
Description:Liquid-phase fluid properties; see momentum kernel.
- use_fluid_node_tempTrueWhether to use fluid node temperature for wall heat transfer or a segment-averaged value. Must match the setting of the coupled ADPipeInnerWallTemperatureScalarKernel so wall and fluid exchange the same heat.
Default:True
C++ Type:bool
Controllable:No
Description:Whether to use fluid node temperature for wall heat transfer or a segment-averaged value. Must match the setting of the coupled ADPipeInnerWallTemperatureScalarKernel so wall and fluid exchange the same heat.
- wall_temperatureWall temperature adjacent to fluid. Takes a scalar variable name
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:Wall temperature adjacent to fluid. Takes a scalar variable name
Optional Parameters
- absolute_value_vector_tagsThe tags for the vectors this residual object should fill with the absolute value of the residual contribution
C++ Type:std::vector<TagName>
Controllable:No
Description:The tags for the vectors this residual object should fill with the absolute value of the residual contribution
- extra_matrix_tagsThe extra tags for the matrices this Kernel should fill
C++ Type:std::vector<TagName>
Controllable:No
Description:The extra tags for the matrices this Kernel should fill
- extra_vector_tagsThe extra tags for the vectors this Kernel should fill
C++ Type:std::vector<TagName>
Controllable:No
Description:The extra tags for the vectors this Kernel should fill
- matrix_onlyFalseWhether this object is only doing assembly to matrices (no vectors)
Default:False
C++ Type:bool
Controllable:No
Description:Whether this object is only doing assembly to matrices (no vectors)
- matrix_tagssystemThe tag for the matrices this Kernel should fill
Default:system
C++ Type:MultiMooseEnum
Controllable:No
Description:The tag for the matrices this Kernel should fill
- vector_tagsnontimeThe tag for the vectors this Kernel should fill
Default:nontime
C++ Type:MultiMooseEnum
Controllable:No
Description:The tag for the vectors this Kernel should fill
Contribution To Tagged Field Data 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.
- implicitTrueDetermines whether this object is calculated using an implicit or explicit form
Default:True
C++ Type:bool
Controllable:No
Description:Determines whether this object is calculated using an implicit or explicit form
- seed0The seed for the master random number generator
Default:0
C++ Type:unsigned int
Controllable:No
Description:The seed for the master random number generator
- 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
- (modules/thermal_hydraulics/test/tests/scalarkernels/PathIntegratedIncompressibleVerification/ADheat_threeseg.i)
- (modules/thermal_hydraulics/test/tests/scalarkernels/PathIntegratedIncompressibleVerification/ADheatreverse.i)
- (modules/thermal_hydraulics/test/tests/scalarkernels/PathIntegratedIncompressibleVerification/ADheat.i)
- (modules/thermal_hydraulics/test/tests/scalarkernels/PathIntegratedIncompressibleVerification/ADheat_twoseg.i)
- (modules/thermal_hydraulics/test/tests/scalarkernels/PathIntegratedIncompressibleVerification/ADheat_exp.i)