[Gmsh] can not show time value if element data is smoothed

mianzhi wangmianzhi1 at hotmail.com
Fri May 20 21:24:35 CEST 2011


Hi,
Many thanks to developers of GMSH. It helps me a lot in generating mesh 
and post-processing.
Now I have a .msh data file including element data (scaler) at multiple 
time-steps. Because the element data is not automatically interpolated 
as node data, I applied the plug-in "smooth" to make it seems better. 
However, the time value could not be shown properly after the "smooth" 
is applied.
Is that possible to smooth the element data while keeping the time value 
correct at the same time?
I appreciate your reply very much.

Pasted blow is a demonstrative example (modified from the node data 
example in the manual):

$MeshFormat
2.2 0 8
$EndMeshFormat
$Nodes
6
1 0.0 0.0 0.0
2 1.0 0.0 0.0
3 1.0 1.0 0.0
4 0.0 1.0 0.0
5 2.0 0.0 0.0
6 2.0 1.0 0.0
$EndNodes
$Elements
2
1 3 2 99 2 1 2 3 4
2 3 2 99 2 2 5 6 3
$EndElements
$ElementData
1
"A scalar view"
1
0.0
3
0
1
2
1 0.0
2 0.1
$EndElementData
$ElementData
1
"A scalar view"
1
2.2
3
1
1
2
1 0.2
2 0.1
$EndElementData

Mianzhi