corrected implementation of deltaState for isoBrittle damage
This commit is contained in:
parent
1df2db7433
commit
3d5a85e4af
|
@ -277,7 +277,6 @@ subroutine source_damage_isoBrittle_deltaState(C, Fe, ipc, ip, el)
|
||||||
instance = source_damage_isoBrittle_instance(phase)
|
instance = source_damage_isoBrittle_instance(phase)
|
||||||
sourceOffset = source_damage_isoBrittle_offset(phase)
|
sourceOffset = source_damage_isoBrittle_offset(phase)
|
||||||
|
|
||||||
stiffness = C
|
|
||||||
do mech = 1_pInt, phase_NstiffnessDegradations(phase)
|
do mech = 1_pInt, phase_NstiffnessDegradations(phase)
|
||||||
select case(phase_stiffnessDegradation(mech,phase))
|
select case(phase_stiffnessDegradation(mech,phase))
|
||||||
case (STIFFNESS_DEGRADATION_porosity_ID)
|
case (STIFFNESS_DEGRADATION_porosity_ID)
|
||||||
|
@ -290,13 +289,12 @@ subroutine source_damage_isoBrittle_deltaState(C, Fe, ipc, ip, el)
|
||||||
|
|
||||||
strainenergy = 2.0_pReal*sum(strain*math_mul66x6(stiffness,strain))/ &
|
strainenergy = 2.0_pReal*sum(strain*math_mul66x6(stiffness,strain))/ &
|
||||||
source_damage_isoBrittle_critStrainEnergy(instance)
|
source_damage_isoBrittle_critStrainEnergy(instance)
|
||||||
if (strainenergy > sourceState(phase)%p(sourceOffset)%subState0(1,constituent)) then
|
if (strainenergy > sourceState(phase)%p(sourceOffset)%state(1,constituent)) then
|
||||||
sourceState(phase)%p(sourceOffset)%deltaState(1,constituent) = &
|
sourceState(phase)%p(sourceOffset)%deltaState(1,constituent) = &
|
||||||
strainenergy - sourceState(phase)%p(sourceOffset)%state(1,constituent)
|
strainenergy - sourceState(phase)%p(sourceOffset)%state(1,constituent)
|
||||||
else
|
else
|
||||||
sourceState(phase)%p(sourceOffset)%deltaState(1,constituent) = &
|
sourceState(phase)%p(sourceOffset)%deltaState(1,constituent) = &
|
||||||
sourceState(phase)%p(sourceOffset)%subState0(1,constituent) - &
|
0.0_pReal
|
||||||
sourceState(phase)%p(sourceOffset)%state(1,constituent)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
end subroutine source_damage_isoBrittle_deltaState
|
end subroutine source_damage_isoBrittle_deltaState
|
||||||
|
|
Loading…
Reference in New Issue