https://mooseframework.inl.gov
ADExponentialSoftening.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 
21 {
22 public:
24 
26 
27  virtual void computeCrackingRelease(ADReal & stress,
28  ADReal & stiffness_ratio,
29  const ADReal & strain,
30  const ADReal & crack_initiation_strain,
31  const ADReal & crack_max_strain,
32  const ADReal & cracking_stress,
33  const ADReal & youngs_modulus) override;
34 
35 protected:
38 
40  const Real & _alpha;
41 
43  const bool _alpha_set_by_user;
44 
46  const Real & _beta;
47 };
const bool _alpha_set_by_user
Variable to track whether _alpha was set by the user.
ExponentialSoftening is a smeared crack softening model that uses an exponential softening curve...
static InputParameters validParams()
virtual void computeCrackingRelease(ADReal &stress, ADReal &stiffness_ratio, const ADReal &strain, const ADReal &crack_initiation_strain, const ADReal &crack_max_strain, const ADReal &cracking_stress, const ADReal &youngs_modulus) override
Compute the effect of the cracking release model on the stress and stiffness in the direction of a si...
const Real & _alpha
Initial slope of the softening curve.
const Real & _beta
Multiplier on alpha to determine the initial softening slope.
ADExponentialSoftening(const InputParameters &parameters)
ADSmearedCrackSofteningBase is the base class for a set of models that define the softening behavior ...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real & _residual_stress
Residual stress after full softening.
const InputParameters & parameters() const