[Gmsh] How to visualize the results for beam (line) elements?

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri Jan 14 14:02:54 CET 2011


Hi Leonid - Your NodeData and ElementData fields are incorrect. You need 
at least 3 integer tags (step, num components, num values), see below:

$NodeData
1
"A scalar view"
0
3
0
1
4
1 0.1
2 0.2
3 0.3
4 0.4
$EndNodeData



On 12/01/11 20:42, Alifanov Leonid wrote:
> $MeshFormat
> 2.2 0 1
> $EndMeshFormat
> $Nodes
> 4
> 1 0.0 0.0 0.0
> 2 1.0 0.0 0.0
> 3 2.0 0.0 0.0
> 4 3.0 0.0 0.0
> $EndNodes
> $Elements
> 3
> 1 1 0 1 2
> 2 1 0 2 3
> 3 1 0 3 4
> $EndElements
> $NodeData
> 1
> "A scalar view"
> 0
> 0
> 4
> 1 0.1
> 2 0.2
> 3 0.3
> 4 0.4
> $EndNodeData
> $ElementData
> 1
> "A scalar view"
> 0
> 0
> 3
> 1 0.1
> 2 0.2
> 3 0.3
> $EndElementData


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine