|
[Sponsors] |
January 7, 2002, 05:38 |
3d spline interpolation
|
#1 |
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 |
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 |
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 |
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 |
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 |
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 |
Guest
Posts: n/a
|
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Two dimensional cubic spline interpolation | flappingwing2008 | Main CFD Forum | 5 | December 22, 2016 22:55 |
Surface interpolation schemes and parallelization | jutta | OpenFOAM Running, Solving & CFD | 0 | February 25, 2010 15:32 |
momentum interpolation for collocated grid | Hadian | Main CFD Forum | 4 | December 25, 2009 08:25 |
spline interpolation | bajjal | Main CFD Forum | 0 | May 29, 2006 09:27 |
some references for the spline interpolation | ztdep | Main CFD Forum | 0 | March 11, 2006 11:22 |