CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing Format & General Technical

Interpolation function

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 11, 2008, 03:10
Default I need help to use OF interpol
  #1
Member
 
Johan Lorentzon
Join Date: Mar 2009
Location: Lunds University, Sweden
Posts: 71
Rep Power: 14
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: 71
Rep Power: 14
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TVD interpolation srinath OpenFOAM Running, Solving & CFD 0 July 28, 2008 11:53
INTERPOLATION ED FLUENT 0 March 8, 2007 16:58
Stream Function - Potential Function coordinates harish Main CFD Forum 8 June 25, 2005 13:18
interpolation rakesh CFX 1 March 7, 2005 17:36
3D Interpolation Kyung-Seok, Kim Main CFD Forum 2 August 17, 2004 09:03


All times are GMT -4. The time now is 06:07.