https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
13registerMooseObject("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
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("ThermalHydraulicsApp", HSCoupler2D3DBC)
static InputParameters validParams()
const ADTemplateVariableTestValue< T > & _test
Adds heat flux terms for HSCoupler2D3D.
virtual ADReal computeQpResidual() override
static InputParameters validParams()
const HSCoupler2D3DUserObject & _hs_coupler_2d3d_uo
HSCoupler2D3D user object.
HSCoupler2D3DBC(const InputParameters &parameters)
Computes heat fluxes for HSCoupler2D3D.
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