We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Ansys fluent just closed while running, any means to get the results?

    • mossaied2
      Subscriber

      Hello


      I was running some simulation with ansys fluent, and after more than 8 hours I just found that ansys fluent setup model window is closed. I do not know if the simulation finished or not but in any case I wanna retrieve any results it stopped at. So how to do this. 


      Thanks 

    • Pablo Aguado
      Ansys Employee

      Hi Mossaied,

      Fluent interactive session does not close after the simulation. I am afraid you need to provide more details to be able to help you. Did you launch it interactively? Is the process still running under Task Manager? Can you check if any files have been written to the working directory? What process did you follow to set and launch your simulation?

      Regards,

    • Karthik Remella
      Administrator

      Hello,

      Before you start running your simulation, I'd suggest that you write your transcript file. Here is a screenshot which explains Fluent transcript file. This might help you understand the reason for the crash.

      About retrieving your simulation results, are you saving your results periodically as Fluent is generating the results. If you are not already writing the .cas and .dat files periodically, I'd strongly recommend that you do this. This way, you should be able to read the last written file and carry on with your simulation from there. You can do this from: Solution -> Calculation Activities -> Autosave every If you are running a steady state simulation, you should be able to save every N iterations, and for a transient simulation, it would provide you with an option of saving every N time-steps.

      I hope this helps.

      Best Regards,

      Karthik

    • mossaied2
      Subscriber

      Thanks for the reply Paguado

      Did you launch it interactively? I really have no idea about interactive sessions, so probably not

      Is the process still running under Task Manager? no 

      Can you check if any files have been written to the working directory? what exactly Paguado should I search for, could you plz give me a sample of that kind of files

      What process did you follow to set and launch your simulation? I do not make any especial procedure and use the default, I mean just set number of iteration and press run keeping all other settings to default 

    • mossaied2
      Subscriber

      I remember I was saving each iteration Mr Kremella, so how to retrieve .cas and .dat files to start from the result I got.

      Thanks

    • Karthik Remella
      Administrator

      Hello, 

      Are you working in the WorkBench environment? Or are you using Fluent as a standalone? Are you running Fluent on the cluster as batch mode? Could you please let us know how you are running Fluent? Perhaps, a screenshot?

      Thanks.

      Best,

      Karthik

    • mossaied2
      Subscriber

      Yes I was working inside Workbench environment but I do not know what is the difference between cluster and batch mode as I am new to fluent.

      Now I think after opening the project file .wbpj I could not find the fluent flow that was running last time it was in the red circle I drew in the following screenshot

       

    • Rob
      Forum Moderator

      If WorkBench crashed there's usually an option to recover files when you relaunch: alternatively look in the scratch/temp folder (in WorkBench look at Tools -> Options  -> Project Management). If there's nothing there the files may not have been saved. 

      I recommend saving the project before you start a simulation as there's less chance of you losing your work. 

    • Keyur Kanade
      Ansys Employee

      please check following folder of workbench file where you may get latest case and data files. 

      [file path]name_filesdp0FFFFluent

      if files are not there then you may need to run it again. 

    • mossaied2
      Subscriber

      Hi Kkanade, actually this crashing problem happened when the computer sleeps and I discovered this today by chance and again there were a simulation running but this time I was following all the advices presented in this thread and I was saving results after 1000 iterations, so thanks to all. Although, I think I have the case but not data files stored in path you sent!, plz take a look at the following screenshot

      I believe the case file is FFF-Setup-output.cas.gz but which of them is the data file? and what should I do next to not lose my results? I do not want to look at other forums not to make any mistake and lose 8 hours of work.  

      Thanks 

       

    • Keyur Kanade
      Ansys Employee

      it does not have *.dat.gz file. 

      i afraid that you will have to run it again. 

    • mossaied2
      Subscriber

      Thanks

      Now I reran simulation  - for sorry - , and I set the autosave to be each 1 iteration, although I could not find the .dat.gz file in [file path]name_filesdp0FFFFluent , so what is the problem now? is it something wrong I did in the setup?

      Thanks

    • Karthik Remella
      Administrator

      Hello,

      Please go to View -> Files in WB and this should display all the files in your simulation, along with the location. Please try to find the file there and see if you can narrow down on the location.

      Thanks.

      Best,

      Karthik

    • mossaied2
      Subscriber

      THanks Karthik for the reply

      I have found something strange when I open view -> files in wb, both .case and .dat where in red and x sign for both

      so what dos that mean? should I reinstall ansys?

      Thanks

       

    • mossaied2
      Subscriber

      Also this is my autosave window setup, I am saving the results each 1000 iterations, plz if there is something incorrect in it guide me

      Thanks

    • Keyur Kanade
      Ansys Employee

      if you are auto saving after 1000 iterations, please make sure that you run more than 1000 iterations. 

      please check if you have sufficient space on disk to write data files. also check %temp% area has sufficient space. 

    • krishnaraj
      Subscriber
      .

      I have read all the questions and answers in this page, some of them raise dome serious questions ( I also suffer a lot when it happends to me). I dont think anyone properly answers those questions. when the computer get shutdown accidently ,the data file may or may not get lose. case file can be regain by importing case file from [file path] ame_filesackup file / dp0/FFF/fluent. data file will be there in [file path] ame_filesdp0FFFFluent. It is better to stope the calculation after every 2hr and save the project periodically. in my experience thats is only soluation. Otherwise someother explain the real method

      .
    • Rob
      Forum Moderator
      .

      If you run Fluent outside of Workbench and use autosave you will have files to return to if something saved before the model crashed. If you are running in Workbench and use autosave open the folder where the files were saved: do NOT open Workbench as that may revert to the last saved project, not when the last case & data files were saved. I'd also be looking very carefully at what is causing the hardware to shut down: that shouldn't be happening.

      .
    • ianyylai
      Subscriber
      .

      hi Rob by "open the folder where the files were saved", did you mean to open the files in dp0/FFF/fluent? But how do we gain access to those case and data since they are simply cxa, cas, or dat files instead of workbench files?

      .
    • Rob
      Forum Moderator
      .

      Actually, the .cas and .dat files are the ones Fluent uses. Workbench is a project tool (with some extras) which then runs Fluent. If you open Fluent without Workbench you read in the case & data files. The case is the mesh and boundary conditions, the data is the flowfield.

      .
Viewing 19 reply threads
  • The topic ‘Ansys fluent just closed while running, any means to get the results?’ is closed to new replies.