CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Line plot with cell data: PlotOverLine ? (https://www.cfd-online.com/Forums/paraview/146227-line-plot-cell-data-plotoverline.html)

francois December 21, 2014 15:52

Line plot with cell data: PlotOverLine ?
 
Hi all,

In order to see my finite volume mesh resolution in a line plot (OpenFOAM data), I would like to use the PlotOverLine filter or something else that can plot :

* only the cell center values when inside the internal mesh
* the boundary face values when on the computational domain boundary

I've tried to use the PointDatatoCellData filter before using the PlotOverLine filter but it doesn't change anything for me and I don't know if it's the best procedure to accomplish this.

Basically, I just want to have a line plot with the same number and values as the cell centers when inside the internal mesh + 2 face centers if the line cross the domain boundaries.

Is it possible to use some filters in addition to PlotOverLine or something else to obtain this behavior ?

Any help will be warmly welcome :)
Thanks

elones January 3, 2015 20:06

Quote:

Originally Posted by francois (Post 524867)
Hi all,

In order to see my finite volume mesh resolution in a line plot (OpenFOAM data), I would like to use the PlotOverLine filter or something else that can plot :

* only the cell center values when inside the internal mesh
* the boundary face values when on the computational domain boundary

I've tried to use the PointDatatoCellData filter before using the PlotOverLine filter but it doesn't change anything for me and I don't know if it's the best procedure to accomplish this.

Basically, I just want to have a line plot with the same number and values as the cell centers when inside the internal mesh + 2 face centers if the line cross the domain boundaries.

Is it possible to use some filters in addition to PlotOverLine or something else to obtain this behavior ?

Any help will be warmly welcome :)
Thanks

Hi,

You can sample data with sample application and play with interpolationScheme and sampling definition. When I want to see mesh resolution, I choose interpolationScheme cell; and type face; which gives me value on every face intersection.

You can find pretty much everything in "applications/utilities/postProcessing/sampling/sample/sampleDict"

-Ondra


All times are GMT -4. The time now is 12:16.