https://mooseframework.inl.gov
CZMComputeGlobalTractionBase.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 computing the equilibrium traction and its derivatives.");
19  params.suppressParameter<bool>("use_displaced_mesh");
20  params.addParam<std::string>("base_name", "Material property base name");
21  return params;
22 }
23 
25  : InterfaceMaterial(parameters),
26  _base_name(isParamValid("base_name") && !getParam<std::string>("base_name").empty()
27  ? getParam<std::string>("base_name") + "_"
28  : ""),
29  _traction_global(declarePropertyByName<RealVectorValue>(_base_name + "traction_global")),
30  _interface_traction(
31  getMaterialPropertyByName<RealVectorValue>(_base_name + "interface_traction")),
32  _dtraction_djump_global(
33  declarePropertyByName<RankTwoTensor>(_base_name + "dtraction_djump_global")),
34  _dinterface_traction_djump(
35  getMaterialPropertyByName<RankTwoTensor>(_base_name + "dinterface_traction_djump")),
36  _czm_total_rotation(getMaterialPropertyByName<RankTwoTensor>(_base_name + "czm_total_rotation"))
37 {
38 }
39 
40 void
42 {
43  // rotate local traction and derivatives to the global coordinate system
45 }
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
static InputParameters validParams()
CZMComputeGlobalTractionBase(const InputParameters &parameters)
void suppressParameter(const std::string &name)
virtual void computeQpProperties() override
virtual void computeEquilibriumTracionAndDerivatives()=0
method computing the equilibrium traction and its derivatives
void addClassDescription(const std::string &doc_string)