|
From: Karen L. <kyl...@gm...> - 2009-12-21 22:22:16
|
Dear Libmesh users and developers, I'm trying to import an unstructured 3D tetrahedral mesh (with which there is data associated with the nodes) into libmesh. I looked at example 12 and decided to massage my data into .unv format (currently in .vtu and .tec). I searched all over the internet to look for specific descriptions of UNV, to no avail, except finding out that you can put several types of data in a file: http://www.amiravis.com/documentation/521/amira/hxideas/HxFileFormat_IDEAS.html I looked at the only example I could find (ex8/pipe-mesh.unv), and I'm not sure what to make of it: -1 2411 1 1 1 11 1.9999999999999995D-01 3.7007434154171882D-17 4.0000000000000000D+00 2 1 1 11 1.0000000000000001D-01 0.0000000000000000D+00 4.0000000000000000D+00 3 1 1 11 1.0000000000000001D-01 9.9999999999999977D-02 4.0000000000000000D+00 4 1 1 11 1.9999999999999998D-01 9.9999999999999977D-02 4.0000000000000000D+00 ..... 3977 1 1 11 -4.0000000000000002D-01 -2.9999999999999965D-01 1.5661120000000004D-06 -1 -1 2412 23 115 2 1 7 8 1 2 3 4 31 71 111 151 24 115 2 1 7 8 31 71 111 151 32 72 112 152 25 115 2 1 7 8 32 72 112 152 33 73 113 153 26 115 2 1 7 8 33 73 113 153 34 74 114 154 27 115 2 1 7 8 ... 3775 3535 3615 3776 3536 3616 3542 112 2 1 7 6 3776 3536 3616 3777 3537 3617 -1 Is this "-1" an indicator of the start and end of sections? I figure the 2411 and 2412 indicate the data type to come, but I have no idea what the 1 1 1 11 is in the nodes section. I suppose the first would be a node number, since it becomes 2, 3, 4, etc in subsequent lines. Neither do I get what any of the numbers are doing in the 2412 section. And am I correct in assuming that there's no data associated with the nodes, since there's no 2414 section? And by the way, are the D-01's just short for X 10^{-1}? (usually written as E-01 instead of D-01) Clarifications would be greatly appreciated. Alternatively, I guess there's a way to read in file with node data for tecplot and vtu formats, even though example 12 only deals with UNV? Thanks, Karen |