specific for nonlocal, can be calculated during post processing
This commit is contained in:
parent
c9f1f8756d
commit
8dea95879c
|
@ -87,7 +87,6 @@ module crystallite
|
||||||
enumerator :: undefined_ID, &
|
enumerator :: undefined_ID, &
|
||||||
phase_ID, &
|
phase_ID, &
|
||||||
texture_ID, &
|
texture_ID, &
|
||||||
volume_ID, &
|
|
||||||
orientation_ID, &
|
orientation_ID, &
|
||||||
grainrotation_ID, &
|
grainrotation_ID, &
|
||||||
defgrad_ID, &
|
defgrad_ID, &
|
||||||
|
@ -273,8 +272,6 @@ subroutine crystallite_init
|
||||||
crystallite_outputID(o,c) = phase_ID
|
crystallite_outputID(o,c) = phase_ID
|
||||||
case ('texture') outputName
|
case ('texture') outputName
|
||||||
crystallite_outputID(o,c) = texture_ID
|
crystallite_outputID(o,c) = texture_ID
|
||||||
case ('volume') outputName
|
|
||||||
crystallite_outputID(o,c) = volume_ID
|
|
||||||
case ('orientation') outputName
|
case ('orientation') outputName
|
||||||
crystallite_outputID(o,c) = orientation_ID
|
crystallite_outputID(o,c) = orientation_ID
|
||||||
case ('grainrotation') outputName
|
case ('grainrotation') outputName
|
||||||
|
@ -323,7 +320,7 @@ subroutine crystallite_init
|
||||||
do r = 1,size(config_crystallite)
|
do r = 1,size(config_crystallite)
|
||||||
do o = 1,crystallite_Noutput(r)
|
do o = 1,crystallite_Noutput(r)
|
||||||
select case(crystallite_outputID(o,r))
|
select case(crystallite_outputID(o,r))
|
||||||
case(phase_ID,texture_ID,volume_ID)
|
case(phase_ID,texture_ID)
|
||||||
mySize = 1
|
mySize = 1
|
||||||
case(orientation_ID,grainrotation_ID)
|
case(orientation_ID,grainrotation_ID)
|
||||||
mySize = 4
|
mySize = 4
|
||||||
|
@ -948,7 +945,6 @@ function crystallite_postResults(ipc, ip, el)
|
||||||
use mesh, only: &
|
use mesh, only: &
|
||||||
theMesh, &
|
theMesh, &
|
||||||
mesh_element, &
|
mesh_element, &
|
||||||
mesh_ipVolume, &
|
|
||||||
mesh_ipNeighborhood
|
mesh_ipNeighborhood
|
||||||
use material, only: &
|
use material, only: &
|
||||||
plasticState, &
|
plasticState, &
|
||||||
|
@ -999,11 +995,6 @@ function crystallite_postResults(ipc, ip, el)
|
||||||
case (texture_ID)
|
case (texture_ID)
|
||||||
mySize = 1
|
mySize = 1
|
||||||
crystallite_postResults(c+1) = real(material_texture(ipc,ip,el),pReal) ! textureID of grain
|
crystallite_postResults(c+1) = real(material_texture(ipc,ip,el),pReal) ! textureID of grain
|
||||||
case (volume_ID)
|
|
||||||
mySize = 1
|
|
||||||
detF = math_det33(crystallite_partionedF(1:3,1:3,ipc,ip,el)) ! V_current = det(F) * V_reference
|
|
||||||
crystallite_postResults(c+1) = detF * mesh_ipVolume(ip,el) &
|
|
||||||
/ real(homogenization_Ngrains(mesh_element(3,el)),pReal) ! grain volume (not fraction but absolute)
|
|
||||||
case (orientation_ID)
|
case (orientation_ID)
|
||||||
mySize = 4
|
mySize = 4
|
||||||
crystallite_postResults(c+1:c+mySize) = crystallite_orientation(ipc,ip,el)%asQuaternion()
|
crystallite_postResults(c+1:c+mySize) = crystallite_orientation(ipc,ip,el)%asQuaternion()
|
||||||
|
|
Loading…
Reference in New Issue