CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

Limiting streamlines using surfaceLIC plugin

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 19, 2013, 20:39
Default Limiting streamlines using surfaceLIC plugin
  #1
Member
 
Tarak
Join Date: Aug 2010
Location: Atlanta, GA
Posts: 99
Rep Power: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
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, 4 views)
wyldckat is offline   Reply With Quote

Old   April 21, 2013, 13:19
Default
  #3
Member
 
Tarak
Join Date: Aug 2010
Location: Atlanta, GA
Posts: 99
Rep Power: 4
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 Surface path (oilflow) in paraview

Thanks,
Tarak
Tarak is offline   Reply With Quote

Old   April 21, 2013, 15:01
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
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
Member
 
Tarak
Join Date: Aug 2010
Location: Atlanta, GA
Posts: 99
Rep Power: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
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, 4 views)
Attached Files
File Type: gz cavity_100.vtk.gz (17.8 KB, 2 views)
wyldckat is offline   Reply With Quote

Old   April 21, 2013, 15:40
Default
  #7
Member
 
Tarak
Join Date: Aug 2010
Location: Atlanta, GA
Posts: 99
Rep Power: 4
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, 6 views)
Tarak is offline   Reply With Quote

Old   April 21, 2013, 15:59
Default
  #8
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
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
Member
 
Tarak
Join Date: Aug 2010
Location: Atlanta, GA
Posts: 99
Rep Power: 4
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: 5
Rep Power: 2
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

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
limiting streamlines... srikanth Main CFD Forum 4 June 2, 2003 05:32
visualisation of limiting streamlines babi CFX 0 March 8, 2002 03:07


All times are GMT -4. The time now is 01:18.