Interpolation methods

OrcaFlex uses a number of different methods for interpolating data. These methods are

Choosing interpolation method

Sometimes OrcaFlex provides a choice of interpolation method. In general we would recommend that you use whatever is the default, but in some cases it may be appropriate to use a different method. To decide, you need to take into account what the interpolated data are used for and the different properties of the interpolation methods.

If continuity of first derivative is not required then linear interpolation is often appropriate. It has the advantage that it is very simple. The other 2 methods are piecewise cubic and they both produce a smooth curve, i.e. one with continuous first derivative. Cubic spline interpolation gives a curve that also has a continuous second derivative, whereas cubic Bessel does not. In many cases the treatment of the second derivative is not important; if, however, you are concerned with inertial loads which are related to acceleration, then it is important to model the second derivative accurately.

Both cubic spline and cubic Bessel produce curves that often have overshoots. For example, the following graphs show how each method interpolates the same set of data. Although the greatest data $y$ value is 8, the interpolated curves for cubic spline and cubic Bessel both exceed this value. How serious this overshoot is depends on the data – it can be much more serious than illustrated here, or sometimes there can be no problem at all. The amount of overshoot is generally less with cubic Bessel than with cubic spline. If you are using either of the piecewise cubic interpolation methods then you should always check whether the interpolated curve gives an appropriate fit to the data. If it does not then you usually need to supply more data points.