|
[Sponsors] |
July 11, 2008, 03:10 |
Interpolation function
|
#1 |
Member
Johan Lorentzon
Join Date: Mar 2009
Location: Lunds University, Sweden
Posts: 78
Rep Power: 23 |
I need help to use OF interpolation functions for the following purpose: given data f in (x,y,z) interpolate f_new on to (x',y',z'). I could of course write my own function for this but since i know OF have these routines but without any documentation i am therefore obliged to ask on his matter on this forum. The answer i am looking is more or less what functions/class to be used, and a pseudo code a starting point. Thank you!
|
|
July 11, 2008, 03:55 |
Let me be more detailed, given
|
#2 |
Member
Johan Lorentzon
Join Date: Mar 2009
Location: Lunds University, Sweden
Posts: 78
Rep Power: 23 |
Let me be more detailed, given Mesh from OF i shall pass information to another mesh from ANOTHER program, hence i cannot use the standard formulations.
I do want to avoid use same topology and also same number of points ( the program i am using OF and XXX have very different mesh topologies and points in general). From what i have understood, the best way to solve this is every (x',y',z') assign the nearest faces of the Mesh and then choose interpolation technique. But then i guess this must have been done before in this group. This is why i am asking. I have noticed that something similar is used in icofsiFoam but i havent been able to use this code for my purpose. I have tried icoStructFoam with success but having the points onto eachother is a severe limitation for my purpose. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] How to define to right point for locationInMesh | Mirage12 | OpenFOAM Meshing & Mesh Conversion | 7 | March 13, 2016 14:07 |
[swak4Foam] installation problem with version 0.2.3 | Claudio87 | OpenFOAM Community Contributions | 9 | May 8, 2013 10:20 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 13:06 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 06:42 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |