no need to age before writing restart data
This commit is contained in:
parent
176f6028cd
commit
71def397d5
|
@ -303,8 +303,7 @@ subroutine grid_mech_FEM_forward(guess,timeinc,timeinc_old,loadCaseTime,deformat
|
||||||
if (cutBack) then
|
if (cutBack) then
|
||||||
C_volAvg = C_volAvgLastInc
|
C_volAvg = C_volAvgLastInc
|
||||||
else
|
else
|
||||||
call CPFEM_age ! age state and kinematics
|
|
||||||
call utilities_updateCoords(F)
|
|
||||||
|
|
||||||
if (restartWrite) then
|
if (restartWrite) then
|
||||||
write(6,'(a)') 'Writing current solver data for restart to file';flush(6)
|
write(6,'(a)') 'Writing current solver data for restart to file';flush(6)
|
||||||
|
@ -327,6 +326,9 @@ subroutine grid_mech_FEM_forward(guess,timeinc,timeinc_old,loadCaseTime,deformat
|
||||||
|
|
||||||
call CPFEM_restartWrite
|
call CPFEM_restartWrite
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
call CPFEM_age ! age state and kinematics
|
||||||
|
call utilities_updateCoords(F)
|
||||||
|
|
||||||
C_volAvgLastInc = C_volAvg
|
C_volAvgLastInc = C_volAvg
|
||||||
|
|
||||||
|
|
|
@ -282,8 +282,7 @@ subroutine grid_mech_spectral_basic_forward(guess,timeinc,timeinc_old,loadCaseTi
|
||||||
C_volAvg = C_volAvgLastInc
|
C_volAvg = C_volAvgLastInc
|
||||||
C_minMaxAvg = C_minMaxAvgLastInc
|
C_minMaxAvg = C_minMaxAvgLastInc
|
||||||
else
|
else
|
||||||
call CPFEM_age ! age state and kinematics
|
|
||||||
call utilities_updateCoords(F)
|
|
||||||
|
|
||||||
if (restartWrite) then
|
if (restartWrite) then
|
||||||
write(6,'(a)') 'Writing current solver data for restart to file';flush(6)
|
write(6,'(a)') 'Writing current solver data for restart to file';flush(6)
|
||||||
|
@ -306,6 +305,9 @@ subroutine grid_mech_spectral_basic_forward(guess,timeinc,timeinc_old,loadCaseTi
|
||||||
call CPFEM_restartWrite
|
call CPFEM_restartWrite
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
call CPFEM_age ! age state and kinematics
|
||||||
|
call utilities_updateCoords(F)
|
||||||
|
|
||||||
C_volAvgLastInc = C_volAvg
|
C_volAvgLastInc = C_volAvg
|
||||||
C_minMaxAvgLastInc = C_minMaxAvg
|
C_minMaxAvgLastInc = C_minMaxAvg
|
||||||
|
|
||||||
|
|
|
@ -303,9 +303,7 @@ subroutine grid_mech_spectral_polarisation_forward(guess,timeinc,timeinc_old,loa
|
||||||
C_volAvg = C_volAvgLastInc
|
C_volAvg = C_volAvgLastInc
|
||||||
C_minMaxAvg = C_minMaxAvgLastInc
|
C_minMaxAvg = C_minMaxAvgLastInc
|
||||||
else
|
else
|
||||||
call CPFEM_age ! age state and kinematics
|
|
||||||
call utilities_updateCoords(F)
|
|
||||||
|
|
||||||
if (restartWrite) then
|
if (restartWrite) then
|
||||||
write(6,'(a)') 'Writing current solver data for restart to file';flush(6)
|
write(6,'(a)') 'Writing current solver data for restart to file';flush(6)
|
||||||
|
|
||||||
|
@ -327,7 +325,10 @@ subroutine grid_mech_spectral_polarisation_forward(guess,timeinc,timeinc_old,loa
|
||||||
|
|
||||||
call CPFEM_restartWrite
|
call CPFEM_restartWrite
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
call CPFEM_age ! age state and kinematics
|
||||||
|
call utilities_updateCoords(F)
|
||||||
|
|
||||||
C_volAvgLastInc = C_volAvg
|
C_volAvgLastInc = C_volAvg
|
||||||
C_minMaxAvgLastInc = C_minMaxAvg
|
C_minMaxAvgLastInc = C_minMaxAvg
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue