<div><div dir="auto">Hi,</div><div dir="auto"><br></div><div dir="auto">I just sent an email with a typo. "Cell Data to Point Data" filter was correct.</div><div dir="auto"><br></div><div class="gmail_quote"><div>2018年5月20日(日) 13:30 kenichiro yoshimi <<a href="mailto:rccm.kyoshimi@gmail.com">rccm.kyoshimi@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Aniruddha,<br>
<br>
I think the reason why the data looks discontinuous is that it is<br>
defined as cell data. So the easiest way is to use "Point Data to Cell<br>
Data" filter to convert from cell data to point data, which is using a<br>
very basic straight averaging.<br>
<br>
Best Regards<br>
<br>
2018-05-20 3:30 GMT+09:00 Aniruddha Panda <<a href="mailto:aniruddhamit@gmail.com" target="_blank">aniruddhamit@gmail.com</a>>:<br>
> I have a cartesian grid on two different codes, one uses the legacy format<br>
> to write the data in vtk format where the co-ordinates of equidistant points<br>
> in x y and z directions are used and the associated velocity (or any other<br>
> state variable) values are written.<br>
><br>
><br>
> Whereas in the code which uses the unstructured dataset the each quadrant<br>
> extents are written and the associated cell data is written. Later the idea<br>
> is to have adaptive mesh refinement on this.<br>
><br>
> When I visualise both the files ( lets say for flow through a square duct,<br>
> pic attached ) I see a smooth representation that paraview automatically<br>
> calculates for the mesh in case of vtk whereas it appears like a<br>
> discontinuous data in case of vtu ( i assume vtu does lead to a<br>
> discontinuous field) . May I know if there is a smoothing filter which<br>
> allows me to interpolate the data onto an equidistant point cloud in all<br>
> directions so as to have smooth profile in my postprocessing.<br>
><br>
> Figure1. vtk flow through a square duct<br>
> Figure2 vtu flow through a square duct<br>
> Figure3 the velocity profile across the diagonal of the slice ( from vtk )<br>
> Figure4 the velocity profile across the diagonal of the slice ( from vtu)<br>
><br>
> ---------------------------------<br>
><br>
> With thanks & regards<br>
><br>
> Aniruddha<br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/paraview</a><br>
><br>
</blockquote></div></div>