CFD Online Logo CFD Online URL
Home > Forums > FLUENT

hardcopies during batch-run

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

LinkBack Thread Tools Display Modes
Old   February 27, 2002, 05:34
Default hardcopies during batch-run
Philipp Beierer
Posts: n/a
Does someone know how to make hardcopy plots during a non-interactive batch calculation? In the given case I want to make contour plots (e.g. p) of a specific surface in the domain for several iteration-steps (e.g. 10, 20, 30,...). I tried it first interactively by using macros, which define variable of interest, range, ..., camera position as well as a repeating command for making hardcopies at desired iteration steps. Interactively this works all fine, but in the batch job there isn't of corse a GUI; hence an error message!

Has someone an idea?
  Reply With Quote

Old   February 27, 2002, 12:06
Default Re: hardcopies during batch-run
Posts: n/a
As I know, you can make your journal file by text mode and GUI mode. In case of GUI mode, you can make your journal file by just clicking the options sequencely. Your mouse clicking is converted into text commands and those commands can be saved as a journal file.

Use the menu "File->Write->Start Journal".

Be sure not to use too many GUI commands. According to my experiences, there are some problems during the batch job.

P.S. You can also mix those two ways. "Text mode+GUI mode in a journal file"
  Reply With Quote

Old   February 27, 2002, 18:32
Default Re: hardcopies during batch-run
Posts: n/a
Use the 'Execute commands' option (in Fluent 5 it is in the 'Solve/Monitors' panel.

Here you can define any number of commands you want carried out at every n'th iteration or timestep. Find out what the command should be by using the text interface. Your commands will look like:

/plot/solution pressure /file/hardcopy

with the necessary parameters.
  Reply With Quote

Old   February 28, 2002, 10:41
Default Re: hardcopies during batch-run
Posts: n/a
That didn't come through right. The commands should be:

/plot/solution pressure


Instead of setting all hardcopy parameters explicitly I use the GUI to set it all the way I want it (TIFF, color, size, etc) and then the 'hardcopy' command above doesn't need any parameters anymore.
  Reply With Quote

Old   March 1, 2002, 03:27
Default Re: hardcopies during batch-run
Philipp Beierer
Posts: n/a
... thank you both for your response, chiseung and Erwin.

Unfortunately I saw that my english is still improvable as there is probably still a slight missunderstanding. Both of your options, journal file as well as "execute commands", including the "macro" option that I mentioned in my first mail, are well known. And as I described, at least I tried, are both ways working very fine (by the way I made the same experience as chiseung in regard on compatibility of GUI and text interface command) - in the interactive mode (!) but NOT when I perform the calculation in the background = batch mode.

The problem appears e.g. with following command (journal file or in a line of the execute commands):

/display contour absolute-pressure 0 200e05

Fluent (in my case 5.5) tries to "display" a "contour plot" of "absolute-pressure" in the range between "0" and "200e05" Pa. But since Fluent has been started without GUI or graphics (... fluent -g < ...) it cannot display a contour plot (or any plot). Accordingly it cannot make a hardcopy, too, as there is no plot!

Instead I get in the outputfile an error message like:

Error: No graphic functions are available Error Object: ()

…after Fluent has read the "/display contour absolute-pressure 0 200e05" line

Hence, the question is: Has anyone made hardcopy plots during batch-run (not interactively!) successfully? (what kind of graphic settings have been chosen in the command_file? -g, -gr or -gu or other specific commands?)

I hope my problem became now a bit more clear…

Thanks in advance
  Reply With Quote

Old   March 5, 2002, 09:38
Default Re: hardcopies during batch-run
Volker Pawlik
Posts: n/a

I think that it is impossible to generate hard copies during a batch run, since there isn't anything from which you could do the copy.

Running in batch mode normally assumes that graphics were excluded by the -g option. Hence all graphics are switched off.

  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
how to create input file to run fluent in batch Aireen FLUENT 6 November 21, 2016 09:27
use batch mode to run an unsteady case PaulineP FLUENT 6 September 16, 2014 17:26
batch run N.R. CFX 1 June 17, 2007 22:44
problem with running UDF in batch mode James FLUENT 0 June 6, 2006 06:49
Batch Run Ogbeni CFX 4 October 15, 2003 12:33

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