Aspects of the diurnal cycle in a regional climate model