set bottom boundary for wall and outflow