www.mooseframework.org
Functions
TensorMechanicsPlasticSimpleTester.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< TensorMechanicsPlasticSimpleTester > ()
 

Function Documentation

template<>
InputParameters validParams< TensorMechanicsPlasticSimpleTester > ( )

Definition at line 11 of file TensorMechanicsPlasticSimpleTester.C.

12 {
13  InputParameters params = validParams<TensorMechanicsPlasticModel>();
14  params.addRequiredParam<Real>("a",
15  "Yield function = a*stress_yy + b*stress_zz + c*stress_xx + "
16  "d*(stress_xy + stress_yx)/2 + e*(stress_xz + stress_zx)/2 + "
17  "f*(stress_yz + stress_zy)/2 - strength");
18  params.addRequiredParam<Real>("b",
19  "Yield function = a*stress_yy + b*stress_zz + c*stress_xx + "
20  "d*(stress_xy + stress_yx)/2 + e*(stress_xz + stress_zx)/2 + "
21  "f*(stress_yz + stress_zy)/2 - strength");
22  params.addParam<Real>("c",
23  0,
24  "Yield function = a*stress_yy + b*stress_zz + c*stress_xx + "
25  "d*(stress_xy + stress_yx)/2 + e*(stress_xz + stress_zx)/2 + "
26  "f*(stress_yz + stress_zy)/2 - strength");
27  params.addParam<Real>("d",
28  0,
29  "Yield function = a*stress_yy + b*stress_zz + c*stress_xx + "
30  "d*(stress_xy + stress_yx)/2 + e*(stress_xz + stress_zx)/2 + "
31  "f*(stress_yz + stress_zy)/2 - strength");
32  params.addParam<Real>("e",
33  0,
34  "Yield function = a*stress_yy + b*stress_zz + c*stress_xx + "
35  "d*(stress_xy + stress_yx)/2 + e*(stress_xz + stress_zx)/2 + "
36  "f*(stress_yz + stress_zy)/2 - strength");
37  params.addParam<Real>("f",
38  0,
39  "Yield function = a*stress_yy + b*stress_zz + c*stress_xx + "
40  "d*(stress_xy + stress_yx)/2 + e*(stress_xz + stress_zx)/2 + "
41  "f*(stress_yz + stress_zy)/2 - strength");
42  params.addRequiredParam<Real>("strength",
43  "Yield function = a*stress_yy + b*stress_zz + "
44  "c*stress_xx + d*(stress_xy + stress_yx)/2 + "
45  "e*(stress_xz + stress_zx)/2 + f*(stress_yz + "
46  "stress_zy)/2 - strength");
47  params.addClassDescription("Class that can be used for testing multi-surface plasticity models. "
48  "Yield function = a*stress_yy + b*stress_zz + c*stress_xx + "
49  "d*(stress_xy + stress_yx)/2 + e*(stress_xz + stress_zx)/2 + "
50  "f*(stress_yz + stress_zy)/2 - strength");
51 
52  return params;
53 }
InputParameters validParams< TensorMechanicsPlasticModel >()