18 params.
addClassDescription(
"Time derivative term $C_p \\frac{\\partial T}{\\partial t}$ of "
19 "the heat equation with the heat capacity $C_p$ as an argument.");
23 params.
set<
bool>(
"use_displaced_mesh") =
true;
25 params.
addParam<MaterialPropertyName>(
26 "heat_capacity",
"heat_capacity",
"Property name of the heat capacity material property");
33 _heat_capacity(getMaterialProperty<Real>(
"heat_capacity")),
34 _d_heat_capacity_dT(getMaterialPropertyDerivative<Real>(
"heat_capacity", _var.
name()))
37 unsigned int nvar = _coupled_moose_vars.size();
43 for (
unsigned int i = 0; i < nvar; ++i)
45 &getMaterialPropertyDerivative<Real>(
"heat_capacity", _coupled_moose_vars[i]->
name());
66 const unsigned int cvar = mapJvarToCvar(jvar);
registerMooseObject("HeatTransferApp", HeatCapacityConductionTimeDerivative)
A class for defining the time derivative of the heat equation.
HeatCapacityConductionTimeDerivative(const InputParameters ¶meters)
static InputParameters validParams()
const MaterialProperty< Real > & _heat_capacity
Heat capacity and its derivatives with respect to temperature and other coupled variables.
std::vector< const MaterialProperty< Real > * > _d_heat_capacity_dargs
virtual Real computeQpResidual() override
const MaterialProperty< Real > & _d_heat_capacity_dT
virtual Real computeQpJacobian() override
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
static InputParameters validParams()
virtual Real computeQpResidual() override
virtual Real computeQpJacobian() override