CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Journal files - Batch mode (http://www.cfd-online.com/Forums/fluent/48087-journal-files-batch-mode.html)

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?

Thanks.


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
 
File/Write/Profile

Ralf Schmidt April 30, 2008 17:06

Re: Journal files - Batch mode
 
hi!

there is a cfd wiki about that:

http://www.cfd-online.com/Wiki/Fluen...ournal_file.3F

hope, it helps Ralf


All times are GMT -4. The time now is 18:09.