|
[Sponsors] |
April 26, 2013, 11:33 |
streamlines to a 2d plot
|
#1 |
New Member
Albert Puig
Join Date: Jul 2012
Posts: 24
Rep Power: 13 |
hello!
If I have a paraview visualization of a vtk that looks like this: But I want it to look like a 2D plot with its axes scales with a certain width and height of my choice. Is it possible to transform the paraview visualizations to plots like this?? |
|
April 26, 2013, 20:12 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Greetings Albert,
I believe that what you're looking for is the "Stream Tracer With Custom Source" filter: http://www.paraview.org/Wiki/ParaVie..._Custom_Source Very brief instructions are given here: http://www.cfd-online.com/Forums/ope...tml#post303116 - post #2 And keep in mind that you might need more than one tracer! Best regards, Bruno
__________________
|
|
April 30, 2013, 07:01 |
|
#3 |
New Member
Albert Puig
Join Date: Jul 2012
Posts: 24
Rep Power: 13 |
Dear wyldckat,
I am already using this filter in paraview. My concern is with the elaboration of a scaled plot of the streamlines I have. I do not know which tool or program to use in order to take profit of my first picture to scale the axes, as it is shown in the second picture. Thanks anyway! Albert P |
|
May 1, 2013, 07:30 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Albert,
Sorry, I had misunderstood the question Look for the "Show cube axes" in the "Display" tab, as shown in the attached image. Click on the "Edit" button where the mouse cursor is shown on the image and configure it as you wish! Best regards, Bruno
__________________
|
|
May 2, 2013, 06:31 |
|
#5 |
New Member
Albert Puig
Join Date: Jul 2012
Posts: 24
Rep Power: 13 |
Hi bruno,
Thanks for the help. In fact I am able to visualize the plot axes, but I am working on a white background and the axes are also in white. I haven't found the way to change the color. I go to edit axes after enablind the show cube axes and I change the axe color to black, but it stays in white somehow! Thank you for all the provided help again! Best regards, Albert |
|
May 2, 2013, 06:58 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Albert,
Ooops, I forgot to test that. Indeed ParaView 3.14 and older have this problem, but ParaView 3.98.0 has this fixed now, as shown in the attachment. And for this option to appear, you have to click on the gear icon on the "Properties" tab, to the right of the "Search" edit box. You can get the latest ParaView version from here: http://www.paraview.org/paraview/resources/software.php Best regards, Bruno
__________________
|
|
May 2, 2013, 09:30 |
|
#7 |
New Member
Albert Puig
Join Date: Jul 2012
Posts: 24
Rep Power: 13 |
Hi bruno,
I have already downloaded the version from your provided source. But I am a rookie in linux and I do not know how to install the paraview without being on the repositories. Are you linux user? Does anyone know how to install paraview 3.98 in linux ubuntu?? Thank you! PD: I am able to open paraview 3.98, but only from the directory where I have extracted the dowloaded .tar and it is NOt installed |
|
May 2, 2013, 09:41 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Albert,
Yeah, that's normal for the generic builds of ParaView for Linux. There two possible ways to approach this:
Bruno
__________________
|
|
May 7, 2013, 03:34 |
|
#9 |
New Member
Albert Puig
Join Date: Jul 2012
Posts: 24
Rep Power: 13 |
Hi again!
I have applied the two codes that you mentioned, but now I am not able to find my .bashrc file anymore... It seems that it has disapeared. It is sad because I accidentally haven't put correctly the path of the alias and now as I don't find it I can't remodify it. EDIT: I already found it! Regards Albert Last edited by Puigar; May 7, 2013 at 06:12. |
|
May 9, 2013, 06:23 |
|
#10 |
New Member
Albert Puig
Join Date: Jul 2012
Posts: 24
Rep Power: 13 |
Hi again.
I have advanced quite a bit with the streamline filters. But I have a critical question. I am displaying averaged velocities of a flow past an obstacle. but I have some doubts on how do I generate the streamlines. Is there any tool or any way to merge streamlines from vortexes? because as soon as I enlarge the length of the streamline along a vortex (which is circular and it should close) it doesn't, and on top of that it follows the vortex direction, superposing the line really close to the first one and if I put a very large length of the streamline it shows like a narrow spiral. EDIT: I put two image examples: Zoom in of the circle shaped streamline of the right. Is there any threshold of the variation of velocity to prevent this?? Albert P Last edited by Puigar; May 9, 2013 at 09:47. |
|
May 10, 2013, 18:42 |
|
#11 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Albert,
OK, I'm basically half-asleep right now, but I think I found an answer for your question: http://en.wikipedia.org/wiki/Streaml..._and_pathlines Quote:
Best regards, Bruno
__________________
|
||
May 13, 2013, 10:49 |
|
#12 |
New Member
Albert Puig
Join Date: Jul 2012
Posts: 24
Rep Power: 13 |
Hi
I just have tried to look for a filter of these features but it seems that there isn't a filter like that that works fine... Thank you anyway for all the help! Albert P |
|
May 13, 2013, 17:31 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Albert,
Sorry, I haven't had the time yet to look into this. But do try one of the latest ParaView versions! Best regards, Bruno
__________________
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Foam warnings - related to swak4Foam | Salam-H | OpenFOAM Community Contributions | 20 | August 2, 2015 15:40 |
Plot Streamlines | R_21 | OpenFOAM Post-Processing | 0 | June 26, 2015 17:32 |
[OpenFOAM] Paraview: how to plot streamlines and surface mesh together | serena | ParaView | 3 | September 9, 2012 22:13 |
CFD-Post how to plot stress and streamlines? | Airone | CFX | 3 | July 9, 2010 11:56 |
plot streamlines | JJ | Main CFD Forum | 2 | December 20, 1999 12:21 |