# 3d spline interpolation

 Register Blogs Members List Search Today's Posts Mark Forums Read

 January 7, 2002, 05:38 3d spline interpolation #1 Matthias Guest   Posts: n/a Dear all, I have to implement a soubroutine which interpolates the 3d velocity field {u, v, w} from a not equal spaced grid 1 to grid 2 where h is the grid size and h_1 smaller than h_2. In order to ensure a high order of accuracy I would like to use a spline interpolation. But I could not found the mathematics for the 3d approximation. Also google can not help me satisfactory. Has anybody the mathematics for me or can refer to a book. Thanks in advance. Matthias

 January 7, 2002, 07:35 Re: 3d spline interpolation #2 andy Guest   Posts: n/a Numerical Recipes is an online book with a reasonable chapter on interpolation and associated routines: http://www.nr.com/

 January 8, 2002, 07:00 Re: 3d spline interpolation #3 John Guest   Posts: n/a If you have access to it, the NAG Fortran library may be of use.

 January 8, 2002, 08:15 Re: 3d spline interpolation #4 Li Yang Guest   Posts: n/a Dear Andy, I have checked the Numerical Recipes on-line book, namely Chapter 3. It seems that it did not provide much useful information. For a 3d flow field interpolation as required when using Chimera grid, it will need a transformation of the cells to a rectangular one before the interpolation can be done. I also would like to have one such kind of subroutine as this kind of interpolation may be needed any time. It is certainly a waste of time if everyone has to implement such kind of subroutine on his own. Regards Li

 January 8, 2002, 11:21 Re: 3d spline interpolation #5 andy Guest   Posts: n/a My understanding of interpolation on overlapping grids (I have not done any myself) is that the form of the interpolation is very important in order to preserve conservation of integrated quantities between the two grids. I doubt that looking for general purpose interpolation routines is going to be a wise move. To be a bit more constructive I am aware that Los Alamos did some work in this area in the late 80s/90s. They publicly released a fair amount of code and published a paper or two on the form of interpolation they used. Curiously the group seems to be at Livermore now: http://www.llnl.gov/CASC/Overture/he...ons/node2.html Unfortunately, the most relevant publication does not seem to be online.

 January 11, 2002, 01:44 Re: 3d spline interpolation #6 Ist Guest   Posts: n/a Please use MATLAB tool to make 1D, 2D and 3D interpolation by spline or cubic. for 3D ==> interp3 Ok.

 January 11, 2002, 01:47 Re: 3d spline interpolation #7 Ist Guest   Posts: n/a

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post jutta OpenFOAM Running, Solving & CFD 0 February 25, 2010 15:32 Hadian Main CFD Forum 4 December 25, 2009 08:25 flappingwing2008 Main CFD Forum 4 November 19, 2007 06:52 bajjal Main CFD Forum 0 May 29, 2006 08:27 ztdep Main CFD Forum 0 March 11, 2006 11:22

All times are GMT -4. The time now is 03:38.