CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Technical] Interpolation function

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2008, 03:10
Default Interpolation function
  #1
Member
 
Johan Lorentzon
Join Date: Mar 2009
Location: Lunds University, Sweden
Posts: 76
Rep Power: 19
pi06jl6 will become famous soon enough
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!
pi06jl6 is offline   Reply With Quote

Old   July 11, 2008, 03:55
Default Let me be more detailed, given
  #2
Member
 
Johan Lorentzon
Join Date: Mar 2009
Location: Lunds University, Sweden
Posts: 76
Rep Power: 19
pi06jl6 will become famous soon enough
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.
pi06jl6 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 00:51.