CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Plot over line without interpolation

Register Blogs Community New Posts Updated Threads Search

Rate this Entry

Plot over line without interpolation

Posted May 10, 2017 at 12:49 by kindle
Updated May 10, 2017 at 13:19 by kindle (cannot find "Use Data Array" for plotting with coordinates value in some version of paraview)

Follow the steps as the following post :
1. Create two "Slice"
2. "Plot Data"
3. In tab Display choose "Cell Data" (when using "plot over line", should you choose this option from defaut "Point Data", the lines will disppear). Here you can choose between "Cell Data" and "Point Data". The former will give more sharp curves as the latter does have some interpolation.

Well, after this post. There is another one plotting the data using Points coordinates as x Axis Data... Well, on my remote machine (paraview4.4) there is no "Use Data Array" whereas on my local machine(paraview4.1) there is. And I can choose coordinates as x axis.

Quote:
Originally Posted by wyldckat View Post
Greetings Philipp,

Took me a while to think about this, but I believe I know what you're looking for. The steps should be as follows:
  1. Apply the "Slice" filter, along the direction of your original line.
  2. Apply a second "Slice" filter, applied to the first one, along the location of the intended line.
  3. You should now have the same line you originally intended, but with some extra information that the "Plot over line" doesn't give you, namely the "Cell Data". This is because "Plot over line" does interpolation into point data.
  4. Now, apply the filter "Plot data" to the second slice.
  5. In the... I think it's the "Display" tab (writing from memory here ), you can choose to plot the cell data, instead of the point data.
And that should be the solution for your question!

Best regards,
Bruno
Posted in Post-processing
Views 636 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

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