Commit 7a78854
Fix G_K exponential degradation in damage model
The damage factor was applied inside the stress component loop, causing
G_K (and G) to be multiplied by the damage factor on every iteration.
With N stress components, the effective shear modulus was reduced by
damage^N instead of damage^1. Move the damage application before the
loop so it is applied exactly once per cell.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent b3506d4 commit 7a78854
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
| 849 | + | |
849 | 850 | | |
850 | 851 | | |
851 | 852 | | |
852 | 853 | | |
853 | | - | |
854 | 854 | | |
855 | 855 | | |
856 | 856 | | |
| |||
1123 | 1123 | | |
1124 | 1124 | | |
1125 | 1125 | | |
| 1126 | + | |
1126 | 1127 | | |
1127 | 1128 | | |
1128 | 1129 | | |
1129 | | - | |
1130 | | - | |
1131 | 1130 | | |
1132 | 1131 | | |
1133 | 1132 | | |
| |||
0 commit comments