-
-
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 substeps ÂSubstep=80time,1NSUBST,Substep,Substep,SubstepOUTRES,ALL,ALL              ! Writes all solution data for all substeps ÂRESCONTROL,DELETE        ÂRESCONTROL,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  /post1  SET,1,k,1,                       !Select substep  ETABLE,Tab%k%,nl,EPEQ           !Element's table of Accumulated equivalent plastic strain  Â  esel,s,etab,Tab%k%,limit,9999999999    !Select element from element table up strain limit  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 into a temporary a file.  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  ÂI appreciate any help, thank you    time,1    solve    finish  *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
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- How to apply Compression-only Support?
- Geometric stiffness matrix for solid elements
- Frictional No separation contact
- Timestep range set for animation export
- Image to file in Mechanical is bugged and does not show text
- Script Error Code:800a000d
- Elastic limit load, Elastic-plastic limit load
- Element has excessive thickness change, distortion, is turning inside out
Top Contributors
-
1416
-
599
-
591
-
565
-
366
Top Rated Tags
© 2025 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.