This thesis uses LDV (Laser Doppler Velocimetry), PIV (Particle Image Velocimetry) and Laser Sheet flow Visualisation to study flow inside three different cavity configurations. For sloping cavities, the vortex structure inside the cavities is found to depend upon the flow direction past the cavity. The shape of the downstream corner is a key factor in destroying the boundary layer flow entering the cavity. The experimental results agree well with numerical simulations of the same geometrical configurations. The results of the investigations are used to find the influence of the cavity flow on the accuracy of the ultrasonic flowmeter. A method to compensate for the cavity velocities is suggested. It is found that the relative deviation caused by the cavity velocities depend linearly on the pipe flow. It appears that the flow inside the cavities should not be neglected as done in the draft for the ISO technical report on ultrasonic flowmeters. 58 refs., 147 figs., 2 tabs.