|
[Sponsors] |
July 6, 2009, 21:45 |
Macros
|
#1 |
New Member
mahadevan.swamy@gmail.com
Join Date: Apr 2009
Posts: 15
Rep Power: 17 |
Hi,
I am running a simulation in Fluent and this simulation will take me 5 hrs. I know how to create macros but I want to know how to view the code in which it is programmed in. How do I view the code? In Fluent, I got to Execute commands and input the macros to be called in after every 1000th iteration. I created a macro which will write case and data files. The problem here is when I record a macro and show how I am writing a case and data file, I have to include a proper filename for the case and datafiles. Because if I enter an arbitary filename under the macro recording, the macro when executed will use the same filename as was done in the recording, which is not what I want. For instance, under macro recording, I named my case and datafile as "0001". When the macro is executed, it should recognize that there is a file called 0001 and then create a new case and data file naming them to be 0002. Any idea how to achieve this? Thanks |
|
July 7, 2009, 04:18 |
|
#2 |
Senior Member
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
have you ever noticed the build-in autosave option of Fluent?
|
|
July 7, 2009, 09:34 |
|
#3 |
New Member
mahadevan.swamy@gmail.com
Join Date: Apr 2009
Posts: 15
Rep Power: 17 |
Yes I have used that and it is quite helpful. Do you have any idea how to view the code behind the macro? Thanks
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX-Post Macros | Felix | CFX | 17 | March 15, 2012 02:39 |
help with macros F_ID and C_ID | Jack Martinez | FLUENT | 0 | August 19, 2007 09:27 |
What are UDF macros C_T_S , C_T_AP,...???? | Asghari | FLUENT | 0 | January 28, 2007 11:54 |
Orientation of Face Variable Macros | hirokata | FLUENT | 0 | February 17, 2006 01:12 |
previous time step macros | Bryan | FLUENT | 0 | January 12, 2006 16:02 |