www.mooseframework.org
Public Member Functions | Protected Attributes | List of all members
HEVPRambergOsgoodHardening Class Reference

This user object classs Computes power law hardening. More...

#include <HEVPRambergOsgoodHardening.h>

Inheritance diagram for HEVPRambergOsgoodHardening:
[legend]

Public Member Functions

 HEVPRambergOsgoodHardening (const InputParameters &parameters)
 
virtual bool computeValue (unsigned int, Real &) const
 
virtual bool computeDerivative (unsigned int, const std::string &, Real &) const
 

Protected Attributes

Real _sig0
 
Real _peeq0
 
Real _exponent
 
std::string _intvar_prop_name
 
const MaterialProperty< Real > & _intvar
 

Detailed Description

This user object classs Computes power law hardening.

Definition at line 24 of file HEVPRambergOsgoodHardening.h.

Constructor & Destructor Documentation

◆ HEVPRambergOsgoodHardening()

HEVPRambergOsgoodHardening::HEVPRambergOsgoodHardening ( const InputParameters &  parameters)

Definition at line 27 of file HEVPRambergOsgoodHardening.C.

28  : HEVPStrengthUOBase(parameters),
29  _sig0(getParam<Real>("yield_stress")),
30  _peeq0(getParam<Real>("reference_plastic_strain")),
31  _exponent(getParam<Real>("hardening_exponent"))
32 {
33 }
HEVPStrengthUOBase(const InputParameters &parameters)

Member Function Documentation

◆ computeDerivative()

bool HEVPRambergOsgoodHardening::computeDerivative ( unsigned int  qp,
const std::string &  coupled_var_name,
Real &  val 
) const
virtual

Implements HEVPStrengthUOBase.

Definition at line 43 of file HEVPRambergOsgoodHardening.C.

46 {
47  val = 0;
48 
49  if (_intvar_prop_name == coupled_var_name)
50  val = _sig0 * _exponent / _peeq0 * std::pow(_intvar[qp] / _peeq0 + 1.0, _exponent - 1.0);
51 
52  return true;
53 }
const MaterialProperty< Real > & _intvar
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
std::string _intvar_prop_name

◆ computeValue()

bool HEVPRambergOsgoodHardening::computeValue ( unsigned int  qp,
Real &  val 
) const
virtual

Implements HEVPStrengthUOBase.

Definition at line 36 of file HEVPRambergOsgoodHardening.C.

37 {
38  val = _sig0 * std::pow(_intvar[qp] / _peeq0 + 1.0, _exponent);
39  return true;
40 }
const MaterialProperty< Real > & _intvar
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)

Member Data Documentation

◆ _exponent

Real HEVPRambergOsgoodHardening::_exponent
protected

Definition at line 35 of file HEVPRambergOsgoodHardening.h.

Referenced by computeDerivative(), and computeValue().

◆ _intvar

const MaterialProperty<Real>& HEVPStrengthUOBase::_intvar
protectedinherited

◆ _intvar_prop_name

std::string HEVPStrengthUOBase::_intvar_prop_name
protectedinherited

◆ _peeq0

Real HEVPRambergOsgoodHardening::_peeq0
protected

Definition at line 34 of file HEVPRambergOsgoodHardening.h.

Referenced by computeDerivative(), and computeValue().

◆ _sig0

Real HEVPRambergOsgoodHardening::_sig0
protected

Definition at line 33 of file HEVPRambergOsgoodHardening.h.

Referenced by computeDerivative(), and computeValue().


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