-
-
October 11, 2023 at 11:57 amJ.BenavidesSubscriber
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 CONDITIONANTYPE,0 ! Static analysisNLGEOM,1 ! Large deflectionAUTOTS,on ! Automatic time stepping/load steppingOUTRES,all,all ! Writes all solution data for all substepsSubstep=80time,1NSUBST,Substep,Substep,SubstepOUTRES,ALL,ALL ! Writes all solution data for all substepsRESCONTROL,DELETERESCONTROL,DEFINE,ALL,ALL !NEW: Save all substeps for possible restart, a file is generated for each restart (80 File *.r0XX)SOLVEparsav,all,parameter !NEW: Writes all parameter into Parameter fileFINISHSAVE,,,,all*Do,k,1,substep/post1SET,1,k,1, !Select substepETABLE,Tab%k%,nl,EPEQ !Element's table of Accumulated equivalent plastic strainesel,s,etab,Tab%k%,limit,9999999999 !Select element from element table up strain limitcm,myelem%k%,elem !create componet of selected element.cmsel,s,myelem%k%,elem*get,e_count,elem,,count,,comp,onallselfinishCMWRITE,Temp%k%,cm !NEW:Writes element components and assemblies into a temporary a file.x=kparsav,all,parameter !Write all parametarfinish*if,e_count,gt,0,then/clear,nostart/SOLUantype,static,rest,1,x,endstepsolveparres,,parameter !NEW: Reads parameters/gopr/input,temp%x%,cmcmsel,s,myelem%x%,elem !Selection of the componentmpchg,2,all !Change the material of selected elementI appreciate any help, thank youtime,1solvefinish*endif*enddoFrom 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 -
October 16, 2023 at 2:29 pmAshish KhemkaForum Moderator
Hi,
Based on the message it looks like the analysis is completed.
Regards,
Ashish Khemka
-
Viewing 1 reply thread
- The topic ‘Problem with Restart configuration.’ is closed to new replies.
Ansys Innovation Space
Trending discussions
Top Contributors
-
421
-
192
-
178
-
162
-
140
Top Rated Tags
© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.