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

This user object classs Computes equivalent plastic strain. More...

#include <HEVPEqvPlasticStrain.h>

Inheritance diagram for HEVPEqvPlasticStrain:
[legend]

Public Member Functions

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

Protected Attributes

std::string _intvar_rate_prop_name
 
const MaterialProperty< Real > & _intvar_rate
 
const MaterialProperty< Real > & _this_old
 

Detailed Description

This user object classs Computes equivalent plastic strain.

Definition at line 24 of file HEVPEqvPlasticStrain.h.

Constructor & Destructor Documentation

◆ HEVPEqvPlasticStrain()

HEVPEqvPlasticStrain::HEVPEqvPlasticStrain ( const InputParameters &  parameters)

Definition at line 23 of file HEVPEqvPlasticStrain.C.

24  : HEVPInternalVarUOBase(parameters)
25 {
26 }
HEVPInternalVarUOBase(const InputParameters &parameters)

Member Function Documentation

◆ computeDerivative()

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

Implements HEVPInternalVarUOBase.

Definition at line 36 of file HEVPEqvPlasticStrain.C.

40 {
41  val = 0;
42 
43  if (_intvar_rate_prop_name == coupled_var_name)
44  val = dt;
45 
46  return true;
47 }

◆ computeValue()

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

Implements HEVPInternalVarUOBase.

Definition at line 29 of file HEVPEqvPlasticStrain.C.

30 {
31  val = _this_old[qp] + _intvar_rate[qp] * dt;
32  return true;
33 }
const MaterialProperty< Real > & _intvar_rate
const MaterialProperty< Real > & _this_old

Member Data Documentation

◆ _intvar_rate

const MaterialProperty<Real>& HEVPInternalVarUOBase::_intvar_rate
protectedinherited

Definition at line 36 of file HEVPInternalVarUOBase.h.

Referenced by computeValue().

◆ _intvar_rate_prop_name

std::string HEVPInternalVarUOBase::_intvar_rate_prop_name
protectedinherited

Definition at line 35 of file HEVPInternalVarUOBase.h.

Referenced by computeDerivative().

◆ _this_old

const MaterialProperty<Real>& HEVPInternalVarUOBase::_this_old
protectedinherited

Definition at line 37 of file HEVPInternalVarUOBase.h.

Referenced by computeValue().


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