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

 Respuesta aceptada

Sudheer Bhimireddy
Sudheer Bhimireddy el 7 de Ag. de 2020

1 voto

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.

Más respuestas (0)

Preguntada:

NAS
el 7 de Ag. de 2020

Editada:

NAS
el 26 de Sept. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by