-
-
October 11, 2023 at 11:57 am
J.Benavides
SubscriberI 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 pm
Ashish Khemka
Forum ModeratorHi,
Based on the message it looks like the analysis is completed.
Regards,
Ashish Khemka
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- How to do the frequency response of the nonlinear vibration of a flexible PCB?
- Importing Line and Solid Bodies from SpaceClaim to Mechanical
- how to open SendCommand in Ansys
- problems facing during solution
- Still facing the same issue
- Failed to move file from solver directory to scratch directory: file.rst
- Adaptive Sizing
- Stiffness factor
- Import DAT file
- Import pressure data (coordinates and value) to ansys workbench through excel
-
8808
-
4658
-
3151
-
1680
-
1470
© 2023 Copyright ANSYS, Inc. All rights reserved.