Thread Subject: Potential Flow Analysis Code Help

Subject: Potential Flow Analysis Code Help

From: Brian Anderson

Date: 26 Oct, 2009 21:40:18

Message: 1 of 2

I need to create a contour plot of streamlines over a spinning cylinder. I havethe equation: Y=(V*R*sin(theta))*(1-R^2/r^2)+(gamma/2*pi)log(r/R)
I am having trouble plotting this function as a contour plot where the streamlines are a constant Y. Any help regarding contour plots would be greatly appreciated. Thanks in advance, Brian.

Subject: Potential Flow Analysis Code Help

From: NZTideMan

Date: 26 Oct, 2009 22:36:53

Message: 2 of 2

On Oct 27, 10:40 am, "Brian Anderson" <andersonbria...@gmail.com>
wrote:
> I need to create a contour plot of streamlines over a spinning cylinder.  I havethe equation: Y=(V*R*sin(theta))*(1-R^2/r^2)+(gamma/2*pi)log(r/R)
> I am having trouble plotting this function as a contour plot where the streamlines are a constant Y.  Any help regarding contour plots would be greatly appreciated.  Thanks in advance, Brian.

Seems pretty straightforward to me.
Show us what you've tried that does not work.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com