how to plot streamlines , when i know u and v components of velocity(numpy 2d arrays), using a plotting program in python?

前端 未结 3 1431
被撕碎了的回忆
被撕碎了的回忆 2020-12-07 22:03

i hope the title itself was quite clear , i am solving 2D lid-driven cavity(square domain) problem using fractional step method , finite difference formulation (Navier-Stoke

3条回答
  •  情歌与酒
    2020-12-07 22:43

    Have a look at matplotlib's quiver: http://matplotlib.sourceforge.net/examples/pylab_examples/quiver_demo.html

提交回复
热议问题