CFD Online Logo CFD Online URL
Home > Forums > FLUENT

saving figures in batch mode

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

LinkBack Thread Tools Display Modes
Old   December 17, 2001, 17:06
Default saving figures in batch mode
Posts: n/a

I have the following problem :

I wish to know whether we can save figures (like..file/hardcopy/save..)...while running FLUENT in the batch mode. (i.e with the FLUENT -g option)

The other problem I am facing is: I run the following command at the unix prompt: "fluent -g inputfile & outputfile & " with the inputfile given as : " 3d

rc case_filename

rd data_filename

it 1000

exit "

The case file consists of all the necessary commands to store the images ( in Solve/monitor/Commands).I am simulating an UNSTEADY case.

What is surprising is ..FLUENT seems to be running the steady state version of the problem. Why is this so ? Any inputs will be appreciated. Thanks


  Reply With Quote

Old   December 18, 2001, 06:23
Default Re: saving figures in batch mode
glenn creten
Posts: n/a
Dear Prabhu,

To save figures during the computation, setup commands in solve/monitor/commands is the appropriate way. To have the transient case running, the command is solve/dual-time-iterate #t #i, with #t the number of time steps and #i the number of iterations per time step.

Good luck!
  Reply With Quote

Old   December 18, 2001, 11:05
Default Re: saving figures in batch mode
Posts: n/a
Thanks Creten,

That helped in solving half my problem. The other half is :

Running FLUENT in the background with the "-g" option ( with all the graphic commands in the Solve/monitor/commands) generates the followinmg error:"Error: No graphics functions are available."..How then can one save figures while running FLUENT in the background ?


  Reply With Quote

Old   December 19, 2001, 21:01
Default Re: saving figures in batch mode
Posts: n/a
There are two kinds of batch jobs in FLUENT solver. TUI and GUI mode. You've already used TUI mode but it doesn't seems to be done well. So, how about using GUI mode? GUI mode can save your whole batch procedures and easy compared with TUI mode in case of you don't know the exact command language.

"File->Start journal"

I guess you can solve your problem.

P.S. It's possible to mix GUI and TUI mode but don't use many GUI mode.
  Reply With Quote

Old   December 20, 2001, 12:36
Default Re: saving figures in batch mode
Clinton Lafferty
Posts: n/a
I ran into the same problem a year ago running .v5.3. The explaination then was that the -g option is more for the solution of the problem instead of post processing. If your post processing machine is memory limited search the documentation for a switch that only activates the pre/post processor without the solver or maybe use "fluent -help". Post processing transient data has been a numerous topic so do a search on older messages. However the best suggestion is to write a small C code routine to generate a post processing journal file. I hope there is better way in the new versions of FLUENT.
  Reply With Quote

Old   August 19, 2010, 11:19
Default Export solution as cgns...
W.N. Anderson
Join Date: Jul 2010
Location: Zürich, Switzerland
Posts: 46
Rep Power: 9
Will Anderson is on a distinguished road
You can export your solution(s) as CGNS or TECPLOT files which are ASCII data files containing field data. These can be visualized in batch mode using proprietary software such as tecplot or freeware such as gnuplot, generating eps/jpg output without having to open up any GUI window(s).


You will be prompted to give which surfaces on whom the data should be exported, the variables which you want to be exported, and the file name. Watch out for large files!
Will Anderson is offline   Reply With Quote

Old   June 12, 2014, 11:33
Default Error: No graphics functions are available. Error Object: ()
New Member
Join Date: Feb 2014
Posts: 5
Rep Power: 5
obylong is on a distinguished road

I am having problems running my transient simulation of a bluff body with fluent in batch mode. An error message stated below comes up.

Error: No graphics functions are available.
Error Object: ()

My journal file script reads like this;

; Read case and data files

file read-case-data Rc_transient.cas

solve/set/time-step 2.0e-4

solve/dual-time-iterate 100 20

obylong is offline   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
Running Ansys in BAtch Mode kuleuvenstudent ANSYS 1 October 18, 2017 12:11
to run a replayfile in batch mode from UNIX froztbear ANSYS Meshing & Geometry 4 May 13, 2014 08:00
double precision for batch mode Lawrence STAR-CD 2 April 7, 2010 19:10
Saving of monitor points in batch mode. Martijn CFX 3 December 10, 2008 11:36
Prosurf in batch mode Dhruv Siemens 1 September 19, 2005 18:02

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