Skip to content
Snippets Groups Projects
Commit aa8c62fc authored by Van Dung NGUYEN's avatar Van Dung NGUYEN
Browse files

Merge branch 'vdg-cm3'

parents 43c6b847 3484d557
No related branches found
No related tags found
1 merge request!39Master
......@@ -124,10 +124,11 @@ double CritialPlasticDeformationCriteration::getFailureCriterion(const IPVariabl
double pres = K.trace()/3.;
STensor3 devK = K.dev();
double Keq = sqrt(1.5*devK.dotprod());
double p = ipv->get(IPField::PLASTICSTRAIN);
double p = viscoipv->getConstRefToEqPlasticStrain();
double T = pres/Keq;
return p - _a*(exp(-_b*T)) - _c;
if (T != T) T = 0.;
return (p - _a*(exp(-_b*T)) - _c);
}
};
bool CritialPlasticDeformationCriteration::isFailed(const IPVariable* ipvprev, const IPVariable* ipv) const{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment