LS Dyna

LS Dyna

Topics related to LS-DYNA, Autodyn, Explicit STR and more.

AUTODYN Subroutine – Cycle limit

    • audrey.piccini
      Subscriber

      Dear all,

      I am using an Autodyn subroutine for a project and the simulation stops at cycle 99,999, see the image below.

      What I do not understand is that the criteria that could limit the number of cycles is much more important than 100,000:
      - Controls > Wrapup Criteria: >100,000;
      - Output > Interrupt: End cycle = 100,000,000;
      - Output > Call EXEDIT: End cycle = 100,000,000;
      In addition, the subroutine usrsub2.f90 calls the "WRAPUP" module but does not redefine it, so there is no arbitrary "NCYLIM" defined in the subroutine. Do you know where this limitation might come from?

      Thank you in advance for your help,

      Audrey

    • Missy Ji
      Ansys Employee

      You can increase Controls > Wrapup Criteria, cycle limit to a larger number, it is the maximum number of cycles you want your problem to run (enter a large integer if you don't want your problem to stop on a cycle limit). Your run stops at  99,999 which is correct based on the Wrapup Criteria, cycle limit defined.

      The simulation will stop if any one of the Wrapup criteria is met, Cycle limit, Time limit, energy fraction, or other errors happen.

       

       

       

      • audrey.piccini
        Subscriber

        Hi,

        Thank you for your answer, but it is not the cycle limit of the wrapup criteria that is too low because, as indicated, I always set it above 100,000. I attached the screen of the parameters I set for the simulation that crashed. Moreover, when I run the same simulation again without the subroutine in Autodyn I do not have any issues, so it is linked to the use of the subroutine.

        Thank you,

        Audrey

    • Hayley Easter
      Ansys Employee

      The image in your first post on 28th Sept indicates that the code is crashing due to a bug in the user subroutine EXEDIT on line 450. The error is type 66 which is this one:



      Do you have a WRITE statement on line 450 of your EXEDIT subroutine that could cause this record overflow? Or does line 450 call another subroutine or function?

      • audrey.piccini
        Subscriber

        Hi Hayley,

        Than you for your answer, in fact you were right, I have a WRITE statement on line 450.

        During my subroutine I asked to write a result file except that it was named with a certain number of characters and when the step 99'999 was exceeded the maximum number of characters was also exceeded so the subroutine crashed.
         
        Thank you,
        Audrey
Viewing 2 reply threads
  • The topic ‘AUTODYN Subroutine – Cycle limit’ is closed to new replies.