Re: 2D interpolation from trinagular mesh to coarser (arbitrary) triangular




In article <bc86f4f9-9e21-4a78-ad3b-b532cd54501b@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
tomdylan@xxxxxx writes:
Hello out there!

I am testing an interface between fluid flow (groundwater) and a soil
deformation via FE-method. Due to differences in the constitutive laws
different discretization are requirered within each of the FE
models. Therefore I am looking for a fortran routine/code that will
perform a kind of (linear) interpolation (nearest neighbour, or simple
kriging...) from the
nodal values of the finer mesh on the coarser one.

There are some routines around that interpolate on a regular grid, but
I want an interpolation from the fine trinagular mesh to the coarser
(arbitrary) triangular mesh.

Anybody any hints on where to find a routine that will known read x,y,
value and interpolate on a new x_n, y_n field?

Regards

Tom

a little bit work by yourself and you are done:
http://www.netlib.org/toms/624
has code for continuous piecewise linear interpolation on an arbitrary
triangular grid.
your fine grid will be input1:
interpolate the points of the coarse grid on thta fine grid. there is a routine
which allows you to find the triangle in which a given point lies. then define
a new data set by obtained values on the coarese grid and using this, you can now
interpolate in the coarse grid using these data as input 2, by the same code.
hth
peter

.



Relevant Pages

  • Re: Deadlock Problem
    ... > - is it alright to update the DataSet on a thread different than a thread ... > that created the Grid ... Which find routine, the dataset's find routine or a find routine that you ... > Probablity of it being a performance issues or unhandles exception is less ...
    (microsoft.public.dotnet.framework)
  • Re: 2-d Interpolation from cartesian to polar coordinates
    ... outside those angular boundaries from which to interpolate. ... Now, you should have the grid that you seek, together with ... I can go from polar to ... rectangular with griddata but can't figure out how to go ...
    (comp.soft-sys.matlab)
  • Re: Winforms DataGrid with a 41,000+ records.
    ... Heh. ... When I originally wrote that form, we were working with the philosophy ... and then update the grid in case someone else added or deleted entries. ... save and refresh routine. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Ghost Form
    ... The datagrid simply shows what has ... While the code that follows is not dependant on the grid being filled, ... recordset goes through some changes following the grid fill routine. ...
    (microsoft.public.vb.general.discussion)
  • Re: Griddata too slow
    ... I have a large amount of 3D time dependent fluid flow data on a ... I am trying to interpolate this data on to a new 3D ... grid produced my meshgrid. ... and using griddata to find the interpolated values. ...
    (comp.soft-sys.matlab)