CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Mapfields-interpolation (http://www.cfd-online.com/Forums/openfoam/84729-mapfields-interpolation.html)

GGerber February 7, 2011 15:30

Mapfields-interpolation
 
1 Attachment(s)
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

deepsterblue February 7, 2011 15:39

What are you trying to plot?

GGerber February 7, 2011 15:44

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


All times are GMT -4. The time now is 19:25.