https://mooseframework.inl.gov
CZMComputeLocalTractionIncrementalBase.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 
17  params.addClassDescription(
18  "Base class for implementing incremental cohesive zone constituive material models");
19  params.addRequiredCoupledVar("displacements",
20  "The string of displacements suitable for the problem statement");
21  params.suppressParameter<bool>("use_displaced_mesh");
22  return params;
23 }
24 
26  const InputParameters & parameters)
27  : CZMComputeLocalTractionBase(parameters),
28  _interface_traction_inc(
29  declarePropertyByName<RealVectorValue>(_base_name + "interface_traction_inc")),
30  _interface_traction_old(
31  getMaterialPropertyOldByName<RealVectorValue>(_base_name + "interface_traction")),
32  _interface_displacement_jump_inc(
33  declarePropertyByName<RealVectorValue>(_base_name + "interface_displacement_jump_inc")),
34  _interface_displacement_jump_old(
35  getMaterialPropertyOldByName<RealVectorValue>(_base_name + "interface_displacement_jump"))
36 {
37 }
38 
39 void
41 {
46 }
const MaterialProperty< RealVectorValue > & _interface_traction_old
the old interface traction value
Base class used to implement traction separetion laws.
CZMComputeLocalTractionIncrementalBase(const InputParameters &parameters)
virtual void computeInterfaceTractionIncrementAndDerivatives()=0
method used to compute the traction increment and its derivatives
MaterialProperty< RealVectorValue > & _interface_traction
the value of the traction in local coordinates
void suppressParameter(const std::string &name)
unsigned int _qp
MaterialProperty< RealVectorValue > & _interface_displacement_jump_inc
The displacment jump incremenet in local coordinates.
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
void computeInterfaceTractionAndDerivatives() override
method used to compute the total traction
const MaterialProperty< RealVectorValue > & _interface_displacement_jump_old
The old interface displacment jump.
static InputParameters validParams()
void addClassDescription(const std::string &doc_string)
const MaterialProperty< RealVectorValue > & _interface_displacement_jump
The displacment jump in local coordaintes.
MaterialProperty< RealVectorValue > & _interface_traction_inc
the value of the interface traction increment