why can't i get streamlines in paraview?
1 Attachment(s)
No matter what I do, most extend only for a short length.
I'm running ParaView under Windows. |
Hi Mihai,
Interesting... OK, let's try to get to the bottom of this:
Bruno |
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. |
1 Attachment(s)
here is the instance it actually worked. paraview version is 3.14.1 64 bit.
|
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? |
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. |
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 |
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. |
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 :) |
OK, OpenFOAM's official plugin has that option very visible :)
This command should export the data to that same polyhedron structure: Code:
foamToVTK -poly |
Thanks for all your help Bruno. For ParaView in Windows the option Decompose Polyhedra has to be disabled
|
1 Attachment(s)
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! |
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 |
1 Attachment(s)
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? |
2 Attachment(s)
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 |
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. |
1 Attachment(s)
Hi Saeideh,
Quote:
http://www.cfd-online.com/Forums/att...1&d=1389383465 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 |
All times are GMT -4. The time now is 10:03. |