restoring the crystallite.f90, IO.f90 and material.f90 to the version 575. the version 576 of these files contain some uncleared debugging statements.
This commit is contained in:
parent
d114a600c3
commit
9932c90c73
|
@ -262,7 +262,6 @@ endsubroutine
|
||||||
IO_hybridIA(1,i) = deltas(1)*(mod(bin/(steps(3)*steps(2)),steps(1))+center) ! phi1
|
IO_hybridIA(1,i) = deltas(1)*(mod(bin/(steps(3)*steps(2)),steps(1))+center) ! phi1
|
||||||
IO_hybridIA(2,i) = deltas(2)*(mod(bin/ steps(3) ,steps(2))+center) ! Phi
|
IO_hybridIA(2,i) = deltas(2)*(mod(bin/ steps(3) ,steps(2))+center) ! Phi
|
||||||
IO_hybridIA(3,i) = deltas(3)*(mod(bin ,steps(3))+center) ! phi2
|
IO_hybridIA(3,i) = deltas(3)*(mod(bin ,steps(3))+center) ! phi2
|
||||||
! write(6,'(i6,x,a3,i5,x,a5,x,3(f8.5,x))') i,'bin',bin,'euler',IO_hybridIA(:,i)
|
|
||||||
binSet(j) = binSet(i)
|
binSet(j) = binSet(i)
|
||||||
enddo
|
enddo
|
||||||
close(999)
|
close(999)
|
||||||
|
|
|
@ -86,8 +86,7 @@ subroutine crystallite_init(Temperature)
|
||||||
use debug, only: debug_info, &
|
use debug, only: debug_info, &
|
||||||
debug_reset
|
debug_reset
|
||||||
use math, only: math_I3, &
|
use math, only: math_I3, &
|
||||||
math_EulerToR, &
|
math_EulerToR
|
||||||
math_RToEuler
|
|
||||||
use FEsolving, only: FEsolving_execElem, &
|
use FEsolving, only: FEsolving_execElem, &
|
||||||
FEsolving_execIP
|
FEsolving_execIP
|
||||||
use mesh, only: mesh_element, &
|
use mesh, only: mesh_element, &
|
||||||
|
@ -1044,7 +1043,7 @@ subroutine crystallite_stressAndItsTangent(updateJaco)
|
||||||
k = kl(1,mod(cycleCounter/iJacoStiffness,9)+1,g,i,e)
|
k = kl(1,mod(cycleCounter/iJacoStiffness,9)+1,g,i,e)
|
||||||
l = kl(2,mod(cycleCounter/iJacoStiffness,9)+1,g,i,e)
|
l = kl(2,mod(cycleCounter/iJacoStiffness,9)+1,g,i,e)
|
||||||
crystallite_dPdF(:,:,k,l,g,i,e) = (crystallite_P(:,:,g,i,e) - storedP(:,:,g,i,e))/pert_Fg ! ... use tangent dP_ij/dFg_kl
|
crystallite_dPdF(:,:,k,l,g,i,e) = (crystallite_P(:,:,g,i,e) - storedP(:,:,g,i,e))/pert_Fg ! ... use tangent dP_ij/dFg_kl
|
||||||
elseif (.not. storedConvergenceFlag(g,i,e)) then ! if crystallite didn<EFBFBD>t converge before...
|
elseif (.not. storedConvergenceFlag(g,i,e)) then ! if crystallite didnÕt converge before...
|
||||||
crystallite_dPdF(:,:,:,:,g,i,e) = crystallite_fallbackdPdF(:,:,:,:,g,i,e) ! ... use (elastic) fallback
|
crystallite_dPdF(:,:,:,:,g,i,e) = crystallite_fallbackdPdF(:,:,:,:,g,i,e) ! ... use (elastic) fallback
|
||||||
endif
|
endif
|
||||||
enddo; enddo; enddo
|
enddo; enddo; enddo
|
||||||
|
@ -1550,8 +1549,6 @@ use prec, only: pInt, &
|
||||||
pReal
|
pReal
|
||||||
use math, only: math_pDecomposition, &
|
use math, only: math_pDecomposition, &
|
||||||
math_RtoQuaternion, &
|
math_RtoQuaternion, &
|
||||||
math_RtoEuler, &
|
|
||||||
math_QuaternionToEuler, &
|
|
||||||
math_QuaternionDisorientation, &
|
math_QuaternionDisorientation, &
|
||||||
inDeg, &
|
inDeg, &
|
||||||
math_qConj
|
math_qConj
|
||||||
|
@ -1560,7 +1557,6 @@ use FEsolving, only: FEsolving_execElem, &
|
||||||
use IO, only: IO_warning
|
use IO, only: IO_warning
|
||||||
use material, only: material_phase, &
|
use material, only: material_phase, &
|
||||||
homogenization_Ngrains, &
|
homogenization_Ngrains, &
|
||||||
material_EulerAngles, &
|
|
||||||
phase_constitution
|
phase_constitution
|
||||||
use mesh, only: mesh_element, &
|
use mesh, only: mesh_element, &
|
||||||
mesh_ipNeighborhood, &
|
mesh_ipNeighborhood, &
|
||||||
|
@ -1592,7 +1588,6 @@ logical error
|
||||||
|
|
||||||
|
|
||||||
!$OMP PARALLEL DO
|
!$OMP PARALLEL DO
|
||||||
n = 0_pInt
|
|
||||||
do e = FEsolving_execElem(1),FEsolving_execElem(2)
|
do e = FEsolving_execElem(1),FEsolving_execElem(2)
|
||||||
do i = FEsolving_execIP(1,e),FEsolving_execIP(2,e)
|
do i = FEsolving_execIP(1,e),FEsolving_execIP(2,e)
|
||||||
do g = 1,homogenization_Ngrains(mesh_element(3,e))
|
do g = 1,homogenization_Ngrains(mesh_element(3,e))
|
||||||
|
|
|
@ -667,9 +667,6 @@ subroutine material_populateGrains()
|
||||||
constituentGrain = constituentGrain + myNorientations
|
constituentGrain = constituentGrain + myNorientations
|
||||||
|
|
||||||
endif
|
endif
|
||||||
! do j = 1,myNorientations
|
|
||||||
! write(6,'(i6,x,a5,x,3(f8.5,x))') j,'euler',orientationOfGrain(:,grain+j)
|
|
||||||
! enddo
|
|
||||||
! ----------------------------------------------------------------------------
|
! ----------------------------------------------------------------------------
|
||||||
symExtension = texture_symmetry(textureID) - 1_pInt
|
symExtension = texture_symmetry(textureID) - 1_pInt
|
||||||
if (symExtension > 0_pInt) then ! sample symmetry
|
if (symExtension > 0_pInt) then ! sample symmetry
|
||||||
|
@ -690,7 +687,6 @@ subroutine material_populateGrains()
|
||||||
enddo ! constituent
|
enddo ! constituent
|
||||||
|
|
||||||
! ----------------------------------------------------------------------------
|
! ----------------------------------------------------------------------------
|
||||||
|
|
||||||
if (.not. microstructure_elemhomo(micro)) then ! unless element homogeneous, reshuffle grains
|
if (.not. microstructure_elemhomo(micro)) then ! unless element homogeneous, reshuffle grains
|
||||||
do i=1,myNgrains-1 ! walk thru grains
|
do i=1,myNgrains-1 ! walk thru grains
|
||||||
call random_number(rnd)
|
call random_number(rnd)
|
||||||
|
@ -724,7 +720,6 @@ subroutine material_populateGrains()
|
||||||
material_phase(g,i,e) = phaseOfGrain(grain+(i-1)*dGrains+g)
|
material_phase(g,i,e) = phaseOfGrain(grain+(i-1)*dGrains+g)
|
||||||
material_EulerAngles(:,g,i,e) = orientationOfGrain(:,grain+(i-1)*dGrains+g)
|
material_EulerAngles(:,g,i,e) = orientationOfGrain(:,grain+(i-1)*dGrains+g)
|
||||||
end forall
|
end forall
|
||||||
|
|
||||||
grain = grain + FE_Nips(mesh_element(2,e)) * dGrains ! wind forward by Nips*NgrainsPerIP
|
grain = grain + FE_Nips(mesh_element(2,e)) * dGrains ! wind forward by Nips*NgrainsPerIP
|
||||||
endif
|
endif
|
||||||
! write (6,*) e
|
! write (6,*) e
|
||||||
|
|
Loading…
Reference in New Issue