Back to Browse

Visualizing Fluid Flow Fields in Python

159 views
Feb 5, 2026
21:50

This video shows a demo of "Flowviz," which is a Python-based tool that can be used for simple vector plots in Python (https://github.com/djlampert/flowviz?tab=readme-ov-file). Flowviz is in a "Jupyter notebook" that contains the Python code and text editing tools that runs in a web browser. The notebook is placed in a "binder" (https://mybinder.org/v2/gh/djlampert/flowviz/HEAD?filepath=vector_plot_example.ipynb) that allows it to be run on any platform without installing software. The code shows how to use Numeric Python to make arrays and do vector calculations and the Math Plotting Library (matplotlib) to visualize the results. The matplotlib "quiver" function makes plots of the vector field, and the matplotlib "streamplot" function adds streamlines to the graph. The user is encouraged to change assumptions freely to see how the assumptions change the results. The binder can be relaunched to its original state.

Download

1 formats

Video Formats

360pmp420.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Visualizing Fluid Flow Fields in Python | NatokHD