|
[Sponsors] |
March 22, 2013, 12:12 |
visualise vector field
|
#1 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
dear all,
i have a 3d domain, i slice it and i want to disply the velocity vector field.. below is what i see.. ie onluy the vector where it enters the domain and thats it.. can an1 help me please? |
|
March 24, 2013, 14:34 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi zaynah,
A few questions:
Bruno
__________________
|
|
March 25, 2013, 08:27 |
|
#3 | |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
Quote:
yes i have a slice off the 3d domain..i slice it from muy 3d domain, yeh i have made the slice along right axis.. sometiems i use x axis sometimes along z axis.. for glyph in properties panel of object inspector i use scale mode off in display i use U and then magnitude thnaks alot for taking time to reply zay |
||
March 25, 2013, 17:25 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
What about the number of glyphs to be represented?
For reference, the options I was asking about are the ones listed here: http://paraview.org/OnlineHelpCurrent/Glyph.html
__________________
|
|
March 26, 2013, 00:17 |
|
#5 |
Senior Member
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 18 |
Within the Glyph panel, Check the "Scale Mode", try changing it from "vector" to "off". If for some reason you have vectors of large magnitude at the boundary, they will dominate the display (making smaller arrows/2D Glyphs) look much smaller (possibly dots).
|
|
March 26, 2013, 00:18 |
|
#6 | |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
Quote:
yesh this i had done already. |
||
March 26, 2013, 00:52 |
|
#7 | |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
Quote:
thanks again for taking time and reply to me. i am sending you 2 screenshots its same thing one with only the glyph seen and one with bith glyph and slice seen. ps: scale mode =off set scale factor=1 max no of points=5000 glyph type=2D glyph, arrow |
||
March 26, 2013, 05:39 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Try increasing "max no of points" to 10x more or 100x...
There are a few possible issues that you might be having:
__________________
|
|
March 26, 2013, 08:21 |
|
#9 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
i convert to VTK format ... what must i do now can you please guide me?
Last edited by zaynah04; March 26, 2013 at 08:52. |
|
March 26, 2013, 08:23 |
|
#10 | |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
Quote:
also please notice how the entering vector arrow is coloured whereas all remian zero in the domain.. Last edited by zaynah04; March 26, 2013 at 09:21. |
||
March 26, 2013, 11:01 |
|
#11 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
i have used another case, this time a 2D case and used glyph attached is the image..
we can see the glyph and the velocity colours..only the glyph are not coloured.. this is the whole trouble.. why is the arrows not geting coloured? one case i use the colour by u and i choose x.. as i had sent wind along the x axis. and it was 0.7m/s, hence i saw a constant 0.7m/s over the whole doamain.. but it does nto change around the shape etc.. i think somehting is wrong somewhere.. Last edited by zaynah04; March 26, 2013 at 11:27. |
|
April 1, 2013, 09:06 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi zaynah,
Without the VTK files to look at the results myself, I'm unable to be of much help. But for some of the questions you had:
Bruno
__________________
|
|
April 1, 2013, 09:22 |
|
#13 |
Senior Member
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 18 |
I just saw the last reply to this message and remembered that I've had plenty of instances where Paraview just arbitrarily ate a whole section of Glyphs when putting them in a slice. I wonder if you can:
1. Start from a VTK file, which you obtain by using the command foamToVTK in the terminal. It might work from the direct paraFoam file, but I haven't tested this. 2. Create a Plane from the Source menu, 3. Change the X and Y Resolution of the plane to something like 200x100 (x,y). By default, the resolution is 1x1, which is wrong if you are going to do step 4 below. 4. Use the Resample with Dataset filter (the source is the created plane, and the input is your entire dataset) on your main dataset. 5. Place your Glyph filter on the ResampleWithDataset object (which is your mapped surface). Make sure you place the Glyph filter on the ResampleWithDataset that has the cube icon, and not on the ones with the arrow (if you misplace the Glyph filter, it will not work). 6. Make sure that only the ResampleWithDataset object + the Glyphs are visible, as the plane itself will hide the mapped results. This should give you an evenly distributed mesh with a matrix of points that should allow the glyph filter to hold on to. Let us know as I haven't done this, but would like to know if it works. This is the process I use to map results to arbitrary surfaces in paraview. I used it in the last thread I started. In it, I create sources, resample (map) results, and then integrate with moreless detrimental results: http://www.cfd-online.com/Forums/ope...tml#post417557 UPDATE: Ok, I put Glyphs on the mapped surface and it does work. See link above, I may have answered my question on that other thread. Zaynah, can you try this? Last edited by JR22; April 2, 2013 at 17:33. Reason: grammar, Update, Glyph filter placement, start from VTK file |
|
April 2, 2013, 16:12 |
|
#14 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
hii jose
first of all thank you for this superb answer.. i am trying it right now.. i will get back to you on that thanks again zaynah |
|
April 2, 2013, 16:24 |
|
#15 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
when i do resamble i get this error.. ERROR: In /home/opencfd/OpenFOAM/ThirdParty-2.1.x/ParaView-3.12.0/VTK/Filtering/vtkExecutive.cxx, line 756 vtkPVCompositeDataPipeline (0x9b42a30): Algorithm vtkPProbeFilter(0x162e1620) returned failure for request: vtkInformation (0x16481660) Debug: Off Modified Time: 172930 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA_OBJECT FROM_OUTPUT_PORT: 0 ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 another thing is how you chnage the resolution of x and y? |
|
April 2, 2013, 17:31 |
|
#16 |
Senior Member
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 18 |
One more thing, I started from a VTK file which I exported using foamToVTK. Check the panel for the Plane, there you will find X and Y resolution. Also, the coordinates in this precise plane should give you what you need I think, since you have wind blowing on the structures in the X direction too. Some arrows don't show because they are behind the plane.
Last edited by JR22; April 2, 2013 at 17:37. Reason: plane source coordinates |
|
April 4, 2013, 04:49 |
|
#17 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
hi
i slice my 3D domain,then i apply glyph on it. then i re sample with data set and I GOT IT... thanksssssssssss a lot jose from zay Last edited by zaynah04; April 4, 2013 at 06:25. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Visualise CFX res files | salihovic | CFX | 3 | July 16, 2010 09:35 |
Visualise CFX Mesh Aspect Ratio? | Ianto | CFX | 7 | November 13, 2008 05:05 |
How can I visualise a particle cloud | Sandra | FLUENT | 0 | May 23, 2006 06:41 |
How to visualise | Peter | Main CFD Forum | 3 | October 20, 2003 14:02 |
cfx5 visualise | nick | CFX | 2 | October 1, 2001 13:14 |