CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Implementing other interpolation method for mesh to mesh interpolation (https://www.cfd-online.com/Forums/openfoam-programming-development/131329-implementing-other-interpolation-method-mesh-mesh-interpolation.html)

Jacks March 13, 2014 05:26

Implementing other interpolation method for mesh to mesh interpolation
 
Dear Foamers,

I would like to implement other (custom) interpolation methods for mesh to mesh interpolation than these that are already suggested (imDirect, imCellVolumeWeight, imMapNearest) but can't find where these already implemented methods can be found in the code ? If anyone knows or have an idea.

Best Regards,

Jacks

kmooney March 18, 2014 10:11

Hi Jacks,

/src/sampling/lnInclude/meshToMeshInterpolate.C
and
/src/sample/lnInclude/meshToMesh.C/H

is probably a good place to start looking.

The code looks to be pretty heavy though so good luck!

Cheers,
Kyle

Jacks March 21, 2014 06:13

Found Interpolation Method used in MeshToMesh Interpolation
 
Thanks for the advices,

I found DirectAMI.[C-H] , faceAreaWeightAMI.[C-H] in meshTools/AMIInterpolation/AMIMethod/ source file and it was what I was looking for. :)

Regards,

Jacks


All times are GMT -4. The time now is 20:53.