Solution (source code)

= Solution

For steady flow the <momentum> equation is
$$
\mu u''=G.
$$
Applying no slip, $u(0)=0$ and $u(h)=U$, gives the <Couette-Poiseuille flow in a thin gap>
$$
\boxed{u(y)=\frac{Uy}{h}+\frac{G}{2\mu}y(y-h)}.
$$