Automatically start new calculation after the one before is completed? (FLUENT 12.1)
I have already prepared some case-files. When one calculation is done, I want that fluent reads in the next case-file and starts the new calculation automatically. Can somebody help me with this problem?
I have already tried to use macros within the “Automatic Solution Initialization and Case Modification Dialog Box”. I was able to read in the next case-file automatically after calculating some time-steps, but after the case-file was red I got this massage: “Error: Update_Time_Level: invalid data”.
Maybe it’s better to use Ansys-Workbench to do this, but I’ve no idea how to do this.
I would be very happy if anybody could help me with this problem.
you can implement a journal file to automate FLUENT. you can prepare your journal file with a simple FORTRAN code... .
thank you for your quick answer.
Actually I‘ve just read about the batch mode in FLUENT and the options to create transcript and journal files. Unfortunately, I couldn't find any examples how to write my own journal file with the appropriate codes in a simple Editor. Can you maybe tell me where I can find some examples for a code which I have to write in my journal file? I've never used codes before, so I've no idea how to do this, yet.
But I thought maybe it's possible to let fluent create a journal file while I'm doing the steps which I want fluent to do automatically later. Then I thought of having a look on this journal file and copy the code in my editor to create my own journal file.
Is this possible or can you give me some suggestions how I can get the code I need to solve my problem?
Thank you very much for your help, I really appreciate it.
you are right, you can save your steps in a file and use that as a journal file but it uses a GUI syntax and I don't prefer(sometimes it's confusing).
the other way (better one) is to use a combination of aliases and/or TUI commands in your journal. here's a part of simple journal file that I created before:
thank you very much.
I finally found the answer here in this forum: http://www.cfd-online.com/Wiki/Fluent_FAQ#How_do_I_run_multiple_cases_in_batch_mo de.3F
|All times are GMT -4. The time now is 05:25.|