https://mooseframework.inl.gov
ComputeSmallStrainMaterialBaseBPD.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 
14 {
16  params.addClassDescription("Base class for bond-based peridynamic mechanics models");
17 
18  return params;
19 }
20 
22  const InputParameters & parameters)
23  : ParametricMaterialBasePD(parameters)
24 {
25 }
26 
27 void
29 {
31  {
33  _Cij *
36  _alpha * (0.5 * (_temp[0] + _temp[1]) - _temp_ref))) *
37  _node_vol[0] * _node_vol[1];
39  -_Cij * (1.0 + _poissons_ratio) * 0.5 * _alpha * _node_vol[0] * _node_vol[1];
40  }
41  else
42  {
44  _bond_local_dfdT[_qp] = -_Cij * 0.5 * _alpha * _node_vol[0] * _node_vol[1];
45  }
46 
49 }
MaterialProperty< Real > & _bond_local_dfdU
MaterialProperty< Real > & _bond_local_force
Material properties to store.
static InputParameters validParams()
auto norm() const -> decltype(std::norm(Real()))
const Real _temp_ref
Reference temperature.
std::vector< Real > _temp
Temperature variable.
const VariableValue & _scalar_out_of_plane_strain
const bool _scalar_out_of_plane_strain_coupled
Scalar out-of-plane component of strain tensor for generalized plane strain.
unsigned int _qp
virtual void computeBondForce() override
Function to compute force of a bond.
Base material class for bond-based and ordinary state-based peridynamic models, i.e.
MaterialProperty< Real > & _bond_local_dfdT
ComputeSmallStrainMaterialBaseBPD(const InputParameters &parameters)
void addClassDescription(const std::string &doc_string)
MaterialProperty< Real > & _mechanical_stretch
MaterialProperty< Real > & _bond_local_dfdE