https://mooseframework.inl.gov
ADHeatStructureEnergy.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 
10 #include "ADHeatStructureEnergy.h"
11 
12 registerMooseObject("ThermalHydraulicsApp", ADHeatStructureEnergy);
13 
16 {
18 
19  params.addClassDescription("Computes the total energy for a plate heat structure.");
20 
21  params.addRequiredParam<Real>("plate_depth", "Depth of the heat structure if plate-type");
22 
23  return params;
24 }
25 
27  : ADHeatStructureEnergyBase(parameters), _plate_depth(getParam<Real>("plate_depth"))
28 {
30 }
31 
32 Real
34 {
36 }
MooseVariable * _T_var
Temperature variable.
virtual Real computeQpIntegral() override
void addRequiredParam(const std::string &name, const std::string &doc_string)
Computes the total energy for a plate heat structure.
static InputParameters validParams()
static InputParameters validParams()
Base class for computing the total energy for heat structures.
ADHeatStructureEnergy(const InputParameters &parameters)
void addMooseVariableDependency(MooseVariableFieldBase *var)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("ThermalHydraulicsApp", ADHeatStructureEnergy)
virtual Real computeQpIntegral() override
void addClassDescription(const std::string &doc_string)
const Real _plate_depth
Depth of the heat structure.