https://mooseframework.inl.gov
TrussHeatConductionTimeDerivative.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 
13 
16 {
18  params.addClassDescription("Computes time derivative term in heat equation for truss elements, "
19  "taking cross-sectional area into account");
20  params.addCoupledVar("area", "Cross-sectional area of truss element");
21  return params;
22 }
23 
25  const InputParameters & parameters)
26  : HeatConductionTimeDerivative(parameters), _area(coupledValue("area"))
27 {
28 }
29 
30 Real
32 {
34 }
35 
36 Real
38 {
40 }
A class for defining the time derivative of the heat equation.
virtual Real computeQpJacobian() override
Compute the jacobian of the Heat Equation time derivative.
registerMooseObject("HeatTransferApp", TrussHeatConductionTimeDerivative)
virtual Real computeQpJacobian()
Compute the jacobian of the Heat Equation time derivative.
const VariableValue & _area
Coupled variable for the cross-sectional area of truss element.
static InputParameters validParams()
Contructor for Heat Equation time derivative term.
virtual Real computeQpResidual()
Compute the residual of the Heat Equation time derivative.
void addCoupledVar(const std::string &name, const std::string &doc_string)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
TrussHeatConductionTimeDerivative(const InputParameters &parameters)
virtual Real computeQpResidual() override
Compute the residual of the Heat Equation time derivative.
unsigned int _qp