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