|
|
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 ANSYS 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 29.9.8).
Steps for Generating Solution XY Plots
You can create an XY plot of solution data using the Solution XY Plot dialog box (Figure 29.9.3).
Plots
XY Plot
Set Up...
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 29.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 29.9.6. 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 (see Section 2.1.6). 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 ANSYS 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.
For face-only functions (e.g., Wall Shear Stress), the cell values that are displayed for boundary zone surfaces will actually be the face values. These face values are more accurate, as face-only functions are computed on the faces and not on the cells. For these face-only functions, the cell values on postprocessing surfaces will display the values in the cell. For more information about cell values, see Section 31.1.1.
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 ANSYS FLUENT at a later time and plot it alone using the File XY Plot dialog box, as described in Section 29.9.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 dialog box. The Plot button will change to the Write... button. Clicking on the Write... button will invoke the Select File dialog box (see Section 2.1.6), in which you can specify a name and save a file containing the plot data. The format of this file is described in Section 29.9.6.
To sort the saved plot data in order of ascending
axis value, turn on the
Order Points option in the
Solution XY Plot dialog box before you click the
Write... button. This option is available only when the
Write to File option is turned on.