cut out more now useless pieces
This commit is contained in:
parent
efee9d98e7
commit
3c1012ef38
|
@ -921,11 +921,6 @@ subroutine crystallite_stressAndItsTangent(updateJaco)
|
||||||
else ! this crystallite just converged for the entire timestep
|
else ! this crystallite just converged for the entire timestep
|
||||||
crystallite_todo(c,i,e) = .false. ! so done here
|
crystallite_todo(c,i,e) = .false. ! so done here
|
||||||
!$OMP FLUSH(crystallite_todo)
|
!$OMP FLUSH(crystallite_todo)
|
||||||
if (iand(debug_level(debug_crystallite),debug_levelBasic) /= 0_pInt &
|
|
||||||
.and. formerSubStep > 0.0_pReal) then
|
|
||||||
!$OMP CRITICAL (distributionCrystallite)
|
|
||||||
!$OMP END CRITICAL (distributionCrystallite)
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
! --- cutback ---
|
! --- cutback ---
|
||||||
|
@ -1488,13 +1483,7 @@ subroutine crystallite_integrateStateRK4()
|
||||||
! --- SET CONVERGENCE FLAG ---
|
! --- SET CONVERGENCE FLAG ---
|
||||||
|
|
||||||
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
|
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)) then
|
crystallite_converged(g,i,e) = crystallite_todo(g,i,e) .or. crystallite_converged(g,i,e) ! if still "to do" then converged per definitionem
|
||||||
crystallite_converged(g,i,e) = .true. ! if still "to do" then converged per definitionem
|
|
||||||
if (iand(debug_level(debug_crystallite), debug_levelBasic) /= 0_pInt) then
|
|
||||||
!$OMP CRITICAL (distributionState)
|
|
||||||
!$OMP END CRITICAL (distributionState)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
enddo; enddo; enddo
|
enddo; enddo; enddo
|
||||||
|
|
||||||
|
|
||||||
|
@ -1989,13 +1978,7 @@ subroutine crystallite_integrateStateRKCK45()
|
||||||
! --- SET CONVERGENCE FLAG ---
|
! --- SET CONVERGENCE FLAG ---
|
||||||
!$OMP DO
|
!$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
|
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)) then
|
crystallite_converged(g,i,e) = crystallite_todo(g,i,e) .or. crystallite_converged(g,i,e) ! if still "to do" then converged per definition
|
||||||
crystallite_converged(g,i,e) = .true. ! if still "to do" then converged per definition
|
|
||||||
if (iand(debug_level(debug_crystallite), debug_levelBasic) /= 0_pInt) then
|
|
||||||
!$OMP CRITICAL (distributionState)
|
|
||||||
!$OMP END CRITICAL (distributionState)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
enddo; enddo; enddo
|
enddo; enddo; enddo
|
||||||
!$OMP ENDDO
|
!$OMP ENDDO
|
||||||
|
|
||||||
|
@ -2344,13 +2327,7 @@ subroutine crystallite_integrateStateAdaptiveEuler()
|
||||||
|
|
||||||
!$OMP PARALLEL DO
|
!$OMP PARALLEL 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
|
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)) then
|
crystallite_converged(g,i,e) = crystallite_todo(g,i,e) .or. crystallite_converged(g,i,e) ! ... converged per definitionem
|
||||||
crystallite_converged(g,i,e) = .true. ! ... converged per definitionem
|
|
||||||
if (iand(debug_level(debug_crystallite), debug_levelBasic) /= 0_pInt) then
|
|
||||||
!$OMP CRITICAL (distributionState)
|
|
||||||
!$OMP END CRITICAL (distributionState)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
enddo; enddo; enddo
|
enddo; enddo; enddo
|
||||||
!$OMP END PARALLEL DO
|
!$OMP END PARALLEL DO
|
||||||
|
|
||||||
|
@ -2566,13 +2543,7 @@ eIter = FEsolving_execElem(1:2)
|
||||||
|
|
||||||
!$OMP DO
|
!$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
|
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)) then
|
crystallite_converged(g,i,e) = crystallite_todo(g,i,e) .or. crystallite_converged(g,i,e) ! if still "to do" then converged per definitionem
|
||||||
crystallite_converged(g,i,e) = .true. ! if still "to do" then converged per definitionem
|
|
||||||
if (iand(debug_level(debug_crystallite), debug_levelBasic) /= 0_pInt) then
|
|
||||||
!$OMP CRITICAL (distributionState)
|
|
||||||
!$OMP END CRITICAL (distributionState)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
enddo; enddo; enddo
|
enddo; enddo; enddo
|
||||||
!$OMP ENDDO
|
!$OMP ENDDO
|
||||||
|
|
||||||
|
@ -2979,14 +2950,8 @@ subroutine crystallite_integrateStateFPI()
|
||||||
.or. abs(sourceStateResiduum(1:mySizeSourceDotState,mySource)) < &
|
.or. abs(sourceStateResiduum(1:mySizeSourceDotState,mySource)) < &
|
||||||
rTol_crystalliteState * abs(tempSourceState(1:mySizeSourceDotState,mySource)))
|
rTol_crystalliteState * abs(tempSourceState(1:mySizeSourceDotState,mySource)))
|
||||||
enddo
|
enddo
|
||||||
if (converged) then
|
if (converged) crystallite_converged(g,i,e) = .true. ! ... converged per definition
|
||||||
crystallite_converged(g,i,e) = .true. ! ... converged per definition
|
|
||||||
|
|
||||||
if (iand(debug_level(debug_crystallite), debug_levelBasic) /= 0_pInt) then
|
|
||||||
!$OMP CRITICAL (distributionState)
|
|
||||||
!$OMP END CRITICAL (distributionState)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
plasticState(p)%state(1:mySizePlasticDotState,c) = &
|
plasticState(p)%state(1:mySizePlasticDotState,c) = &
|
||||||
tempPlasticState(1:mySizePlasticDotState)
|
tempPlasticState(1:mySizePlasticDotState)
|
||||||
do mySource = 1_pInt, phase_Nsources(p)
|
do mySource = 1_pInt, phase_Nsources(p)
|
||||||
|
@ -3520,11 +3485,6 @@ logical function crystallite_integrateStress(&
|
||||||
|
|
||||||
enddo LpLoop
|
enddo LpLoop
|
||||||
|
|
||||||
if (iand(debug_level(debug_crystallite), debug_levelBasic) /= 0_pInt) then
|
|
||||||
!$OMP CRITICAL (distributionStress)
|
|
||||||
!$OMP END CRITICAL (distributionStress)
|
|
||||||
endif
|
|
||||||
|
|
||||||
!* calculate intermediate velocity gradient and its tangent from constitutive law
|
!* calculate intermediate velocity gradient and its tangent from constitutive law
|
||||||
|
|
||||||
call constitutive_LiAndItsTangent(Li_constitutive, dLi_dT3333, dLi_dFi3333, &
|
call constitutive_LiAndItsTangent(Li_constitutive, dLi_dT3333, dLi_dFi3333, &
|
||||||
|
@ -3605,11 +3565,6 @@ logical function crystallite_integrateStress(&
|
||||||
Liguess = Liguess + steplengthLi * deltaLi
|
Liguess = Liguess + steplengthLi * deltaLi
|
||||||
enddo LiLoop
|
enddo LiLoop
|
||||||
|
|
||||||
if (iand(debug_level(debug_crystallite), debug_levelBasic) /= 0_pInt) then
|
|
||||||
!$OMP CRITICAL (distributionStress)
|
|
||||||
!$OMP END CRITICAL (distributionStress)
|
|
||||||
endif
|
|
||||||
|
|
||||||
!* calculate new plastic and elastic deformation gradient
|
!* calculate new plastic and elastic deformation gradient
|
||||||
|
|
||||||
invFp_new = math_mul33x33(invFp_current,B)
|
invFp_new = math_mul33x33(invFp_current,B)
|
||||||
|
|
Loading…
Reference in New Issue