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

CutExponential hardening The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0 Note that while this is not smooth at internal_parameter = _intnl_0, which can produce bad numerical problems. More...

#include <TensorMechanicsHardeningCutExponential.h>

Inheritance diagram for TensorMechanicsHardeningCutExponential:
[legend]

Public Member Functions

 TensorMechanicsHardeningCutExponential (const InputParameters &parameters)
 
virtual Real value (Real intnl) const override
 
virtual Real derivative (Real intnl) const override
 
virtual std::string modelName () const override
 
void initialize ()
 
void execute ()
 
void finalize ()
 

Private Attributes

Real _val_0
 The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0. More...
 
Real _val_res
 The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0. More...
 
Real _intnl_0
 The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0. More...
 
Real _rate
 The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0. More...
 

Detailed Description

CutExponential hardening The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0 Note that while this is not smooth at internal_parameter = _intnl_0, which can produce bad numerical problems.

Definition at line 24 of file TensorMechanicsHardeningCutExponential.h.

Constructor & Destructor Documentation

TensorMechanicsHardeningCutExponential::TensorMechanicsHardeningCutExponential ( const InputParameters &  parameters)

Definition at line 29 of file TensorMechanicsHardeningCutExponential.C.

31  : TensorMechanicsHardeningModel(parameters),
32  _val_0(getParam<Real>("value_0")),
33  _val_res(parameters.isParamValid("value_residual") ? getParam<Real>("value_residual") : _val_0),
34  _intnl_0(getParam<Real>("internal_0")),
35  _rate(getParam<Real>("rate"))
36 {
37 }
Real _val_res
The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.
Real _intnl_0
The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.
Real _rate
The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.
TensorMechanicsHardeningModel(const InputParameters &parameters)
Real _val_0
The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.

Member Function Documentation

Real TensorMechanicsHardeningCutExponential::derivative ( Real  intnl) const
overridevirtual

Reimplemented from TensorMechanicsHardeningModel.

Definition at line 50 of file TensorMechanicsHardeningCutExponential.C.

51 {
52  Real x = intnl - _intnl_0;
53  if (x <= 0)
54  return 0;
55  else
56  return -_rate * (_val_0 - _val_res) * std::exp(-_rate * x);
57 }
Real _val_res
The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.
Real _intnl_0
The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.
Real _rate
The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.
Real _val_0
The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.
void TensorMechanicsHardeningModel::execute ( )
inherited

Definition at line 32 of file TensorMechanicsHardeningModel.C.

33 {
34 }
void TensorMechanicsHardeningModel::finalize ( )
inherited

Definition at line 37 of file TensorMechanicsHardeningModel.C.

38 {
39 }
void TensorMechanicsHardeningModel::initialize ( )
inherited

Definition at line 27 of file TensorMechanicsHardeningModel.C.

28 {
29 }
std::string TensorMechanicsHardeningCutExponential::modelName ( ) const
overridevirtual

Implements TensorMechanicsHardeningModel.

Definition at line 60 of file TensorMechanicsHardeningCutExponential.C.

61 {
62  return "CutExponential";
63 }
Real TensorMechanicsHardeningCutExponential::value ( Real  intnl) const
overridevirtual

Reimplemented from TensorMechanicsHardeningModel.

Definition at line 40 of file TensorMechanicsHardeningCutExponential.C.

41 {
42  Real x = intnl - _intnl_0;
43  if (x <= 0)
44  return _val_0;
45  else
46  return _val_res + (_val_0 - _val_res) * std::exp(-_rate * x);
47 }
Real _val_res
The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.
Real _intnl_0
The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.
Real _rate
The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.
Real _val_0
The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.

Member Data Documentation

Real TensorMechanicsHardeningCutExponential::_intnl_0
private

The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.

Definition at line 43 of file TensorMechanicsHardeningCutExponential.h.

Referenced by derivative(), and value().

Real TensorMechanicsHardeningCutExponential::_rate
private

The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.

Definition at line 46 of file TensorMechanicsHardeningCutExponential.h.

Referenced by derivative(), and value().

Real TensorMechanicsHardeningCutExponential::_val_0
private

The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.

Definition at line 37 of file TensorMechanicsHardeningCutExponential.h.

Referenced by derivative(), and value().

Real TensorMechanicsHardeningCutExponential::_val_res
private

The value = _val_res + (val_0 - val_res)*exp(-rate*(internal_parameter - _intnl_0)), for internal_parameter >= _intnl_0, otherwise value = _val_0.

Definition at line 40 of file TensorMechanicsHardeningCutExponential.h.

Referenced by derivative(), and value().


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