Limiting streamlines using surfaceLIC plugin
Hii,
Can someone tell me how to get limiting streamlines on a surface using the surfaceLIC plugin? |
1 Attachment(s)
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 |
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 |
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 Best regards, Bruno |
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 |
2 Attachment(s)
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 |
1 Attachment(s)
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 |
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. |
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!! |
LIC does require certain OpenGL extensions that may not exist on certain older cards and/or drivers.
|
1 Attachment(s)
Quote:
I also want to plot this line. But I failed, could you please to see what I did wrong? Thanks a lot! Ye |
Hi Ye,
I need more information in order to be able to help. More specifically:
Best regards, Bruno |
1 Attachment(s)
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. Attachment 28978 |
Hi Huynh,
A few questions:
Bruno |
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 :p |
Hi Thanh,
Quote:
Quote:
Quote:
Code:
GMA 4500MHD OpenGL limitations Quote:
Best regards, Bruno |
Hi Bruno,
I thank you so much you showed me reason. Best regards, Thanh |
All times are GMT -4. The time now is 12:32. |