# help on interpolation

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

 May 28, 2003, 11:42 help on interpolation #1 Jean-François Guest   Posts: n/a Hello, I would like some advices on bivariate interpolation. I need to interpolate (and to calculate first derivative) on a non orthogonal structured mesh. The data are given on straight lines (nearly horizontal) passing through the mesh. I've got a lot of data on each line but only a few lines so the typical distance between two consecutive data points in the 2 "directions" is quite big. I've tried routines found on netlib for "scattered data", but because I have only few data in one direction, I had to take a lot of points to make the interpolation and that cause wiggles in the solution. What can do ? Make a correspondance between my domain and a square and then use a standard bivariate interpolation valid on rectangular mesh ? Is there a public fortran routine that do that and that I haven't found ? Thanks for your time, Jean-François

 May 28, 2003, 12:11 Re: help on interpolation #2 Praveen Guest   Posts: n/a You can try to use Radial Basis Functions which give very high accuracy if the function to be interpolated is smooth. Try a search on google first. It is very simple to implement also. You expand the function in terms of radial functions and N unknowns coefficients, where N is the number of data points. f(x) = Σ i Ai Φ (|x - xi| ) fk = Σ i Ai Φ (|xk - xi| ) k=1 to N You get N equations, whose solution gives the coefficients. Now you can do interpolation or calculate derivatives by differentiation. The points can be scattered any way.

 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 ngj OpenFOAM Bugs 1 August 9, 2011 06:12 Ardalan Main CFD Forum 2 March 18, 2011 16:22 madhuri CD-adapco 0 November 3, 2010 15:21 jutta OpenFOAM Running, Solving & CFD 0 February 25, 2010 15:32 Hadian Main CFD Forum 4 December 25, 2009 08:25

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