|
[Sponsors] |
animation of transient simulation using batch file |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 16, 2007, 12:54 |
animation of transient simulation using batch file
|
#1 |
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 |
|
October 17, 2007, 11:30 |
Re: animation of transient simulation using batch
|
#2 |
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.
|
|
|
|
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 |