CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to use loop statements in FLUENT journal? (https://www.cfd-online.com/Forums/fluent/109224-how-use-loop-statements-fluent-journal.html)

didiean November 12, 2012 21:39

How to use loop statements in FLUENT journal?
 
I have finished some unsteady calculation. Then I want to export some results using Fluent journal. It is a cumbersome work if I just copied the same journal for so many times.
As names of the files are organized, such as 50,100,150,^, is it possible to use loop statements in Fluent journal?
Any suggestion is appreciated. Thank you.

blackmask November 14, 2012 06:00

Sheme does what you want, and examples can be found in the attachment of this wiki item (http://www.cfd-online.com/Wiki/Fluen...environment.3F). I am sick of so many parentheses in scheme that I do not believe I can master this language. So I simply use Python or similar script language (instead of copy&paste) to generate the fluent journal files.

FluidWarrior December 13, 2017 02:57

Python and Scheme Loops
 
Hi,
if you want to use Python you have to use the Wokbench/Fluent interface which is a Python/Scheme interface, otherwise you can do you code in Scheme.

Both cases are described here:
https://www.researchgate.net/publica...t_and_ParaVIEW


All times are GMT -4. The time now is 00:22.