General Mechanical

General Mechanical

Topics relate to Mechanical Enterprise, Motion, Additive Print and more

Problem with Restart configuration.

    • J.Benavides
      Subscriber

      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 substeps  
      Substep=80
      time,1
      NSUBST,Substep,Substep,Substep
      OUTRES,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)
      SOLVE
      parsav,all,parameter                    !NEW: Writes all parameter into Parameter file
      FINISH
      SAVE,,,,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    
              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
    • Ashish Khemka
      Forum 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.