Skip to content

Commit

Permalink
Update damage.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chemiskyy committed Oct 10, 2022
1 parent 72dbbed commit e5d07e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Continuum_mechanics/Functions/damage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace simcoon{
//This function returns damage evolution (/dt) considering a Weibull damage law
double damage_weibull(const vec &stress, const double &damage, const double &alpha, const double &beta, const double &DTime, const string &criterion) {

if ((criterion == "vonmises")) {
if ((criterion == "Mises")) {
return ((1.-damage)/DTime)*(1. - exp( -1.* pow( Mises_stress(stress) / beta, alpha)));
}
else if ((criterion == "hydro")) {
Expand Down

0 comments on commit e5d07e7

Please sign in to comment.