www.mooseframework.org
TensorMechanicsPlasticSimpleTester.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 
13 
15 
16 template <>
18 
26 {
27 public:
28  static InputParameters validParams();
29 
30  TensorMechanicsPlasticSimpleTester(const InputParameters & parameters);
31 
32  virtual std::string modelName() const override;
33 
34 protected:
35  Real yieldFunction(const RankTwoTensor & stress, Real intnl) const override;
36 
37  RankTwoTensor dyieldFunction_dstress(const RankTwoTensor & stress, Real intnl) const override;
38 
39  Real dyieldFunction_dintnl(const RankTwoTensor & stress, Real intnl) const override;
40 
41  RankTwoTensor flowPotential(const RankTwoTensor & stress, Real intnl) const override;
42 
43  RankFourTensor dflowPotential_dstress(const RankTwoTensor & stress, Real intnl) const override;
44 
45  RankTwoTensor dflowPotential_dintnl(const RankTwoTensor & stress, Real intnl) const override;
46 
48  Real _a;
49 
51  Real _b;
52 
54  Real _c;
55 
57  Real _d;
58 
60  Real _e;
61 
63  Real _f;
64 
66  Real _strength;
67 };
TensorMechanicsPlasticSimpleTester::dyieldFunction_dintnl
Real dyieldFunction_dintnl(const RankTwoTensor &stress, Real intnl) const override
The derivative of yield function with respect to the internal parameter.
Definition: TensorMechanicsPlasticSimpleTester.C:102
TensorMechanicsPlasticSimpleTester::yieldFunction
Real yieldFunction(const RankTwoTensor &stress, Real intnl) const override
The following functions are what you should override when building single-plasticity models.
Definition: TensorMechanicsPlasticSimpleTester.C:76
validParams< TensorMechanicsPlasticSimpleTester >
InputParameters validParams< TensorMechanicsPlasticSimpleTester >()
TensorMechanicsPlasticSimpleTester::flowPotential
RankTwoTensor flowPotential(const RankTwoTensor &stress, Real intnl) const override
The flow potential.
Definition: TensorMechanicsPlasticSimpleTester.C:109
TensorMechanicsPlasticSimpleTester
Class that can be used for testing multi-surface plasticity models.
Definition: TensorMechanicsPlasticSimpleTester.h:25
TensorMechanicsPlasticSimpleTester::_a
Real _a
a
Definition: TensorMechanicsPlasticSimpleTester.h:48
TensorMechanicsPlasticSimpleTester::TensorMechanicsPlasticSimpleTester
TensorMechanicsPlasticSimpleTester(const InputParameters &parameters)
Definition: TensorMechanicsPlasticSimpleTester.C:62
TensorMechanicsPlasticSimpleTester::_d
Real _d
d
Definition: TensorMechanicsPlasticSimpleTester.h:57
TensorMechanicsPlasticModel.h
TensorMechanicsPlasticSimpleTester::dflowPotential_dintnl
RankTwoTensor dflowPotential_dintnl(const RankTwoTensor &stress, Real intnl) const override
The derivative of the flow potential with respect to the internal parameter.
Definition: TensorMechanicsPlasticSimpleTester.C:122
TensorMechanicsPlasticSimpleTester::validParams
static InputParameters validParams()
Definition: TensorMechanicsPlasticSimpleTester.C:18
TensorMechanicsPlasticSimpleTester::_strength
Real _strength
strength
Definition: TensorMechanicsPlasticSimpleTester.h:66
TensorMechanicsPlasticSimpleTester::_e
Real _e
e
Definition: TensorMechanicsPlasticSimpleTester.h:60
TensorMechanicsPlasticSimpleTester::_c
Real _c
c
Definition: TensorMechanicsPlasticSimpleTester.h:54
TensorMechanicsPlasticSimpleTester::_f
Real _f
f
Definition: TensorMechanicsPlasticSimpleTester.h:63
TensorMechanicsPlasticSimpleTester::_b
Real _b
b
Definition: TensorMechanicsPlasticSimpleTester.h:51
RankFourTensorTempl< Real >
TensorMechanicsPlasticSimpleTester::modelName
virtual std::string modelName() const override
Definition: TensorMechanicsPlasticSimpleTester.C:129
TensorMechanicsPlasticModel
Plastic Model base class The virtual functions written below must be over-ridden in derived classes t...
Definition: TensorMechanicsPlasticModel.h:42
TensorMechanicsPlasticSimpleTester::dyieldFunction_dstress
RankTwoTensor dyieldFunction_dstress(const RankTwoTensor &stress, Real intnl) const override
The derivative of yield function with respect to stress.
Definition: TensorMechanicsPlasticSimpleTester.C:85
TensorMechanicsPlasticSimpleTester::dflowPotential_dstress
RankFourTensor dflowPotential_dstress(const RankTwoTensor &stress, Real intnl) const override
The derivative of the flow potential with respect to stress.
Definition: TensorMechanicsPlasticSimpleTester.C:115
RankTwoTensorTempl< Real >