Baseflow separation based on analytical solutions of the Boussinesq equation