https://mooseframework.inl.gov
HSCoupler2D2DRadiationRZBC.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
12 
13 registerMooseObject("ThermalHydraulicsApp", HSCoupler2D2DRadiationRZBC);
14 
17 {
19  params += RZSymmetry::validParams();
20 
21  params.addRequiredParam<UserObjectName>("hs_coupler_2d2d_uo",
22  "The HSCoupler2D2DRadiation user object");
23  params.addClassDescription("Adds boundary heat flux terms for HSCoupler2D2DRadiation");
24 
25  return params;
26 }
27 
29  : ADIntegratedBC(parameters),
30  RZSymmetry(this, parameters),
31 
32  _hs_coupler_2d2d_uo(getUserObject<HSCoupler2D2DRadiationUserObject>("hs_coupler_2d2d_uo"))
33 {
34 }
35 
36 ADReal
38 {
41 }
Interface class for enabling objects to be RZ symmetric about arbitrary axis.
Definition: RZSymmetry.h:19
const Elem *const & _current_elem
const std::vector< ADReal > & getHeatFlux(dof_id_type elem_id) const
Gets the heat fluxes for each quadrature point for a given element ID.
static InputParameters validParams()
HSCoupler2D2DRadiationRZBC(const InputParameters &parameters)
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
void addRequiredParam(const std::string &name, const std::string &doc_string)
unsigned int _qp
virtual ADReal computeQpResidual() override
const MooseArray< Point > & _q_point
const HSCoupler2D2DRadiationUserObject & _hs_coupler_2d2d_uo
HSCoupler2D2DRadiation user object.
virtual Real computeCircumference(const RealVectorValue &pt)
Definition: RZSymmetry.C:85
const ADTemplateVariableTestValue< T > & _test
void addClassDescription(const std::string &doc_string)
registerMooseObject("ThermalHydraulicsApp", HSCoupler2D2DRadiationRZBC)
Computes heat fluxes for HSCoupler2D2DRadiation.
Adds heat flux terms for HSCoupler2D2DRadiation.
static InputParameters validParams()
Definition: RZSymmetry.C:17