We’re updating our badges platform. Badge issuance is temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

simulation crashed

    • mossaied2
      Subscriber

      Hello


      I just left a simulation running and after 9 hours I found it crashed. what to do to retrieve the simulation to the last point it stops at.


      Thanks 

    • peteroznewman
      Subscriber

      Please provide more information.


      What solver were you running: Mechanical, Fluent, CFX?


      What front end are you using: APDL or Workbench?


       

    • mossaied2
      Subscriber

      sorry for this


      I am using fluent with workbench front end

    • Amine Ben Hadj Ali
      Ansys Employee

      If you do not have any recovery backup then you won't get back to the point before the crash. That is a  good habit is to save a full recovery for restart whenever connection loss, cortex crash, AMG-divergence or system failure happens.


       


      https://www.youtube.com/watch?v=0kCjDkq8Pp8

    • mossaied2
      Subscriber

      Hello


      Now I again have a simulation crash, fortunately, I was saving each 200 iterations, how can I retrieve the simulation results? 


      The video that Mr Amine is sharing only shows the autosave options but not the retrieval.


      I also have some confusion about job, case, and data retrievals! what is the difference between them?


      Thanks

    • mossaied2
      Subscriber

      I have also another question, I found this article http://www.padtinc.com/blog/the-focus/save-save-save-setting-up-a-save-after-solution-in-ansys-mechanical that encourage the use of "Save Project After Solution". This option I found in Mesher component so if I assume it will be applicable to the fluent component attached or reads from that mesher module. Now if the workbench has many modules (for example 5 modules as shown in the following screenshot ), is there any option in workbench that saves the complete project after finsihing the simulation of any fluent component that was running.  



      Thanks

    • Amine Ben Hadj Ali
      Ansys Employee

      Unfortunately there is no similar option for ANSYS Fluent. You need to enable "AutoSave" in FLUENT to always have a backup. Better is to include a calculation activity in a Fluent Workbench script to save the project. This would automatically trigger Fluent to save case and data file.


       


      The option you are talking about cane be found in DM and SpaceClaim DirectModeler. Both make a sort of AutoSave.

    • mossaied2
      Subscriber

      Thanks for the reply


      Now I wanna retrieve the last result before the crash, I was autosaving every 200 iterations?  How to do that?


      it may be a very trivial question, but I wanna be sure of every step not lose the saved results. 


      Thanks

    • Amine Ben Hadj Ali
      Ansys Employee

      This would recover Fluent case and data but not the Workbench project itself. You can that manually but it might result in corrupt project. That is why I mentioned the scripting  trick. 

    • Rob
      Forum Moderator

      That's not quite straight forward. Using File Manager go into the Workbench folder and look for the FLU directory. Depending on how many workflows you have you may find a few of these: you're looking for the one with lots of files with SYS.1.2.0100.dat.gz or similar. Copy that entire folder somewhere safe: do NOT move it! 


      From the Start menu open Fluent and navigate to the copied folder & launch Fluent. Use File -> Open Case to find a case file and then File -> Open Data for the data file with the highest number after it. This should be the last saved point and (with some changes to paths) you can continue to run or post process. 


      The reason for copying the files out of Workbench is if you open the Setup cell or open the wrong data file from the Solve cell you can cause files to be deleted. 

    • mossaied2
      Subscriber

      Thanks Mr Amine and Mr Rwoolhou


      Regarding creating calculation activity the forces Fluent to save project case and data files, how to that? I spotted calculation activity tap under initialization tap but then what should I change other than "Save Data file Every ... "?


    • Amine Ben Hadj Ali
      Ansys Employee

      The mentioned step will require Workbench scripting.

    • Amine Ben Hadj Ali
      Ansys Employee

      Another way will be to put (wb-save-project) as calculation activity to trigger saving projects every N time steps for example.

Viewing 12 reply threads
  • The topic ‘simulation crashed’ is closed to new replies.