https://mooseframework.inl.gov
Loading...
Searching...
No Matches
HEVPEqvPlasticStrain.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
11
13
16{
18 params.addClassDescription("User Object to integrate equivalent plastic strain");
19 return params;
20}
21
26
27bool
28HEVPEqvPlasticStrain::computeValue(unsigned int qp, Real dt, Real & val) const
29{
30 val = _this_old[qp] + _intvar_rate[qp] * dt;
31 return true;
32}
33
34bool
36 Real dt,
37 const std::string & coupled_var_name,
38 Real & val) const
39{
40 val = 0;
41
42 if (_intvar_rate_prop_name == coupled_var_name)
43 val = dt;
44
45 return true;
46}
registerMooseObject("SolidMechanicsApp", HEVPEqvPlasticStrain)
This user object classs Computes equivalent plastic strain.
HEVPEqvPlasticStrain(const InputParameters &parameters)
virtual bool computeDerivative(unsigned int, Real, const std::string &, Real &) const
static InputParameters validParams()
virtual bool computeValue(unsigned int, Real, Real &) const
This user object is a pure virtual base classs Derived classes integrate internal variables Currently...
const MaterialProperty< Real > & _this_old
static InputParameters validParams()
const MaterialProperty< Real > & _intvar_rate
void addClassDescription(const std::string &doc_string)