Rate-independent associative mean-cap tensile AND compressive failure with hardening/softening of the tensile and compressive strength. More...
#include <TensorMechanicsPlasticMeanCapTC.h>
Public Member Functions | |
TensorMechanicsPlasticMeanCapTC (const InputParameters ¶meters) | |
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. More... | |
virtual bool | useCustomReturnMap () const override |
Returns false. You will want to override this in your derived class if you write a custom returnMap function. More... | |
virtual bool | useCustomCTO () const override |
Returns false. You will want to override this in your derived class if you write a custom consistent tangent operator function. More... | |
virtual bool | returnMap (const RankTwoTensor &trial_stress, Real intnl_old, const RankFourTensor &E_ijkl, Real ep_plastic_tolerance, RankTwoTensor &returned_stress, Real &returned_intnl, std::vector< Real > &dpm, RankTwoTensor &delta_dp, std::vector< Real > &yf, bool &trial_stress_inadmissible) const override |
Performs a custom return-map. More... | |
virtual RankFourTensor | consistentTangentOperator (const RankTwoTensor &trial_stress, Real intnl_old, const RankTwoTensor &stress, Real intnl, const RankFourTensor &E_ijkl, const std::vector< Real > &cumulative_pm) const override |
Calculates a custom consistent tangent operator. More... | |
virtual std::string | modelName () const override |
void | initialize () |
void | execute () |
void | finalize () |
virtual unsigned int | numberSurfaces () const |
The number of yield surfaces for this plasticity model. More... | |
virtual void | yieldFunctionV (const RankTwoTensor &stress, Real intnl, std::vector< Real > &f) const |
Calculates the yield functions. More... | |
virtual void | dyieldFunction_dstressV (const RankTwoTensor &stress, Real intnl, std::vector< RankTwoTensor > &df_dstress) const |
The derivative of yield functions with respect to stress. More... | |
virtual void | dyieldFunction_dintnlV (const RankTwoTensor &stress, Real intnl, std::vector< Real > &df_dintnl) const |
The derivative of yield functions with respect to the internal parameter. More... | |
virtual void | flowPotentialV (const RankTwoTensor &stress, Real intnl, std::vector< RankTwoTensor > &r) const |
The flow potentials. More... | |
virtual void | dflowPotential_dstressV (const RankTwoTensor &stress, Real intnl, std::vector< RankFourTensor > &dr_dstress) const |
The derivative of the flow potential with respect to stress. More... | |
virtual void | dflowPotential_dintnlV (const RankTwoTensor &stress, Real intnl, std::vector< RankTwoTensor > &dr_dintnl) const |
The derivative of the flow potential with respect to the internal parameter. More... | |
virtual void | hardPotentialV (const RankTwoTensor &stress, Real intnl, std::vector< Real > &h) const |
The hardening potential. More... | |
virtual void | dhardPotential_dstressV (const RankTwoTensor &stress, Real intnl, std::vector< RankTwoTensor > &dh_dstress) const |
The derivative of the hardening potential with respect to stress. More... | |
virtual void | dhardPotential_dintnlV (const RankTwoTensor &stress, Real intnl, std::vector< Real > &dh_dintnl) const |
The derivative of the hardening potential with respect to the internal parameter. More... | |
bool | KuhnTuckerSingleSurface (Real yf, Real dpm, Real dpm_tol) const |
Returns true if the Kuhn-Tucker conditions for the single surface are satisfied. More... | |
Static Public Member Functions | |
static InputParameters | validParams () |
Public Attributes | |
const Real | _f_tol |
Tolerance on yield function. More... | |
const Real | _ic_tol |
Tolerance on internal constraint. More... | |
Protected Member Functions | |
Real | yieldFunction (const RankTwoTensor &stress, Real intnl) const override |
The following functions are what you should override when building single-plasticity models. More... | |
RankTwoTensor | dyieldFunction_dstress (const RankTwoTensor &stress, Real intnl) const override |
The derivative of yield function with respect to stress. More... | |
Real | dyieldFunction_dintnl (const RankTwoTensor &stress, Real intnl) const override |
The derivative of yield function with respect to the internal parameter. More... | |
RankTwoTensor | flowPotential (const RankTwoTensor &stress, Real intnl) const override |
The flow potential. More... | |
RankFourTensor | dflowPotential_dstress (const RankTwoTensor &stress, Real intnl) const override |
The derivative of the flow potential with respect to stress. More... | |
RankTwoTensor | dflowPotential_dintnl (const RankTwoTensor &stress, Real intnl) const override |
The derivative of the flow potential with respect to the internal parameter. More... | |
Real | hardPotential (const RankTwoTensor &stress, Real intnl) const override |
The hardening potential. More... | |
virtual RankTwoTensor | dhardPotential_dstress (const RankTwoTensor &stress, Real intnl) const override |
The derivative of the hardening potential with respect to stress. More... | |
virtual Real | dhardPotential_dintnl (const RankTwoTensor &stress, Real intnl) const override |
The derivative of the hardening potential with respect to the internal parameter. More... | |
RankTwoTensor | df_dsig (const RankTwoTensor &stress, Real intnl) const |
Derivative of the yield function with respect to stress. More... | |
virtual Real | tensile_strength (const Real internal_param) const |
tensile strength as a function of residual value, rate, and internal_param More... | |
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 More... | |
virtual Real | compressive_strength (const Real internal_param) const |
compressive strength as a function of residual value, rate, and internal_param More... | |
virtual Real | dcompressive_strength (const Real internal_param) const |
d(compressive strength)/d(internal_param) as a function of residual value, rate, and internal_param More... | |
Protected Attributes | |
const unsigned | _max_iters |
max iters for custom return map loop More... | |
const bool | _use_custom_returnMap |
Whether to use the custom return-map algorithm. More... | |
const bool | _use_custom_cto |
Whether to use the custom consistent tangent operator algorithm. More... | |
const TensorMechanicsHardeningModel & | _strength |
the tensile strength More... | |
const TensorMechanicsHardeningModel & | _c_strength |
the compressive strength More... | |
Rate-independent associative mean-cap tensile AND compressive failure with hardening/softening of the tensile and compressive strength.
The key point here is that the internal parameter is equal to the volumetric plastic strain. This means that upon tensile failure, the compressive strength can soften (using a TensorMechanicsHardening object) which physically means that a subsequent compressive stress can easily squash the material
Definition at line 29 of file TensorMechanicsPlasticMeanCapTC.h.
TensorMechanicsPlasticMeanCapTC::TensorMechanicsPlasticMeanCapTC | ( | const InputParameters & | parameters | ) |
Definition at line 49 of file TensorMechanicsPlasticMeanCapTC.C.
|
overridevirtual |
The active yield surfaces, given a vector of yield functions.
This is used by FiniteStrainMultiPlasticity to determine the initial set of active constraints at the trial (stress, intnl) configuration. It is up to you (the coder) to determine how accurate you want the returned_stress to be. Currently it is only used by FiniteStrainMultiPlasticity to estimate a good starting value for the Newton-Rahson procedure, so currently it may not need to be super perfect.
f | values of the yield functions | |
stress | stress tensor | |
intnl | internal parameter | |
Eijkl | elasticity tensor (stress = Eijkl*strain) | |
[out] | act | act[i] = true if the i_th yield function is active |
[out] | returned_stress | Approximate value of the returned stress |
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 247 of file TensorMechanicsPlasticMeanCapTC.C.
|
protectedvirtual |
compressive strength as a function of residual value, rate, and internal_param
Definition at line 235 of file TensorMechanicsPlasticMeanCapTC.C.
Referenced by activeConstraints(), df_dsig(), dflowPotential_dintnl(), dflowPotential_dstress(), dhardPotential_dintnl(), dhardPotential_dstress(), dyieldFunction_dintnl(), hardPotential(), returnMap(), and yieldFunction().
|
overridevirtual |
Calculates a custom consistent tangent operator.
You may choose to over-ride this in your derived TensorMechanicsPlasticXXXX class.
(Note, if you over-ride returnMap, you will probably want to override consistentTangentOpertor too, otherwise it will default to E_ijkl.)
stress_old | trial stress before returning |
intnl_old | internal parameter before returning |
stress | current returned stress state |
intnl | internal parameter |
E_ijkl | elasticity tensor |
cumulative_pm | the cumulative plastic multipliers |
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 399 of file TensorMechanicsPlasticMeanCapTC.C.
|
protectedvirtual |
d(compressive strength)/d(internal_param) as a function of residual value, rate, and internal_param
Definition at line 241 of file TensorMechanicsPlasticMeanCapTC.C.
Referenced by consistentTangentOperator(), dflowPotential_dintnl(), dhardPotential_dintnl(), dyieldFunction_dintnl(), and returnMap().
|
protected |
Derivative of the yield function with respect to stress.
This is also the flow potential.
stress | the stress at which to calculate the hardening potentials |
intnl | internal parameter |
Definition at line 110 of file TensorMechanicsPlasticMeanCapTC.C.
Referenced by dyieldFunction_dstress(), and flowPotential().
|
overrideprotectedvirtual |
The derivative of the flow potential with respect to the internal parameter.
stress | the stress at which to calculate the flow potential |
intnl | internal parameter |
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 148 of file TensorMechanicsPlasticMeanCapTC.C.
|
virtualinherited |
The derivative of the flow potential with respect to the internal parameter.
stress | the stress at which to calculate the flow potential | |
intnl | internal parameter | |
[out] | dr_dintnl | dr_dintnl[alpha](i, j) = dr[alpha](i, j)/dintnl |
Reimplemented in TensorMechanicsPlasticMohrCoulombMulti, and TensorMechanicsPlasticTensileMulti.
Definition at line 139 of file TensorMechanicsPlasticModel.C.
|
overrideprotectedvirtual |
The derivative of the flow potential with respect to stress.
stress | the stress at which to calculate the flow potential |
intnl | internal parameter |
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 131 of file TensorMechanicsPlasticMeanCapTC.C.
|
virtualinherited |
The derivative of the flow potential with respect to stress.
stress | the stress at which to calculate the flow potential | |
intnl | internal parameter | |
[out] | dr_dstress | dr_dstress[alpha](i, j, k, l) = dr[alpha](i, j)/dstress(k, l) |
Reimplemented in TensorMechanicsPlasticMohrCoulombMulti, and TensorMechanicsPlasticTensileMulti.
Definition at line 125 of file TensorMechanicsPlasticModel.C.
|
overrideprotectedvirtual |
The derivative of the hardening potential with respect to the internal parameter.
stress | the stress at which to calculate the hardening potentials |
intnl | internal parameter |
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 204 of file TensorMechanicsPlasticMeanCapTC.C.
|
virtualinherited |
The derivative of the hardening potential with respect to the internal parameter.
stress | the stress at which to calculate the hardening potentials | |
intnl | internal parameter | |
[out] | dh_dintnl | dh_dintnl[alpha] = dh[alpha]/dintnl |
Definition at line 180 of file TensorMechanicsPlasticModel.C.
|
overrideprotectedvirtual |
The derivative of the hardening potential with respect to stress.
stress | the stress at which to calculate the hardening potentials |
intnl | internal parameter |
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 187 of file TensorMechanicsPlasticMeanCapTC.C.
|
virtualinherited |
The derivative of the hardening potential with respect to stress.
stress | the stress at which to calculate the hardening potentials | |
intnl | internal parameter | |
[out] | dh_dstress | dh_dstress[alpha](i, j) = dh[alpha]/dstress(i, j) |
Definition at line 166 of file TensorMechanicsPlasticModel.C.
|
protectedvirtual |
d(tensile strength)/d(internal_param) as a function of residual value, rate, and internal_param
Definition at line 229 of file TensorMechanicsPlasticMeanCapTC.C.
Referenced by consistentTangentOperator(), dflowPotential_dintnl(), dhardPotential_dintnl(), dyieldFunction_dintnl(), and returnMap().
|
overrideprotectedvirtual |
The derivative of yield function with respect to the internal parameter.
stress | the stress at which to calculate the yield function |
intnl | internal parameter |
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 90 of file TensorMechanicsPlasticMeanCapTC.C.
|
virtualinherited |
The derivative of yield functions with respect to the internal parameter.
stress | the stress at which to calculate the yield function | |
intnl | internal parameter | |
[out] | df_dintnl | df_dintnl[alpha] = df[alpha]/dintnl |
Reimplemented in TensorMechanicsPlasticMohrCoulombMulti, and TensorMechanicsPlasticTensileMulti.
Definition at line 98 of file TensorMechanicsPlasticModel.C.
|
overrideprotectedvirtual |
The derivative of yield function with respect to stress.
stress | the stress at which to calculate the yield function |
intnl | internal parameter |
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 83 of file TensorMechanicsPlasticMeanCapTC.C.
|
virtualinherited |
The derivative of yield functions with respect to stress.
stress | the stress at which to calculate the yield function | |
intnl | internal parameter | |
[out] | df_dstress | df_dstress[alpha](i, j) = dyieldFunction[alpha]/dstress(i, j) |
Reimplemented in TensorMechanicsPlasticMohrCoulombMulti, and TensorMechanicsPlasticTensileMulti.
Definition at line 84 of file TensorMechanicsPlasticModel.C.
|
inherited |
Definition at line 47 of file TensorMechanicsPlasticModel.C.
|
inherited |
Definition at line 52 of file TensorMechanicsPlasticModel.C.
|
overrideprotectedvirtual |
The flow potential.
stress | the stress at which to calculate the flow potential |
intnl | internal parameter |
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 125 of file TensorMechanicsPlasticMeanCapTC.C.
|
virtualinherited |
The flow potentials.
stress | the stress at which to calculate the flow potential | |
intnl | internal parameter | |
[out] | r | r[alpha] is the flow potential for the "alpha" yield function |
Reimplemented in TensorMechanicsPlasticMohrCoulombMulti, and TensorMechanicsPlasticTensileMulti.
Definition at line 111 of file TensorMechanicsPlasticModel.C.
|
overrideprotectedvirtual |
The hardening potential.
Note that it is -1 for stress.trace() > _strength, and +1 for stress.trace() < _c_strength. This implements the idea that tensile failure will cause a massive reduction in compressive strength
stress | the stress at which to calculate the hardening potential |
intnl | internal parameter |
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 167 of file TensorMechanicsPlasticMeanCapTC.C.
|
virtualinherited |
The hardening potential.
stress | the stress at which to calculate the hardening potential | |
intnl | internal parameter | |
[out] | h | h[alpha] is the hardening potential for the "alpha" yield function |
Definition at line 152 of file TensorMechanicsPlasticModel.C.
|
inherited |
Definition at line 42 of file TensorMechanicsPlasticModel.C.
|
inherited |
Returns true if the Kuhn-Tucker conditions for the single surface are satisfied.
yf | Yield function value |
dpm | plastic multiplier |
dpm_tol | tolerance on plastic multiplier: viz dpm>-dpm_tol means "dpm is non-negative" |
Definition at line 248 of file TensorMechanicsPlasticModel.C.
Referenced by TensorMechanicsPlasticMohrCoulombMulti::KuhnTuckerOK(), TensorMechanicsPlasticTensileMulti::KuhnTuckerOK(), and TensorMechanicsPlasticModel::returnMap().
|
overridevirtual |
Implements TensorMechanicsPlasticModel.
Definition at line 448 of file TensorMechanicsPlasticMeanCapTC.C.
|
virtualinherited |
The number of yield surfaces for this plasticity model.
Reimplemented in TensorMechanicsPlasticMohrCoulombMulti, and TensorMechanicsPlasticTensileMulti.
Definition at line 57 of file TensorMechanicsPlasticModel.C.
Referenced by TensorMechanicsPlasticModel::activeConstraints(), TensorMechanicsPlasticModel::dhardPotential_dintnlV(), TensorMechanicsPlasticModel::dhardPotential_dstressV(), TensorMechanicsPlasticModel::hardPotentialV(), and TensorMechanicsPlasticModel::returnMap().
|
overridevirtual |
Performs a custom return-map.
You may choose to over-ride this in your derived TensorMechanicsPlasticXXXX class, and you may implement the return-map algorithm in any way that suits you. Eg, using a Newton-Raphson approach, or a radial-return, etc. This may also be used as a quick way of ascertaining whether (trial_stress, intnl_old) is in fact admissible.
For over-riding this function, please note the following.
(1) Denoting the return value of the function by "successful_return", the only possible output values should be: (A) trial_stress_inadmissible=false, successful_return=true. That is, (trial_stress, intnl_old) is in fact admissible (in the elastic domain). (B) trial_stress_inadmissible=true, successful_return=false. That is (trial_stress, intnl_old) is inadmissible (outside the yield surface), and you didn't return to the yield surface. (C) trial_stress_inadmissible=true, successful_return=true. That is (trial_stress, intnl_old) is inadmissible (outside the yield surface), but you did return to the yield surface. The default implementation only handles case (A) and (B): it does not attempt to do a return-map algorithm.
(2) you must correctly signal "successful_return" using the return value of this function. Don't assume the calling function will do Kuhn-Tucker checking and so forth!
(3) In cases (A) and (B) you needn't set returned_stress, returned_intnl, delta_dp, or dpm. This is for computational efficiency.
(4) In cases (A) and (B), you MUST place the yield function values at (trial_stress, intnl_old) into yf so the calling function can use this information optimally. You will have already calculated these yield function values, which can be quite expensive, and it's not very optimal for the calling function to have to re-calculate them.
(5) In case (C), you need to set: returned_stress (the returned value of stress) returned_intnl (the returned value of the internal variable) delta_dp (the change in plastic strain) dpm (the plastic multipliers needed to bring about the return) yf (yield function values at the returned configuration)
(Note, if you over-ride returnMap, you will probably want to override consistentTangentOpertor too, otherwise it will default to E_ijkl.)
trial_stress | The trial stress | |
intnl_old | Value of the internal parameter | |
E_ijkl | Elasticity tensor | |
ep_plastic_tolerance | Tolerance defined by the user for the plastic strain | |
[out] | returned_stress | In case (C): lies on the yield surface after returning and produces the correct plastic strain (normality condition). Otherwise: not defined |
[out] | returned_intnl | In case (C): the value of the internal parameter after returning. Otherwise: not defined |
[out] | dpm | In case (C): the plastic multipliers needed to bring about the return. Otherwise: not defined |
[out] | delta_dp | In case (C): The change in plastic strain induced by the return process. Otherwise: not defined |
[out] | yf | In case (C): the yield function at (returned_stress, returned_intnl). Otherwise: the yield function at (trial_stress, intnl_old) |
[out] | trial_stress_inadmissible | Should be set to false if the trial_stress is admissible, and true if the trial_stress is inadmissible. This can be used by the calling prorgram |
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 297 of file TensorMechanicsPlasticMeanCapTC.C.
|
protectedvirtual |
tensile strength as a function of residual value, rate, and internal_param
Definition at line 223 of file TensorMechanicsPlasticMeanCapTC.C.
Referenced by activeConstraints(), consistentTangentOperator(), df_dsig(), dflowPotential_dintnl(), dflowPotential_dstress(), dhardPotential_dintnl(), dhardPotential_dstress(), dyieldFunction_dintnl(), hardPotential(), returnMap(), and yieldFunction().
|
overridevirtual |
Returns false. You will want to override this in your derived class if you write a custom consistent tangent operator function.
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 442 of file TensorMechanicsPlasticMeanCapTC.C.
|
overridevirtual |
Returns false. You will want to override this in your derived class if you write a custom returnMap function.
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 436 of file TensorMechanicsPlasticMeanCapTC.C.
|
static |
Definition at line 19 of file TensorMechanicsPlasticMeanCapTC.C.
|
overrideprotectedvirtual |
The following functions are what you should override when building single-plasticity models.
The yield function
stress | the stress at which to calculate the yield function |
intnl | internal parameter |
Reimplemented from TensorMechanicsPlasticModel.
Definition at line 65 of file TensorMechanicsPlasticMeanCapTC.C.
Referenced by returnMap().
|
virtualinherited |
Calculates the yield functions.
Note that for single-surface plasticity you don't want to override this - override the private yieldFunction below
stress | the stress at which to calculate the yield function | |
intnl | internal parameter | |
[out] | f | the yield functions |
Reimplemented in TensorMechanicsPlasticMohrCoulombMulti, and TensorMechanicsPlasticTensileMulti.
Definition at line 69 of file TensorMechanicsPlasticModel.C.
Referenced by TensorMechanicsPlasticModel::returnMap().
|
protected |
the compressive strength
Definition at line 82 of file TensorMechanicsPlasticMeanCapTC.h.
Referenced by compressive_strength(), dcompressive_strength(), and TensorMechanicsPlasticMeanCapTC().
|
inherited |
Tolerance on yield function.
Definition at line 175 of file TensorMechanicsPlasticModel.h.
Referenced by TensorMechanicsPlasticWeakPlaneShear::activeConstraints(), TensorMechanicsPlasticWeakPlaneTensile::activeConstraints(), activeConstraints(), TensorMechanicsPlasticTensileMulti::activeConstraints(), TensorMechanicsPlasticMohrCoulombMulti::activeConstraints(), TensorMechanicsPlasticModel::activeConstraints(), TensorMechanicsPlasticMohrCoulombMulti::doReturnMap(), TensorMechanicsPlasticTensileMulti::doReturnMap(), TensorMechanicsPlasticModel::KuhnTuckerSingleSurface(), TensorMechanicsPlasticTensileMulti::returnEdge(), TensorMechanicsPlasticMohrCoulombMulti::returnEdge000101(), TensorMechanicsPlasticMohrCoulombMulti::returnEdge010100(), TensorMechanicsPlasticJ2::returnMap(), TensorMechanicsPlasticDruckerPragerHyperbolic::returnMap(), returnMap(), TensorMechanicsPlasticModel::returnMap(), TensorMechanicsPlasticTensileMulti::returnPlane(), TensorMechanicsPlasticMohrCoulombMulti::returnPlane(), TensorMechanicsPlasticTensileMulti::returnTip(), TensorMechanicsPlasticMohrCoulombMulti::returnTip(), TensorMechanicsPlasticMohrCoulombMulti::TensorMechanicsPlasticMohrCoulombMulti(), and TensorMechanicsPlasticTensileMulti::TensorMechanicsPlasticTensileMulti().
|
inherited |
Tolerance on internal constraint.
Definition at line 178 of file TensorMechanicsPlasticModel.h.
|
protected |
max iters for custom return map loop
Definition at line 70 of file TensorMechanicsPlasticMeanCapTC.h.
Referenced by returnMap().
|
protected |
the tensile strength
Definition at line 79 of file TensorMechanicsPlasticMeanCapTC.h.
Referenced by dtensile_strength(), tensile_strength(), and TensorMechanicsPlasticMeanCapTC().
|
protected |
Whether to use the custom consistent tangent operator algorithm.
Definition at line 76 of file TensorMechanicsPlasticMeanCapTC.h.
Referenced by consistentTangentOperator(), and useCustomCTO().
|
protected |
Whether to use the custom return-map algorithm.
Definition at line 73 of file TensorMechanicsPlasticMeanCapTC.h.
Referenced by returnMap(), and useCustomReturnMap().