CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Evenly distributed arrows using glyph in ParaView

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree4Likes
  • 4 Post By madad2005

LinkBack Thread Tools Display Modes
Old   June 11, 2010, 06:25
Default Evenly distributed arrows using glyph in ParaView
New Member
Join Date: Apr 2010
Posts: 19
Rep Power: 7
kriz is on a distinguished road

Is there a possibility to generate evenly distributed e.g. velocity-arrows with ParaView? Using glyphs, it seems I only have the possibility of choosing an maximum amount of arrows, but they are always distributed in a random manner, sometimes with less arrows in regions of interest!

Is there a solution?
kriz is offline   Reply With Quote

Old   June 11, 2010, 06:45
Senior Member
Join Date: Mar 2009
Posts: 110
Rep Power: 8
madad2005 is on a distinguished road
That's because a glyph is placed at a point or cell centre (depending whether you have point or cell data). If you want a glyph everywhere then the easiest option is to turn off random and mask points, the latter of which will reduce the number of points in your data-set to, at most, the maximum number of points defined.

To do what you want is fairly straight-forward, however. Follow thsi process:

1) Create a plane (Sources->Plane) in the region your are interested in. For speed, it is best to define the X and Y resolutions as 1 initially.

2) Using Filters->Alphabetical->Resample With DataSet, select your volume data-set as your input and the plane as your source and apply. This will interpolate the volume data onto your plane.

3) You can then turn on glyphs for this region only and will be present for every point in your new grid that you have specified with the plane source (which is current 1 by 1).

4) Increase the X and Y resolution of your plane source to get the desired density of glyphs in your region of interest.

Hope this helps.
Blanco, Ohbuchi, fumiya and 1 others like this.
madad2005 is offline   Reply With Quote

Old   June 11, 2010, 12:17
New Member
Join Date: Apr 2010
Posts: 19
Rep Power: 7
kriz is on a distinguished road
Perfect, that was exactly what I was looking for, thanks a lot!
kriz is offline   Reply With Quote

Old   June 30, 2014, 11:10
New Member
Join Date: Jun 2014
Posts: 1
Rep Power: 0
h0dges is on a distinguished road
Sorry to drag up an old thread, but I am running into an error when following madad2005's process.

After defining a plane I then try to apply the filter "Resample with dataset". However, upon selecting an input I get the following error message:

ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionMode l\vtkExecutive.cxx, line 754
vtkPVCompositeDataPipeline (000000001A5388E0): Algorithm vtkPProbeFilter(000000001A8060B0) returned failure for request: vtkInformation (000000001A284F10)
Debug: Off
Modified Time: 16439076
Reference Count: 1
Registered Events: (none)
I've uploaded the vts file here for anyone to try (855 KB):

Please help me! Or tell me if you get the same error, etc..


Last edited by h0dges; June 30, 2014 at 18:01. Reason: changed file download location
h0dges is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 08:11
Distributed ParaView and PV3FoamReader micalil OpenFOAM Paraview & paraFoam 4 July 1, 2010 05:09
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
Paraview installation troubles jjhall OpenFOAM Installation 3 April 17, 2008 12:59
Animating Lagrangian Particles in ParaView xiao OpenFOAM Paraview & paraFoam 4 April 8, 2008 02:24

All times are GMT -4. The time now is 00:29.