CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Plotting streamlines with 2D simulation data (https://www.cfd-online.com/Forums/paraview/173143-plotting-streamlines-2d-simulation-data.html)

FlowKarma June 14, 2016 10:37

Plotting streamlines with 2D simulation data
 
1 Attachment(s)
Hi,

I have a 2D fluid simulation (using lattice Boltzmann) from which I am trying to plot streamlines. But the some of the streamlines streamlines always appear incomplete. See attached image where some streamlines do not extend to the end of the domain, while some do. I have increased the max. steps and max. streamline length in the StreamTracer Filter, but this does not seem to help. The VTK file of my simulation is shared here:

Note, the password is : paraview

https://datasync.ed.ac.uk/index.php/s/dLMw3d1VGMACe0w

After a lot of searching, I read that the StreamTracer filter in paraview requires 3D domain and not a 2D domain (even though my velocity vector in the 2D domain has 3 components). I tried following the steps in the following reply to a very similar problem, but ParaView freezes and then crashes at the application of the delaunay 3D filter.

http://www.cfd-online.com/Forums/par...mulations.html

I am using ParaView4.3.1 64-bit on ScientificLinux. Any help would be much appreciated!

FlowKarma June 16, 2016 06:46

Truncated streamlines with 2D data
 
2 Attachment(s)
I found another thread that I think posts a similar problem

http://www.cfd-online.com/Forums/par...2d-cavity.html

I found a solution to my problem of truncated streamlines.
It was as easy as changing the Integrator Type in paraview StreamTracer filter.

i have attached streamlines generated with Integrator type Runge-Kutta 2 and Runge-Kutta 4-5 (default) here. The Runge-Kutta 2 works perfectly with the 2D simulation data that I have.
Thought that others would find this helpful.


All times are GMT -4. The time now is 00:49.