Thermal-structural analysis of a square solar sail