20 params.addClassDescription(
"Time derivative term $C_p \\frac{\\partial T}{\\partial t}$ of "
21 "the heat equation with the heat capacity $C_p$ as an argument.");
25 params.set<
bool>(
"use_displaced_mesh") =
true;
27 params.addParam<MaterialPropertyName>(
28 "heat_capacity",
"heat_capacity",
"Property name of the heat capacity material property");
29 params.addCoupledVar(
"args",
"Vector of additional arguments of the heat capacity");
34 const InputParameters & parameters)
35 : DerivativeMaterialInterface<JvarMapKernelInterface<TimeDerivative>>(parameters),
36 _heat_capacity(getMaterialProperty<Real>(
"heat_capacity")),
37 _d_heat_capacity_dT(getMaterialPropertyDerivative<Real>(
"heat_capacity", _var.
name()))
40 unsigned int nvar = _coupled_moose_vars.size();
46 for (
unsigned int i = 0; i < nvar; ++i)
48 &getMaterialPropertyDerivative<Real>(
"heat_capacity", _coupled_moose_vars[i]->
name());
69 const unsigned int cvar = mapJvarToCvar(jvar);