MATLAB Answers

Plotting Velocity p m m m

52 views (last 30 days)
NAS
NAS on 7 Aug 2020
Edited: NAS on 26 Sep 2020
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

  0 Comments

Sign in to comment.

Answers (1)

Sudheer Bhimireddy
Sudheer Bhimireddy on 7 Aug 2020
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.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by