https://mooseframework.inl.gov
SolidMechanicsPlasticWeakPlaneShear.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 
14 
20 {
21 public:
23 
25 
26  virtual void activeConstraints(const std::vector<Real> & f,
27  const RankTwoTensor & stress,
28  Real intnl,
29  const RankFourTensor & Eijkl,
30  std::vector<bool> & act,
31  RankTwoTensor & returned_stress) const override;
32 
33  virtual std::string modelName() const override;
34 
35 protected:
38 
41 
44 
45  Real yieldFunction(const RankTwoTensor & stress, Real intnl) const override;
46 
47  RankTwoTensor dyieldFunction_dstress(const RankTwoTensor & stress, Real intnl) const override;
48 
49  Real dyieldFunction_dintnl(const RankTwoTensor & stress, Real intnl) const override;
50 
51  RankTwoTensor flowPotential(const RankTwoTensor & stress, Real intnl) const override;
52 
53  RankFourTensor dflowPotential_dstress(const RankTwoTensor & stress, Real intnl) const override;
54 
55  RankTwoTensor dflowPotential_dintnl(const RankTwoTensor & stress, Real intnl) const override;
56 
66 
69 
72 
75 
77  RankTwoTensor df_dsig(const RankTwoTensor & stress, Real _tan_phi_or_psi) const;
78 
80  virtual Real smooth(const RankTwoTensor & stress) const;
81 
83  virtual Real dsmooth(const RankTwoTensor & stress) const;
84 
86  virtual Real d2smooth(const RankTwoTensor & stress) const;
87 
89  virtual Real cohesion(const Real internal_param) const;
90 
92  virtual Real dcohesion(const Real internal_param) const;
93 
95  virtual Real tan_phi(const Real internal_param) const;
96 
98  virtual Real dtan_phi(const Real internal_param) const;
99 
101  virtual Real tan_psi(const Real internal_param) const;
102 
104  virtual Real dtan_psi(const Real internal_param) const;
105 };
virtual Real tan_phi(const Real internal_param) const
tan_phi as a function of internal parameter
virtual void activeConstraints(const std::vector< Real > &f, const RankTwoTensor &stress, Real intnl, const RankFourTensor &Eijkl, std::vector< bool > &act, RankTwoTensor &returned_stress) const override
The active yield surfaces, given a vector of yield functions.
Real _cap_rate
dictates how quickly the &#39;cap&#39; degenerates to a hemisphere - see doco for _tip_scheme ...
Real _small_smoother2
smoothing parameter for the cone&#39;s tip - see doco for _tip_scheme
const SolidMechanicsHardeningModel & _tan_psi
Hardening model for tan(psi)
const SolidMechanicsHardeningModel & _cohesion
Hardening model for cohesion.
virtual Real dtan_psi(const Real internal_param) const
d(tan_psi)/d(internal_param);
const SolidMechanicsHardeningModel & _tan_phi
Hardening model for tan(phi)
virtual Real tan_psi(const Real internal_param) const
tan_psi as a function of internal parameter
Real yieldFunction(const RankTwoTensor &stress, Real intnl) const override
The following functions are what you should override when building single-plasticity models...
RankTwoTensor flowPotential(const RankTwoTensor &stress, Real intnl) const override
The flow potential.
virtual Real d2smooth(const RankTwoTensor &stress) const
returns the d^2a/dstress(2,2)^2 - see doco for _tip_scheme
RankTwoTensor df_dsig(const RankTwoTensor &stress, Real _tan_phi_or_psi) const
Function that&#39;s used in dyieldFunction_dstress and flowPotential.
RankFourTensor dflowPotential_dstress(const RankTwoTensor &stress, Real intnl) const override
The derivative of the flow potential with respect to stress.
virtual Real cohesion(const Real internal_param) const
cohesion as a function of internal parameter
SolidMechanicsPlasticWeakPlaneShear(const InputParameters &parameters)
Real f(Real x)
Test function for Brents method.
virtual std::string modelName() const override
Real _cap_start
smoothing parameter dictating when the &#39;cap&#39; will start - see doco for _tip_scheme ...
virtual Real dsmooth(const RankTwoTensor &stress) const
returns the da/dstress(2,2) - see doco for _tip_scheme
RankTwoTensor dflowPotential_dintnl(const RankTwoTensor &stress, Real intnl) const override
The derivative of the flow potential with respect to the internal parameter.
RankTwoTensor dyieldFunction_dstress(const RankTwoTensor &stress, Real intnl) const override
The derivative of yield function with respect to stress.
virtual Real dtan_phi(const Real internal_param) const
d(tan_phi)/d(internal_param);
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Real dyieldFunction_dintnl(const RankTwoTensor &stress, Real intnl) const override
The derivative of yield function with respect to the internal parameter.
virtual Real dcohesion(const Real internal_param) const
d(cohesion)/d(internal_param)
Plastic Model base class The virtual functions written below must be over-ridden in derived classes t...
virtual Real smooth(const RankTwoTensor &stress) const
returns the &#39;a&#39; parameter - see doco for _tip_scheme
MooseEnum _tip_scheme
The yield function is modified to f = sqrt(s_xz^2 + s_yz^2 + a) + s_zz*_tan_phi - _cohesion where "a"...
Rate-independent associative weak-plane tensile failure with hardening/softening. ...