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 "RadiativeHeatFluxRZBC.h" 11 : #include "Function.h" 12 : 13 : registerMooseObject("ThermalHydraulicsApp", RadiativeHeatFluxRZBC); 14 : 15 : InputParameters 16 4 : RadiativeHeatFluxRZBC::validParams() 17 : { 18 4 : InputParameters params = RadiativeHeatFluxBC::validParams(); 19 4 : params += RZSymmetry::validParams(); 20 : 21 4 : params.addClassDescription("Radiative heat transfer boundary condition for a cylindrical heat " 22 : "structure in a XY coordinate system"); 23 : 24 4 : return params; 25 0 : } 26 : 27 2 : RadiativeHeatFluxRZBC::RadiativeHeatFluxRZBC(const InputParameters & parameters) 28 2 : : RadiativeHeatFluxBC(parameters), RZSymmetry(this, parameters) 29 : { 30 2 : } 31 : 32 : Real 33 144 : RadiativeHeatFluxRZBC::computeQpResidual() 34 : { 35 144 : const Real P_heat = computeCircumference(_q_point[_qp]); 36 144 : return P_heat * RadiativeHeatFluxBC::computeQpResidual(); 37 : } 38 : 39 : Real 40 64 : RadiativeHeatFluxRZBC::computeQpJacobian() 41 : { 42 64 : const Real P_heat = computeCircumference(_q_point[_qp]); 43 64 : return P_heat * RadiativeHeatFluxBC::computeQpJacobian(); 44 : }