www.mooseframework.org
WeakPlaneStress.h
Go to the documentation of this file.
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 #pragma once
11 
12 #include "Kernel.h"
14 #include "RankTwoTensorForward.h"
15 #include "RankFourTensorForward.h"
16 
18 {
19 public:
21 
22  WeakPlaneStress(const InputParameters & parameters);
23 
24 protected:
25  virtual Real computeQpResidual() override;
26  virtual Real computeQpJacobian() override;
27  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
28 
30  const std::string _base_name;
31 
35 
37  const unsigned int _direction;
38 
40  const bool _disp_coupled;
41 
43  unsigned int _ndisp;
44 
46  std::vector<unsigned int> _disp_var;
47 
48  const bool _temp_coupled;
49  const unsigned int _temp_var;
50 
52  std::vector<const MaterialProperty<RankTwoTensor> *> _deigenstrain_dT;
53 };
virtual Real computeQpJacobian() override
const MaterialProperty< RankFourTensor > & _Jacobian_mult
std::vector< const MaterialProperty< RankTwoTensor > * > _deigenstrain_dT
d(strain)/d(temperature), if computed by ComputeThermalExpansionEigenstrain
std::vector< unsigned int > _disp_var
Variable numbers of the displacement variables.
WeakPlaneStress(const InputParameters &parameters)
const unsigned int _temp_var
unsigned int _ndisp
Number of displacement variables.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< RankTwoTensor > & _stress
The stress tensor that provides the out-of-plane stress.
const bool _temp_coupled
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const unsigned int _direction
The direction of the out-of-plane strain variable.
const std::string _base_name
Base name of the material system that this kernel applies to.
const bool _disp_coupled
Coupled displacement variables.
virtual Real computeQpResidual() override
static InputParameters validParams()