HeatConductionTimeDerivative Class Reference

A class for defining the time derivative of the heat equation. More...

#include <HeatConductionTimeDerivative.h>

Inheritance diagram for HeatConductionTimeDerivative:
[legend]

## Public Member Functions

HeatConductionTimeDerivative (const InputParameters &parameters)
Contructor for Heat Equation time derivative term. More...

## Protected Member Functions

virtual Real computeQpResidual ()
Compute the residual of the Heat Equation time derivative. More...

virtual Real computeQpJacobian ()
Compute the jacobian of the Heat Equation time derivative. More...

## Protected Attributes

const MaterialProperty< Real > & _specific_heat

const MaterialProperty< Real > & _density

## Detailed Description

A class for defining the time derivative of the heat equation.

By default this Kernel computes: $$\rho * c_p * \frac{\partial T}{\partial t},$$ where $$\rho$$ and $$c_p$$ are material properties with the names "density" and "specific_heat", respectively.

Definition at line 31 of file HeatConductionTimeDerivative.h.

## ◆ HeatConductionTimeDerivative()

 HeatConductionTimeDerivative::HeatConductionTimeDerivative ( const InputParameters & parameters )

Contructor for Heat Equation time derivative term.

Definition at line 40 of file HeatConductionTimeDerivative.C.

41  : TimeDerivative(parameters),
42  _specific_heat(getMaterialProperty<Real>("specific_heat")),
43  _density(getMaterialProperty<Real>("density_name"))
44 {
45 }
const MaterialProperty< Real > & _specific_heat
const MaterialProperty< Real > & _density

## ◆ computeQpJacobian()

 Real HeatConductionTimeDerivative::computeQpJacobian ( )
protectedvirtual

Compute the jacobian of the Heat Equation time derivative.

Definition at line 54 of file HeatConductionTimeDerivative.C.

55 {
56  return _specific_heat[_qp] * _density[_qp] * TimeDerivative::computeQpJacobian();
57 }
const MaterialProperty< Real > & _specific_heat
const MaterialProperty< Real > & _density

## ◆ computeQpResidual()

 Real HeatConductionTimeDerivative::computeQpResidual ( )
protectedvirtual

Compute the residual of the Heat Equation time derivative.

Definition at line 48 of file HeatConductionTimeDerivative.C.

49 {
50  return _specific_heat[_qp] * _density[_qp] * TimeDerivative::computeQpResidual();
51 }
const MaterialProperty< Real > & _specific_heat
const MaterialProperty< Real > & _density

## ◆ _density

 const MaterialProperty& HeatConductionTimeDerivative::_density
protected

Definition at line 45 of file HeatConductionTimeDerivative.h.

Referenced by computeQpJacobian(), and computeQpResidual().

## ◆ _specific_heat

 const MaterialProperty& HeatConductionTimeDerivative::_specific_heat
protected

Definition at line 44 of file HeatConductionTimeDerivative.h.

Referenced by computeQpJacobian(), and computeQpResidual().

The documentation for this class was generated from the following files: