Generation of initial velocity profiles for boundary-layer calculations