WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Steady Potential Flow through Box with Staggered Inlet and Outlet

box aspect ratio
0.25
0.5
1
1.5
2
3
4
Consider the flow through a two-dimensional box with staggered inlet and outlet as show in the figure below:
The flow enters and exits the box with a uniform speed
U=1
. The aspect ratio of the box is
γ=L/W
.
The Demonstration plots the streamlines for this potential flow for a user-set value of
γ
.
These streamlines are the solution of the equation
2
ψ
2
x
+
2
ψ
2
y
=0
subject to the boundary conditions:
BC1: at
x=0
,
ψ=0
for
0yW/2
and
ψ=U(y-W/2)
for
W/2yW
,
BC2: at
x=L
,
ψ=Uy
for
0yW/2
and
ψ=UW/2
for
W/2yW
,
BC3: at
y=0
,
ψ=0
for
0xL
, and
BC4: at
y=L
,
ψ=UW/2
for
0xL
.
The solution methodology is based on Chebyshev orthogonal collocation with
N=31
collocation points.
This problem also admits an analytical solution given by T. Bennett [1]:
ψ=Uy/2+
n=1
2UW
2
λ
n
sin(nπ/2)
sinh(
λ
n
L)
(sinh(
λ
n
x)-sinh(
λ
n
(L-x)))sin(
λ
n
y)
,
where
λ
n
=nπ/W
. We have found excellent agreement between our numerical solution and the analytical solution.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.