tolerance for damage can be any positive value. Set to 0.001 if found negative.
This commit is contained in:
parent
ee1d409bad
commit
3d4b2d2f52
|
@ -224,7 +224,7 @@ subroutine damage_anisoBrittle_init(fileUnit)
|
||||||
min(lattice_NcleavageSystem(1:lattice_maxNcleavageFamily,phase),& ! limit active cleavage systems per family to min of available and requested
|
min(lattice_NcleavageSystem(1:lattice_maxNcleavageFamily,phase),& ! limit active cleavage systems per family to min of available and requested
|
||||||
damage_anisoBrittle_Ncleavage(1:lattice_maxNcleavageFamily,instance))
|
damage_anisoBrittle_Ncleavage(1:lattice_maxNcleavageFamily,instance))
|
||||||
damage_anisoBrittle_totalNcleavage(instance) = sum(damage_anisoBrittle_Ncleavage(:,instance)) ! how many cleavage systems altogether
|
damage_anisoBrittle_totalNcleavage(instance) = sum(damage_anisoBrittle_Ncleavage(:,instance)) ! how many cleavage systems altogether
|
||||||
if (damage_anisoBrittle_aTol_damage(instance) >= 1.0e-3_pReal) &
|
if (damage_anisoBrittle_aTol_damage(instance) < 0.0_pReal) &
|
||||||
damage_anisoBrittle_aTol_damage(instance) = 1.0e-3_pReal ! default absolute tolerance 1e-3
|
damage_anisoBrittle_aTol_damage(instance) = 1.0e-3_pReal ! default absolute tolerance 1e-3
|
||||||
if (damage_anisoBrittle_aTol_disp(instance) >= 1.0e-3_pReal) &
|
if (damage_anisoBrittle_aTol_disp(instance) >= 1.0e-3_pReal) &
|
||||||
damage_anisoBrittle_aTol_disp(instance) = 1.0e-3_pReal ! default absolute tolerance 1e-3
|
damage_anisoBrittle_aTol_disp(instance) = 1.0e-3_pReal ! default absolute tolerance 1e-3
|
||||||
|
|
|
@ -203,7 +203,7 @@ subroutine damage_anisoDuctile_init(fileUnit)
|
||||||
min(lattice_NslipSystem(1:lattice_maxNslipFamily,phase),& ! limit active cleavage systems per family to min of available and requested
|
min(lattice_NslipSystem(1:lattice_maxNslipFamily,phase),& ! limit active cleavage systems per family to min of available and requested
|
||||||
damage_anisoDuctile_Nslip(1:lattice_maxNslipFamily,instance))
|
damage_anisoDuctile_Nslip(1:lattice_maxNslipFamily,instance))
|
||||||
damage_anisoDuctile_totalNslip(instance) = sum(damage_anisoDuctile_Nslip(:,instance))
|
damage_anisoDuctile_totalNslip(instance) = sum(damage_anisoDuctile_Nslip(:,instance))
|
||||||
if (damage_anisoDuctile_aTol_damage(instance) >= 1.0e-3_pReal) &
|
if (damage_anisoDuctile_aTol_damage(instance) < 0.0_pReal) &
|
||||||
damage_anisoDuctile_aTol_damage(instance) = 1.0e-3_pReal ! default absolute tolerance 1e-3
|
damage_anisoDuctile_aTol_damage(instance) = 1.0e-3_pReal ! default absolute tolerance 1e-3
|
||||||
if (any(damage_anisoDuctile_critAccShear(:,instance) < 0.0_pReal)) &
|
if (any(damage_anisoDuctile_critAccShear(:,instance) < 0.0_pReal)) &
|
||||||
call IO_error(211_pInt,el=instance,ext_msg='critical_accshear ('//LOCAL_DAMAGE_anisoDuctile_LABEL//')')
|
call IO_error(211_pInt,el=instance,ext_msg='critical_accshear ('//LOCAL_DAMAGE_anisoDuctile_LABEL//')')
|
||||||
|
|
|
@ -179,7 +179,7 @@ subroutine damage_isoBrittle_init(fileUnit)
|
||||||
NofMyPhase=count(material_phase==phase)
|
NofMyPhase=count(material_phase==phase)
|
||||||
instance = phase_damageInstance(phase)
|
instance = phase_damageInstance(phase)
|
||||||
! sanity checks
|
! sanity checks
|
||||||
if (damage_isoBrittle_aTol(instance) >= 1.0e-3_pReal) &
|
if (damage_isoBrittle_aTol(instance) < 0.0_pReal) &
|
||||||
damage_isoBrittle_aTol(instance) = 1.0e-3_pReal ! default absolute tolerance 1e-3
|
damage_isoBrittle_aTol(instance) = 1.0e-3_pReal ! default absolute tolerance 1e-3
|
||||||
if (damage_isoBrittle_critStrainEnergy(instance) <= 0.0_pReal) &
|
if (damage_isoBrittle_critStrainEnergy(instance) <= 0.0_pReal) &
|
||||||
call IO_error(211_pInt,el=instance,ext_msg='critical_strain_energy ('//LOCAL_DAMAGE_isoBrittle_LABEL//')')
|
call IO_error(211_pInt,el=instance,ext_msg='critical_strain_energy ('//LOCAL_DAMAGE_isoBrittle_LABEL//')')
|
||||||
|
|
|
@ -177,7 +177,7 @@ subroutine damage_isoDuctile_init(fileUnit)
|
||||||
NofMyPhase=count(material_phase==phase)
|
NofMyPhase=count(material_phase==phase)
|
||||||
instance = phase_damageInstance(phase)
|
instance = phase_damageInstance(phase)
|
||||||
! sanity checks
|
! sanity checks
|
||||||
if (damage_isoDuctile_aTol(instance) >= 1.0e-3_pReal) &
|
if (damage_isoDuctile_aTol(instance) < 0.0_pReal) &
|
||||||
damage_isoDuctile_aTol(instance) = 1.0e-3_pReal ! default absolute tolerance 1e-3
|
damage_isoDuctile_aTol(instance) = 1.0e-3_pReal ! default absolute tolerance 1e-3
|
||||||
if (damage_isoDuctile_critpStrain(instance) <= 0.0_pReal) &
|
if (damage_isoDuctile_critpStrain(instance) <= 0.0_pReal) &
|
||||||
call IO_error(211_pInt,el=instance,ext_msg='critical_plastic_strain ('//LOCAL_DAMAGE_isoDuctile_LABEL//')')
|
call IO_error(211_pInt,el=instance,ext_msg='critical_plastic_strain ('//LOCAL_DAMAGE_isoDuctile_LABEL//')')
|
||||||
|
|
Loading…
Reference in New Issue