Australia reached the Champions Trophy semi-finals after its last group game against Afghanistan was abandoned because of rain and a wet outfield.