Evaluation of the shadowgraph method for the convective flow in a side-heated cavity