The invention discloses a method for inverting the velocity of a cementing medium after casing based on
ultrasonic Lamb waves, and relates to the field of geophysical
logging. According to the method, ultrasonic Lamb wave
logging and ultrasonic pulse reflection
logging are carried out at all depth points through a post-casing scanning imaging logging instrument, waveform records at all the depth points are obtained, the thickness of a casing in the specified direction at all the depth points and
acoustic impedance of a post-casing cementing medium are calculated in an inversion mode, and then the thickness of the casing in the specified direction at all the depth points and the
acoustic impedance of the post-casing cementing medium are calculated on the basis of the ultrasonic Lamb wave logging waveform records. For each specified orientation of each depth point,
Fourier transform is carried out on the
full waveform of the near-bending Lamb wave and the
full waveform of the far-bending Lamb wave, the
phase difference of the far-bending Lamb wave and the far-bending Lamb wave is calculated, group
delay processing is carried out, the working
frequency band of the imaging logging instrument is scanned after combination, and the
phase difference of the far-bending Lamb wave and the near-bending Lamb wave is calculated; and frequency values corresponding to the minimum values of the group delays at all the directions of all the depth points are obtained, and after a frequency set is obtained, the
wave velocity and the medium type of the cementing medium after casing are determined according to the frequency values at all the directions in the frequency set, the frequency number of the minimum values and the
acoustic impedance value.