https://mooseframework.inl.gov
StretchBasedFailureCriterionPD.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 
13 
16 {
18  params.addClassDescription("Class for bond stretch failure criterion in bond-based model and "
19  "ordinary state-based model");
20 
21  return params;
22 }
23 
25  : BondStatusBasePD(parameters),
26  _mechanical_stretch(getMaterialProperty<Real>("mechanical_stretch"))
27 {
28 }
29 
30 Real
32 {
33  return _mechanical_stretch[0] - _critical_val[0];
34 }
StretchBasedFailureCriterionPD(const InputParameters &parameters)
static InputParameters validParams()
registerMooseObject("PeridynamicsApp", StretchBasedFailureCriterionPD)
const MaterialProperty< Real > & _mechanical_stretch
Material property containing the mechanical stretch.
virtual Real computeFailureCriterionValue() override
Function to compute the value of a given failure criterion.
const VariableValue & _critical_val
Critical AuxVariable.
Base AuxKernel class for different failure criteria to update the bond status A bond is broken and th...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Bond stretch based failure ctriterion to update the bond status for fracture modeling.
void addClassDescription(const std::string &doc_string)