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

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

#include <HEVPEqvPlasticStrainRate.h>

Inheritance diagram for HEVPEqvPlasticStrainRate:
[legend]

Public Member Functions

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

Protected Attributes

Real _h
 
std::string _flow_rate_prop_name
 
const MaterialProperty< Real > & _flow_rate
 

Detailed Description

This user object classs Computes equivalent plastic strain rate.

Definition at line 24 of file HEVPEqvPlasticStrainRate.h.

Constructor & Destructor Documentation

◆ HEVPEqvPlasticStrainRate()

HEVPEqvPlasticStrainRate::HEVPEqvPlasticStrainRate ( const InputParameters &  parameters)

Definition at line 24 of file HEVPEqvPlasticStrainRate.C.

25  : HEVPInternalVarRateUOBase(parameters), _h(getParam<Real>("h_scaling"))
26 {
27 }
HEVPInternalVarRateUOBase(const InputParameters &parameters)

Member Function Documentation

◆ computeDerivative()

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

Implements HEVPInternalVarRateUOBase.

Definition at line 37 of file HEVPEqvPlasticStrainRate.C.

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

◆ computeValue()

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

Implements HEVPInternalVarRateUOBase.

Definition at line 30 of file HEVPEqvPlasticStrainRate.C.

31 {
32  val = _h * _flow_rate[qp];
33  return true;
34 }
const MaterialProperty< Real > & _flow_rate

Member Data Documentation

◆ _flow_rate

const MaterialProperty<Real>& HEVPInternalVarRateUOBase::_flow_rate
protectedinherited

Definition at line 35 of file HEVPInternalVarRateUOBase.h.

Referenced by computeValue().

◆ _flow_rate_prop_name

std::string HEVPInternalVarRateUOBase::_flow_rate_prop_name
protectedinherited

Definition at line 34 of file HEVPInternalVarRateUOBase.h.

Referenced by computeDerivative().

◆ _h

Real HEVPEqvPlasticStrainRate::_h
protected

Definition at line 33 of file HEVPEqvPlasticStrainRate.h.

Referenced by computeDerivative(), and computeValue().


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