Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] add elasticity to CompositeViscoPlastic #5984

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
replaced hard coded damper index
bobmyhill committed Aug 21, 2024

Verified

This commit was signed with the committer’s verified signature.
gastaldi George Gastaldi
commit b0e8caeea883f1ca0ddefdc2243db7291962ad2b
2 changes: 1 addition & 1 deletion source/material_model/rheology/composite_visco_plastic.cc
Original file line number Diff line number Diff line change
@@ -657,7 +657,7 @@ namespace aspect
// arranged in parallel with the viscoplastic elements.
// The total stress is equal to the sum of the viscoplastic stress and
// damper stress.
const double damper_stress = 2. * damper_viscosity * (edot_ii - partial_strain_rates[4]);
const double damper_stress = 2. * damper_viscosity * (edot_ii - partial_strain_rates[isostrain_damper_strain_rate_index]);
const double total_stress = viscoplastic_stress + damper_stress;

// 6) Return the effective creep viscosity using the total stress