CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Problem do loop using Scheme commands

Register Blogs Community New Posts Updated Threads Search

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

)
  Reply With Quote

Reply


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 Off
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 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


All times are GMT -4. The time now is 16:22.