CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Evenly distributed vector plot

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2015, 13:14
Default Evenly distributed vector plot
  #1
Member
 
SM
Join Date: Dec 2010
Posts: 97
Rep Power: 15
canopus is on a distinguished road
I have a structure mesh on which I want to plot vectors.
I use slice and glyph but I get vectors in random fashion.
What I want is something like in the picture


I have read about Resample With DataSet but in this case it will be a tedious task.

Is there a easy way out?
Attached Images
File Type: png Screenshot from 2015-09-18 18:08:47.png (29.7 KB, 50 views)
canopus is offline   Reply With Quote

Old   September 18, 2015, 14:11
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

By default Glyph filter uses Random mode for selecting points. You can:

- increase number of points (to the total number of cells in you mesh)
- turn off masking, so Glyph uses all mesh points

Screenshot with settings for Paraview 4.3.1 is attached to the message. For other versions it should be similar.
Attached Images
File Type: png screenshot.png (53.7 KB, 64 views)
alexeym is offline   Reply With Quote

Old   September 19, 2015, 12:53
Default
  #3
Member
 
SM
Join Date: Dec 2010
Posts: 97
Rep Power: 15
canopus is on a distinguished road
Many thanks for answer with the image!

It seems that the option
Code:
mask stride
is not present in Paraview 4.1.0 which comes bundled with OF.

I downloaded the paraview version 4.3.1.
But I can not load the velocity field maybe as a coded velocity profile in 0/U is used instead of numeric values.
It works fine Paraview 4.1.0 bundled with OpenFOAM.

Code:
ERROR: In /home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 6467 vtkOpenFOAMReaderPrivate (0x3900fd0): Error reading line 30 of x/y/z/0/U: Unsupported directive {
Is it possible to solve this or lets say force paraview skip 0?
Manually renaming 0 is last option I prefer.

Thanks & regards
canopus is offline   Reply With Quote

Old   September 20, 2015, 06:25
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Well, here is screenshot from 4.1.0. You can either
  • Increase maximum number of points (set it equal to the number of cells in your mesh)
  • Switch off masking (Mask points checkbox)
Attached Images
File Type: png screeenshot.png (72.3 KB, 41 views)
alexeym is offline   Reply With Quote

Old   June 30, 2017, 06:16
Default about random mode
  #5
cyw
Member
 
Yuanwei Cao
Join Date: Jun 2017
Location: Munich,Germany
Posts: 54
Rep Power: 8
cyw is on a distinguished road
Hi, can you tell me how to distribute the vector as I want? Thank you!

Quote:
Originally Posted by alexeym View Post
Well, here is screenshot from 4.1.0. You can either
  • Increase maximum number of points (set it equal to the number of cells in your mesh)
  • Switch off masking (Mask points checkbox)
cyw is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Evenly distributed arrows using glyph in ParaView kriz ParaView 4 January 26, 2016 04:23
[ICEM] nodes in sweep direction not evenly distributed fmarlow ANSYS Meshing & Geometry 1 December 19, 2012 04:32
HP MPI warning...Distributed parallel processing Peter CFX 10 May 14, 2011 07:17
Firewall settings bproc distributed file syntax mike_jaworski OpenFOAM 2 January 14, 2008 11:46
distributed mpich problem Trevor CFX 15 January 9, 2007 18:08


All times are GMT -4. The time now is 09:02.