www.mooseframework.org
RadialReturnCreepStressUpdateBase.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
14 InputParameters
16 {
17  InputParameters params = RadialReturnStressUpdate::validParams();
18 
19  params.addDeprecatedParam<std::string>(
20  "creep_prepend",
21  "",
22  "String that is prepended to the creep_strain Material Property",
23  "This has been replaced by the 'base_name' parameter");
24  params.set<std::string>("effective_inelastic_strain_name") = "effective_creep_strain";
25 
26  return params;
27 }
28 
30  const InputParameters & parameters)
31  : RadialReturnStressUpdate(parameters),
32  _creep_prepend(getParam<std::string>("creep_prepend")),
33  _creep_strain(declareProperty<RankTwoTensor>(_base_name + _creep_prepend + "creep_strain")),
34  _creep_strain_old(
35  getMaterialPropertyOld<RankTwoTensor>(_base_name + _creep_prepend + "creep_strain"))
36 {
37 }
38 
39 void
41 {
42  _creep_strain[_qp].zero();
43 
45 }
46 
47 void
49 {
50  _creep_strain[_qp] = _creep_strain_old[_qp];
51 
53 }
54 
55 Real
57  const Real scalar)
58 {
59  return -(computeDerivative(effective_trial_stress, scalar) + 1.0) / _three_shear_modulus;
60 }
61 
62 void
64  const RankTwoTensor & plastic_strain_increment)
65 {
66  _creep_strain[_qp] = _creep_strain_old[_qp] + plastic_strain_increment;
67 }
RadialReturnCreepStressUpdateBase::computeStressFinalize
virtual void computeStressFinalize(const RankTwoTensor &plastic_strain_increment) override
Perform any necessary steps to finalize state after return mapping iterations.
Definition: RadialReturnCreepStressUpdateBase.C:63
RadialReturnCreepStressUpdateBase::computeStressDerivative
virtual Real computeStressDerivative(const Real effective_trial_stress, const Real scalar) override
This method returns the derivative of the creep strain with respect to the von mises stress.
Definition: RadialReturnCreepStressUpdateBase.C:56
RadialReturnCreepStressUpdateBase::initQpStatefulProperties
virtual void initQpStatefulProperties() override
Definition: RadialReturnCreepStressUpdateBase.C:40
RadialReturnCreepStressUpdateBase::RadialReturnCreepStressUpdateBase
RadialReturnCreepStressUpdateBase(const InputParameters &parameters)
Definition: RadialReturnCreepStressUpdateBase.C:29
RadialReturnStressUpdate
RadialReturnStressUpdate computes the radial return stress increment for an isotropic elastic-viscopl...
Definition: RadialReturnStressUpdate.h:34
RadialReturnCreepStressUpdateBase::validParams
static InputParameters validParams()
Definition: RadialReturnCreepStressUpdateBase.C:15
SingleVariableReturnMappingSolution::computeDerivative
virtual Real computeDerivative(const Real effective_trial_stress, const Real scalar)=0
Compute the derivative of the residual as a function of the scalar variable.
RadialReturnStressUpdate::_three_shear_modulus
Real _three_shear_modulus
3 * shear modulus
Definition: RadialReturnStressUpdate.h:133
RadialReturnStressUpdate::validParams
static InputParameters validParams()
Definition: RadialReturnStressUpdate.C:18
RadialReturnCreepStressUpdateBase::_creep_strain
MaterialProperty< RankTwoTensor > & _creep_strain
Creep strain material property.
Definition: RadialReturnCreepStressUpdateBase.h:56
RadialReturnStressUpdate::propagateQpStatefulPropertiesRadialReturn
void propagateQpStatefulPropertiesRadialReturn()
Propagate the properties pertaining to this intermediate class.
Definition: RadialReturnStressUpdate.C:59
RadialReturnStressUpdate::initQpStatefulProperties
virtual void initQpStatefulProperties() override
Definition: RadialReturnStressUpdate.C:53
RadialReturnCreepStressUpdateBase.h
RadialReturnCreepStressUpdateBase::_creep_strain_old
const MaterialProperty< RankTwoTensor > & _creep_strain_old
Definition: RadialReturnCreepStressUpdateBase.h:57
defineLegacyParams
defineLegacyParams(RadialReturnCreepStressUpdateBase)
RankTwoTensorTempl
Definition: ACGrGrElasticDrivingForce.h:17
RadialReturnCreepStressUpdateBase
This class provides baseline functionallity for creep models based on the stress update material in a...
Definition: RadialReturnCreepStressUpdateBase.h:23
RadialReturnCreepStressUpdateBase::propagateQpStatefulProperties
virtual void propagateQpStatefulProperties() override
If updateState is not called during a timestep, this will be.
Definition: RadialReturnCreepStressUpdateBase.C:48