https://mooseframework.inl.gov
HSCoupler2D3DBC.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 
10 #include "HSCoupler2D3DBC.h"
12 
13 registerMooseObject("ThermalHydraulicsApp", HSCoupler2D3DBC);
14 
17 {
19 
20  params.addRequiredParam<UserObjectName>("hs_coupler_2d3d_uo", "The HSCoupler2D3D user object");
21  params.addClassDescription("Adds boundary heat flux terms for HSCoupler2D3D");
22 
23  return params;
24 }
25 
27  : ADIntegratedBC(parameters),
28 
29  _hs_coupler_2d3d_uo(getUserObject<HSCoupler2D3DUserObject>("hs_coupler_2d3d_uo"))
30 {
31 }
32 
33 ADReal
35 {
37 }
const HSCoupler2D3DUserObject & _hs_coupler_2d3d_uo
HSCoupler2D3D user object.
static InputParameters validParams()
const Elem *const & _current_elem
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
void addRequiredParam(const std::string &name, const std::string &doc_string)
unsigned int _qp
HSCoupler2D3DBC(const InputParameters &parameters)
const std::vector< ADReal > & getHeatFlux(dof_id_type elem_id) const
Gets the heat fluxes for each quadrature point for a given element ID.
Computes heat fluxes for HSCoupler2D3D.
Adds heat flux terms for HSCoupler2D3D.
virtual ADReal computeQpResidual() override
const ADTemplateVariableTestValue< T > & _test
void addClassDescription(const std::string &doc_string)
registerMooseObject("ThermalHydraulicsApp", HSCoupler2D3DBC)