|
[Sponsors] |
Scheme Programing in FLUENT ! How to use a variable in an Loop ? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 10, 2017, 04:06 |
Scheme Programing in FLUENT ! How to use a variable in an Loop ?
|
#1 |
New Member
Markus Lücking
Join Date: Jan 2017
Posts: 10
Rep Power: 9 |
Hello,
I would like to use a string-variable in a do-loop ! ; the list I would like to use in the loop (define myList '(2 4 6)) ; the loop (do ((x 1 (+ x1))) ((> x2) (ti-menu-load-string (format #f "define/materials/change-create/RPE RPE n n y (list-ref myList ~a) " x)) ) ERROR message : (list-ref myList 2) Invalid string/symbol. Thanks a lot for your help !!! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to set as input parameter in Fluent a variable existing outside it? | didimad | FLUENT | 1 | March 3, 2015 12:10 |
modify a intern variable of Fluent with scheme and UDF | fanch33 | Fluent UDF and Scheme Programming | 3 | March 2, 2015 12:01 |
Scheme programing, variable definition | Leonlow | Fluent UDF and Scheme Programming | 1 | September 3, 2014 20:21 |
How to get a value from a data file bound to a variable in Scheme? | Shirock | Fluent UDF and Scheme Programming | 2 | August 31, 2011 07:04 |
Accessing FLUENT Thread-Variable throught Scheme | BastiL | FLUENT | 0 | July 5, 2008 08:58 |