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);
virtual Real computeQpResidual() override
const MaterialProperty< Real > & _d_heat_capacity_dT
const MaterialProperty< Real > & _heat_capacity
Heat capacity and its derivatives with respect to temperature and other coupled variables.
virtual Real computeQpResidual() override
virtual Real computeQpJacobian() override
static InputParameters validParams()
virtual Real computeQpJacobian() override
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
HeatCapacityConductionTimeDerivative(const InputParameters ¶meters)
A class for defining the time derivative of the heat equation.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< const MaterialProperty< Real > * > _d_heat_capacity_dargs
registerMooseObject("HeatTransferApp", HeatCapacityConductionTimeDerivative)