CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Journal files - Batch mode (

Rémi GOULET April 29, 2008 04:43

Journal files - Batch mode
I make a flow calculation in a simple layout.

But, i need to take the outlet temperature and velocity profiles and use them as inlet profiles for the next calculation (same layout).

I need to repeat this process 70 times.

I know journal files enable to manage this problem.

But i don't know how to construc a loop in scheme programming

Does anybody know it?


mAx April 29, 2008 05:37

Re: Journal files - Batch mode
here on example:

(define start 1) (define ende 9) (do ((n) (i start (+ i 1))) ((= i (+ ende 1)) n) (ti-menu-load-string (format #f "file read-data test000~a.dat yes" i)) (ti-menu-load-string "file read-journal post.jou") (ti-menu-load-string (format #f "display hard-copy test~a.tiff" i)) )

Rémi GOULET April 29, 2008 05:41

Re: Journal files - Batch mode
Thank you very much mAx, and how can I save results (for example outlet temperature profiles) at each iteration

Thanks for your answer.

mAx April 29, 2008 06:21

Re: Journal files - Batch mode

Ralf Schmidt April 30, 2008 17:06

Re: Journal files - Batch mode

there is a cfd wiki about that:

hope, it helps Ralf

All times are GMT -4. The time now is 16:14.