[Gmsh] Problem vith NodeData vector field
Sandris Lācis
sandris.lacis at lu.lv
Wed Jan 23 18:25:04 CET 2019
I try to create post processing *.msh file with vectors placed at nodes.
I do not succeed: gmsh shows one vector per element.
Sandris
--
Here is *msh file:
----------
$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
4
1 2 2 99 2 1 2 3
2 2 2 99 2 2 5 3
3 2 2 99 2 1 3 4
4 2 2 99 2 3 5 6
$EndElements
$NodeData
1
"A scalar view"
1
0.0
3
0
1
6
1 0.0
2 0.0
3 1.0
4 1.0
5 0.0
6 1.0
$EndNodeData
$NodeData
1
"A vector view"
1
0.0
3
0
3
6
1 0.0 0.2 0.3
2 0.1 0.2 0.1
3 0.2 0.1 0.1
4 0.0 0.4 0.5
5 0.2 0.1 0.0
6 0.4 0.0 0.1
$EndNodeData
$ElementData
1
"Element based vector view"
1
0.0
3
0
3
4
1 0.0 0.0 1.0
2 0.5 0.5 0.5
3 0.5 -0.5 0.0
4 0.0 1.0 0.0
$EndElementData
More information about the gmsh
mailing list