CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

3d spline interpolation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 7, 2002, 05:38
Default 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
  Reply With Quote

Old   January 7, 2002, 07:35
Default 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/

  Reply With Quote

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

Old   January 8, 2002, 08:15
Default 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
  Reply With Quote

Old   January 8, 2002, 11:21
Default 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.

  Reply With Quote

Old   January 11, 2002, 01:44
Default 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.
  Reply With Quote

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

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 02:19.