CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Problem do loop using Scheme commands

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   January 13, 2008, 07:15
Default Problem do loop using Scheme commands
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)

  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
journal file with variable in a while loop? Ralf Schmidt FLUENT 41 November 18, 2014 11:05
Fundamental problem with Gamma scheme dominik_christ OpenFOAM Running, Solving & CFD 3 August 29, 2008 08: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 04:32
Big loop problem of fortran Wen Long Main CFD Forum 9 April 1, 2004 12:38

All times are GMT -4. The time now is 02:25.