https://mooseframework.inl.gov
Loading...
Searching...
No Matches
TrussHeatConduction.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 "TrussHeatConduction.h"
11#include "MooseMesh.h"
12
14
17{
19 params.addClassDescription("Computes conduction term in heat equation for truss elements, taking "
20 "cross-sectional area into account");
21 params.addCoupledVar("area", "Cross-sectional area of truss element");
22 return params;
23}
24
26 : HeatConductionKernel(parameters), _area(coupledValue("area"))
27{
28}
29
30Real
35
36Real
registerMooseObject("HeatTransferApp", TrussHeatConduction)
Note: This class is named HeatConductionKernel instead of HeatConduction to avoid a clash with the He...
static InputParameters validParams()
virtual Real computeQpJacobian()
virtual Real computeQpResidual()
void addClassDescription(const std::string &doc_string)
void addCoupledVar(const std::string &name, const std::string &doc_string)
unsigned int _qp
virtual Real computeQpResidual() override
const VariableValue & _area
Coupled variable for the cross-sectional area of truss element.
virtual Real computeQpJacobian() override
static InputParameters validParams()
TrussHeatConduction(const InputParameters &parameters)