SMS: Boundary layer theory