https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
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
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("ThermalHydraulicsApp", HSCoupler2D2DRadiationRZBC)
static InputParameters validParams()
const ADTemplateVariableTestValue< T > & _test
Adds heat flux terms for HSCoupler2D2DRadiation.
const HSCoupler2D2DRadiationUserObject & _hs_coupler_2d2d_uo
HSCoupler2D2DRadiation user object.
virtual ADReal computeQpResidual() override
static InputParameters validParams()
HSCoupler2D2DRadiationRZBC(const InputParameters &parameters)
Computes heat fluxes for HSCoupler2D2DRadiation.
const std::vector< ADReal > & getHeatFlux(dof_id_type elem_id) const
Gets the heat fluxes for each quadrature point for a given element ID.
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
unsigned int _qp
const Elem *const & _current_elem
const MooseArray< Point > & _q_point
Interface class for enabling objects to be RZ symmetric about arbitrary axis.
Definition RZSymmetry.h:20
virtual Real computeCircumference(const RealVectorValue &pt)
Definition RZSymmetry.C:85
static InputParameters validParams()
Definition RZSymmetry.C:17