11 #include "MooseVariable.h"
15 #include "libmesh/quadrature.h"
22 params.addClassDescription(
"Base class for bond-based peridynamic thermal models");
24 params.addRequiredCoupledVar(
"temperature",
"Nonlinear variable name for the temperature");
25 params.addRequiredParam<MaterialPropertyName>(
"thermal_conductivity",
26 "Name of material defining thermal conductivity");
33 _temp_var(getVar(
"temperature", 0)),
35 _bond_heat_flow(declareProperty<Real>(
"bond_heat_flow")),
36 _bond_dQdT(declareProperty<Real>(
"bond_dQdT")),
37 _thermal_conductivity(getMaterialProperty<Real>(
"thermal_conductivity"))
46 Real ave_thermal_conductivity = 0.0;
47 for (
unsigned int qp = 0; qp < _qrule->n_points(); ++qp)
49 ave_thermal_conductivity /= _assembly.elemVolume();
58 for (_qp = 0; _qp <
_nnodes; ++_qp)