Plotting streamlines in polar coordinates

I'm attempting to plot flow past a cylinder and figured out how to get the vector field to appear on the plot but the streamlines won't appear. I used the stream function psi=y.*(1-(1./r^2));

Respuestas (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov el 17 de Mzo. de 2023

1 voto

Use quiver() plot function to plot vector fields -see this documentation:

1 comentario

Carlos Martinez
Carlos Martinez el 17 de Mzo. de 2023
I have the vector field already but it's the streamlines that fail to appear on the graph

Iniciar sesión para comentar.

Categorías

Más información sobre Vector Fields en Centro de ayuda y File Exchange.

Productos

Versión

R2023a

Preguntada:

el 17 de Mzo. de 2023

Comentada:

el 17 de Mzo. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by