You can produce a very sophisticated XY plot by using data from several zones, surfaces, or files and modifying the axis and curve attributes. Using the capability for loading external data files, you can create plots that compare your FLUENT results with data from other sources. To get further information about the solution, you can investigate the frequency of distribution of the data using a histogram (see Section 28.8.7).
Steps for Generating Solution XY Plots
You can create an XY plot of solution data using the Solution XY Plot panel (Figure 28.8.3).
Plot XY Plot...
The basic steps for generating a solution XY plot are as follows:
Note that you can use any of the mouse buttons to annotate the XY plot (see Section 28.2.4) or move the plot legend from its default position in the upper left corner of the graphics window.
Options for Solution XY Plots
The options mentioned in the procedure above include the following. You can include data from an external file in the solution XY plot to compare your results with experimental data. You can also choose node or cell values to be plotted, and save the plot data to a file.
Including External Data in the Solution XY Plot
To add external data to your XY plot for comparison with your results, you must first ensure that any external data files are in the format described in Section 28.8.5. You can then load the file(s) by clicking on the Load File... button and specifying the file(s) to be read in the resulting Select File dialog box. Once a file has been loaded, its title will appear in the File Data list. You can choose the data file(s) to be included in your plot from the titles in this list.
To remove a file from the File Data list, select it and then click the Free Data button.
Choosing Node or Cell Values
In FLUENT you can choose to display the computed cell-center values or values that have been interpolated to the nodes. By default, the Node Values option is turned on, and the interpolated values are displayed. If you prefer to display the cell values, turn the Node Values option off. Node-averaged data curves may be somewhat smoother than curves for cell values.
If you are displaying the XY plot to show the effect of a porous medium or fan, to depict a shock wave, or to show any other discontinuities or jumps in the plotted variable, you should use cell values; if you use node values in such cases, the discontinuity will be smeared by the node averaging for graphics and will not be shown clearly in the plot.
Saving the Plot Data to a File
Once you have generated an XY plot, you may want to save the plot data to a file. You can read this file into FLUENT at a later time and plot it alone using the File XY Plot panel, as described in Section 28.8.3, or add it to a plot of solution data, as described above.
To save the plot data to a file, turn on the Write to File option in the Solution XY Plot panel. The Plot button will change to the Write... button. Clicking on the Write... button will invoke the Select File dialog box, in which you can specify a name and save a file containing the plot data. The format of this file is described in Section 28.8.5.
To sort the saved plot data in order of ascending axis value, turn on the Order Points option in the Solution XY Plot panel before you click the Write... button. This option is available only when the Write to File option is turned on.