|
[Sponsors] |
October 9, 2014, 17:31 |
Looping a journal in Scheme programming
|
#1 |
New Member
Arvind
Join Date: Apr 2014
Location: USA
Posts: 20
Rep Power: 12 |
I am new to scripting in ANSYS Fluent and would like to know if I could record a journal with GUI commands and repeat the set of commands for a specific number of times using a looping structure in scheme. Please let me know how its possible to write a scheme script which repeatedly reads an existing journal file to run the simulations continuously.
|
|
October 11, 2014, 12:00 |
|
#2 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
Here is a scheme loop that would read journal files
jou_1.jou jou_2.jou jou_3.jou scm.scm Code:
(do ((x 1 (+ x 1))) ((> x 3)) (ti-menu-load-string (format #f "file read-journal jou_~a.jou" x)) ) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
journal files and SCHEME | Hugo | FLUENT | 2 | October 26, 2017 10:25 |
Journal for fluent: Scheme programming | beguxa | Fluent UDF and Scheme Programming | 9 | October 24, 2017 02:13 |
Looping through Cell Zones in a Journal File | adam.vaccaro | Fluent UDF and Scheme Programming | 0 | August 1, 2013 23:45 |
Integrating Scheme with a FLUENT journal file | Pete Willemsen | FLUENT | 0 | May 19, 2006 18:00 |
Experimental Repository for UDFs, Journal Files and Scheme Scripts | Jonas Larsson | FLUENT | 0 | March 5, 2000 16:36 |