# Mapfields-interpolation

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

February 7, 2011, 15:30
Mapfields-interpolation
#1
New Member

George
Join Date: Oct 2010
Posts: 18
Rep Power: 8
Hi OpenFoamers,

Below I show the solution for a 1D problem. I have solved the problem on a uniform 48 cell grid. I then resampled the solution onto a uniform 12 cell grid using:

mapFields /home/48cell/ -sourceTime 100 -case /home/resampled_12cell/ -consistent

I am surprised that the resampled points do not lie on top of the 48 cell solution!

Does anyone know why mapFields does this?
How can I achieve better interpolation?

Best regards,
George
Attached Images
 mapfields_48cells_to_12cells.jpg (20.9 KB, 43 views)

 February 7, 2011, 15:39 #2 Senior Member   Sandeep Menon Join Date: Mar 2009 Location: Amherst, MA Posts: 392 Rep Power: 17 What are you trying to plot? __________________ Sandeep Menon University of Massachusetts Amherst https://github.com/smenon

 February 7, 2011, 15:44 #3 New Member   George Join Date: Oct 2010 Posts: 18 Rep Power: 8 Hi, It is basically a plot of the 1D unsteady diffusion equation with a source term included. I am trying to perform a grid sensitivity analysis where a resample all my grid solutions to one common grid. Cheers, George

 Tags interpolation, mapfields

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post madhuri Siemens 1 May 30, 2017 03:20 BlackBoatNavArch OpenFOAM Pre-Processing 32 February 5, 2016 00:26 Ardalan Main CFD Forum 2 March 18, 2011 16:22 jutta OpenFOAM Running, Solving & CFD 0 February 25, 2010 15:32 Hadian Main CFD Forum 4 December 25, 2009 08:25