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 21 of file HEVPRambergOsgoodHardening.h.

Constructor & Destructor Documentation

HEVPRambergOsgoodHardening::HEVPRambergOsgoodHardening ( const InputParameters &  parameters)

Definition at line 22 of file HEVPRambergOsgoodHardening.C.

23  : HEVPStrengthUOBase(parameters),
24  _sig0(getParam<Real>("yield_stress")),
25  _peeq0(getParam<Real>("reference_plastic_strain")),
26  _exponent(getParam<Real>("hardening_exponent"))
27 {
28 }
HEVPStrengthUOBase(const InputParameters &parameters)

Member Function Documentation

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

Implements HEVPStrengthUOBase.

Definition at line 38 of file HEVPRambergOsgoodHardening.C.

41 {
42  val = 0;
43 
44  if (_intvar_prop_name == coupled_var_name)
45  val = _sig0 * _exponent / _peeq0 * std::pow(_intvar[qp] / _peeq0 + 1.0, _exponent - 1.0);
46 
47  return true;
48 }
const MaterialProperty< Real > & _intvar
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
std::string _intvar_prop_name
bool HEVPRambergOsgoodHardening::computeValue ( unsigned int  qp,
Real &  val 
) const
virtual

Implements HEVPStrengthUOBase.

Definition at line 31 of file HEVPRambergOsgoodHardening.C.

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

Member Data Documentation

Real HEVPRambergOsgoodHardening::_exponent
protected

Definition at line 32 of file HEVPRambergOsgoodHardening.h.

Referenced by computeDerivative(), and computeValue().

const MaterialProperty<Real>& HEVPStrengthUOBase::_intvar
protectedinherited
std::string HEVPStrengthUOBase::_intvar_prop_name
protectedinherited
Real HEVPRambergOsgoodHardening::_peeq0
protected

Definition at line 31 of file HEVPRambergOsgoodHardening.h.

Referenced by computeDerivative(), and computeValue().

Real HEVPRambergOsgoodHardening::_sig0
protected

Definition at line 30 of file HEVPRambergOsgoodHardening.h.

Referenced by computeDerivative(), and computeValue().


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