I want to restart the calculation from a defined sub-step within a do-loop. And I get the following warning:
*** WARNING *** CP = 226.328 TIME= 13:25:17 Restart for ENDSTEP is not possible from the specified substep since it is already the end of the load step. The ENDSTEP option reverts back to CONTINUE for the restarted analysis.
The do-loop is to change the material of elements that exceed a certain predefined deformation limit.
/SOLU
!INITIAL CONDITION
ANTYPE,0 ! Static analysis
NLGEOM,1 ! Large deflection
AUTOTS,on ! Automatic time stepping/load stepping
OUTRES,all,all ! Writes all solution data for all substepsSubstep=80
time,1
NSUBST,Substep,Substep,Substep
OUTRES,ALL,ALL
RESCONTROL,DEFINE,ALL,ALL
SOLVE
parsav,all,parameter !NEW: Writes all parameter into Parameter FINISH
SAVE,,,,all
*Do,k,1,substep
/post1
SET,1,k,1, !Select substep
ETABLE,Tab%k%,nl,EPEQ !Element's table
esel,s,etab,Tab%k%,limit,9999999999 !Select element from element table
cm,myelem%k%,elem !create componet of selected element.
cmsel,s,myelem%k%,elem
*get,e_count,elem,,count,,comp,on
allsel
finish
CMWRITE,Temp%k%,cm !NEW:Writes element components and assemblies
x=k
parsav,all,parameter !Write all parametar
finish
*if,e_count,gt,0,then
/clear,nostart
/SOLU
antype,static,rest,1,x,endstep
solve
parres,,parameter !NEW: Reads parameters
/gopr
/input,temp%x%,cm
cmsel,s,myelem%x%,elem !Selection of the component
mpchg,2,all !Change the material of selected element
time,1
solve
finish
*endif
*enddo
From the first solution, I have that for the last four sub-steps (77,78,79,80) I should perform the restart to change the material of the elements. But finally, the restart is not carried out as it should be from the corresponding sub-step, but it generates a new load step
I appreciate any help, thank you