Experimental and theoretical study on crack detection in pipes filled with fluid