damage diffusion tensor should be in reference configuration
This commit is contained in:
parent
8985a2d7e6
commit
45bedec229
|
@ -1059,6 +1059,8 @@ function field_getDamageDiffusion33(ip,el)
|
||||||
FIELD_DAMAGE_LOCAL_ID, &
|
FIELD_DAMAGE_LOCAL_ID, &
|
||||||
FIELD_DAMAGE_NONLOCAL_ID, &
|
FIELD_DAMAGE_NONLOCAL_ID, &
|
||||||
homogenization_Ngrains
|
homogenization_Ngrains
|
||||||
|
use crystallite, only: &
|
||||||
|
crystallite_push33ToRef
|
||||||
|
|
||||||
implicit none
|
implicit none
|
||||||
real(pReal), dimension(3,3) :: field_getDamageDiffusion33
|
real(pReal), dimension(3,3) :: field_getDamageDiffusion33
|
||||||
|
@ -1077,7 +1079,8 @@ function field_getDamageDiffusion33(ip,el)
|
||||||
|
|
||||||
case (FIELD_DAMAGE_NONLOCAL_ID)
|
case (FIELD_DAMAGE_NONLOCAL_ID)
|
||||||
do ipc = 1, homogenization_Ngrains(mesh_element(3,el))
|
do ipc = 1, homogenization_Ngrains(mesh_element(3,el))
|
||||||
field_getDamageDiffusion33 = field_getDamageDiffusion33 + lattice_DamageDiffusion33(:,:,material_phase(ipc,ip,el))
|
field_getDamageDiffusion33 = field_getDamageDiffusion33 + &
|
||||||
|
crystallite_push33ToRef(ipc,ip,el,lattice_DamageDiffusion33(:,:,material_phase(ipc,ip,el)))
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
end select
|
end select
|
||||||
|
|
Loading…
Reference in New Issue