Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://www.mooseframework.org 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 : 10 : #include "CZMComputeGlobalTractionSmallStrain.h" 11 : 12 : registerMooseObject("TensorMechanicsApp", CZMComputeGlobalTractionSmallStrain); 13 : 14 : InputParameters 15 132 : CZMComputeGlobalTractionSmallStrain::validParams() 16 : { 17 132 : InputParameters params = CZMComputeGlobalTractionBase::validParams(); 18 : 19 132 : params.addClassDescription( 20 : "Computes the czm traction in global coordinates for a small strain kinematic formulation"); 21 132 : return params; 22 0 : } 23 : 24 63 : CZMComputeGlobalTractionSmallStrain::CZMComputeGlobalTractionSmallStrain( 25 63 : const InputParameters & parameters) 26 63 : : CZMComputeGlobalTractionBase(parameters) 27 : { 28 63 : } 29 : 30 : void 31 19126 : CZMComputeGlobalTractionSmallStrain::computeEquilibriumTracionAndDerivatives() 32 : { 33 19126 : _traction_global[_qp] = _czm_total_rotation[_qp] * _interface_traction[_qp]; 34 19126 : _dtraction_djump_global[_qp] = _czm_total_rotation[_qp] * _dinterface_traction_djump[_qp] * 35 19126 : _czm_total_rotation[_qp].transpose(); 36 19126 : }