https://mooseframework.inl.gov
ADHeatStructureEnergyRZ.C
Go to the documentation of this file.
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 
11 
12 registerMooseObject("ThermalHydraulicsApp", ADHeatStructureEnergyRZ);
13 
16 {
18  params += RZSymmetry::validParams();
19  params.addClassDescription("Computes the total energy for a cylindrical heat structure.");
20  return params;
21 }
22 
24  : ADHeatStructureEnergyBase(parameters), RZSymmetry(this, parameters)
25 {
26 }
27 
28 Real
30 {
31  const Real circumference = computeCircumference(_q_point[_qp]);
32  return circumference * ADHeatStructureEnergyBase::computeQpIntegral();
33 }
const MooseArray< Point > & _q_point
Interface class for enabling objects to be RZ symmetric about arbitrary axis.
Definition: RZSymmetry.h:19
Computes the total energy for a cylindrical heat structure.
registerMooseObject("ThermalHydraulicsApp", ADHeatStructureEnergyRZ)
ADHeatStructureEnergyRZ(const InputParameters &parameters)
static InputParameters validParams()
virtual Real computeCircumference(const RealVectorValue &pt)
Definition: RZSymmetry.C:85
Base class for computing the total energy for heat structures.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpIntegral() override
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()
static InputParameters validParams()
Definition: RZSymmetry.C:17