Settling tanks provided with means for ensuring a special flow pattern