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

Exponential hardening The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter) Note that while this is C-infinity, it produces unphysical results for internal_parameter<0, which can cause numerical problems. More...

#include <TensorMechanicsHardeningExponential.h>

Inheritance diagram for TensorMechanicsHardeningExponential:
[legend]

Public Member Functions

 TensorMechanicsHardeningExponential (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) More...
 
Real _val_res
 The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter) More...
 
Real _rate
 The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter) More...
 

Detailed Description

Exponential hardening The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter) Note that while this is C-infinity, it produces unphysical results for internal_parameter<0, which can cause numerical problems.

Definition at line 26 of file TensorMechanicsHardeningExponential.h.

Constructor & Destructor Documentation

◆ TensorMechanicsHardeningExponential()

TensorMechanicsHardeningExponential::TensorMechanicsHardeningExponential ( const InputParameters &  parameters)

Definition at line 31 of file TensorMechanicsHardeningExponential.C.

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

Member Function Documentation

◆ derivative()

Real TensorMechanicsHardeningExponential::derivative ( Real  intnl) const
overridevirtual

Reimplemented from TensorMechanicsHardeningModel.

Definition at line 47 of file TensorMechanicsHardeningExponential.C.

48 {
49  return -_rate * (_val_0 - _val_res) * std::exp(-_rate * intnl);
50 }
Real _rate
The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter)
Real _val_0
The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter)
Real _val_res
The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter)

◆ execute()

void TensorMechanicsHardeningModel::execute ( )
inherited

Definition at line 35 of file TensorMechanicsHardeningModel.C.

36 {
37 }

◆ finalize()

void TensorMechanicsHardeningModel::finalize ( )
inherited

Definition at line 40 of file TensorMechanicsHardeningModel.C.

41 {
42 }

◆ initialize()

void TensorMechanicsHardeningModel::initialize ( )
inherited

Definition at line 30 of file TensorMechanicsHardeningModel.C.

31 {
32 }

◆ modelName()

std::string TensorMechanicsHardeningExponential::modelName ( ) const
overridevirtual

Implements TensorMechanicsHardeningModel.

Definition at line 53 of file TensorMechanicsHardeningExponential.C.

54 {
55  return "Exponential";
56 }

◆ value()

Real TensorMechanicsHardeningExponential::value ( Real  intnl) const
overridevirtual

Reimplemented from TensorMechanicsHardeningModel.

Definition at line 41 of file TensorMechanicsHardeningExponential.C.

42 {
43  return _val_res + (_val_0 - _val_res) * std::exp(-_rate * intnl);
44 }
Real _rate
The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter)
Real _val_0
The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter)
Real _val_res
The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter)

Member Data Documentation

◆ _rate

Real TensorMechanicsHardeningExponential::_rate
private

The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter)

Definition at line 45 of file TensorMechanicsHardeningExponential.h.

Referenced by derivative(), and value().

◆ _val_0

Real TensorMechanicsHardeningExponential::_val_0
private

The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter)

Definition at line 39 of file TensorMechanicsHardeningExponential.h.

Referenced by derivative(), and value().

◆ _val_res

Real TensorMechanicsHardeningExponential::_val_res
private

The value = _val_res + (val_0 - val_res)*exp(-rate*internal_parameter)

Definition at line 42 of file TensorMechanicsHardeningExponential.h.

Referenced by derivative(), and value().


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