Topological analysis of a mixing flow generated by natural convection