15 TensorMechanicsPlasticWeakPlaneTensile,
23 params.
addParam<Real>(
"stress_coefficient",
25 "The yield function is stress_coefficient * stress_zz - tensile_strength");
27 "A SolidMechanicsHardening "
28 "UserObject that defines hardening "
29 "of the weak-plane tensile strength");
30 params.
addClassDescription(
"Associative weak-plane tensile plasticity with hardening/softening");
38 _a(getParam<Real>(
"stress_coefficient")),
43 mooseError(
"Weak plane tensile strength must not be negative");
108 std::vector<bool> & act,
111 act.assign(1,
false);
115 returned_stress = stress;
122 for (
unsigned i = 0; i < 3; ++i)
123 for (
unsigned j = 0; j < 3; ++j)
124 n(i, j) =
_a * Eijkl(i, j, 2, 2);
128 Real alpha = (
_a * stress(2, 2) - str) / n(2, 2);
130 for (
unsigned i = 0; i < 3; ++i)
131 for (
unsigned j = 0; j < 3; ++j)
132 returned_stress(i, j) =
_a * stress(i, j) - alpha * n(i, j);
140 return "WeakPlaneTensile";
Real f(Real x)
Test function for Brents method.
registerMooseObject("SolidMechanicsApp", SolidMechanicsPlasticWeakPlaneTensile)
registerMooseObjectRenamed("SolidMechanicsApp", TensorMechanicsPlasticWeakPlaneTensile, "01/01/2025 00:00", SolidMechanicsPlasticWeakPlaneTensile)
void mooseError(Args &&... args) const
Hardening Model base class.
virtual Real derivative(Real intnl) const
virtual Real value(Real intnl) const
Plastic Model base class The virtual functions written below must be over-ridden in derived classes t...
const Real _f_tol
Tolerance on yield function.
static InputParameters validParams()
Rate-independent associative weak-plane tensile failure with hardening/softening of the tensile stren...
RankFourTensor dflowPotential_dstress(const RankTwoTensor &stress, Real intnl) const override
The derivative of the flow potential with respect to stress.
RankTwoTensor dflowPotential_dintnl(const RankTwoTensor &stress, Real intnl) const override
The derivative of the flow potential with respect to the internal parameter.
RankTwoTensor flowPotential(const RankTwoTensor &stress, Real intnl) const override
The flow potential.
const Real _a
Yield function = _a * stress_zz - _strength;.
SolidMechanicsPlasticWeakPlaneTensile(const InputParameters ¶meters)
RankTwoTensor dyieldFunction_dstress(const RankTwoTensor &stress, Real intnl) const override
The derivative of yield function with respect to stress.
Real dyieldFunction_dintnl(const RankTwoTensor &stress, Real intnl) const override
The derivative of yield function with respect to the internal parameter.
Real yieldFunction(const RankTwoTensor &stress, Real intnl) const override
The following functions are what you should override when building single-plasticity models.
static InputParameters validParams()
virtual std::string modelName() const override
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
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.
const SolidMechanicsHardeningModel & _strength
Yield function = _a * stress_zz - _strength;.
virtual Real tensile_strength(const Real internal_param) const
tensile strength as a function of residual value, rate, and internal_param