15 #include "libmesh/quadrature.h" 25 "thermal_conductivity",
"Name of material property defining thermal conductivity");
32 _temp_var(getVar(
"temperature", 0)),
34 _bond_heat_flow(declareProperty<
Real>(
"bond_heat_flow")),
35 _bond_dQdT(declareProperty<
Real>(
"bond_dQdT")),
36 _thermal_conductivity(getMaterialProperty<
Real>(
"thermal_conductivity"))
45 Real ave_thermal_conductivity = 0.0;
46 for (
unsigned int qp = 0; qp <
_qrule->n_points(); ++qp)
58 for (
unsigned int nd = 0; nd <
_nnodes; ++nd)
virtual void computePeridynamicsParams(const Real ave_thermal_conductivity)=0
Function to compute micro-conductivity.
const QBase *const & _qrule
auto norm() const -> decltype(std::norm(Real()))
MaterialProperty< Real > & _bond_dQdT
Base class for peridynamics material models.
MooseVariable * _temp_var
Temperature variable and values.
const MooseArray< Real > & _JxW
virtual void computeProperties() override
static InputParameters validParams()
ThermalMaterialBaseBPD(const InputParameters ¶meters)
Real _Kij
Micro-conductivity.
const MaterialProperty< Real > & _thermal_conductivity
Thermal conductivity.
OutputData getNodalValue(const Node &node) const
void setupMeshRelatedData()
Function to setup mesh related data to be used in this class.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< Real > _temp
const unsigned int _nnodes
const Real & elemVolume() const
std::vector< Real > _node_vol
MaterialProperty< Real > & _bond_heat_flow
Material properties to be stored.
const MooseArray< Real > & _coord
static InputParameters validParams()
const Elem *const & _current_elem