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

saving figures in batch mode

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2001, 17:06
Default saving figures in batch mode
  #1
R.D.Prabhu
Guest
 
Posts: n/a
Hello,

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

Prabhu

  Reply With Quote

Old   December 18, 2001, 06:23
Default Re: saving figures in batch mode
  #2
glenn creten
Guest
 
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
  #3
R.D.Prabhu
Guest
 
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 ?

Thanks

Prabhu
  Reply With Quote

Old   December 19, 2001, 21:01
Default Re: saving figures in batch mode
  #4
chiseung
Guest
 
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
  #5
Clinton Lafferty
Guest
 
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, 12:19
Default Export solution as cgns...
  #6
Member
 
W.N. Anderson
Join Date: Jul 2010
Location: Zürich, Switzerland
Posts: 46
Rep Power: 16
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).

/file/export/cgns/
/file/export/tecplot/

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, 12:33
Default Error: No graphics functions are available. Error Object: ()
  #7
New Member
 
Join Date: Feb 2014
Posts: 5
Rep Power: 12
obylong is on a distinguished road
Hi,

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

Exit
obylong is offline   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
Running Ansys in BAtch Mode kuleuvenstudent ANSYS 1 October 18, 2017 13:11
to run a replayfile in batch mode from UNIX froztbear ANSYS Meshing & Geometry 4 May 13, 2014 09:00
double precision for batch mode Lawrence STAR-CD 2 April 7, 2010 20: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 19:02


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