https://mooseframework.inl.gov
ThermalConstantHorizonMaterialBPD.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
11 #include "MathUtils.h"
12 
14 
17 {
19  params.addClassDescription(
20  "Class for computing peridynamic micro conductivity for bond-based model "
21  "using regular uniform mesh");
22 
23  return params;
24 }
25 
27  const InputParameters & parameters)
28  : ThermalMaterialBaseBPD(parameters)
29 {
30 }
31 
32 void
34 {
35  _Kij = 3.0 * ave_thermal_conductivity / M_PI *
36  (1.0 / (MathUtils::pow(_horizon_radius[0], _dim + 1)) +
37  1.0 / (MathUtils::pow(_horizon_radius[1], _dim + 1)));
38 }
Material class for bond based peridynamic heat conduction model based on regular spatial discretizati...
std::vector< Real > _horizon_radius
virtual void computePeridynamicsParams(const Real ave_thermal_conductivity) override
Function to compute micro-conductivity.
registerMooseObject("PeridynamicsApp", ThermalConstantHorizonMaterialBPD)
static InputParameters validParams()
Base material class for bond based peridynamic heat conduction models.
Real _Kij
Micro-conductivity.
void addClassDescription(const std::string &doc_string)
T pow(T x, int e)
ThermalConstantHorizonMaterialBPD(const InputParameters &parameters)