https://mooseframework.inl.gov
SolidMechanicsPlasticWeakPlaneTensile.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:
37  const Real _a;
38 
41 
42  Real yieldFunction(const RankTwoTensor & stress, Real intnl) const override;
43 
44  RankTwoTensor dyieldFunction_dstress(const RankTwoTensor & stress, Real intnl) const override;
45 
46  Real dyieldFunction_dintnl(const RankTwoTensor & stress, Real intnl) const override;
47 
48  RankTwoTensor flowPotential(const RankTwoTensor & stress, Real intnl) const override;
49 
50  RankFourTensor dflowPotential_dstress(const RankTwoTensor & stress, Real intnl) const override;
51 
52  RankTwoTensor dflowPotential_dintnl(const RankTwoTensor & stress, Real intnl) const override;
53 
55  virtual Real tensile_strength(const Real internal_param) const;
56 
58  virtual Real dtensile_strength(const Real internal_param) const;
59 };
RankTwoTensor dyieldFunction_dstress(const RankTwoTensor &stress, Real intnl) const override
The derivative of yield function with respect to stress.
RankTwoTensor flowPotential(const RankTwoTensor &stress, Real intnl) const override
The flow potential.
RankFourTensor dflowPotential_dstress(const RankTwoTensor &stress, Real intnl) const override
The derivative of the flow potential with respect to stress.
SolidMechanicsPlasticWeakPlaneTensile(const InputParameters &parameters)
Real yieldFunction(const RankTwoTensor &stress, Real intnl) const override
The following functions are what you should override when building single-plasticity models...
Real f(Real x)
Test function for Brents method.
Rate-independent associative weak-plane tensile failure with hardening/softening of the tensile stren...
virtual Real tensile_strength(const Real internal_param) const
tensile strength as a function of residual value, rate, and internal_param
const SolidMechanicsHardeningModel & _strength
Yield function = _a * stress_zz - _strength;.
const Real _a
Yield function = _a * stress_zz - _strength;.
virtual Real dtensile_strength(const Real internal_param) const
d(tensile strength)/d(internal_param) as a function of residual value, rate, and internal_param ...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
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.
RankTwoTensor dflowPotential_dintnl(const RankTwoTensor &stress, Real intnl) const override
The derivative of the flow potential with respect to the internal parameter.
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.
Plastic Model base class The virtual functions written below must be over-ridden in derived classes t...