Plotting Velocity p m m m

Hi, I have to generate a velocity potential and streamline as the one shown in the fig below. Can any one please indicate the appropriate code for that? Thanks

 Accepted Answer

This is a boundary value problem. You need to have the initial and boundary conditions to develop the velocity field required for this.
Otherwise, you need to have the velocity field itself to calculate the velocity potential and draw streamlines.
Once you have the velocity field, you can draw the streamlines.
doc streamline
and the velocity potential could be drawn as filled contour below the streamlines.

More Answers (0)

Asked:

NAS
on 7 Aug 2020

Edited:

NAS
on 26 Sep 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!