Two numerical methods for three-dimensional boundary layers