homogenization_RGC.f90

<< correction for a very stupid mistake. replacing stress P with the absolute value of stress abs(P) during convergence check. it should work upon deep-drawing.
This commit is contained in:
Denny Tjahjanto 2009-09-03 20:26:20 +00:00
parent a16dbe4d32
commit 5f7e5b8409
1 changed files with 4 additions and 4 deletions

View File

@ -343,10 +343,10 @@ function homogenization_RGC_updateState(&
enddo
!* Convergence check for stress residual
stresMax = maxval(P)
stresLoc = maxloc(P)
residMax = maxval(tract)
residLoc = maxloc(tract)
stresMax = maxval(abs(P))
stresLoc = maxloc(abs(P))
residMax = maxval(abs(tract))
residLoc = maxloc(abs(tract))
!* Debugging the convergent criteria
if (RGCdebug) then
write(1978,'(x,a)')' '