|
[Sponsors] |
[OpenFOAM] generation of streamlines: is it possible to have an area source as the seed type? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 7, 2011, 12:52 |
generation of streamlines: is it possible to have an area source as the seed type?
|
#1 |
New Member
Alexey Kochevsky
Join Date: Nov 2010
Location: Munich, Germany
Posts: 16
Rep Power: 16 |
Hi dear OpenFOAMers,
I am trying to generate streamlines in Paraview in some domain where I have just simulated the fluid flow. As far as I see, the only possible seed types (where the streamlines will have their origins) are Point Source and Line Source. For me it would be quite naturally, however, to generate streamlines starting, for example, from the inlet, i.e., by taking it as an area source. Is it possible in Paraview? I work now with the version 3.8.0, under Linux SuSE 11. Regards, Alexey Kochevsky |
|
April 11, 2011, 12:19 |
|
#2 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22 |
Hi Alexey,
it is possible in Paraview: - Separate your inlet face (for example via foamToVTK or File->Save Data or Filters->Alphabetical->Slice ...) so that you have it listed in the Pipeline Browser as a selectable object. - Select filter "Filters->Alphabetical->Stream Tracer With Custom Source", as "Input" select your simulation results, as "Source" select your inlet face. Martin |
|
April 11, 2011, 13:43 |
|
#3 |
New Member
Alexey Kochevsky
Join Date: Nov 2010
Location: Munich, Germany
Posts: 16
Rep Power: 16 |
Hi Martin,
thank you very much, it is exactly what I needed. Paraview seems to be still more powerful than I thought before. Regards, Alexey |
|
October 15, 2012, 07:40 |
paraview
|
#4 | |
New Member
Islam Elqatary
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Quote:
|
||
April 26, 2013, 21:13 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Sorry for the reaaaaaally late reply, but I only found out about this recently - what you're looking for is the "surfaceLIC" plug-in: http://www.cfd-online.com/Forums/par...ic-plugin.html
__________________
|
|
May 28, 2015, 14:00 |
Detailed instructions
|
#6 |
Senior Member
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12 |
Hi,
I have created streamlines from an area source, but the results is far from the expected. This is the pressure field of the flow through a cubic sample of rock. Inlet is at left, outlet at right. All the other four faces are walls. 1.png I can display velocity vectors coloured by their magnitude. Then, I extract a plane near the inlet and use it to create the streamlines: 2.png 3.png 4.png As you can see comparing the streamlines with the velocity field, the streamlines don't show the trajectories that lead the fluid from the inlet to the outlet, let alone the two high speed paths that can be seen in the velocity field image. I have already tried tweaking the properties of the streamlines in all ways I could imagine. Do you have any suggestion on how to display them properly? Thanks, Thomas |
|
September 21, 2015, 15:37 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Thomas,
I've had your question on my to-do list for quite some time now and I've finally come to it. Fortunately, I found about this issue and the solution for it a few days ago as well, which I'll quote from where I found it (link in the quote): Quote:
Bruno
__________________
|
||
December 23, 2015, 18:21 |
|
#8 |
Senior Member
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12 |
Bruno,
Thank you for your suggestion, which was very useful! I would just like to register here, for future readers of the post, that in Paraview v.4.4.0 I am now able to visualize the streamlines without recurring to the Tetrahedralize filter. |
|
May 20, 2016, 15:15 |
How to tune number ofpoint and number of line in steam tracer with custom source?
|
#9 |
Member
Jeff
Join Date: May 2016
Posts: 44
Rep Power: 10 |
Hi
When using steam tracer with custom source I dont see the ability to set the length of the line and their number. Is there any way to do it? Thanks JF |
|
May 29, 2016, 11:59 |
|
#10 |
Senior Member
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12 |
Hi JF,
I am using Paraview v.4.4.0. Regarding the length of the line, on the "Properties" tab of the stream tracer with custom source, the white gear that is at the right of the "Search" field toggles advanced properties. If you toggle it on, you will see on the "Properties" section of the "Properties" tab the settings related to the integration step length, maximum steps and maximum streamline length. I couldn't find setting related to the number of streamlines. I believe this is something to be set on the object used as a source, and not on the streamline. Best regards, Thomas |
|
June 1, 2016, 11:32 |
|
#11 |
Member
Jeff
Join Date: May 2016
Posts: 44
Rep Power: 10 |
Thank You Thomas I am not sure how long it will have taken me to figure that out on my own
.... I am still looking for settings the number of streamlines JF |
|
July 28, 2016, 05:10 |
streamlines in Postporcessing
|
#12 |
Member
Justin Maris L. Natividad
Join Date: Mar 2016
Posts: 38
Rep Power: 10 |
Hello everyone, How can I produce multiple streamline "seeds" (i don't know the term) using the streamline in system? I can only produce one streamline. Thank you
|
|
November 29, 2016, 07:11 |
|
#13 |
New Member
Dennis
Join Date: Oct 2016
Posts: 11
Rep Power: 10 |
Maybe this will help someone:
To create multiple streamlines from a slice, but not from all cell centers in a slice, first create a slice from where you want to initiate the streamlines. Next, use the filter MaskPoints and set a certain amount of points can be place at random). Then use the Stream Tracer With Custom Source as mentioned above with the MaskPoints as source. This will create a number of streamlines from the slice, in which you can determine the amount of tubes yourself. Last edited by Deagle; December 2, 2016 at 03:14. |
|
June 27, 2019, 09:37 |
|
#14 | |
Member
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 81
Rep Power: 8 |
Quote:
|
||
March 19, 2021, 05:09 |
|
#15 | |
New Member
David Dudli
Join Date: Oct 2020
Location: Switzerland
Posts: 8
Rep Power: 6 |
Quote:
I stumbled upon this other approach, where you slice the seed patch multiple times (using the 'add a range of values' button in the advanced properties of slice) in in y and z direction (if inlet normal points in x direction). See https://www.youtube.com/watch?v=4IA62XElbfI&t=651s "Streamlines With Patch Seeds ∇ ParaView®" by Holzmann CFD. That way, you get a new grid of seed points without beeing bound to your original vertex number on the inlet. It's kind of hard to determine the number of seed points if you don't have a rectangular inlet patch, though. And, the distribution isn't really random that way... For my problem, I should have a random distribution of seed points on the inlet, and way more than mesh vertecies... Anyone an idea...? |
||
Tags |
area source, streamlines |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
rSF: p divergence in combustor (wt negative value) | zonda | OpenFOAM Pre-Processing | 4 | April 10, 2018 07:59 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 18:34 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 10:28 |
[swak4Foam] Air Conditioned room groovyBC | Sebaj | OpenFOAM Community Contributions | 7 | October 31, 2012 15:16 |