Scheme scripting for transient flow
Hi, I found that
(iterate x) allows me to compute x iterations. How can I advance in time to do something like (dual-time-iterate 1 10) for example ? thanks, JD |
Re: Scheme scripting for transient flow
Answer is simple: I can mix tui and scheme commands in a journal file.
sorry for your attention |
Re: Scheme scripting for transient flow
In fact my problem remain: I can not include journal command inside a scheme loop, like in:
(define (doit x x-max dx) (if (<= x x-max) (begin solve/dual-time-iterate 1 2 (doit (+ x dx) x-max dx) ) ) ) (doit 1 10 1) So if anyone as an idea about it it would be much appreciated. thanks |
Re: Scheme scripting for transient flow
Use... (ti-menu-load-string "solve/dual-time-iterate 1 2")
Also if you have variables like a=1 and b=2 you can use (ti-menu-load-string (format #f "solve/dual-time-iterate ~d ~d" a b)) the last one is very useful when you integrate scheme and tui. Cheers, Javier |
All times are GMT -4. The time now is 01:58. |