StokesFlow algorithm accepts new function for boundary conditions.