CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Plotting the averages on section cuts (https://www.cfd-online.com/Forums/paraview/129295-plotting-averages-section-cuts.html)

wyldckat February 2, 2014 08:47

Plotting the averages on section cuts
 
I answered today to a private message on the topic of the title. The objective is to do the averages (integrate) on each section-cut and then plot all of the averages in a single graph.

You can use ParaView to do the following steps:
  1. Apply the filter "Slice" as many times as you need, for each section cut location.
  2. Apply the filter "Integrate Variables" to each "Slice" entry.
  3. Select all "Integrate Variables" entries.
  4. Apply the filter "Append Datasets", while all "Integrate Variables" entries are selected.
  5. Apply the "Plot Data" filter to the "Append Datasets".
Note: for the inlet and the outlet, it's best not to use the Slice filter. Instead open the ".OpenFOAM" file two more times, but on the first one choose only the inlet patch and on the second choose the outlet patch. Then apply the "Integrate Variables" to each one and then treat them as part of the others.

Note 2: ParaView does allow making several section cuts in a single entry, by using the offsets list. The problem is that the "Integrate Variables" will integrate it all into a single point.

Best regards,
Bruno


All times are GMT -4. The time now is 04:43.