where expertise comes together - since 1996 -

The Largest Open Access Portal of Nondestructive Testing (NDT)

Conference Proceedings, Articles, News, Exhibition, Forum, Network and more

where expertise comes together
- since 1996 -

GB Inspection Systems Ltd.
A leading UK manufacturer of Ultrasonic Probes, Accessories, Supplier of NDT Equipment and more.

Technical Discussions
Martin S.
Martin S.
16:23 Jan-26-2009
Plotting dispersion curves in Matlab with contour()

Hi everybody,

has anybody ever plotted dispersion curves of plate waves using a contour line method? If yes, you might be familar with the issues I'm facing (see below) trying this. I don't succeed in creating a clean plot of the curves. I only get pieces of them and a lot of points that belong there. Let me explain how I do it and what problems might be the reason for the failure.

Dispersion curves of guided modes in plates are made of couples of frequency and propagation velocity (or wavenumber). Those couples are solutions of the characteristic equation(s) (=dispersion equations) of the plate under consideration. Thus, to plot the dispersion curves, one has to obtain the roots of the characteristic equation(s).

One way to do this in Matlab, is the following:
Let z(f,v)=0 be the characteristic equation. Now we would compute the left side of the equation in the whole frequency-velocity domain of interest. For example, we could move through that domain by incrementing the frequency in steps of 1kHz and the velocity in steps of 1m/s. In every step, we would store the value z(f,v) in a matrix Z, whose rows and columns would represent constant values of velocity and frequency, respectively. We would have a two-dimensional function which could be graphically represented by a surface above the f-v-plane. In Matlab we would create such a surface plot by simply applying the function surf() on the matrix Z. Similarly, we would apply the function contour(). This would yield contour lines of the function z(f,v). As we want to know where z(f,v) becomes zero, we would specify the niveau of the contour line as zero. This could be done by the function call:
contour(Z, [0 0]).

Now for the issues I'm seeing (and which might be the reason for the unsatisfying results):
1.) The values in Z are complex, but a contour plot can only be generated for real values. This could be easily solved by working with the magnitudes of Z. In Matlab: abs(Z). However, it should be noted that the zeros would then also be minima of z(f,v). Possibly, the contour method wouldn't work well with that.
2.) By using certain values for the increments of f and v, we generally would not find those couples (f,v) where Z becomes EXACTLY zero. Mostly, we would at best come close to it. So we would need to have an idea of what the right order of magnitude for the increments would have to be, to be close enough to the zero level contour lines. Also, we would have to generate the contour plot not only for exactly zero, but also for values more or less close to zero. But this again would result in possibly including points in the plot which do not belong to dispersion curves. And still there might be points which do belong to a curve, but are not yet plotted.

If you have already tried this and succeeded in it or if you have an idea, please tell me about it. I need help.

Slawomir Mackiewicz
Slawomir Mackiewicz
15:36 Jan-27-2009
Re: Plotting dispersion curves in Matlab with contour()
In Reply to Martin S. at 16:23 Jan-26-2009 (Opening).

Hi Martin

The clear reason of your failure in solving the plate waves characteristic equation by using Matlab contour routine is taking the absolute value of function Z(f,V).

This type of substitution would be right for exact, analytical methods of solution but not for your approach based on extrapolation of numerical data. If you take Abs(Z) practically all points of Abs(Z(f,v)) matrix have positive values and Matlab contour routine almost never finds zero crossing points (all extrapolated values between positive values are also positive). You seem to have noticed that problem in your issue 2).

If you don’t want to solve the characteristic equation in the full complex domain you can still improve your solution by:
1. Generating the contour plots for value “epsilon” slightly greater than zero.
2. Tightening the frequency and velocity steps of your Z(f,v) matrix.

The optimal values for these parameters you can establish by the trial and error technique.

Best Regards


14:44 Jan-28-2009
Re: Plotting dispersion curves in Matlab with contour()
In Reply to Martin S. at 16:23 Jan-26-2009 (Opening).

Hi Martin

A while ago I stumbled upon this site: http://www.iai.csic.es/users/fseco/pcdisp/pcdisp.htm

Someone else has done something similar to what you are attempting. The code is provided and very usefully annotated.

Note the use of the roots() function (http://www.mathworks.com/access/helpdesk/help/techdoc/ref/roots.html) which may help you out too. I'm quite new to MATLab myself, so I'm afraid I cant be much more help than that!
Good luck!


Product Spotlight

GEKKO, Standard and Advanced phased-array for Easier inspection

With a 64-channel parallel architecture, GEKKO is a flaw detector offering at the same time conven
tional UT, standard PAUT, TOFD and real-time Total Focusing Method (TFM). GEKKO improves the detection, with better defects characterization and sizing as well as for misoriented defects. Some procedures require standard UT, others TOFD or PA. GEKKO includes all these techniques to offer a versatile and field-ready equipment. - 64:64 parallel channels - + 4 additional TOFD - Conventional UT channels - International code compliance: ASME, AWS, API, ASTM, ISO-EN Watch the video: https://youtu.be/kuEY_RwWS3Q

Magnetic X-Ray Pipeline Crawler

Zhong Yi brand pipeline crawler is magnetic/micro-video controlled crawler with DC X ray unit inst
alled for checking welding of pipeline. Move steadily inside the pipeline 6''-60''diameter with speed of up to 18m/min, Max. moving diatance 5 kilometers and provide the efficient inspection of the pipeline.

Trade-In Offer

We are offering our existing clients trade-in against Wavemaker® G3 systems, Standard (Blue) inflat
able rings and modules for excellent deals on the latest Wavemaker® G4mini system.


NDTkit RT, TESTIA's Digital Radiography software The NDTkit product line software for X-ray analysi
s. NDTkit RT is a software benefiting from the Ultis kernel which is dedicated to radiographic image analysis. It offers a set of tools and filtering processes to assist RT operators in finding relevant flaws.

We use technical and analytics cookies to ensure that we will give you the best experience of our website - More Info
this is debug window