www.mooseframework.org
ConsistentHeatCapacityTimeDerivative.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
8 
9 template <>
10 InputParameters
12 {
13  InputParameters params = validParams<HeatCapacityConductionTimeDerivative>();
14  params.addClassDescription("Time derivative term $(C_p + T \\frac{\\partial C_p}{\\partial T}) "
15  "\\frac{\\partial T}{\\partial t}$ of "
16  "the heat equation with the heat capacity $C_p$ as an argument.");
17  return params;
18 }
19 
21  const InputParameters & parameters)
23 {
24 }
25 
26 Real
28 {
29  return (_heat_capacity[_qp] + _d_heat_capacity_dT[_qp] * _u[_qp]) *
30  TimeDerivative::computeQpResidual();
31 }
const MaterialProperty< Real > & _heat_capacity
Heat capacity and its derivatives with respect to temperature and other coupled variables.
A class for defining the time derivative of the heat equation.
InputParameters validParams< HeatCapacityConductionTimeDerivative >()
ConsistentHeatCapacityTimeDerivative(const InputParameters &parameters)
InputParameters validParams< ConsistentHeatCapacityTimeDerivative >()