1
8.41 The nondimensional stream function for potential flow
over a cylinder of radius R in an incompressible flow of uniform
velocity U is given in the following table as a function of the non-
dimensional coordinate and the polar angle . The non-
dimensional radial component and the azimuthal compo-
nent of the velocity are given by:
and
Calculate and at every point. Write a MATLAB program that uses two-point central difference
formulas at the interior points and one-sided three-point forward and backward difference formulas at the
endpoints. The user-defined function ParDer can be used instead if Problem 8.25 was solved.
Solution
The user-defined function ParDer from Problem 8.25 can be used here by recognizing that x=θ
and y=r/R. The following script uses the function ParDer from Problem 8.25:
θ=0oθ=36oθ=72oθ=108oθ=144oθ=180oθ=216oθ=252oθ=288oθ=324oθ=360o
r/R=0.2 0–2.8214 –4.5651 –4.5651 –2.8214 02.8214 4.5651 4.5651 2.8214 0
r/R=0.6 0–0.6270 –1.0145 –1.014 –0.6270 00.6270 1.0145 1.0145 0.6270 0
r/R=1.0 00000000000
r/R=1.4 00.4031 0.6522 0.6522 0.4031 0–0.4031 –0.6522 –0.6522 –0.4031 0
r/R=1.8 00.7315 1.1835 1.1835 0.7315 0–0.7315 –1.1835 –1.1835 –0.7315 0
r/R=2.2 01.0260 1.6600 1.6600 1.0260 0–1.0260 –1.6600 –1.6600 –1.0260 0
r/R=2.6 01.3022 2.1070 2.1070 1.3022 0–1.3022 –2.1070 –2.1070 –1.3022 0
r/R=3.0 01.5674 2.5362 2.5362 1.5674 0–1.5674 –2.5362 –2.5362 –1.5674 0
ur
U
—- 1
rR⁄()
————-–
∂ψ
UR
——-–
∂θ
—————-–
=
uθ
U
—-–
∂ψ
UR
——-–
∂rR⁄()
—————––
–=