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 "ADExternalAppConvectionHeatTransferRZBC.h" 11 : 12 : registerMooseObject("ThermalHydraulicsApp", ADExternalAppConvectionHeatTransferRZBC); 13 : 14 : InputParameters 15 0 : ADExternalAppConvectionHeatTransferRZBC::validParams() 16 : { 17 0 : InputParameters params = ADExternalAppConvectionHeatTransferBC::validParams(); 18 0 : params += RZSymmetry::validParams(); 19 : 20 0 : params.addClassDescription( 21 : "Convection BC from an external application for RZ domain in XY coordinate system"); 22 : 23 0 : return params; 24 0 : } 25 : 26 0 : ADExternalAppConvectionHeatTransferRZBC::ADExternalAppConvectionHeatTransferRZBC( 27 0 : const InputParameters & parameters) 28 0 : : ADExternalAppConvectionHeatTransferBC(parameters), RZSymmetry(this, parameters) 29 : { 30 0 : } 31 : 32 : ADReal 33 0 : ADExternalAppConvectionHeatTransferRZBC::computeQpResidual() 34 : { 35 0 : const Real circumference = computeCircumference(_q_point[_qp]); 36 0 : return circumference * ADExternalAppConvectionHeatTransferBC::computeQpResidual(); 37 : }