# Visualization of 3D flow from python simulation

**URL:** https://discourse.paraview.org/t/visualization-of-3d-flow-from-python-simulation/8709
**Category:** ParaView Support
**Tags:** python
**Created:** [December 28, 2021, 6:41pm UTC](https://discourse.paraview.org/t/visualization-of-3d-flow-from-python-simulation/8709 "2021-12-28T18:41:16Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Alberto\_Lolli](https://discourse.paraview.org/user_avatar/discourse.paraview.org/alberto_lolli/32/8270_2.png) [@Alberto\_Lolli](https://discourse.paraview.org/u/Alberto_Lolli)
#### Post date: [December 28, 2021, 6:41pm UTC](https://discourse.paraview.org/t/visualization-of-3d-flow-from-python-simulation/8709/1 "2021-12-28T18:41:16Z")

</div>

hello everyone, I would ask some help in order to better understand my simulation results, the following images represent the pressure and the velocity field on a 3D domain.

 ![pressure](https://discourse.paraview.org/uploads/default/original/2X/5/5cbefe5f494c8a89e96161c616ea3bd165ec2e70.png)  
 ![velocity](https://discourse.paraview.org/uploads/default/original/2X/5/55dd248213c5f79f3bfa889e13bb08523435fcab.png)  
I know that there is the streamtracer filter which allow us to visualize the streamlines of the velocity field. But this is the result I get appying it, in two different position of the domain.  
 ![v2](https://discourse.paraview.org/uploads/default/original/2X/3/338ef51ab5e220b65ea712c3d161462a8c263d52.png)  
 ![v3](https://discourse.paraview.org/uploads/default/original/2X/3/3b56d1ad635196b935693ec4518017f34fcdc886.png)  
Seems impossible to get the flow stream lines through the entire domain as I did here:  
 ![vf](https://discourse.paraview.org/uploads/default/original/2X/b/bd8972fd44cc33e88855cbb1abebd0e67dcc04d5.png)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 29, 2021, 11:16am UTC](https://discourse.paraview.org/t/visualization-of-3d-flow-from-python-simulation/8709/2 "2021-12-29T11:16:06Z")

</div>

please share your data

---

<div class="post-metadata">

### Author: ![Alberto\_Lolli](https://discourse.paraview.org/user_avatar/discourse.paraview.org/alberto_lolli/32/8270_2.png) [@Alberto\_Lolli](https://discourse.paraview.org/u/Alberto_Lolli)
#### Post date: [December 29, 2021, 5:43pm UTC](https://discourse.paraview.org/t/visualization-of-3d-flow-from-python-simulation/8709/3 "2021-12-29T17:43:23Z")

</div>

Sure, in this folder there are the code, the geometry and some results in .pvd format. What I want to visualize is the streamlines around the object, but unfortunately I can’t do that for all boundary condition, it works only when boundary condition for the inlet and the outlet are equal, I don’t know if is it an error in the code or just in visualization.

[https://drive.google.com/drive/folders/1\_pOWo9-23KmrvvI6uviZc6Hwmsn-pCQT?usp=sharing](https://drive.google.com/drive/folders/1_pOWo9-23KmrvvI6uviZc6Hwmsn-pCQT?usp=sharing)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 30, 2021, 9:11am UTC](https://discourse.paraview.org/t/visualization-of-3d-flow-from-python-simulation/8709/4 "2021-12-30T09:11:17Z")

</div>

Which reader and version of ParaView are you using ?

---

<div class="post-metadata">

### Author: ![Alberto\_Lolli](https://discourse.paraview.org/user_avatar/discourse.paraview.org/alberto_lolli/32/8270_2.png) [@Alberto\_Lolli](https://discourse.paraview.org/u/Alberto_Lolli)
#### Post date: [December 30, 2021, 6:21pm UTC](https://discourse.paraview.org/t/visualization-of-3d-flow-from-python-simulation/8709/5 "2021-12-30T18:21:16Z")

</div>

I use the 5.10.0 RC-1 version

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 31, 2021, 9:19am UTC](https://discourse.paraview.org/t/visualization-of-3d-flow-from-python-simulation/8709/6 "2021-12-31T09:19:42Z")

</div>

I’m unable to open your .msh file using binary release 5.10-RC1 on Linux. ParaView just segfaults.
