Skip to content

Commit

Permalink
Merge pull request #5971 from gassmoeller/frank_kamenetskii_pressure
Browse files Browse the repository at this point in the history
Use pressure consistently for viscous creep in visco-plastic
  • Loading branch information
bobmyhill authored Jul 17, 2024
2 parents 7be71fb + 910351f commit 9ad03b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/material_model/rheology/visco_plastic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ namespace aspect
case frank_kamenetskii:
{
non_yielding_viscosity = frank_kamenetskii_rheology->compute_viscosity(in.temperature[i], j,
in.pressure[i],
pressure_for_creep,
this->get_adiabatic_conditions().density(this->get_geometry_model().representative_point(0)),
this->get_gravity_model().gravity_vector(in.position[0]).norm());
break;
Expand Down Expand Up @@ -577,8 +577,8 @@ namespace aspect
prm.declare_entry ("Use adiabatic pressure in creep viscosity", "false",
Patterns::Bool (),
"Whether to use the adiabatic pressure instead of the full "
"pressure (default) when calculating creep (diffusion, dislocation, "
"and peierls) viscosity. This may be helpful in models where the "
"pressure (default) when calculating viscous creep. "
"This may be helpful in models where the "
"full pressure has an unusually large negative value arising from "
"large negative dynamic pressure, resulting in solver convergence "
"issue and in some cases a viscosity of zero.");
Expand Down

0 comments on commit 9ad03b5

Please sign in to comment.