|
[Sponsors] |
Automatically start new calculation after the one before is completed? (FLUENT 12.1) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 14, 2011, 03:26 |
Automatically start new calculation after the one before is completed? (FLUENT 12.1)
|
#1 |
New Member
Join Date: Mar 2011
Posts: 3
Rep Power: 15 |
Hello,
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. Thank you! Tobias |
|
March 14, 2011, 10:10 |
|
#3 |
New Member
Join Date: Mar 2011
Posts: 3
Rep Power: 15 |
Hello Amir,
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. Tobias |
|
March 14, 2011, 11:54 |
|
#4 |
Senior Member
|
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: Code:
rcd data-0001.cas /file/a/c 0 /file/a/d 0 /file/int/read 0001.int /solve/set/eq/u yes /solve/set/eq/f no /define/models/dm no /solve/dti 1 15 /file/int/write 0001.int yes no uds-0 () /grid/ro -6.283185307179586232 0 0 0 0 0 1 /file/int/write 0002.int no uds-0 () rcd data-0002.cas yes regards, Amir |
|
March 27, 2011, 10:52 |
|
#5 |
New Member
Join Date: Mar 2011
Posts: 3
Rep Power: 15 |
Hi Amir,
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 |
|
Tags |
automatically, fluent 12.1, loop, macros |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
gambit with linux and fluent 12.1 | kharnabnew | FLUENT | 0 | October 5, 2010 10:33 |
Hardware for running ANSYS Fluent 12.1 | ngj_22 | Hardware | 2 | September 29, 2010 08:26 |
Fluent 12.1 on Linux x64 Architecture Issue | fivos | FLUENT | 5 | April 24, 2010 16:19 |
reversed flow in unsteady simulation with dynamic mesh (fluent 12.1) | zhaoyu_001 | FLUENT | 0 | April 7, 2010 01:24 |
Fluent License Manager Start Up Script | Amadou Sowe | FLUENT | 1 | August 7, 2004 15:09 |