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