|
[Sponsors] |
October 4, 2003, 05:14 |
2D-Interpolation
|
#1 |
Guest
Posts: n/a
|
Hi all,
I need to perform two-dimensional interpolation from nonrectangular grid to other nonrectangular grid. Would you help me with algorithm? |
|
October 4, 2003, 12:37 |
Re: 2D-Interpolation
|
#2 |
Guest
Posts: n/a
|
2 steps:
1. interpolate nonregular grid values to a regular grid 2. interpolate to get the other nonregular grid values from the regular grid |
|
October 4, 2003, 13:54 |
Re: 2D-Interpolation
|
#3 |
Guest
Posts: n/a
|
The simplest method is to just do bilinear interpolation from the first nonuniform grid onto the points in the second grid. The algebra is a bit tedious but straightforward. This method doesn't care if the second grid is uniform or not. However, things get much harder if you have special requirements, such as high accuracy, a function that is not smooth, or you need to match some constraint such as conserving mass when you interpolate a density field.
|
|
October 30, 2003, 04:40 |
Re: 2D-Interpolation
|
#4 |
Guest
Posts: n/a
|
you can try least square in 2d. it can satisfy the accuracy's requirement
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help on 2D interpolation in StarCCM+ | madhuri | Siemens | 1 | May 30, 2017 04:20 |
Interpolation Error on FAM Mesh with Cyclic BCs | ngj | OpenFOAM Bugs | 1 | August 9, 2011 07:12 |
urgent help needed (rhie-chow interpolation problem) | Ardalan | Main CFD Forum | 2 | March 18, 2011 16:22 |
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 |