Problem on succesive simulation runs and dpm file naming
I try to run a transient particle simulation and sample particles at the outlet several times with a journal file as given below in Fluent. My final aim is to have several sample files (.dpm) at the end. To this end, I used the do-loop but I couldn't make it work. However, without using the do function, the code works fine for one simulation run.
I have two questions: 1) How can I make this code work? When I run this code, first I get the warning "Warning: An error or interrupt occurred while reading the journal file. Some commands may not have been completed." on Fluent GUI and then "Error: eof inside list, Error Object: ()" in the console. 2) I want to change the dpm sample file which is generated automatically by Fluent, when I run the "/report/dpm-sample" command in the last row. How can I change the file name for each trial in the loop below? For example: outlet_1.dpm, outlet_2.dpm etc.,.. I looked through the TUI command list, but the commands to write a file are related with data case files. Thank you in advance, Journal File: Code:
(define numbOfIterations 2); Define number of max. iterations per time step |
you have typo, you forgot bracket after do
Code:
(do ((x1 1 (+ x1 1))) ((> x1 3)) Code:
(ti-menu-load-string (format #f "TUI COMMAND HERE")) example Code:
(ti-menu-load-string (format #f "solve/set/time-step ~a" delta_t)) |
Quote:
|
show code you are using, and log with errors
|
Quote:
Code:
(define numbOfIterations 100); Define number of max. iterations per time step |
All times are GMT -4. The time now is 06:28. |