A Stokes Flow in a Channel
Specify a channel region.
In[1]:= | ![]() X |
Out[1]= | ![]() |
Define the Stokes flow operator.
In[2]:= | ![]() X |
Specify an inflow profile in the positive direction on the left boundary. Specify an outflow pressure on the right-hand boundary. The fluid velocity on the remaining boundaries is 0.
In[3]:= | ![]() X |
Solve the equation. The interpolation order option is given to stabilize the numerical solution. The fluid velocities and
are interpolated with second order, while the fluid pressure
is interpolated with first order.
In[4]:= | ![]() X |
Stream plot the flow velocity.
Out[5]= | ![]() |