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

[General] Limiting streamlines using surfaceLIC plugin

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2013, 20:39
Default Limiting streamlines using surfaceLIC plugin
  #1
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15
Tarak is on a distinguished road
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.
Tarak is offline   Reply With Quote

Old   April 21, 2013, 06:14
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
Attached Images
File Type: jpg Screenshot from 2013-04-21 11:08:30.jpg (55.8 KB, 860 views)
Pagoda and Zigec like this.
__________________
wyldckat is offline   Reply With Quote

Old   April 21, 2013, 13:19
Default
  #3
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15
Tarak is on a distinguished road
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
Tarak is offline   Reply With Quote

Old   April 21, 2013, 15:01
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Tarak,

Quote:
Originally Posted by wyldckat View Post
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
I followed the instructions on the last 3... wait, in the last 4 slides from the link above. It's also discussed in the thread you indicated.

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
The first line will define that the path where the default plug-ins are in the specified folder and the second will run ParaView.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 21, 2013, 15:15
Default
  #5
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15
Tarak is on a distinguished road
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
Tarak is offline   Reply With Quote

Old   April 21, 2013, 15:25
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
Attached Images
File Type: jpg Screenshot from 2013-04-21 20:23:29.jpg (45.3 KB, 439 views)
Attached Files
File Type: gz cavity_100.vtk.gz (17.8 KB, 67 views)
__________________
wyldckat is offline   Reply With Quote

Old   April 21, 2013, 15:40
Default
  #7
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15
Tarak is on a distinguished road
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
Attached Images
File Type: jpg Screenshot from 2013-04-21 15_40_49.jpg (37.7 KB, 325 views)
Tarak is offline   Reply With Quote

Old   April 21, 2013, 15:59
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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.
__________________
wyldckat is offline   Reply With Quote

Old   April 21, 2013, 16:30
Default
  #9
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15
Tarak is on a distinguished road
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!!
Tarak is offline   Reply With Quote

Old   April 21, 2013, 21:01
Default
  #10
New Member
 
Berk Geveci
Join Date: Apr 2013
Posts: 6
Rep Power: 13
berk is on a distinguished road
LIC does require certain OpenGL extensions that may not exist on certain older cards and/or drivers.
berk is offline   Reply With Quote

Old   January 13, 2014, 08:47
Default
  #11
Member
 
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 92
Rep Power: 16
kiddmax is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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.
Hi Bruno,

I also want to plot this line. But I failed, could you please to see what I did wrong?
Thanks a lot!

Ye
Attached Images
File Type: jpg 12345.jpg (46.5 KB, 327 views)
kiddmax is offline   Reply With Quote

Old   January 18, 2014, 09:59
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Ye,

I need more information in order to be able to help. More specifically:
  1. Which ParaView version are you using?
  2. What were the exact steps you've taken?
Don't forget that the image you have provided only gives the last thing you saw. It does not give any hints at which were the exact steps you've taken.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 28, 2014, 03:22
Default
  #13
Senior Member
 
Huynh Phong Thanh
Join Date: Aug 2013
Location: Ho Chi Minh City
Posts: 105
Rep Power: 12
hiuluom is on a distinguished road
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
hiuluom is offline   Reply With Quote

Old   March 1, 2014, 05:17
Default
  #14
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Huynh,

A few questions:
  • Did you restart ParaView after turning on the Surface LIC plug-in?
  • Did you install the correct graphics-card drivers in your Windows installation?
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 3, 2014, 04:39
Default
  #15
Senior Member
 
Huynh Phong Thanh
Join Date: Aug 2013
Location: Ho Chi Minh City
Posts: 105
Rep Power: 12
hiuluom is on a distinguished road
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
hiuluom is offline   Reply With Quote

Old   March 3, 2014, 06:57
Default
  #16
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Thanh,

Quote:
Originally Posted by hiuluom View Post
Sorry Bruno, I did not reply you early, because I am sick 2 days so far.
Get well soon!


Quote:
Originally Posted by hiuluom View Post
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.
Mmm... then the problem might be as Berk said on the other post:
Quote:
Originally Posted by berk View Post
LIC does require certain OpenGL extensions that may not exist on certain older cards and/or drivers.
I used Google for:
Code:
GMA 4500MHD OpenGL limitations
And among the results was an indication that this GPU does not fully support all OpenGL 2.1 extensions, which would explain the reason why it's not working for you


Quote:
Originally Posted by hiuluom View Post
P/s: Huynh is my family name, Thanh is my name
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
wyldckat is offline   Reply With Quote

Old   March 3, 2014, 11:00
Default
  #17
Senior Member
 
Huynh Phong Thanh
Join Date: Aug 2013
Location: Ho Chi Minh City
Posts: 105
Rep Power: 12
hiuluom is on a distinguished road
Hi Bruno,

I thank you so much you showed me reason.

Best regards,
Thanh
hiuluom 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
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


All times are GMT -4. The time now is 16:24.