CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   generation of streamlines: is it possible to have an area source as the seed type? (http://www.cfd-online.com/Forums/openfoam-paraview/86971-generation-streamlines-possible-have-area-source-seed-type.html)

alkochevsky April 7, 2011 11:52

generation of streamlines: is it possible to have an area source as the seed type?
 
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

MartinB April 11, 2011 11:19

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

alkochevsky April 11, 2011 12:43

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

Islam ElQatary October 15, 2012 06:40

paraview
 
1 Attachment(s)
Quote:

Originally Posted by MartinB (Post 303116)
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

how to make streamlines like in the pic

wyldckat April 26, 2013 20:13

Quote:

Originally Posted by Islam ElQatary (Post 386651)
how to make streamlines like in the pic

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

t.oliveira May 28, 2015 13:00

Detailed instructions
 
4 Attachment(s)
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.
Attachment 39799


I can display velocity vectors coloured by their magnitude. Then, I extract a plane near the inlet and use it to create the streamlines:
Attachment 39800 Attachment 39801 Attachment 39802

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

wyldckat September 21, 2015 14:37

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:

Originally Posted by taalf (Post 503568)
As I though, the problem came from the polyhedral nature of the mesh.

The use of the Tetrahedralize filter allowed to convert it into a tetra mesh, on which the Stream Tracer filter works perfectly.

Best regards,
Bruno

t.oliveira December 23, 2015 18:21

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.

jf_vt May 20, 2016 14:15

How to tune number ofpoint and number of line in steam tracer with custom source?
 
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

t.oliveira May 29, 2016 10:59

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

jf_vt June 1, 2016 10:32

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

Juzzvy July 28, 2016 04:10

streamlines in Postporcessing
 
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 :)


All times are GMT -4. The time now is 11:10.