|
[Sponsors] |
January 13, 2008, 07:15 |
Problem do loop using Scheme commands
|
#1 |
Guest
Posts: n/a
|
I tested a very simple under source
My model is unsteady problem and I want to export techplot data every time step. but syntax including "pressure-%t.dat" was not executed what is the problems? ------------------------------------------------------ (do ((x 1 (+ x 1))) ((> x 3)(display "Done.\n")) (display x)(cx-gui-do cx-activate-item "MenuBar*FileMenu*Export...")(newline) (display x)(cx-gui-do cx-set-toggle-button "Export*Frame1(File Type)*ToggleBox1(File Type)*RadTherm" #f)(newline) (display x)(cx-gui-do cx-activate-item "Export*Frame1(File Type)*ToggleBox1(File Type)*RadTherm")(newline) (display x)(cx-gui-do cx-set-position "Export" '(x 128 y 581))(newline) (display x)(cx-gui-do cx-set-toggle-button "Export*Frame1(File Type)*ToggleBox1(File Type)*Tecplot" #f)(newline) (display x)(cx-gui-do cx-activate-item "Export*Frame1(File Type)*ToggleBox1(File Type)*Tecplot")(newline) (display x)(cx-gui-do cx-set-list-selections "Export*Frame2*Table2*Frame1*Table1*Frame5*List5(F unctions to Write)" '( 19))(newline) (display x)(cx-gui-do cx-activate-item "Export*Frame2*Table2*Frame1*Table1*Frame5*List5(F unctions to Write)")(newline) (display x)(cx-gui-do cx-activate-item "Export*PanelButtons*PushButton1(OK)")(newline ) (display x)(cx-gui-do cx-set-text-entry "Select File*Text" "pressure-%t.dat")(newline) (display x)(cx-gui-do cx-activate-item "Select File*OK")(newline) (display x)(cx-gui-do cx-activate-item "Export*PanelButtons*PushButton2(Cancel)")(newline ) (display x)(cx-gui-do cx-activate-item "Iterate*PanelButtons*PushButton1(OK)")(newlin e) ) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
journal file with variable in a while loop? | Ralf Schmidt | FLUENT | 50 | January 17, 2019 06:24 |
Fundamental problem with Gamma scheme | dominik_christ | OpenFOAM Running, Solving & CFD | 3 | August 29, 2008 09:24 |
Problem in choosing proper scheme | ravi | OpenFOAM Running, Solving & CFD | 1 | December 20, 2005 07:24 |
problem about numerical scheme in LES. | libin | Main CFD Forum | 4 | July 1, 2004 05:32 |
Big loop problem of fortran | Wen Long | Main CFD Forum | 9 | April 1, 2004 13:38 |