**process format#

Description#

This post processor is used to produce an “export file” containing the specified variables for all the maps being run. The output file is a formatted ASCII file. The variables should exist in the file specified by the **file command. For instance, the command *list_var U1 should not be given with **file integ. Note: this post processor also exists for ***global_post_processing, with similar options.

Syntax#

**process format \(~\,\) *file file \(~\,\) *list_var name1 … nameN [ *precision digits ] [ *optimizer ] [ *blank_line ]

where file denotes the name of the output file, and name1, …, nameN is a list of scalar variable names to output. The values are stored point by point for each map. The option *optimizer inhibits the writing of the character string # time name1 ... nameN. The option *precision determines the number of digits with which the results will be written (default is 10), and the option *blank_line writes an empty line between the output of each location. Some plotting programs, for instance gnuplot, may need this.

Example#

The following example

**output_number 1-3
**process format
 *file myfile
 *list_var U1 U2

will produce a file called myfile like this:

#    time   U1     U2
      1     0      0
      2     0      0
      3     0      0
      1     0      0.01
      2     0      -0.01
      3     0      0
      1     0.01   0.01
      2     -0.01  -0.01
      3     0      0
      ...

Adding the *blank_line and *optimizer options will give

1     0      0
2     0      0
3     0      0

1     0      0.01
2     0      -0.01
3     0      0

1     0.01   0.01
2     -0.01  -0.01
3     0      0

...