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 "ADHeatConductionRZ.h" 11 : 12 : registerMooseObject("ThermalHydraulicsApp", ADHeatConductionRZ); 13 : 14 : InputParameters 15 2681 : ADHeatConductionRZ::validParams() 16 : { 17 2681 : InputParameters params = ADHeatConduction::validParams(); 18 2681 : params += RZSymmetry::validParams(); 19 2681 : params.addClassDescription( 20 : "Adds a heat conduction term in XY coordinates interpreted as cylindrical coordinates"); 21 2681 : return params; 22 0 : } 23 : 24 1473 : ADHeatConductionRZ::ADHeatConductionRZ(const InputParameters & parameters) 25 1473 : : ADHeatConduction(parameters), RZSymmetry(this, parameters) 26 : { 27 1473 : } 28 : 29 : ADRealVectorValue 30 14919538 : ADHeatConductionRZ::precomputeQpResidual() 31 : { 32 14919538 : const ADReal circumference = computeCircumference(_q_point[_qp]); 33 14919538 : return circumference * ADHeatConduction::precomputeQpResidual(); 34 : }