call adjustUpperWall in shear function