disabled multiphysics output because homogenization output was not accessible anymore
This commit is contained in:
parent
e16eb379ad
commit
146d151357
|
@ -3100,15 +3100,16 @@ subroutine crystallite_integrateStateFPI()
|
|||
|
||||
!$OMP DO PRIVATE(p,c)
|
||||
do e = eIter(1),eIter(2); do i = iIter(1,e),iIter(2,e); do g = gIter(1,e),gIter(2,e) ! iterate over elements, ips and grains
|
||||
if (crystallite_todo(g,i,e) .and. .not. crystallite_converged(g,i,e)) &
|
||||
if (crystallite_todo(g,i,e) .and. .not. crystallite_converged(g,i,e)) then !ToDo: should this be independent of todo/converged?
|
||||
call constitutive_microstructure(crystallite_temperature(i,e), crystallite_Fe(1:3,1:3,g,i,e), &
|
||||
crystallite_Fp(1:3,1:3,g,i,e), g, i, e) ! update dependent state variables to be consistent with basic states
|
||||
call constitutive_damage_microstructure(crystallite_Tstar_v(1:6,g,i,e), & !ToDo: should this be independent of todo/converged?
|
||||
call constitutive_damage_microstructure(crystallite_Tstar_v(1:6,g,i,e), &
|
||||
crystallite_Fe(1:3,1:3,g,i,e), &
|
||||
g,i,e) ! update dependent state variables to be consistent with basic states
|
||||
call constitutive_thermal_microstructure(crystallite_Tstar_v(1:6,g,i,e), &
|
||||
crystallite_Lp(1:3,1:3,g,i,e), &
|
||||
g,i,e) ! update dependent state variables to be consistent with basic states
|
||||
endif
|
||||
p = mappingConstitutive(2,g,i,e)
|
||||
c = mappingConstitutive(1,g,i,e)
|
||||
plasticState(p)%previousDotState2(:,c) = plasticState(p)%previousDotState(:,c)
|
||||
|
@ -3149,7 +3150,7 @@ subroutine crystallite_integrateStateFPI()
|
|||
|
||||
!$OMP DO
|
||||
do e = eIter(1),eIter(2); do i = iIter(1,e),iIter(2,e); do g = gIter(1,e),gIter(2,e) ! iterate over elements, ips and grains
|
||||
if (crystallite_todo(g,i,e) .and. .not. crystallite_converged(g,i,e)) &
|
||||
if (crystallite_todo(g,i,e) .and. .not. crystallite_converged(g,i,e)) then !ToDo: should this be independent of todo/converged?
|
||||
call constitutive_collectDotState(crystallite_Tstar_v(1:6,g,i,e), crystallite_Fe, &
|
||||
crystallite_Fp, crystallite_temperature(i,e), &
|
||||
crystallite_subdt(g,i,e), crystallite_subFrac, g,i,e)
|
||||
|
@ -3159,8 +3160,10 @@ subroutine crystallite_integrateStateFPI()
|
|||
call constitutive_thermal_collectDotState(crystallite_Tstar_v(1:6,g,i,e), &
|
||||
crystallite_Lp(1:3,1:3,g,i,e), &
|
||||
g,i,e)
|
||||
endif
|
||||
enddo; enddo; enddo
|
||||
!$OMP ENDDO
|
||||
|
||||
!$OMP DO PRIVATE(p,c)
|
||||
do e = eIter(1),eIter(2); do i = iIter(1,e),iIter(2,e); do g = gIter(1,e),gIter(2,e) ! iterate over elements, ips and grains
|
||||
!$OMP FLUSH(crystallite_todo)
|
||||
|
@ -3942,9 +3945,9 @@ function crystallite_postResults(ipc, ip, el)
|
|||
ipc !< grain index
|
||||
|
||||
real(pReal), dimension(1+crystallite_sizePostResults(microstructure_crystallite(mesh_element(4,el)))+ &
|
||||
1+plasticState(material_phase(ipc,ip,el))%sizePostResults + &
|
||||
1+damageState(material_phase(ipc,ip,el))%sizePostResults + &
|
||||
1+thermalState(material_phase(ipc,ip,el))%sizePostResults) :: &
|
||||
1+plasticState(material_phase(ipc,ip,el))%sizePostResults) :: &! + &
|
||||
! 1+damageState(material_phase(ipc,ip,el))%sizePostResults + &
|
||||
! 1+thermalState(material_phase(ipc,ip,el))%sizePostResults) :: &
|
||||
crystallite_postResults
|
||||
real(pReal), dimension(3,3) :: &
|
||||
Ee
|
||||
|
@ -4069,7 +4072,7 @@ function crystallite_postResults(ipc, ip, el)
|
|||
constitutive_postResults(crystallite_Tstar_v(1:6,ipc,ip,el), crystallite_Fe, &
|
||||
crystallite_temperature(ip,el), ipc, ip, el)
|
||||
c = c + plasticState(material_phase(ipc,ip,el))%sizePostResults
|
||||
|
||||
#ifdef multiphysicsOut
|
||||
crystallite_postResults(c+1) = real(damageState(material_phase(ipc,ip,el))%sizePostResults,pReal) ! size of constitutive results
|
||||
c = c + 1_pInt
|
||||
if (damageState(material_phase(ipc,ip,el))%sizePostResults > 0_pInt) &
|
||||
|
@ -4083,7 +4086,7 @@ function crystallite_postResults(ipc, ip, el)
|
|||
crystallite_postResults(c+1:c+thermalState(material_phase(ipc,ip,el))%sizePostResults) = &
|
||||
constitutive_thermal_postResults(ipc, ip, el)
|
||||
c = c + thermalState(material_phase(ipc,ip,el))%sizePostResults
|
||||
|
||||
#endif
|
||||
|
||||
end function crystallite_postResults
|
||||
|
||||
|
|
|
@ -649,9 +649,9 @@ subroutine materialpoint_postResults
|
|||
|
||||
grainLooping :do g = 1,myNgrains
|
||||
theSize = (1 + crystallite_sizePostResults(myCrystallite)) + &
|
||||
(1 + plasticState(material_phase(g,i,e))%sizePostResults) + &
|
||||
(1 + damageState(material_phase(g,i,e))%sizePostResults) + &
|
||||
(1 + thermalState(material_phase(g,i,e))%sizePostResults)
|
||||
(1 + plasticState(material_phase(g,i,e))%sizePostResults)! + & !ToDo
|
||||
! (1 + damageState(material_phase(g,i,e))%sizePostResults) + &
|
||||
! (1 + thermalState(material_phase(g,i,e))%sizePostResults)
|
||||
materialpoint_results(thePos+1:thePos+theSize,i,e) = crystallite_postResults(g,i,e) ! tell crystallite results
|
||||
thePos = thePos + theSize
|
||||
enddo grainLooping
|
||||
|
|
Loading…
Reference in New Issue