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 "HeatRateRadiationRZ.h" 11 : 12 : registerMooseObject("ThermalHydraulicsApp", HeatRateRadiationRZ); 13 : 14 : InputParameters 15 69 : HeatRateRadiationRZ::validParams() 16 : { 17 69 : InputParameters params = HeatRateRadiation::validParams(); 18 69 : params += RZSymmetry::validParams(); 19 : 20 69 : params.addClassDescription( 21 : "Integrates a cylindrical heat structure boundary radiative heat flux"); 22 : 23 69 : return params; 24 0 : } 25 : 26 33 : HeatRateRadiationRZ::HeatRateRadiationRZ(const InputParameters & parameters) 27 33 : : HeatRateRadiation(parameters), RZSymmetry(this, parameters) 28 : { 29 33 : } 30 : 31 : Real 32 920 : HeatRateRadiationRZ::computeQpIntegral() 33 : { 34 920 : const Real circumference = computeCircumference(_q_point[_qp]); 35 920 : return circumference * HeatRateRadiation::computeQpIntegral(); 36 : }