Line data Source code
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 "ADRadiativeHeatFluxRZBC.h" 11 : #include "Function.h" 12 : 13 : registerMooseObject("ThermalHydraulicsApp", ADRadiativeHeatFluxRZBC); 14 : 15 : InputParameters 16 39 : ADRadiativeHeatFluxRZBC::validParams() 17 : { 18 39 : InputParameters params = ADRadiativeHeatFluxBC::validParams(); 19 39 : params += RZSymmetry::validParams(); 20 : 21 39 : params.addClassDescription( 22 : "Radiative heat transfer boundary condition for a cylindrical heat structure"); 23 : 24 39 : return params; 25 0 : } 26 : 27 21 : ADRadiativeHeatFluxRZBC::ADRadiativeHeatFluxRZBC(const InputParameters & parameters) 28 21 : : ADRadiativeHeatFluxBC(parameters), RZSymmetry(this, parameters) 29 : { 30 21 : } 31 : 32 : ADReal 33 640 : ADRadiativeHeatFluxRZBC::computeQpResidual() 34 : { 35 640 : const Real P_heat = computeCircumference(_q_point[_qp]); 36 640 : return P_heat * ADRadiativeHeatFluxBC::computeQpResidual(); 37 : }