  We consider the problem of dynamic optimal transport with a density
constraint. We derive variational limits in terms of $\Gamma$-convergence for
two singular phenomena. First, for densities constrained near a hyperplane we
recover the optimal flow through an infinitesimal permeable membrane. Second,
for rapidly oscillating periodic constraints we obtain the optimal flow through
a homogenized porous medium.
