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

animation of transient simulation using batch file

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2007, 12:54
Default animation of transient simulation using batch file
  #1
Markus
Guest
 
Posts: n/a
Hi,

I'm conducting several transient simulations in fluent 6. I've already written a batch file which works just fine, except for the export of the jpeg-files. I used the /display/set/.. and /display/contours... commands like in tui to set the display windows. If I run the simulation there's just one exported jpeg-file. How can I set the batch file in order that it exports the animations each 2nd time step??

My batch file:

/rcd "/dummy.cas" yes

/define/user-defined/interpreted-functions "/dummy.c" "cpp" 10000 no

/define/user-defined/execute-on-demand "on_demand_fin"

/display/set/hardcopy/driver/jpeg

/display/set/hardcopy/invert-background? yes

/display/set/hardcopy/x-resolution 640

/display/set/hardcopy/y-resolution 480

/display/set/hardcopy/landscape? yes

/display/set/hardcopy/color/color

/display/set-window 1

/display/set/contours/clip-to-range? yes

/display/contour velocity-magnitude 0 1

/display/view/camera/zoom-camera 5

/display/hard-copy "dummy_%t_%n.jpg"

/solve/set/time-step 0.025

;number of physical time steps, number of iterations per time step

/solve/dual-time-iterate 1200 200

/exit yes

Cheers! Markus

  Reply With Quote

Old   October 17, 2007, 11:30
Default Re: animation of transient simulation using batch
  #2
bashu
Guest
 
Posts: n/a
You can use 'solve' -> 'execute-command' and define two commands; first to plot every 'n' iteration and second to create a hard copy.
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
Installation of OpenFOAM-1.6 on Ubuntu 9.10 marval OpenFOAM Installation 2 March 17, 2010 09:33
Batch issues to get results from a transient simulation aero ANSYS 0 November 10, 2009 07:32
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


All times are GMT -4. The time now is 05:44.