Merge branch '258-damage-driving-force-and-damage-tests-need-update' into 'development'

f_phi factor corrected

Closes #258

See merge request damask/DAMASK!760
This commit is contained in:
Yi Hu 2023-06-05 06:15:12 +00:00
commit 1eee3d3ee3
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 22a23a9d5939d49d9d277c7066d9b68003a33324
Subproject commit 4cd6c7350b0a9d4ad3efcb5fe6c6cfffa99c426f

View File

@ -210,7 +210,7 @@ module function phase_f_phi(phi,co,ce) result(f)
select case(phase_damage(ph))
case(DAMAGE_ISOBRITTLE_ID,DAMAGE_ANISOBRITTLE_ID)
f = 1.0_pReal &
- phi*damageState(ph)%state(1,en)
- 2.0_pREAL * phi*damageState(ph)%state(1,en)
case default
f = 0.0_pReal
end select