Skip to content

Commit

Permalink
Merge pull request #5982 from anne-glerum/use_effective_edot_ii
Browse files Browse the repository at this point in the history
Use effective strain rate in viscoplastic stress limiter case as well
  • Loading branch information
bobmyhill authored Jul 22, 2024
2 parents b398dd9 + 491c8b6 commit ebebac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/material_model/rheology/visco_plastic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ namespace aspect
{
//Step 5b-1: always rescale the viscosity back to the yield surface
const double viscosity_limiter = yield_stress / (2.0 * ref_strain_rate)
* std::pow((edot_ii/ref_strain_rate),
* std::pow((effective_edot_ii/ref_strain_rate),
1./exponents_stress_limiter[j] - 1.0);
effective_viscosity = 1. / ( 1./viscosity_limiter + 1./non_yielding_viscosity);
break;
Expand Down

0 comments on commit ebebac8

Please sign in to comment.