CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Evenly distributed arrows using glyph in ParaView

Register Blogs Community New Posts Updated Threads Search

Like Tree13Likes
  • 1 Post By kriz
  • 12 Post By madad2005

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2010, 06:25
Default Evenly distributed arrows using glyph in ParaView
  #1
New Member
 
Christoph
Join Date: Apr 2010
Posts: 19
Rep Power: 16
kriz is on a distinguished road
Hi!

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?
Kummi likes this.
kriz is offline   Reply With Quote

Old   June 11, 2010, 06:45
Default
  #2
Senior Member
 
Anonymous
Join Date: Mar 2009
Posts: 110
Rep Power: 17
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 9 others like this.
madad2005 is offline   Reply With Quote

Old   June 11, 2010, 12:17
Default
  #3
New Member
 
Christoph
Join Date: Apr 2010
Posts: 19
Rep Power: 16
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
Exclamation
  #4
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:

Quote:
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)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
FROM_OUTPUT_PORT: 0
I've uploaded the vts file here for anyone to try (855 KB): http://s000.tinyupload.com/index.php...93358870219734

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

Thanks

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

Old   January 26, 2016, 03:23
Default
  #5
New Member
 
Christof Schmidt
Join Date: Nov 2015
Posts: 6
Rep Power: 10
cristopf is on a distinguished road
Hi h0dges,

did you find a solution? I have the same problem like you.

Greeting
cristopf is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[General] glyph always has arrows pointing to the x direction youngturtle ParaView 4 January 28, 2017 15:39
[ICEM] nodes in sweep direction not evenly distributed fmarlow ANSYS Meshing & Geometry 1 December 19, 2012 03:32
[OpenFOAM] ParaView Glyph Arrows Outside Vessel slowtype ParaView 0 February 15, 2011 14:01
[OpenFOAM] Distributed ParaView and PV3FoamReader micalil ParaView 4 July 1, 2010 05:09
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41


All times are GMT -4. The time now is 19:26.