www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
OutOfPlaneStress Class Reference

#include <OutOfPlaneStress.h>

Inheritance diagram for OutOfPlaneStress:
[legend]

Public Member Functions

 OutOfPlaneStress (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 
virtual Real computeQpOffDiagJacobian (unsigned int jvar)
 

Protected Attributes

const MaterialProperty< SymmTensor > & _stress
 
const MaterialProperty< SymmElasticityTensor > & _Jacobian_mult
 
const MaterialProperty< SymmTensor > & _d_stress_dT
 

Private Attributes

const bool _xdisp_coupled
 
const bool _ydisp_coupled
 
const bool _temp_coupled
 
const unsigned int _xdisp_var
 
const unsigned int _ydisp_var
 
const unsigned int _temp_var
 

Detailed Description

Definition at line 22 of file OutOfPlaneStress.h.

Constructor & Destructor Documentation

◆ OutOfPlaneStress()

OutOfPlaneStress::OutOfPlaneStress ( const InputParameters &  parameters)

Definition at line 33 of file OutOfPlaneStress.C.

34  : Kernel(parameters),
35  _stress(getMaterialProperty<SymmTensor>("stress" +
36  getParam<std::string>("appended_property_name"))),
37  _Jacobian_mult(getMaterialProperty<SymmElasticityTensor>(
38  "Jacobian_mult" + getParam<std::string>("appended_property_name"))),
39  _d_stress_dT(getMaterialProperty<SymmTensor>("d_stress_dT" +
40  getParam<std::string>("appended_property_name"))),
41  _xdisp_coupled(isCoupled("disp_x")),
42  _ydisp_coupled(isCoupled("disp_y")),
43  _temp_coupled(isCoupled("temp")),
44  _xdisp_var(_xdisp_coupled ? coupled("disp_x") : 0),
45  _ydisp_var(_ydisp_coupled ? coupled("disp_y") : 0),
46  _temp_var(_temp_coupled ? coupled("temp") : 0)
47 {
48  mooseDeprecated(name(), ": OutOfPlaneStress is deprecated. \
49  The solid_mechanics module will be removed from MOOSE on July 31, 2020. \
50  Please update your input files to utilize the tensor_mechanics equivalents of \
51  models based on solid_mechanics. A detailed migration guide that was developed \
52  for BISON, but which is generally applicable to any MOOSE model is available at: \
53  https://mooseframework.org/bison/tutorials/mechanics_conversion/overview.html");
54 }

Member Function Documentation

◆ computeQpJacobian()

Real OutOfPlaneStress::computeQpJacobian ( )
protectedvirtual

Definition at line 63 of file OutOfPlaneStress.C.

64 {
65  Real C33 = _Jacobian_mult[_qp].valueAtIndex(11);
66  return C33 * _test[_i][_qp] * _phi[_j][_qp];
67 }

◆ computeQpOffDiagJacobian()

Real OutOfPlaneStress::computeQpOffDiagJacobian ( unsigned int  jvar)
protectedvirtual

Definition at line 70 of file OutOfPlaneStress.C.

71 {
72  return 0;
73 }

◆ computeQpResidual()

Real OutOfPlaneStress::computeQpResidual ( )
protectedvirtual

Definition at line 57 of file OutOfPlaneStress.C.

58 {
59  return _stress[_qp].component(2) * _test[_i][_qp];
60 }

Member Data Documentation

◆ _d_stress_dT

const MaterialProperty<SymmTensor>& OutOfPlaneStress::_d_stress_dT
protected

Definition at line 36 of file OutOfPlaneStress.h.

◆ _Jacobian_mult

const MaterialProperty<SymmElasticityTensor>& OutOfPlaneStress::_Jacobian_mult
protected

Definition at line 35 of file OutOfPlaneStress.h.

Referenced by computeQpJacobian().

◆ _stress

const MaterialProperty<SymmTensor>& OutOfPlaneStress::_stress
protected

Definition at line 34 of file OutOfPlaneStress.h.

Referenced by computeQpResidual().

◆ _temp_coupled

const bool OutOfPlaneStress::_temp_coupled
private

Definition at line 41 of file OutOfPlaneStress.h.

◆ _temp_var

const unsigned int OutOfPlaneStress::_temp_var
private

Definition at line 45 of file OutOfPlaneStress.h.

◆ _xdisp_coupled

const bool OutOfPlaneStress::_xdisp_coupled
private

Definition at line 39 of file OutOfPlaneStress.h.

◆ _xdisp_var

const unsigned int OutOfPlaneStress::_xdisp_var
private

Definition at line 43 of file OutOfPlaneStress.h.

◆ _ydisp_coupled

const bool OutOfPlaneStress::_ydisp_coupled
private

Definition at line 40 of file OutOfPlaneStress.h.

◆ _ydisp_var

const unsigned int OutOfPlaneStress::_ydisp_var
private

Definition at line 44 of file OutOfPlaneStress.h.


The documentation for this class was generated from the following files:
OutOfPlaneStress::_ydisp_coupled
const bool _ydisp_coupled
Definition: OutOfPlaneStress.h:40
OutOfPlaneStress::_xdisp_var
const unsigned int _xdisp_var
Definition: OutOfPlaneStress.h:43
OutOfPlaneStress::_temp_coupled
const bool _temp_coupled
Definition: OutOfPlaneStress.h:41
OutOfPlaneStress::_xdisp_coupled
const bool _xdisp_coupled
Definition: OutOfPlaneStress.h:39
OutOfPlaneStress::_ydisp_var
const unsigned int _ydisp_var
Definition: OutOfPlaneStress.h:44
OutOfPlaneStress::_d_stress_dT
const MaterialProperty< SymmTensor > & _d_stress_dT
Definition: OutOfPlaneStress.h:36
OutOfPlaneStress::_temp_var
const unsigned int _temp_var
Definition: OutOfPlaneStress.h:45
name
const std::string name
Definition: Setup.h:21
OutOfPlaneStress::_stress
const MaterialProperty< SymmTensor > & _stress
Definition: OutOfPlaneStress.h:34
OutOfPlaneStress::_Jacobian_mult
const MaterialProperty< SymmElasticityTensor > & _Jacobian_mult
Definition: OutOfPlaneStress.h:35