|
[Sponsors] |
[OpenFOAM] why can't i get streamlines in paraview? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 11, 2012, 18:25 |
why can't i get streamlines in paraview?
|
#1 |
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16 |
No matter what I do, most extend only for a short length.
I'm running ParaView under Windows.
__________________
Mihai Pruna's Bio |
|
June 12, 2012, 18:01 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Mihai,
Interesting... OK, let's try to get to the bottom of this:
Bruno
__________________
|
|
June 12, 2012, 18:55 |
|
#3 |
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16 |
Hi Bruno
I think I tried the custom source as well. I used the STL file and extracted only the inlet face. Same thing. I get streamlines close to the surface, of the duct in this case, but inside they stop quickly. I was able to get extended streamlines with a line source over a wing, but they seem to cross the wing surface at one point, see attached.
__________________
Mihai Pruna's Bio |
|
June 12, 2012, 18:58 |
|
#4 |
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16 |
here is the instance it actually worked. paraview version is 3.14.1 64 bit.
__________________
Mihai Pruna's Bio |
|
June 12, 2012, 19:08 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
OK, then try converting to VTK format, using polyhedrons for the mesh:
Code:
foamToVTK -poly Have you checked how the vectors look like in that break-off zone?
__________________
|
|
June 13, 2012, 16:58 |
|
#6 |
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16 |
says mesh is OK.
I do have an area where the flow direction changes, not abruptly, where I see sharp gradients. The area of concern ,though, seems to be able to carry a streamline over the surface but not inside the duct.
__________________
Mihai Pruna's Bio |
|
June 13, 2012, 17:56 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Mihai,
Mmm... OK, have you tried the line streamline with both ends of the line right on top or very close to the duct? Because sometimes only when the seed point is in the right place, will it be able to generate the lines your looking for. Another possibility that I can think of is that the flow might be reversed somehow or have a static point and pushes the fluid away from the duct on the side of the streamlines you have. You can also try using the "Extract Cells" filter to try and isolate the duct, then generate the streamlines only in that area, possibly even flooding it with seed points, or vector glyphs, to figure out what is going on! Additionally, you can export the extracted region to a single & smaller VTK file and then attach it to your next post, if you want me or someone else to take a look at it to help you figure out what's wrong. Best regards, Bruno
__________________
|
|
June 13, 2012, 20:35 |
|
#8 |
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16 |
Thank you Bruno
it seems, for a point source, the larger I set the number of points value the longer the streamlines get. But I wish for more control, of course, as it also gets slow at updates.
__________________
Mihai Pruna's Bio |
|
June 14, 2012, 10:11 |
|
#9 |
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16 |
It works now. I did it on another machine, under Linux, and enabled the "use VTK polyhedron" option on the internal mesh.
Dunno which made the difference, but they show up nicely
__________________
Mihai Pruna's Bio |
|
June 14, 2012, 10:14 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
OK, OpenFOAM's official plugin has that option very visible
This command should export the data to that same polyhedron structure: Code:
foamToVTK -poly
__________________
|
|
June 14, 2012, 20:28 |
|
#11 |
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16 |
Thanks for all your help Bruno. For ParaView in Windows the option Decompose Polyhedra has to be disabled
__________________
Mihai Pruna's Bio |
|
May 9, 2013, 00:44 |
|
#12 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 848
Rep Power: 18 |
Quote:
I use your method and succeed!!but there is a little problem. you can see there are too many tubes around my impeller,I think its because the cells around the impeller are small.But how can I cease the number of this tubes?There are too many. And if I use wallboundedstreamline funtions in controlDict. Will I get the same stream line with using the filter in paraview? Thanks in advance! |
||
May 10, 2013, 19:32 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Forrest,
You can create a plane or circle from the "Sources" menu, then use the "Subdivide" filter to divide it in a more well distributed source. You might need to apply the "Transform" filter in order to place the plane or circle in the right place. Then use this final shape as the custom source for the streamlines. The other possibility is to apply a "Decimate" filter to the patch you were using as a source for the streamlines. As for "wallboundedstreamline", I've never used, so I don't know how it works. Best regards, Bruno
__________________
|
|
December 30, 2013, 11:19 |
|
#14 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 |
Quote:
i didn't understand the steps that you explain, whould you please explain the steps more? Thank you very much. p.s. i want to have the streamline over an airfoil, paraview don't draw it completely, what should i do? |
||
January 5, 2014, 17:41 |
|
#15 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Saeideh,
Just a quick note - I'll be trying to answer your recent questions about streamlines in air-foils in the following thread: http://www.cfd-online.com/Forums/ope...over-line.html ------------------ edit: Well, I was planning on answering to your post on that other thread, but I guess that it's best to answer this one here: Quote:
Best regards, Bruno
__________________
Last edited by wyldckat; January 5, 2014 at 18:33. Reason: see "edit:" |
|||
January 6, 2014, 14:17 |
|
#16 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 |
Quote:
i want to draw the streamline up an down of the airfoil, but the paraview draw it just for the upper side, what should i do to have the stream line up and down the airfoil? Thank you again. |
||
January 10, 2014, 15:55 |
|
#17 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Saeideh,
Quote:
The idea is that along that line, there are 20 points, as requested in the "Resolution" entry. Those 20 points are the actual seeds for the calculation of the streamlines. Each seed point will use the flow velocity calculated for it, in order to figure out in which directions it should look at, in order to search for a streamline. Therefore, if you're able to place the "seed line" in the right location, you should be able to see some of the streamlines you are looking for! Best regards, Bruno
__________________
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] ParaView - limited Streamlines | Kappa | ParaView | 7 | July 5, 2019 15:27 |
[General] Generating streamlines in paraview | ahirekar10 | ParaView | 0 | November 1, 2017 08:01 |
[OpenFOAM] Streamlines through cyclic patches in Paraview | kornickel | ParaView | 3 | January 28, 2016 07:59 |
[OpenFOAM] Paraview: how to plot streamlines and surface mesh together | serena | ParaView | 3 | September 9, 2012 23:13 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |