CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Field interpolation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 2, 2011, 10:48
Default Field interpolation
  #1
Senior Member
 
Robert Sawko
Join Date: Mar 2009
Posts: 116
Rep Power: 13
AlmostSurelyRob will become famous soon enough
Dear Foamers,

I would appreciate your comments, hints, links or any other assistance on a little problem I am trying to tackle.

Is it possible in OpenFOAM code to perform an interpolation of a scalar field during simulation runtime?


The problem is the following. I have a mesh and a certain scalar field defined on it. I would like to make an arbitrary translation in a specified direction (y - direction in my case) and then interpolate the scalar values on the original mesh.

Interpolation can be linear or nearest neighbour, but everything must be done inside the code since the resulting field is to be an input for the next step.

Are there any functions, classes etc that can be useful in this task? Is there any piece of code I could look at to gain some insights?
AlmostSurelyRob 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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Field interpolation in mesh points code jzlam OpenFOAM Post-Processing 2 December 14, 2010 17:48
Interpolation from volume field onto a surface dasch OpenFOAM Programming & Development 5 September 7, 2010 01:16
Surface interpolation schemes and parallelization jutta OpenFOAM Running, Solving & CFD 0 February 25, 2010 15:32
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


All times are GMT -4. The time now is 09:30.