Summary
I am trying to use the ChnD3Interp function (VBScript version of the 3D matrix interpolation function from ANALYSIS) to produce a smooth surface through my dataset, but I'm not getting the sort of results I had hoped for.
Data Set
My data set is a little unusual, in that it is sparse in x, but not in y. It is, in fact, pressure data measured at various taps on a windtunnel wing model.
Typically, there may be 8 spanwise stations (x direction), with 20 taps along the chord at each station (y direction). This result in an x spacing ~15 times larger than the y spacing. I have attached a rough sketch illustrating the x and y locations.
The z channel is the pressure measured at each of these taps.
Result
When I plot the matrix produced by the ChnD3Interp function, I get a strange stepped effect.
I think what is happening is that the function is looking at a data point and searching for other points nearby. Since the y spacing is smaller, it find loads of point with the same x location, and ignores the values for the surrounding stations, because they are too far away. It then interpolates, giving a nice smooth curve in the y direction, but nearly constant values in the x direction, with a sharp jump about half way between stations.
I've tried changing the various configuration options and, either, the interpolation fails, or, I see a small change in the results. I don't seem to be able to tell it to weight the analysis to point from adjacent stations.
Question
Is this something I should be able to do with this function, or another function within DIAdem? Or do I have to write my own custom interpolation routine?
Also, is there a way to tell to the ChnD3interp function to generate it's results channels in a particular group? Or is there a way to move a block of channels from one group to another in one go? I'm currently having to move them one channel at a time (programmatically, but still...) and it's rather slow.
Thanks,
Paul