[Getdp] can someone explaim this format?

Geordie McBain gdmcbain at freeshell.org
Thu Jan 14 23:07:19 CET 2010


On Thu, Jan 14, 2010 at 11:28 PM, Pei-Ying Hsieh <phsieh2005 at yahoo.com> wrote:
> Hi, Geordie,
>
> Thanks for the reply!  I am still confuse.  Can you explain a little more?
>
> Because this is a 2D Quad element, hence, I understand that, the first batch
> (12 values) are the x,y,z coordinates of the 4 nodes.  How about the second
> batch (the 12 values)?  They are h values, but, are they the h values on the
> corresponding 4 nodes?

Yes, I guess so.  I don't have any personal experience of this format
myself, but from the Gmsh documentation (same URL), it says

  The values are given by time step, by node and by component, i.e.:

          comp1-node1-time1, comp2-node1-time1, comp3-node1-time1,
          comp1-node2-time1, comp2-node2-time1, comp3-node2-time1,
          comp1-node3-time1, comp2-node3-time1, comp3-node3-time1,
          comp1-node1-time2, comp2-node1-time2, comp3-node1-time2,
          comp1-node2-time2, comp2-node2-time2, comp3-node2-time2,
          comp1-node3-time2, comp2-node3-time2, comp3-node3-time2,
          ...

so for VQ I guess it's like {u1, v1, w1, u2, v2, w2, u3, v3, w2, u4,
v4, w4} if the vector has components (u, v, w) and the number-suffix
denotes the node in the quadrilateral.  Does that make sense in terms
of your data?