Tom Pace wrote: > Hello, > I was trying to display some nodal vector data, but not a single arrow > appears. The msh file below is a simple example of what I'm trying to > do. Am I leaving something out? >
Hi Tom - the node in question (node 1) only belongs to a quad, which has no other associated data, and is hence skipped. If you only have data on a single node, just add a "point" element at that node (element 1002 below): $MeshFormat 2.0 0 8 $EndMeshFormat $Nodes 6 1 0.0 0.0 0.0 2 0.1 0.0 0.0 3 0.1 0.3 0.0 4 0.0 0.3 0.0 5 0.0 0.15 0.0 6 0.1 0.15 0.0 $EndNodes $Elements 3 1000 3 2 6 100 1 2 6 5 1001 3 2 6 100 5 6 3 4 1002 15 2 1 1 1 $EndElements $NodeData 1 "Node vector data" 0 3 0 3 1 1 0.4 0.4 0 $EndNodeData > Thanks, > Tom > > PS: I'm very impressed with the capabilities of gmsh, and look forward > to learning more about how to use it. > > -- > MeshFormat > 2.0 0 8 > $EndMeshFormat > $Nodes > 6 > 1 0.0 0.0 0.0 > 2 0.1 0.0 0.0 > 3 0.1 0.3 0.0 > 4 0.0 0.3 0.0 > 5 0.0 0.15 0.0 > 6 0.1 0.15 0.0 > $EndNodes > $Elements > 2 > 1000 3 2 6 100 1 2 6 5 > 1001 3 2 6 100 5 6 3 4 > $EndElements > $NodeData > 1 > "Node vector data" > 0 > 3 > 0 > 3 > 1 > 1 0.4 0.4 0 > $EndNodeData > -- > > _______________________________________________ > gmsh mailing list > [email protected] > http://www.geuz.org/mailman/listinfo/gmsh > > -- Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine _______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
