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 21 of file OutOfPlaneStress.h.

Constructor & Destructor Documentation

OutOfPlaneStress::OutOfPlaneStress ( const InputParameters &  parameters)

Definition at line 29 of file OutOfPlaneStress.C.

30  : Kernel(parameters),
31  _stress(getMaterialProperty<SymmTensor>("stress" +
32  getParam<std::string>("appended_property_name"))),
33  _Jacobian_mult(getMaterialProperty<SymmElasticityTensor>(
34  "Jacobian_mult" + getParam<std::string>("appended_property_name"))),
35  _d_stress_dT(getMaterialProperty<SymmTensor>("d_stress_dT" +
36  getParam<std::string>("appended_property_name"))),
37  _xdisp_coupled(isCoupled("disp_x")),
38  _ydisp_coupled(isCoupled("disp_y")),
39  _temp_coupled(isCoupled("temp")),
40  _xdisp_var(_xdisp_coupled ? coupled("disp_x") : 0),
41  _ydisp_var(_ydisp_coupled ? coupled("disp_y") : 0),
42  _temp_var(_temp_coupled ? coupled("temp") : 0)
43 {
44 }
const unsigned int _temp_var
const MaterialProperty< SymmTensor > & _d_stress_dT
const MaterialProperty< SymmTensor > & _stress
const MaterialProperty< SymmElasticityTensor > & _Jacobian_mult
const unsigned int _xdisp_var
const bool _ydisp_coupled
const bool _temp_coupled
const unsigned int _ydisp_var
const bool _xdisp_coupled

Member Function Documentation

Real OutOfPlaneStress::computeQpJacobian ( )
protectedvirtual

Definition at line 53 of file OutOfPlaneStress.C.

54 {
55  Real C33 = _Jacobian_mult[_qp].valueAtIndex(11);
56  return C33 * _test[_i][_qp] * _phi[_j][_qp];
57 }
const MaterialProperty< SymmElasticityTensor > & _Jacobian_mult
Real OutOfPlaneStress::computeQpOffDiagJacobian ( unsigned int  jvar)
protectedvirtual

Definition at line 60 of file OutOfPlaneStress.C.

61 {
62  return 0;
63 }
Real OutOfPlaneStress::computeQpResidual ( )
protectedvirtual

Definition at line 47 of file OutOfPlaneStress.C.

48 {
49  return _stress[_qp].component(2) * _test[_i][_qp];
50 }
const MaterialProperty< SymmTensor > & _stress

Member Data Documentation

const MaterialProperty<SymmTensor>& OutOfPlaneStress::_d_stress_dT
protected

Definition at line 35 of file OutOfPlaneStress.h.

const MaterialProperty<SymmElasticityTensor>& OutOfPlaneStress::_Jacobian_mult
protected

Definition at line 34 of file OutOfPlaneStress.h.

Referenced by computeQpJacobian().

const MaterialProperty<SymmTensor>& OutOfPlaneStress::_stress
protected

Definition at line 33 of file OutOfPlaneStress.h.

Referenced by computeQpResidual().

const bool OutOfPlaneStress::_temp_coupled
private

Definition at line 40 of file OutOfPlaneStress.h.

const unsigned int OutOfPlaneStress::_temp_var
private

Definition at line 44 of file OutOfPlaneStress.h.

const bool OutOfPlaneStress::_xdisp_coupled
private

Definition at line 38 of file OutOfPlaneStress.h.

const unsigned int OutOfPlaneStress::_xdisp_var
private

Definition at line 42 of file OutOfPlaneStress.h.

const bool OutOfPlaneStress::_ydisp_coupled
private

Definition at line 39 of file OutOfPlaneStress.h.

const unsigned int OutOfPlaneStress::_ydisp_var
private

Definition at line 43 of file OutOfPlaneStress.h.


The documentation for this class was generated from the following files: