CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Using fluent loop to automate write to the file (https://www.cfd-online.com/Forums/fluent/190595-using-fluent-loop-automate-write-file.html)

Eman. July 17, 2017 19:21

Using fluent loop to automate write to the file
 
Hello everyone,

I would like to have a loop in my journal file to do a few iterations in each loop, then write the solution to the output file. The problem is that I don't know how to create a string and use it as the name of my output file. This is what I have so far:

Quote:

(Do ((x 1 (+ x 1))) ((> x 150))
(physical-time-steps 10 20)
(wd ("instantaneous-~a.dat" x))
)
I get an error for the write function. Can someone please tell me how to create a string?

Thanks.

FluidWarrior November 17, 2017 03:02

Fluent Commands
 
Hi,
you can find the commands in following Manual:
https://www.researchgate.net/profile..._Muttenthaler2

Have fun!


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