[Gmsh] Different interpolation schemes

Marios Papadopoulos mariospapa2008 at gmail.com
Sun Nov 3 18:03:56 CET 2013


Dear gmshers,

attached you will find two contour plots from a scalar field. The first one
(contour1.png) was made with gmsh using $NodeData feature, without using
any extra $InterpolationScheme rule info. The second one (contour2.png) was
made using another post-processing software with the same nodal values.
This second image is the right represantion of the contour for the scalar
field.

As you notice, gmsh interpolate the nodal values with a "wrong" way.
Ignoring the color mapping, how i can use the $InterpolationScheme feature
in .msh format in order to get the right distribution inside the elements
from the corresponding nodal values?

i.e.
$InterpolationScheme
"name"
number-of-element-topologies
elm-topology
number-of-interpolation-matrices
num-rows num-columns value
... ...
$EndInterpolationScheme

Thank you in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20131103/ca3ef28b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: contour1.png
Type: image/png
Size: 179073 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20131103/ca3ef28b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: contour2.png
Type: image/png
Size: 196758 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20131103/ca3ef28b/attachment-0001.png>