[MOAB-dev] r4226 - in MOAB/trunk: MeshFiles/unittest/io src/io test/io

tautges at mcs.anl.gov tautges at mcs.anl.gov
Tue Oct 19 16:59:59 CDT 2010


Author: tautges
Date: 2010-10-19 16:59:58 -0500 (Tue, 19 Oct 2010)
New Revision: 4226

Added:
   MOAB/trunk/MeshFiles/unittest/io/cubtest.jou
   MOAB/trunk/MeshFiles/unittest/io/cubtest12.cub
Modified:
   MOAB/trunk/src/io/Tqdcfr.cpp
   MOAB/trunk/test/io/cub_file_test.cc
Log:
Fixes for reading cubit 12-generated cub files.  Also adding a test for all 
element types I can generate with cubit (which doesn't include pyramids).

Passes make check.

With this change, we should be able to read cuit 12.1 and 12.2 -generated cub files.
If anybody finds one they can't read, let me know.

Still haven't fixed reading block and group names yet, but that's next.



Added: MOAB/trunk/MeshFiles/unittest/io/cubtest.jou
===================================================================
--- MOAB/trunk/MeshFiles/unittest/io/cubtest.jou	                        (rev 0)
+++ MOAB/trunk/MeshFiles/unittest/io/cubtest.jou	2010-10-19 21:59:58 UTC (rev 4226)
@@ -0,0 +1,186 @@
+# tri/tet
+brick x 1
+brick x 1
+brick x 1
+brick x 1
+brick x 1
+brick x 1
+vol 1 to 6 siz .25 sch tetmesh
+mesh vol 1 to 6
+#
+block 100 vert 1
+block 100 element type spring
+block 100 name 'springblock'
+#
+block 201 curve 1
+block 201 element type bar
+block 201 name 'barblock'
+#
+block 202 curve 2
+block 202 element type bar2
+block 202 name 'bar2block'
+#
+block 203 curve 3
+block 203 element type bar3
+block 203 name 'bar3block'
+#
+block 204 curve 4
+block 204 element type beam
+block 204 name 'beamblock'
+#
+block 205 curve 5
+block 205 element type beam2
+block 205 name 'beam2block'
+#
+block 206 curve 6
+block 206 element type beam3
+block 206 name 'beam3block'
+#
+block 207 curve 7
+block 207 element type truss
+block 207 name 'trussblock'
+#
+block 208 curve 8
+block 208 element type truss2
+block 208 name 'truss2block'
+#


More information about the moab-dev mailing list