|
[Sponsors] |
[General] Limiting streamlines using surfaceLIC plugin |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 19, 2013, 20:39 |
Limiting streamlines using surfaceLIC plugin
|
#1 |
Senior Member
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15 |
Hii,
Can someone tell me how to get limiting streamlines on a surface using the surfaceLIC plugin? Last edited by Tarak; April 19, 2013 at 21:47. |
|
April 21, 2013, 06:14 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Tarak,
I had never tried the "surfaceLIC" plug-in before... Had to search a bit on how to use it and found the following presentation (the last 3 slides describe a bit about it): http://www.tfd.chalmers.se/~hani/kur...jjadHaider.pdf From what I can figure out, the only controls available are in the "Display" tab of the "Object Inspector"; near the end of the page there is the group box "Line Integral Convolution", as shown in the attached image on the lower left corner. It looks like it's not possible to control the length of the lines, since this is a representation method, not a filter. Even if you only have 4 cells with data, it still shows several surface lines. But, by using the filter "Extract Cells By Region" with the "Intersect With" set to "box", you can restrain to the geometry you want to represent with "Surface LIC". Best regards, Bruno
__________________
|
|
April 21, 2013, 13:19 |
|
#3 |
Senior Member
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15 |
Thanks Bruno, I was trying the same steps as you mentioned, but somehow the streamtraces don't show up. Did you have to do anything extra apart from choosing "SurfaceLIC" instead of "Surface" as the visualization mode to just to get the lines (i.e. did you have to play with the parameters in the display tab in the object inspector box?)? This is another thread which talks about this http://www.cfd-online.com/Forums/ope...-paraview.html
Thanks, Tarak |
|
April 21, 2013, 15:01 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Tarak,
Quote:
Now that I re-read your first post... do you mean you haven't been able to load the "surface LIC" plug-in? Does the plug-in show up in the "Plugin Manager"? If not, I'm going to have to guess... probably you are using Linux, possibly Ubuntu... and possibly Ubuntu's own ParaView. If this is the case, start a terminal window and run the following commands: Code:
export PV_PLUGIN_PATH=/usr/lib/paraview paraview Best regards, Bruno
__________________
|
||
April 21, 2013, 15:15 |
|
#5 |
Senior Member
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15 |
Hii Bruno,
I have loaded the plugin, and it appears in the scroll-down menu where you have usual options for visualization as "outline","surface","surface with edges" etc. And the parameters for the plugin also appear in the "display" tab of the "object inspector". From your words, as well as from what is mentioned in the link I gave, it seems that as soon as one chooses "surfaceLIC" in the scroll down menu, the streamtraces appear. But it is not so in my case. So, I'm wondering if I have to do something more to make the streamlines appear. Thanks, Tarak |
|
April 21, 2013, 15:25 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Tarak,
Unpack the ".gz" file attached and open the VTK file inside ParaView. Then select "Surface LIC" and choose "p" as the representation field. In the attached image is the configuration I used. Best regards, Bruno
__________________
|
|
April 21, 2013, 15:40 |
|
#7 |
Senior Member
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15 |
Hii Bruno,
Attached is the screenshot of what I'm getting. Maybe something is wrong with the plugin I'm using. BTW I'm using Paraview 3.12.0. Thanks, Tarak |
|
April 21, 2013, 15:59 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
I've tested just now with ParaView 3.12.0 that I built for OpenFOAM 2.1.x... it seemed to only work properly if I turn on the plug-in and then open the file once again.
Are you using the auto-load feature for loading the plug-in? And close ParaView and open it again? And are you using Unity in 3D? In case you don't know, "Unity" is the name of the default desktop manager that Ubuntu provides in the latests versions (will all of the buttons on the left) and 3D acceleration is usually turned on by default. Unity's 3D acceleration usually messes up ParaView.
__________________
|
|
April 21, 2013, 16:30 |
|
#9 |
Senior Member
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15 |
Hii Bruno,
It worked! But only after I moved from Ubuntu to Windows. I was using Unity in Ubuntu, and maybe that was causing the problem as you mentioned. Thanks a lot!! |
|
April 21, 2013, 21:01 |
|
#10 |
New Member
Berk Geveci
Join Date: Apr 2013
Posts: 6
Rep Power: 13 |
LIC does require certain OpenGL extensions that may not exist on certain older cards and/or drivers.
|
|
January 13, 2014, 08:47 |
|
#11 | |
Member
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 92
Rep Power: 16 |
Quote:
I also want to plot this line. But I failed, could you please to see what I did wrong? Thanks a lot! Ye |
||
January 18, 2014, 09:59 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Ye,
I need more information in order to be able to help. More specifically:
Best regards, Bruno |
|
February 28, 2014, 03:22 |
|
#13 |
Senior Member
Huynh Phong Thanh
Join Date: Aug 2013
Location: Ho Chi Minh City
Posts: 105
Rep Power: 12 |
Hi Bruno,
I downloaded cavity.vtk and ran with the same your guide. But the oilflow is not appear. Could you please show me why has this problem? Thank you. oilflow.jpg |
|
March 1, 2014, 05:17 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Huynh,
A few questions:
Bruno |
|
March 3, 2014, 04:39 |
|
#15 |
Senior Member
Huynh Phong Thanh
Join Date: Aug 2013
Location: Ho Chi Minh City
Posts: 105
Rep Power: 12 |
Sorry Bruno, I did not reply you early, because I am sick 2 days so far.
I surely restart Paraview and I ran the same your guide step by step. I tried with Ubuntu, but the result the same. In windows OS, I updated latest driver for my PC Intel GMA 4500MHD. I haven't seen any change when I chose surfaceLIC. Best regards, Thanh. P/s: Huynh is my family name, Thanh is my name |
|
March 3, 2014, 06:57 |
|
#16 | |||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Thanh,
Quote:
Quote:
Quote:
Code:
GMA 4500MHD OpenGL limitations Sorry, I'm never sure if people use the "First to Last" or "Last then First" convention for their names. Since the forum is in English, I assumed that it was "First to Last". Best regards, Bruno Last edited by wyldckat; March 3, 2014 at 11:20. Reason: fixed typo on the last sentence: if -> it |
||||
March 3, 2014, 11:00 |
|
#17 |
Senior Member
Huynh Phong Thanh
Join Date: Aug 2013
Location: Ho Chi Minh City
Posts: 105
Rep Power: 12 |
Hi Bruno,
I thank you so much you showed me reason. Best regards, Thanh |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Limiting Streamlines | vishwasvemra | Fidelity CFD | 1 | October 9, 2018 05:37 |
[General] Building Paraview 4.1.0 with MPI and Python support | reynoldsStress | ParaView | 10 | July 27, 2017 08:38 |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 03:01 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 13:43 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 07:21 |