CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Automatically start new calculation after the one before is completed? (FLUENT 12.1)

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree5Likes
  • 1 Post By mars21t
  • 1 Post By Amir
  • 1 Post By mars21t
  • 2 Post By Amir

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2011, 03:26
Default 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
mars21t is on a distinguished road
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
souza.emer likes this.
mars21t is offline   Reply With Quote

Old   March 14, 2011, 08:50
Default
  #2
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 22
Amir is on a distinguished road
Hi Tobias,
you can implement a journal file to automate FLUENT. you can prepare your journal file with a simple FORTRAN code... .
souza.emer likes this.
Amir is offline   Reply With Quote

Old   March 14, 2011, 10:10
Default
  #3
New Member
 
Join Date: Mar 2011
Posts: 3
Rep Power: 15
mars21t is on a distinguished road
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
souza.emer likes this.
mars21t is offline   Reply With Quote

Old   March 14, 2011, 11:54
Default
  #4
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 22
Amir is on a distinguished road
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
the commands start with / are TUI ones that you can implement yourself to check their validity.

regards,

Amir
AHF and souza.emer like this.
Amir is offline   Reply With Quote

Old   March 27, 2011, 10:52
Default
  #5
New Member
 
Join Date: Mar 2011
Posts: 3
Rep Power: 15
mars21t is on a distinguished road
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
mars21t is offline   Reply With Quote

Reply

Tags
automatically, fluent 12.1, loop, macros

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 03:35.