Dear Dan, sorry.
That file should not be required for the problem at hand.
Basically I took a slice, used the calculator filter to get a 2D vector with U_XiHat+U_YjHat and wrote it as a vtk file. Then I tried to open it and do the 2D streamlines but it did not work.
Please see in annex the file. 2D_data_test_0_0.vtm (637 Bytes)
I think you are looking for the data Joao has provided here. I tested the evenlySpaced filter in this case many times with no success. As it is an OpenFOAM case, you only need to open “foam.foam” from within paraview.
Hi Pradip,
There is a paraview state file and a dataset (make sure you uncompress it) linked in the blog that will produce the two images shown.
The links were broken, but we just fixed them.
You have to use the arc_length filter to compute the length of the streamlines, contour filter to produce equally spaced points and the glyph filter to place the arrows at those points.
I couldn’t uncompress the data file. Seems it has been corrupt. When trying to extract, it returns “This does not look like a tar archive” (in Linux) and “The archive is corrupt” (in Windows). The Paraview state file opens to a new link and has no downloads. Could you please check again?
I did apply arc_length filter and contour filter to get the points. I think it should be correct up to this point. After that, when applying the glyph filter, I can’t get the arrow quite like the ones in the blog.
If I apply a regular glyph filter then the arrows are like the regular arrows for velocity vectors where you can change glyps type to Arrow/cone/box etc.
If I apply GlyphWithCustomSource filter with the previous contour as an input/glyph source, it gives a thin line on those points.
Try right click and then Save link as… for both the pvsm and the tgz file. I use Chrome on Windows to download the files and Ubuntu 20.04 on Windows to untar the data file.
Then I used ParaView 5.10 to load the pvsm. I got a warning about a deprecated Glyph filter but everything worked fine and got the two images.