Go to the documentation of this file.
96 const std::vector<Real> & intnl,
97 std::vector<Real> & yf)
const override;
101 const std::vector<Real> & intnl,
102 std::vector<yieldAndFlow> & all_q)
const override;
113 bool compute_full_tangent_operator,
120 const std::vector<Real> & intnl,
128 const std::vector<Real> & intnl_old,
129 const std::vector<Real> & yf,
134 const std::vector<Real> & intnl_old,
138 std::vector<Real> & intnl)
const override;
144 const std::vector<Real> & intnl_old,
145 std::vector<Real> & intnl)
const override;
151 const std::vector<Real> & intnl,
152 std::vector<std::vector<Real>> & dintnl)
const override;
virtual void setEppEqq(const RankFourTensor &Eijkl, Real &Epp, Real &Eqq) const override
Set Epp and Eqq based on the elasticity tensor Derived classes must override this.
StressReturnType
This allows some simplification in the return-map process.
virtual void yieldFunctionValues(Real p, Real q, const std::vector< Real > &intnl, std::vector< Real > &yf) const override
Computes the values of the yield functions, given p, q and intnl parameters.
const TensorMechanicsHardeningModel & _tstrength
Hardening model for tensile strength.
virtual void initializeVars(Real p_trial, Real q_trial, const std::vector< Real > &intnl_old, Real &p, Real &q, Real &gaE, std::vector< Real > &intnl) const override
Sets (p, q, gaE, intnl) at "good guesses" of the solution to the Return-Map algorithm.
const TensorMechanicsHardeningModel & _cohesion
Hardening model for cohesion.
const bool _perfect_guess
Initialize the NR proceedure from a guess coming from perfect plasticity.
Struct designed to hold info about a single yield function and its derivatives, as well as the flow d...
Real _in_trial02
trial value of stress(0, 2)
virtual RankFourTensor d2pdstress2(const RankTwoTensor &stress) const override
d2(p)/d(stress)/d(stress) Derived classes must override this
virtual void setIntnlDerivatives(Real p_trial, Real q_trial, Real p, Real q, const std::vector< Real > &intnl, std::vector< std::vector< Real >> &dintnl) const override
Sets the derivatives of internal parameters, based on the trial values of p and q,...
static InputParameters validParams()
TwoParameterPlasticityStressUpdate performs the return-map algorithm and associated stress updates fo...
virtual RankFourTensor d2qdstress2(const RankTwoTensor &stress) const override
d2(q)/d(stress)/d(stress) Derived classes must override this
const Real _small_smoother2
The cone vertex is smoothed by this amount.
virtual void computePQ(const RankTwoTensor &stress, Real &p, Real &q) const override
Computes p and q, given stress.
virtual void computeAllQ(Real p, Real q, const std::vector< Real > &intnl, std::vector< yieldAndFlow > &all_q) const override
Completely fills all_q with correct values.
const TensorMechanicsHardeningModel & _tan_psi
Hardening model for tan(psi)
Real _in_trial12
trial value of stress(1, 2)
const TensorMechanicsHardeningModel & _tan_phi
Hardening model for tan(phi)
const TensorMechanicsHardeningModel & _cstrength
Hardening model for compressive strength.
Real _in_q_trial
trial value of q
virtual void finalizeReturnProcess(const RankTwoTensor &rotation_increment) override
Derived classes may use this to perform calculations after the return-map process has completed succe...
virtual RankTwoTensor dpdstress(const RankTwoTensor &stress) const override
d(p)/d(stress) Derived classes must override this
CappedWeakPlaneStressUpdate(const InputParameters ¶meters)
virtual RankTwoTensor dqdstress(const RankTwoTensor &stress) const override
d(q)/d(stress) Derived classes must override this
InputParameters validParams< CappedWeakPlaneStressUpdate >()
virtual void initializeReturnProcess() override
Derived classes may use this to perform calculations before any return-map process is performed,...
virtual void preReturnMap(Real p_trial, Real q_trial, const RankTwoTensor &stress_trial, const std::vector< Real > &intnl_old, const std::vector< Real > &yf, const RankFourTensor &Eijkl) override
Derived classes may employ this function to record stuff or do other computations prior to the return...
CappedWeakPlaneStressUpdate performs the return-map algorithm and associated stress updates for plast...
bool requiresIsotropicTensor() override
Does the model require the elasticity tensor to be isotropic?
virtual void consistentTangentOperator(const RankTwoTensor &stress_trial, Real p_trial, Real q_trial, const RankTwoTensor &stress, Real p, Real q, Real gaE, const yieldAndFlow &smoothed_q, const RankFourTensor &Eijkl, bool compute_full_tangent_operator, RankFourTensor &cto) const override
Calculates the consistent tangent operator.
enum CappedWeakPlaneStressUpdate::StressReturnType _stress_return_type
virtual void setIntnlValues(Real p_trial, Real q_trial, Real p, Real q, const std::vector< Real > &intnl_old, std::vector< Real > &intnl) const override
Sets the internal parameters based on the trial values of p and q, their current values,...
virtual void setStressAfterReturn(const RankTwoTensor &stress_trial, Real p_ok, Real q_ok, Real gaE, const std::vector< Real > &intnl, const yieldAndFlow &smoothed_q, const RankFourTensor &Eijkl, RankTwoTensor &stress) const override
Sets stress from the admissible parameters.
Hardening Model base class.