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 17 : ADRadiativeHeatFluxRZBC::validParams() 17 : { 18 17 : InputParameters params = ADRadiativeHeatFluxBC::validParams(); 19 17 : params += RZSymmetry::validParams(); 20 : 21 17 : params.addClassDescription( 22 : "Radiative heat transfer boundary condition for a cylindrical heat structure"); 23 : 24 17 : return params; 25 0 : } 26 : 27 9 : ADRadiativeHeatFluxRZBC::ADRadiativeHeatFluxRZBC(const InputParameters & parameters) 28 9 : : ADRadiativeHeatFluxBC(parameters), RZSymmetry(this, parameters) 29 : { 30 9 : } 31 : 32 : ADReal 33 400 : ADRadiativeHeatFluxRZBC::computeQpResidual() 34 : { 35 400 : const Real P_heat = computeCircumference(_q_point[_qp]); 36 400 : return P_heat * ADRadiativeHeatFluxBC::computeQpResidual(); 37 : }