Diurnal variations of open magnetic tubes from coronal holes and the neutral line on the source surface and related effects in the solar wind