https://mooseframework.inl.gov
Loading...
Searching...
No Matches
RadialReturnBackstressStressUpdateBase.h
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
10#pragma once
11
13
14template <bool is_ad>
16{
17public:
19
21
22 using Material::_qp;
24
25protected:
26 virtual void initQpStatefulProperties() override;
27 virtual void propagateQpStatefulProperties() override;
28 virtual void
29 computeStressInitialize(const GenericReal<is_ad> & effective_trial_stress,
31 virtual void updateState(GenericRankTwoTensor<is_ad> & strain_increment,
32 GenericRankTwoTensor<is_ad> & inelastic_strain_increment,
33 const GenericRankTwoTensor<is_ad> & /*rotation_increment*/,
34 GenericRankTwoTensor<is_ad> & stress_new,
35 const RankTwoTensor & /*stress_old*/,
37 const RankTwoTensor & elastic_strain_old,
38 bool compute_full_tangent_operator,
39 RankFourTensor & tangent_operator) override;
40
43};
44
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Moose::GenericType< RankFourTensor, is_ad > GenericRankFourTensor
Moose::GenericType< Real, is_ad > GenericReal
Moose::GenericType< RankTwoTensor, is_ad > GenericRankTwoTensor
RadialReturnBackstressStressUpdateBaseTempl< false > RadialReturnBackstressStressUpdateBase
RadialReturnBackstressStressUpdateBaseTempl< true > ADRadialReturnBackstressStressUpdateBase
unsigned int _qp
const InputParameters & parameters() const
GenericMaterialProperty< RankTwoTensor, is_ad > & _backstress
virtual void computeStressInitialize(const GenericReal< is_ad > &effective_trial_stress, const GenericRankFourTensor< is_ad > &elasticity_tensor) override
Perform any necessary initialization before return mapping iterations.
virtual void propagateQpStatefulProperties() override
If updateState is not called during a timestep, this will be.
virtual void updateState(GenericRankTwoTensor< is_ad > &strain_increment, GenericRankTwoTensor< is_ad > &inelastic_strain_increment, const GenericRankTwoTensor< is_ad > &, GenericRankTwoTensor< is_ad > &stress_new, const RankTwoTensor &, const GenericRankFourTensor< is_ad > &elasticity_tensor, const RankTwoTensor &elastic_strain_old, bool compute_full_tangent_operator, RankFourTensor &tangent_operator) override
A radial return (J2) mapping method is performed with return mapping iterations.
RadialReturnStressUpdate computes the radial return stress increment for an isotropic elastic-viscopl...
void propagateQpStatefulPropertiesRadialReturn()
Propagate the properties pertaining to this intermediate class.
Real elasticity_tensor(unsigned int i, unsigned int j, unsigned int k, unsigned int l)