Commit 274ccbd
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 3a385da commit 274ccbd
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
| 855 | + | |
855 | 856 | | |
856 | 857 | | |
857 | 858 | | |
858 | 859 | | |
859 | | - | |
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
| |||
1123 | 1123 | | |
1124 | 1124 | | |
1125 | 1125 | | |
| 1126 | + | |
1126 | 1127 | | |
1127 | 1128 | | |
1128 | 1129 | | |
1129 | | - | |
1130 | | - | |
1131 | 1130 | | |
1132 | 1131 | | |
1133 | 1132 | | |
| |||
0 commit comments