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

 Risposta accettata

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.

Più risposte (0)

Categorie

Scopri di più su Partial Differential Equation Toolbox in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by