From: bangerth Date: Thu, 18 Apr 2013 14:50:54 +0000 (+0000) Subject: Make this directory work again with the new installation scheme. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55bbe7d05d6261131302c8863dfa714b4ea7c7a8;p=dealii-svn.git Make this directory work again with the new installation scheme. git-svn-id: https://svn.dealii.org/trunk@29330 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/mesh_converter/Makefile b/tests/mesh_converter/Makefile index 1d8f702daa..ee35ea8cab 100644 --- a/tests/mesh_converter/Makefile +++ b/tests/mesh_converter/Makefile @@ -19,11 +19,10 @@ include $D/common/Make.global_options %.OK : @echo "=================== $@" @if test -n "`echo $< | grep 2d`" ; then \ - (($D/contrib/mesh_conversion/convert_mesh 2 $< $(@:OK=ucd) 2>&1) > $(@:OK=log)) ; \ + (($D/bin/mesh_converter 2 $< $(@:OK=ucd) 2>&1) > $(@:OK=log)) ; \ else \ - (($D/contrib/mesh_conversion/convert_mesh 3 $< $(@:OK=ucd) 2>&1) > $(@:OK=log)) ; \ + (($D/bin/mesh_converter 3 $< $(@:OK=ucd) 2>&1) > $(@:OK=log)) ; \ fi - @perl -pi -e 's#$D/contrib/mesh_conversion/##g;' $(@:OK=ucd) @cmd="diff $(<:%.inp=%.ucd) $(@:OK=ucd) > /dev/null" ; \ if eval $$cmd ; then \ echo '=====OK============' $@ ; \ @@ -37,24 +36,20 @@ include $D/common/Make.global_options default: all # collect all headers -MESH_INPUTS = $(shell echo $D/contrib/mesh_conversion/mesh/?d/*.inp) +MESH_INPUTS = $(shell echo meshes/?d/*.inp) TESTS_X = $(shell for i in $(MESH_INPUTS) ; do echo $$i | $(PERL) -pi -e 's/.inp$$/.OK/g;' ; done) TESTS = $(shell echo $(TESTS_X:$D/%=%) | $(PERL) -pi -e 's/\//-/g;') ID = `id -un`"@"`hostname` -# how to make the executable if that hasn't happened yet -$D/contrib/mesh_conversion/convert_mesh: - @cd $(@D) && $(MAKE) - # next the target that creates the target rules. First, we list all the header # files as the head of the rule, followed by a colon. Then the actual rule # that includes writing the .cc file that only includes a single header file, # compiles it, and then deletes everything again -Makefile.dep: $D/contrib/mesh_conversion/convert_mesh $(MESH_INPUTS) - for i in $(MESH_INPUTS:$D/%=%) ; do \ - echo `echo $$i | $(PERL) -pi -e 's/\.inp/.OK/g; s/\//-/g;'` : $D/$$i ; \ +Makefile.dep: $D/bin/mesh_converter $(MESH_INPUTS) + @for i in $(MESH_INPUTS) ; do \ + echo `echo $$i | $(PERL) -pi -e 's/\.inp/.OK/g; s/\//-/g;'` : $$i ; \ done > Makefile.dep -include Makefile.dep @@ -81,7 +76,7 @@ report: report+mail: all @$(MAKE) report | tee testresults - @cat testresults | mail regression-tests@dealii.org + @cat testresults | mail bangerth@brazos.tamu.edu @rm testresults diff --git a/tests/mesh_converter/meshes/2d/2d_test.cub b/tests/mesh_converter/meshes/2d/2d_test.cub new file mode 100755 index 0000000000..90511d4e04 Binary files /dev/null and b/tests/mesh_converter/meshes/2d/2d_test.cub differ diff --git a/tests/mesh_converter/meshes/2d/2d_test.inp b/tests/mesh_converter/meshes/2d/2d_test.inp new file mode 100755 index 0000000000..687c0ba3a5 --- /dev/null +++ b/tests/mesh_converter/meshes/2d/2d_test.inp @@ -0,0 +1,252 @@ +*HEADING +cubit(rent/Geometry/Mesh_conversion/Program/mesh/2d/2d_test.inp): 01/17/2009: 16 +*NODE + 1, -1.000000e+00, 0.000000e+00, 0.000000e+00 + 2, -1.000000e+00, -1.666667e-01, 0.000000e+00 + 3, -8.333333e-01, -1.666667e-01, 0.000000e+00 + 4, -8.333333e-01, 0.000000e+00, 0.000000e+00 + 5, -1.000000e+00, -3.333333e-01, 0.000000e+00 + 6, -8.333333e-01, -3.333333e-01, 0.000000e+00 + 7, -1.000000e+00, -5.000000e-01, 0.000000e+00 + 8, -8.333333e-01, -5.000000e-01, 0.000000e+00 + 9, -1.000000e+00, -6.666667e-01, 0.000000e+00 + 10, -8.333333e-01, -6.666667e-01, 0.000000e+00 + 11, -1.000000e+00, -8.333333e-01, 0.000000e+00 + 12, -8.333333e-01, -8.333333e-01, 0.000000e+00 + 13, -1.000000e+00, -1.000000e+00, 0.000000e+00 + 14, -8.333333e-01, -1.000000e+00, 0.000000e+00 + 15, -6.666667e-01, -1.666667e-01, 0.000000e+00 + 16, -6.666667e-01, 0.000000e+00, 0.000000e+00 + 17, -6.666667e-01, -3.333333e-01, 0.000000e+00 + 18, -6.666667e-01, -5.000000e-01, 0.000000e+00 + 19, -6.666667e-01, -6.666667e-01, 0.000000e+00 + 20, -6.666667e-01, -8.333333e-01, 0.000000e+00 + 21, -6.666667e-01, -1.000000e+00, 0.000000e+00 + 22, -5.000000e-01, -1.666667e-01, 0.000000e+00 + 23, -5.000000e-01, 0.000000e+00, 0.000000e+00 + 24, -5.000000e-01, -3.333333e-01, 0.000000e+00 + 25, -5.000000e-01, -5.000000e-01, 0.000000e+00 + 26, -5.000000e-01, -6.666667e-01, 0.000000e+00 + 27, -5.000000e-01, -8.333333e-01, 0.000000e+00 + 28, -5.000000e-01, -1.000000e+00, 0.000000e+00 + 29, -3.333333e-01, -1.666667e-01, 0.000000e+00 + 30, -3.333333e-01, 0.000000e+00, 0.000000e+00 + 31, -3.333333e-01, -3.333333e-01, 0.000000e+00 + 32, -3.333333e-01, -5.000000e-01, 0.000000e+00 + 33, -3.333333e-01, -6.666667e-01, 0.000000e+00 + 34, -3.333333e-01, -8.333333e-01, 0.000000e+00 + 35, -3.333333e-01, -1.000000e+00, 0.000000e+00 + 36, -1.666667e-01, -1.666667e-01, 0.000000e+00 + 37, -1.666667e-01, 0.000000e+00, 0.000000e+00 + 38, -1.666667e-01, -3.333333e-01, 0.000000e+00 + 39, -1.666667e-01, -5.000000e-01, 0.000000e+00 + 40, -1.666667e-01, -6.666667e-01, 0.000000e+00 + 41, -1.666667e-01, -8.333333e-01, 0.000000e+00 + 42, -1.666667e-01, -1.000000e+00, 0.000000e+00 + 43, -1.387779e-17, -1.666667e-01, 0.000000e+00 + 44, 0.000000e+00, 0.000000e+00, 0.000000e+00 + 45, -3.122502e-17, -3.333333e-01, 0.000000e+00 + 46, -4.250073e-17, -5.000000e-01, 0.000000e+00 + 47, -4.531965e-17, -6.666667e-01, 0.000000e+00 + 48, -5.990217e-17, -8.333333e-01, 0.000000e+00 + 49, 0.000000e+00, -1.000000e+00, 0.000000e+00 + 50, 1.666667e-01, -1.666667e-01, 0.000000e+00 + 51, 1.666667e-01, 1.387779e-17, 0.000000e+00 + 52, 1.666667e-01, -3.333333e-01, 0.000000e+00 + 53, 1.666667e-01, -5.000000e-01, 0.000000e+00 + 54, 1.666667e-01, -6.666667e-01, 0.000000e+00 + 55, 1.666667e-01, -8.333333e-01, 0.000000e+00 + 56, 1.666667e-01, -1.000000e+00, 0.000000e+00 + 57, 3.333333e-01, -1.666667e-01, 0.000000e+00 + 58, 3.333333e-01, 3.122502e-17, 0.000000e+00 + 59, 3.333333e-01, -3.333333e-01, 0.000000e+00 + 60, 3.333333e-01, -5.000000e-01, 0.000000e+00 + 61, 3.333333e-01, -6.666667e-01, 0.000000e+00 + 62, 3.333333e-01, -8.333333e-01, 0.000000e+00 + 63, 3.333333e-01, -1.000000e+00, 0.000000e+00 + 64, 5.000000e-01, -1.666667e-01, 0.000000e+00 + 65, 5.000000e-01, 4.943962e-17, 0.000000e+00 + 66, 5.000000e-01, -3.333333e-01, 0.000000e+00 + 67, 5.000000e-01, -5.000000e-01, 0.000000e+00 + 68, 5.000000e-01, -6.666667e-01, 0.000000e+00 + 69, 5.000000e-01, -8.333333e-01, 0.000000e+00 + 70, 5.000000e-01, -1.000000e+00, 0.000000e+00 + 71, 6.666667e-01, -1.666667e-01, 0.000000e+00 + 72, 6.666667e-01, 4.705437e-17, 0.000000e+00 + 73, 6.666667e-01, -3.333333e-01, 0.000000e+00 + 74, 6.666667e-01, -5.000000e-01, 0.000000e+00 + 75, 6.666667e-01, -6.666667e-01, 0.000000e+00 + 76, 6.666667e-01, -8.333333e-01, 0.000000e+00 + 77, 6.666667e-01, -1.000000e+00, 0.000000e+00 + 78, 8.333333e-01, -1.666667e-01, 0.000000e+00 + 79, 8.333333e-01, 6.033585e-17, 0.000000e+00 + 80, 8.333333e-01, -3.333333e-01, 0.000000e+00 + 81, 8.333333e-01, -5.000000e-01, 0.000000e+00 + 82, 8.333333e-01, -6.666667e-01, 0.000000e+00 + 83, 8.333333e-01, -8.333333e-01, 0.000000e+00 + 84, 8.333333e-01, -1.000000e+00, 0.000000e+00 + 85, 1.000000e+00, -1.666667e-01, 0.000000e+00 + 86, 1.000000e+00, 0.000000e+00, 0.000000e+00 + 87, 1.000000e+00, -3.333333e-01, 0.000000e+00 + 88, 1.000000e+00, -5.000000e-01, 0.000000e+00 + 89, 1.000000e+00, -6.666667e-01, 0.000000e+00 + 90, 1.000000e+00, -8.333333e-01, 0.000000e+00 + 91, 1.000000e+00, -1.000000e+00, 0.000000e+00 + 92, 1.000000e+00, 1.666667e-01, 0.000000e+00 + 93, 8.333333e-01, 1.666667e-01, 0.000000e+00 + 94, 1.000000e+00, 3.333333e-01, 0.000000e+00 + 95, 8.333333e-01, 3.333333e-01, 0.000000e+00 + 96, 1.000000e+00, 5.000000e-01, 0.000000e+00 + 97, 8.333333e-01, 5.000000e-01, 0.000000e+00 + 98, 1.000000e+00, 6.666667e-01, 0.000000e+00 + 99, 8.333333e-01, 6.666667e-01, 0.000000e+00 + 100, 1.000000e+00, 8.333333e-01, 0.000000e+00 + 101, 8.333333e-01, 8.333333e-01, 0.000000e+00 + 102, 1.000000e+00, 1.000000e+00, 0.000000e+00 + 103, 8.333333e-01, 1.000000e+00, 0.000000e+00 + 104, 6.666667e-01, 1.666667e-01, 0.000000e+00 + 105, 6.666667e-01, 3.333333e-01, 0.000000e+00 + 106, 6.666667e-01, 5.000000e-01, 0.000000e+00 + 107, 6.666667e-01, 6.666667e-01, 0.000000e+00 + 108, 6.666667e-01, 8.333333e-01, 0.000000e+00 + 109, 6.666667e-01, 1.000000e+00, 0.000000e+00 + 110, 5.000000e-01, 1.666667e-01, 0.000000e+00 + 111, 5.000000e-01, 3.333333e-01, 0.000000e+00 + 112, 5.000000e-01, 5.000000e-01, 0.000000e+00 + 113, 5.000000e-01, 6.666667e-01, 0.000000e+00 + 114, 5.000000e-01, 8.333333e-01, 0.000000e+00 + 115, 5.000000e-01, 1.000000e+00, 0.000000e+00 + 116, 3.333333e-01, 1.666667e-01, 0.000000e+00 + 117, 3.333333e-01, 3.333333e-01, 0.000000e+00 + 118, 3.333333e-01, 5.000000e-01, 0.000000e+00 + 119, 3.333333e-01, 6.666667e-01, 0.000000e+00 + 120, 3.333333e-01, 8.333333e-01, 0.000000e+00 + 121, 3.333333e-01, 1.000000e+00, 0.000000e+00 + 122, 1.666667e-01, 1.666667e-01, 0.000000e+00 + 123, 1.666667e-01, 3.333333e-01, 0.000000e+00 + 124, 1.666667e-01, 5.000000e-01, 0.000000e+00 + 125, 1.666667e-01, 6.666667e-01, 0.000000e+00 + 126, 1.666667e-01, 8.333333e-01, 0.000000e+00 + 127, 1.666667e-01, 1.000000e+00, 0.000000e+00 + 128, 0.000000e+00, 1.666667e-01, 0.000000e+00 + 129, 0.000000e+00, 3.333333e-01, 0.000000e+00 + 130, 0.000000e+00, 5.000000e-01, 0.000000e+00 + 131, 0.000000e+00, 6.666667e-01, 0.000000e+00 + 132, 0.000000e+00, 8.333333e-01, 0.000000e+00 + 133, 0.000000e+00, 1.000000e+00, 0.000000e+00 +*ELEMENT, TYPE=S4R, ELSET=EB1 + 1, 1, 2, 3, 4 + 2, 2, 5, 6, 3 + 3, 5, 7, 8, 6 + 4, 7, 9, 10, 8 + 5, 9, 11, 12, 10 + 6, 11, 13, 14, 12 + 7, 4, 3, 15, 16 + 8, 3, 6, 17, 15 + 9, 6, 8, 18, 17 + 10, 8, 10, 19, 18 + 11, 10, 12, 20, 19 + 12, 12, 14, 21, 20 + 13, 16, 15, 22, 23 + 14, 15, 17, 24, 22 + 15, 17, 18, 25, 24 + 16, 18, 19, 26, 25 + 17, 19, 20, 27, 26 + 18, 20, 21, 28, 27 + 19, 23, 22, 29, 30 + 20, 22, 24, 31, 29 + 21, 24, 25, 32, 31 + 22, 25, 26, 33, 32 + 23, 26, 27, 34, 33 + 24, 27, 28, 35, 34 + 25, 30, 29, 36, 37 + 26, 29, 31, 38, 36 + 27, 31, 32, 39, 38 + 28, 32, 33, 40, 39 + 29, 33, 34, 41, 40 + 30, 34, 35, 42, 41 + 31, 37, 36, 43, 44 + 32, 36, 38, 45, 43 + 33, 38, 39, 46, 45 + 34, 39, 40, 47, 46 + 35, 40, 41, 48, 47 + 36, 41, 42, 49, 48 + 37, 44, 43, 50, 51 + 38, 43, 45, 52, 50 + 39, 45, 46, 53, 52 + 40, 46, 47, 54, 53 + 41, 47, 48, 55, 54 + 42, 48, 49, 56, 55 + 43, 51, 50, 57, 58 + 44, 50, 52, 59, 57 + 45, 52, 53, 60, 59 + 46, 53, 54, 61, 60 + 47, 54, 55, 62, 61 + 48, 55, 56, 63, 62 + 49, 58, 57, 64, 65 + 50, 57, 59, 66, 64 + 51, 59, 60, 67, 66 + 52, 60, 61, 68, 67 + 53, 61, 62, 69, 68 + 54, 62, 63, 70, 69 + 55, 65, 64, 71, 72 + 56, 64, 66, 73, 71 + 57, 66, 67, 74, 73 + 58, 67, 68, 75, 74 + 59, 68, 69, 76, 75 + 60, 69, 70, 77, 76 + 61, 72, 71, 78, 79 + 62, 71, 73, 80, 78 + 63, 73, 74, 81, 80 + 64, 74, 75, 82, 81 + 65, 75, 76, 83, 82 + 66, 76, 77, 84, 83 + 67, 79, 78, 85, 86 + 68, 78, 80, 87, 85 + 69, 80, 81, 88, 87 + 70, 81, 82, 89, 88 + 71, 82, 83, 90, 89 + 72, 83, 84, 91, 90 + 73, 86, 92, 93, 79 + 74, 92, 94, 95, 93 + 75, 94, 96, 97, 95 + 76, 96, 98, 99, 97 + 77, 98, 100, 101, 99 + 78, 100, 102, 103, 101 + 79, 79, 93, 104, 72 + 80, 93, 95, 105, 104 + 81, 95, 97, 106, 105 + 82, 97, 99, 107, 106 + 83, 99, 101, 108, 107 + 84, 101, 103, 109, 108 + 85, 72, 104, 110, 65 + 86, 104, 105, 111, 110 + 87, 105, 106, 112, 111 + 88, 106, 107, 113, 112 + 89, 107, 108, 114, 113 + 90, 108, 109, 115, 114 + 91, 65, 110, 116, 58 + 92, 110, 111, 117, 116 + 93, 111, 112, 118, 117 + 94, 112, 113, 119, 118 + 95, 113, 114, 120, 119 + 96, 114, 115, 121, 120 + 97, 58, 116, 122, 51 + 98, 116, 117, 123, 122 + 99, 117, 118, 124, 123 + 100, 118, 119, 125, 124 + 101, 119, 120, 126, 125 + 102, 120, 121, 127, 126 + 103, 51, 122, 128, 44 + 104, 122, 123, 129, 128 + 105, 123, 124, 130, 129 + 106, 124, 125, 131, 130 + 107, 125, 126, 132, 131 + 108, 126, 127, 133, 132 +*SURFACE, NAME=SS1 + 78, E2 + 84, E2 + 90, E2 + 96, E2 + 102, E2 + 108, E2 diff --git a/tests/mesh_converter/meshes/2d/2d_test.ucd b/tests/mesh_converter/meshes/2d/2d_test.ucd new file mode 100755 index 0000000000..ce3777ab70 --- /dev/null +++ b/tests/mesh_converter/meshes/2d/2d_test.ucd @@ -0,0 +1,251 @@ +# FEM Mesh Converter +# Mesh type: AVS UCD +# Input file name: meshes/2d/2d_test.inp +133 114 0 0 0 +1 -1.00000000e+00 0.00000000e+00 0.00000000e+00 +2 -1.00000000e+00 -1.66666700e-01 0.00000000e+00 +3 -8.33333300e-01 -1.66666700e-01 0.00000000e+00 +4 -8.33333300e-01 0.00000000e+00 0.00000000e+00 +5 -1.00000000e+00 -3.33333300e-01 0.00000000e+00 +6 -8.33333300e-01 -3.33333300e-01 0.00000000e+00 +7 -1.00000000e+00 -5.00000000e-01 0.00000000e+00 +8 -8.33333300e-01 -5.00000000e-01 0.00000000e+00 +9 -1.00000000e+00 -6.66666700e-01 0.00000000e+00 +10 -8.33333300e-01 -6.66666700e-01 0.00000000e+00 +11 -1.00000000e+00 -8.33333300e-01 0.00000000e+00 +12 -8.33333300e-01 -8.33333300e-01 0.00000000e+00 +13 -1.00000000e+00 -1.00000000e+00 0.00000000e+00 +14 -8.33333300e-01 -1.00000000e+00 0.00000000e+00 +15 -6.66666700e-01 -1.66666700e-01 0.00000000e+00 +16 -6.66666700e-01 0.00000000e+00 0.00000000e+00 +17 -6.66666700e-01 -3.33333300e-01 0.00000000e+00 +18 -6.66666700e-01 -5.00000000e-01 0.00000000e+00 +19 -6.66666700e-01 -6.66666700e-01 0.00000000e+00 +20 -6.66666700e-01 -8.33333300e-01 0.00000000e+00 +21 -6.66666700e-01 -1.00000000e+00 0.00000000e+00 +22 -5.00000000e-01 -1.66666700e-01 0.00000000e+00 +23 -5.00000000e-01 0.00000000e+00 0.00000000e+00 +24 -5.00000000e-01 -3.33333300e-01 0.00000000e+00 +25 -5.00000000e-01 -5.00000000e-01 0.00000000e+00 +26 -5.00000000e-01 -6.66666700e-01 0.00000000e+00 +27 -5.00000000e-01 -8.33333300e-01 0.00000000e+00 +28 -5.00000000e-01 -1.00000000e+00 0.00000000e+00 +29 -3.33333300e-01 -1.66666700e-01 0.00000000e+00 +30 -3.33333300e-01 0.00000000e+00 0.00000000e+00 +31 -3.33333300e-01 -3.33333300e-01 0.00000000e+00 +32 -3.33333300e-01 -5.00000000e-01 0.00000000e+00 +33 -3.33333300e-01 -6.66666700e-01 0.00000000e+00 +34 -3.33333300e-01 -8.33333300e-01 0.00000000e+00 +35 -3.33333300e-01 -1.00000000e+00 0.00000000e+00 +36 -1.66666700e-01 -1.66666700e-01 0.00000000e+00 +37 -1.66666700e-01 0.00000000e+00 0.00000000e+00 +38 -1.66666700e-01 -3.33333300e-01 0.00000000e+00 +39 -1.66666700e-01 -5.00000000e-01 0.00000000e+00 +40 -1.66666700e-01 -6.66666700e-01 0.00000000e+00 +41 -1.66666700e-01 -8.33333300e-01 0.00000000e+00 +42 -1.66666700e-01 -1.00000000e+00 0.00000000e+00 +43 0.00000000e+00 -1.66666700e-01 0.00000000e+00 +44 0.00000000e+00 0.00000000e+00 0.00000000e+00 +45 0.00000000e+00 -3.33333300e-01 0.00000000e+00 +46 0.00000000e+00 -5.00000000e-01 0.00000000e+00 +47 0.00000000e+00 -6.66666700e-01 0.00000000e+00 +48 0.00000000e+00 -8.33333300e-01 0.00000000e+00 +49 0.00000000e+00 -1.00000000e+00 0.00000000e+00 +50 1.66666700e-01 -1.66666700e-01 0.00000000e+00 +51 1.66666700e-01 0.00000000e+00 0.00000000e+00 +52 1.66666700e-01 -3.33333300e-01 0.00000000e+00 +53 1.66666700e-01 -5.00000000e-01 0.00000000e+00 +54 1.66666700e-01 -6.66666700e-01 0.00000000e+00 +55 1.66666700e-01 -8.33333300e-01 0.00000000e+00 +56 1.66666700e-01 -1.00000000e+00 0.00000000e+00 +57 3.33333300e-01 -1.66666700e-01 0.00000000e+00 +58 3.33333300e-01 0.00000000e+00 0.00000000e+00 +59 3.33333300e-01 -3.33333300e-01 0.00000000e+00 +60 3.33333300e-01 -5.00000000e-01 0.00000000e+00 +61 3.33333300e-01 -6.66666700e-01 0.00000000e+00 +62 3.33333300e-01 -8.33333300e-01 0.00000000e+00 +63 3.33333300e-01 -1.00000000e+00 0.00000000e+00 +64 5.00000000e-01 -1.66666700e-01 0.00000000e+00 +65 5.00000000e-01 0.00000000e+00 0.00000000e+00 +66 5.00000000e-01 -3.33333300e-01 0.00000000e+00 +67 5.00000000e-01 -5.00000000e-01 0.00000000e+00 +68 5.00000000e-01 -6.66666700e-01 0.00000000e+00 +69 5.00000000e-01 -8.33333300e-01 0.00000000e+00 +70 5.00000000e-01 -1.00000000e+00 0.00000000e+00 +71 6.66666700e-01 -1.66666700e-01 0.00000000e+00 +72 6.66666700e-01 0.00000000e+00 0.00000000e+00 +73 6.66666700e-01 -3.33333300e-01 0.00000000e+00 +74 6.66666700e-01 -5.00000000e-01 0.00000000e+00 +75 6.66666700e-01 -6.66666700e-01 0.00000000e+00 +76 6.66666700e-01 -8.33333300e-01 0.00000000e+00 +77 6.66666700e-01 -1.00000000e+00 0.00000000e+00 +78 8.33333300e-01 -1.66666700e-01 0.00000000e+00 +79 8.33333300e-01 0.00000000e+00 0.00000000e+00 +80 8.33333300e-01 -3.33333300e-01 0.00000000e+00 +81 8.33333300e-01 -5.00000000e-01 0.00000000e+00 +82 8.33333300e-01 -6.66666700e-01 0.00000000e+00 +83 8.33333300e-01 -8.33333300e-01 0.00000000e+00 +84 8.33333300e-01 -1.00000000e+00 0.00000000e+00 +85 1.00000000e+00 -1.66666700e-01 0.00000000e+00 +86 1.00000000e+00 0.00000000e+00 0.00000000e+00 +87 1.00000000e+00 -3.33333300e-01 0.00000000e+00 +88 1.00000000e+00 -5.00000000e-01 0.00000000e+00 +89 1.00000000e+00 -6.66666700e-01 0.00000000e+00 +90 1.00000000e+00 -8.33333300e-01 0.00000000e+00 +91 1.00000000e+00 -1.00000000e+00 0.00000000e+00 +92 1.00000000e+00 1.66666700e-01 0.00000000e+00 +93 8.33333300e-01 1.66666700e-01 0.00000000e+00 +94 1.00000000e+00 3.33333300e-01 0.00000000e+00 +95 8.33333300e-01 3.33333300e-01 0.00000000e+00 +96 1.00000000e+00 5.00000000e-01 0.00000000e+00 +97 8.33333300e-01 5.00000000e-01 0.00000000e+00 +98 1.00000000e+00 6.66666700e-01 0.00000000e+00 +99 8.33333300e-01 6.66666700e-01 0.00000000e+00 +100 1.00000000e+00 8.33333300e-01 0.00000000e+00 +101 8.33333300e-01 8.33333300e-01 0.00000000e+00 +102 1.00000000e+00 1.00000000e+00 0.00000000e+00 +103 8.33333300e-01 1.00000000e+00 0.00000000e+00 +104 6.66666700e-01 1.66666700e-01 0.00000000e+00 +105 6.66666700e-01 3.33333300e-01 0.00000000e+00 +106 6.66666700e-01 5.00000000e-01 0.00000000e+00 +107 6.66666700e-01 6.66666700e-01 0.00000000e+00 +108 6.66666700e-01 8.33333300e-01 0.00000000e+00 +109 6.66666700e-01 1.00000000e+00 0.00000000e+00 +110 5.00000000e-01 1.66666700e-01 0.00000000e+00 +111 5.00000000e-01 3.33333300e-01 0.00000000e+00 +112 5.00000000e-01 5.00000000e-01 0.00000000e+00 +113 5.00000000e-01 6.66666700e-01 0.00000000e+00 +114 5.00000000e-01 8.33333300e-01 0.00000000e+00 +115 5.00000000e-01 1.00000000e+00 0.00000000e+00 +116 3.33333300e-01 1.66666700e-01 0.00000000e+00 +117 3.33333300e-01 3.33333300e-01 0.00000000e+00 +118 3.33333300e-01 5.00000000e-01 0.00000000e+00 +119 3.33333300e-01 6.66666700e-01 0.00000000e+00 +120 3.33333300e-01 8.33333300e-01 0.00000000e+00 +121 3.33333300e-01 1.00000000e+00 0.00000000e+00 +122 1.66666700e-01 1.66666700e-01 0.00000000e+00 +123 1.66666700e-01 3.33333300e-01 0.00000000e+00 +124 1.66666700e-01 5.00000000e-01 0.00000000e+00 +125 1.66666700e-01 6.66666700e-01 0.00000000e+00 +126 1.66666700e-01 8.33333300e-01 0.00000000e+00 +127 1.66666700e-01 1.00000000e+00 0.00000000e+00 +128 0.00000000e+00 1.66666700e-01 0.00000000e+00 +129 0.00000000e+00 3.33333300e-01 0.00000000e+00 +130 0.00000000e+00 5.00000000e-01 0.00000000e+00 +131 0.00000000e+00 6.66666700e-01 0.00000000e+00 +132 0.00000000e+00 8.33333300e-01 0.00000000e+00 +133 0.00000000e+00 1.00000000e+00 0.00000000e+00 +1 1 quad 1 2 3 4 +2 1 quad 2 5 6 3 +3 1 quad 5 7 8 6 +4 1 quad 7 9 10 8 +5 1 quad 9 11 12 10 +6 1 quad 11 13 14 12 +7 1 quad 4 3 15 16 +8 1 quad 3 6 17 15 +9 1 quad 6 8 18 17 +10 1 quad 8 10 19 18 +11 1 quad 10 12 20 19 +12 1 quad 12 14 21 20 +13 1 quad 16 15 22 23 +14 1 quad 15 17 24 22 +15 1 quad 17 18 25 24 +16 1 quad 18 19 26 25 +17 1 quad 19 20 27 26 +18 1 quad 20 21 28 27 +19 1 quad 23 22 29 30 +20 1 quad 22 24 31 29 +21 1 quad 24 25 32 31 +22 1 quad 25 26 33 32 +23 1 quad 26 27 34 33 +24 1 quad 27 28 35 34 +25 1 quad 30 29 36 37 +26 1 quad 29 31 38 36 +27 1 quad 31 32 39 38 +28 1 quad 32 33 40 39 +29 1 quad 33 34 41 40 +30 1 quad 34 35 42 41 +31 1 quad 37 36 43 44 +32 1 quad 36 38 45 43 +33 1 quad 38 39 46 45 +34 1 quad 39 40 47 46 +35 1 quad 40 41 48 47 +36 1 quad 41 42 49 48 +37 1 quad 44 43 50 51 +38 1 quad 43 45 52 50 +39 1 quad 45 46 53 52 +40 1 quad 46 47 54 53 +41 1 quad 47 48 55 54 +42 1 quad 48 49 56 55 +43 1 quad 51 50 57 58 +44 1 quad 50 52 59 57 +45 1 quad 52 53 60 59 +46 1 quad 53 54 61 60 +47 1 quad 54 55 62 61 +48 1 quad 55 56 63 62 +49 1 quad 58 57 64 65 +50 1 quad 57 59 66 64 +51 1 quad 59 60 67 66 +52 1 quad 60 61 68 67 +53 1 quad 61 62 69 68 +54 1 quad 62 63 70 69 +55 1 quad 65 64 71 72 +56 1 quad 64 66 73 71 +57 1 quad 66 67 74 73 +58 1 quad 67 68 75 74 +59 1 quad 68 69 76 75 +60 1 quad 69 70 77 76 +61 1 quad 72 71 78 79 +62 1 quad 71 73 80 78 +63 1 quad 73 74 81 80 +64 1 quad 74 75 82 81 +65 1 quad 75 76 83 82 +66 1 quad 76 77 84 83 +67 1 quad 79 78 85 86 +68 1 quad 78 80 87 85 +69 1 quad 80 81 88 87 +70 1 quad 81 82 89 88 +71 1 quad 82 83 90 89 +72 1 quad 83 84 91 90 +73 1 quad 86 92 93 79 +74 1 quad 92 94 95 93 +75 1 quad 94 96 97 95 +76 1 quad 96 98 99 97 +77 1 quad 98 100 101 99 +78 1 quad 100 102 103 101 +79 1 quad 79 93 104 72 +80 1 quad 93 95 105 104 +81 1 quad 95 97 106 105 +82 1 quad 97 99 107 106 +83 1 quad 99 101 108 107 +84 1 quad 101 103 109 108 +85 1 quad 72 104 110 65 +86 1 quad 104 105 111 110 +87 1 quad 105 106 112 111 +88 1 quad 106 107 113 112 +89 1 quad 107 108 114 113 +90 1 quad 108 109 115 114 +91 1 quad 65 110 116 58 +92 1 quad 110 111 117 116 +93 1 quad 111 112 118 117 +94 1 quad 112 113 119 118 +95 1 quad 113 114 120 119 +96 1 quad 114 115 121 120 +97 1 quad 58 116 122 51 +98 1 quad 116 117 123 122 +99 1 quad 117 118 124 123 +100 1 quad 118 119 125 124 +101 1 quad 119 120 126 125 +102 1 quad 120 121 127 126 +103 1 quad 51 122 128 44 +104 1 quad 122 123 129 128 +105 1 quad 123 124 130 129 +106 1 quad 124 125 131 130 +107 1 quad 125 126 132 131 +108 1 quad 126 127 133 132 +1 1 line 102 103 +2 1 line 103 109 +3 1 line 109 115 +4 1 line 115 121 +5 1 line 121 127 +6 1 line 127 133 diff --git a/tests/mesh_converter/meshes/2d/quad.cub b/tests/mesh_converter/meshes/2d/quad.cub new file mode 100755 index 0000000000..71a08291db Binary files /dev/null and b/tests/mesh_converter/meshes/2d/quad.cub differ diff --git a/tests/mesh_converter/meshes/2d/quad.inp b/tests/mesh_converter/meshes/2d/quad.inp new file mode 100755 index 0000000000..e809a6dafc --- /dev/null +++ b/tests/mesh_converter/meshes/2d/quad.inp @@ -0,0 +1,29 @@ +*HEADING +cubit(y/Work/Current/Geometry/Mesh_conversion/mesh/2d/quad2.inp): 01/17/2009: 13 +*NODE + 1, -1.000000e+00, 1.000000e+00, 0.000000e+00 + 2, -1.000000e+00, 0.000000e+00, 0.000000e+00 + 3, 0.000000e+00, 0.000000e+00, 0.000000e+00 + 4, 0.000000e+00, 1.000000e+00, 0.000000e+00 + 5, -1.000000e+00, -1.000000e+00, 0.000000e+00 + 6, 0.000000e+00, -1.000000e+00, 0.000000e+00 + 7, 1.000000e+00, 0.000000e+00, 0.000000e+00 + 8, 1.000000e+00, 1.000000e+00, 0.000000e+00 + 9, 1.000000e+00, -1.000000e+00, 0.000000e+00 +*ELEMENT, TYPE=S4R, ELSET=EB14 + 1, 1, 2, 3, 4 + 2, 2, 5, 6, 3 + 3, 4, 3, 7, 8 + 4, 3, 6, 9, 7 +*SURFACE, NAME=SS1 + 1, E1 + 2, E1 +*SURFACE, NAME=SS2 + 2, E2 + 4, E2 +*SURFACE, NAME=SS3 + 3, E3 + 4, E3 +*SURFACE, NAME=SS4 + 1, E4 + 3, E4 diff --git a/tests/mesh_converter/meshes/2d/quad.ucd b/tests/mesh_converter/meshes/2d/quad.ucd new file mode 100755 index 0000000000..f795dc26f6 --- /dev/null +++ b/tests/mesh_converter/meshes/2d/quad.ucd @@ -0,0 +1,25 @@ +# FEM Mesh Converter +# Mesh type: AVS UCD +# Input file name: meshes/2d/quad.inp +9 12 0 0 0 +1 -1.00000000e+00 1.00000000e+00 0.00000000e+00 +2 -1.00000000e+00 0.00000000e+00 0.00000000e+00 +3 0.00000000e+00 0.00000000e+00 0.00000000e+00 +4 0.00000000e+00 1.00000000e+00 0.00000000e+00 +5 -1.00000000e+00 -1.00000000e+00 0.00000000e+00 +6 0.00000000e+00 -1.00000000e+00 0.00000000e+00 +7 1.00000000e+00 0.00000000e+00 0.00000000e+00 +8 1.00000000e+00 1.00000000e+00 0.00000000e+00 +9 1.00000000e+00 -1.00000000e+00 0.00000000e+00 +1 14 quad 1 2 3 4 +2 14 quad 2 5 6 3 +3 14 quad 4 3 7 8 +4 14 quad 3 6 9 7 +1 1 line 1 2 +2 1 line 2 5 +3 2 line 5 6 +4 2 line 6 9 +5 3 line 7 8 +6 3 line 9 7 +7 4 line 4 1 +8 4 line 8 4 diff --git a/tests/mesh_converter/meshes/3d/CC.cub b/tests/mesh_converter/meshes/3d/CC.cub new file mode 100755 index 0000000000..4cb63d111b Binary files /dev/null and b/tests/mesh_converter/meshes/3d/CC.cub differ diff --git a/tests/mesh_converter/meshes/3d/CC_cubit_new.inp b/tests/mesh_converter/meshes/3d/CC_cubit_new.inp new file mode 100755 index 0000000000..0bb7fa5cb2 --- /dev/null +++ b/tests/mesh_converter/meshes/3d/CC_cubit_new.inp @@ -0,0 +1,157 @@ +*HEADING +cubit(y/Mesh_conversion/Mesh_conversion_update/mesh/CC_TEMP.inp): 06/13/2010: 18 +version: 12.1 +** +********************************** P A R T S ********************************** +*PART, NAME=Part-Default +** +********************************** N O D E S ********************************** +*NODE, NSET=ALLNODES + 1, -5.000000e-01, -5.000000e-01, 5.000000e-01 + 2, -5.000000e-01, -5.000000e-01, 0.000000e+00 + 3, -5.000000e-01, 0.000000e+00, 0.000000e+00 + 4, -5.000000e-01, 0.000000e+00, 5.000000e-01 + 5, 0.000000e+00, -5.000000e-01, 5.000000e-01 + 6, 0.000000e+00, -5.000000e-01, 0.000000e+00 + 7, 0.000000e+00, 0.000000e+00, 0.000000e+00 + 8, 0.000000e+00, 0.000000e+00, 5.000000e-01 + 9, -5.000000e-01, -5.000000e-01, -5.000000e-01 + 10, -5.000000e-01, 0.000000e+00, -5.000000e-01 + 11, 0.000000e+00, -5.000000e-01, -5.000000e-01 + 12, 0.000000e+00, 0.000000e+00, -5.000000e-01 + 13, -5.000000e-01, 5.000000e-01, 0.000000e+00 + 14, -5.000000e-01, 5.000000e-01, 5.000000e-01 + 15, 0.000000e+00, 5.000000e-01, 0.000000e+00 + 16, 0.000000e+00, 5.000000e-01, 5.000000e-01 + 17, -5.000000e-01, 5.000000e-01, -5.000000e-01 + 18, 0.000000e+00, 5.000000e-01, -5.000000e-01 + 19, 5.000000e-01, -5.000000e-01, 5.000000e-01 + 20, 5.000000e-01, -5.000000e-01, 0.000000e+00 + 21, 5.000000e-01, 0.000000e+00, 0.000000e+00 + 22, 5.000000e-01, 0.000000e+00, 5.000000e-01 + 23, 5.000000e-01, -5.000000e-01, -5.000000e-01 + 24, 5.000000e-01, 0.000000e+00, -5.000000e-01 + 25, 5.000000e-01, 5.000000e-01, 0.000000e+00 + 26, 5.000000e-01, 5.000000e-01, 5.000000e-01 + 27, 5.000000e-01, 5.000000e-01, -5.000000e-01 + 28, -2.500000e-01, 5.500000e-01, 2.500000e-01 + 29, -2.500000e-01, 5.500000e-01, 0.000000e+00 + 30, -2.500000e-01, 8.000000e-01, 0.000000e+00 + 31, -2.500000e-01, 8.000000e-01, 2.500000e-01 + 32, 0.000000e+00, 5.500000e-01, 2.500000e-01 + 33, 0.000000e+00, 5.500000e-01, 0.000000e+00 + 34, 0.000000e+00, 8.000000e-01, 0.000000e+00 + 35, 0.000000e+00, 8.000000e-01, 2.500000e-01 + 36, -2.500000e-01, 5.500000e-01, -2.500000e-01 + 37, -2.500000e-01, 8.000000e-01, -2.500000e-01 + 38, 0.000000e+00, 5.500000e-01, -2.500000e-01 + 39, 0.000000e+00, 8.000000e-01, -2.500000e-01 + 40, -2.500000e-01, 1.050000e+00, 0.000000e+00 + 41, -2.500000e-01, 1.050000e+00, 2.500000e-01 + 42, 0.000000e+00, 1.050000e+00, 0.000000e+00 + 43, 0.000000e+00, 1.050000e+00, 2.500000e-01 + 44, -2.500000e-01, 1.050000e+00, -2.500000e-01 + 45, 0.000000e+00, 1.050000e+00, -2.500000e-01 + 46, 2.500000e-01, 5.500000e-01, 2.500000e-01 + 47, 2.500000e-01, 5.500000e-01, 0.000000e+00 + 48, 2.500000e-01, 8.000000e-01, 0.000000e+00 + 49, 2.500000e-01, 8.000000e-01, 2.500000e-01 + 50, 2.500000e-01, 5.500000e-01, -2.500000e-01 + 51, 2.500000e-01, 8.000000e-01, -2.500000e-01 + 52, 2.500000e-01, 1.050000e+00, 0.000000e+00 + 53, 2.500000e-01, 1.050000e+00, 2.500000e-01 + 54, 2.500000e-01, 1.050000e+00, -2.500000e-01 +** +********************************** E L E M E N T S **************************** +*ELEMENT, TYPE=C3D8R, ELSET=EB1 + 1, 1, 2, 3, 4, 5, 6, 7, 8 + 2, 2, 9, 10, 3, 6, 11, 12, 7 + 3, 4, 3, 13, 14, 8, 7, 15, 16 + 4, 3, 10, 17, 13, 7, 12, 18, 15 + 5, 5, 6, 7, 8, 19, 20, 21, 22 + 6, 6, 11, 12, 7, 20, 23, 24, 21 + 7, 8, 7, 15, 16, 22, 21, 25, 26 + 8, 7, 12, 18, 15, 21, 24, 27, 25 +*ELEMENT, TYPE=C3D8R, ELSET=EB2 + 9, 28, 29, 30, 31, 32, 33, 34, 35 + 10, 29, 36, 37, 30, 33, 38, 39, 34 + 11, 31, 30, 40, 41, 35, 34, 42, 43 + 12, 30, 37, 44, 40, 34, 39, 45, 42 + 13, 32, 33, 34, 35, 46, 47, 48, 49 + 14, 33, 38, 39, 34, 47, 50, 51, 48 + 15, 35, 34, 42, 43, 49, 48, 52, 53 + 16, 34, 39, 45, 42, 48, 51, 54, 52 +** +********************************** S I D E S E T S ********************************** +*ELSET, ELSET=SS1_S3 + 1, 2, 5, 6 +*SURFACE, NAME=SS1 +SS1_S3, S3 +*ELSET, ELSET=SS2_S4 + 10, 12, 14, 16, 2, 4, 6, 8 +*SURFACE, NAME=SS2 +SS2_S4, S4 +*ELSET, ELSET=SS3_S1 + 9, 10, 11, 12, 1, 2, 3, 4 +*SURFACE, NAME=SS3 +SS3_S1, S1 +*ELSET, ELSET=SS4_S5 + 11, 12, 15, 16 +*SURFACE, NAME=SS4 +SS4_S5, S5 +*ELSET, ELSET=SS100_S5 + 3, 4, 7, 8 +*SURFACE, NAME=SS100 +SS100_S5, S5 +*ELSET, ELSET=SS101_S3 + 9, 10, 13, 14 +*SURFACE, NAME=SS101 +SS101_S3, S3 +** +********************************** P R O P E R T I E S ************************ +*SOLID SECTION, ELSET=EB1, MATERIAL=Default-Steel +*SOLID SECTION, ELSET=EB2, MATERIAL=Default-Steel +** +*END PART +** +** +** +********************************** E N D P A R T S ********************************** +** +** +********************************** A S S E M B L Y ************************************ +** +*ASSEMBLY, NAME=ASSEMBLY1 +** +*INSTANCE, NAME=Part-Default_1, PART=Part-Default +*END INSTANCE +** +*END ASSEMBLY +** +** +** +*MATERIAL, NAME = Default-Steel +*ELASTIC, TYPE=ISOTROPIC +2.068000e+05, 2.900000e-01 +*DENSITY +7.000000e-06 +*CONDUCTIVITY,TYPE=ISO +4.500000e-02 +*SPECIFIC HEAT +5.000000e+02 +** +** +************************************** H I S T O R Y ************************************* +** +*PREPRINT +** +**************************************** S T E P 1 *************************************** +*STEP,INC=100,NAME=Default Set +** +*STATIC +1, 1, 1e-05, 1 +** +** +** +** +*END STEP diff --git a/tests/mesh_converter/meshes/3d/CC_cubit_new.ucd b/tests/mesh_converter/meshes/3d/CC_cubit_new.ucd new file mode 100755 index 0000000000..9ad647c5c0 --- /dev/null +++ b/tests/mesh_converter/meshes/3d/CC_cubit_new.ucd @@ -0,0 +1,106 @@ +# FEM Mesh Converter +# Mesh type: AVS UCD +# Input file name: meshes/3d/CC_cubit_new.inp +54 48 0 0 0 +1 -5.00000000e-01 -5.00000000e-01 5.00000000e-01 +2 -5.00000000e-01 -5.00000000e-01 0.00000000e+00 +3 -5.00000000e-01 0.00000000e+00 0.00000000e+00 +4 -5.00000000e-01 0.00000000e+00 5.00000000e-01 +5 0.00000000e+00 -5.00000000e-01 5.00000000e-01 +6 0.00000000e+00 -5.00000000e-01 0.00000000e+00 +7 0.00000000e+00 0.00000000e+00 0.00000000e+00 +8 0.00000000e+00 0.00000000e+00 5.00000000e-01 +9 -5.00000000e-01 -5.00000000e-01 -5.00000000e-01 +10 -5.00000000e-01 0.00000000e+00 -5.00000000e-01 +11 0.00000000e+00 -5.00000000e-01 -5.00000000e-01 +12 0.00000000e+00 0.00000000e+00 -5.00000000e-01 +13 -5.00000000e-01 5.00000000e-01 0.00000000e+00 +14 -5.00000000e-01 5.00000000e-01 5.00000000e-01 +15 0.00000000e+00 5.00000000e-01 0.00000000e+00 +16 0.00000000e+00 5.00000000e-01 5.00000000e-01 +17 -5.00000000e-01 5.00000000e-01 -5.00000000e-01 +18 0.00000000e+00 5.00000000e-01 -5.00000000e-01 +19 5.00000000e-01 -5.00000000e-01 5.00000000e-01 +20 5.00000000e-01 -5.00000000e-01 0.00000000e+00 +21 5.00000000e-01 0.00000000e+00 0.00000000e+00 +22 5.00000000e-01 0.00000000e+00 5.00000000e-01 +23 5.00000000e-01 -5.00000000e-01 -5.00000000e-01 +24 5.00000000e-01 0.00000000e+00 -5.00000000e-01 +25 5.00000000e-01 5.00000000e-01 0.00000000e+00 +26 5.00000000e-01 5.00000000e-01 5.00000000e-01 +27 5.00000000e-01 5.00000000e-01 -5.00000000e-01 +28 -2.50000000e-01 5.50000000e-01 2.50000000e-01 +29 -2.50000000e-01 5.50000000e-01 0.00000000e+00 +30 -2.50000000e-01 8.00000000e-01 0.00000000e+00 +31 -2.50000000e-01 8.00000000e-01 2.50000000e-01 +32 0.00000000e+00 5.50000000e-01 2.50000000e-01 +33 0.00000000e+00 5.50000000e-01 0.00000000e+00 +34 0.00000000e+00 8.00000000e-01 0.00000000e+00 +35 0.00000000e+00 8.00000000e-01 2.50000000e-01 +36 -2.50000000e-01 5.50000000e-01 -2.50000000e-01 +37 -2.50000000e-01 8.00000000e-01 -2.50000000e-01 +38 0.00000000e+00 5.50000000e-01 -2.50000000e-01 +39 0.00000000e+00 8.00000000e-01 -2.50000000e-01 +40 -2.50000000e-01 1.05000000e+00 0.00000000e+00 +41 -2.50000000e-01 1.05000000e+00 2.50000000e-01 +42 0.00000000e+00 1.05000000e+00 0.00000000e+00 +43 0.00000000e+00 1.05000000e+00 2.50000000e-01 +44 -2.50000000e-01 1.05000000e+00 -2.50000000e-01 +45 0.00000000e+00 1.05000000e+00 -2.50000000e-01 +46 2.50000000e-01 5.50000000e-01 2.50000000e-01 +47 2.50000000e-01 5.50000000e-01 0.00000000e+00 +48 2.50000000e-01 8.00000000e-01 0.00000000e+00 +49 2.50000000e-01 8.00000000e-01 2.50000000e-01 +50 2.50000000e-01 5.50000000e-01 -2.50000000e-01 +51 2.50000000e-01 8.00000000e-01 -2.50000000e-01 +52 2.50000000e-01 1.05000000e+00 0.00000000e+00 +53 2.50000000e-01 1.05000000e+00 2.50000000e-01 +54 2.50000000e-01 1.05000000e+00 -2.50000000e-01 +1 1 hex 1 2 3 4 5 6 7 8 +2 1 hex 2 9 10 3 6 11 12 7 +3 1 hex 4 3 13 14 8 7 15 16 +4 1 hex 3 10 17 13 7 12 18 15 +5 1 hex 5 6 7 8 19 20 21 22 +6 1 hex 6 11 12 7 20 23 24 21 +7 1 hex 8 7 15 16 22 21 25 26 +8 1 hex 7 12 18 15 21 24 27 25 +9 2 hex 28 29 30 31 32 33 34 35 +10 2 hex 29 36 37 30 33 38 39 34 +11 2 hex 31 30 40 41 35 34 42 43 +12 2 hex 30 37 44 40 34 39 45 42 +13 2 hex 32 33 34 35 46 47 48 49 +14 2 hex 33 38 39 34 47 50 51 48 +15 2 hex 35 34 42 43 49 48 52 53 +16 2 hex 34 39 45 42 48 51 54 52 +1 1 quad 1 2 6 5 +2 1 quad 2 9 11 6 +3 1 quad 5 6 20 19 +4 1 quad 6 11 23 20 +5 2 quad 36 37 39 38 +6 2 quad 37 44 45 39 +7 2 quad 38 39 51 50 +8 2 quad 39 45 54 51 +9 2 quad 9 10 12 11 +10 2 quad 10 17 18 12 +11 2 quad 11 12 24 23 +12 2 quad 12 18 27 24 +13 3 quad 28 31 30 29 +14 3 quad 29 30 37 36 +15 3 quad 31 41 40 30 +16 3 quad 30 40 44 37 +17 3 quad 1 4 3 2 +18 3 quad 2 3 10 9 +19 3 quad 4 14 13 3 +20 3 quad 3 13 17 10 +21 4 quad 40 41 43 42 +22 4 quad 44 40 42 45 +23 4 quad 42 43 53 52 +24 4 quad 45 42 52 54 +25 100 quad 13 14 16 15 +26 100 quad 17 13 15 18 +27 100 quad 15 16 26 25 +28 100 quad 18 15 25 27 +29 101 quad 28 29 33 32 +30 101 quad 29 36 38 33 +31 101 quad 32 33 47 46 +32 101 quad 33 38 50 47 diff --git a/tests/mesh_converter/meshes/3d/CC_cubit_old.inp b/tests/mesh_converter/meshes/3d/CC_cubit_old.inp new file mode 100755 index 0000000000..7d2752f363 --- /dev/null +++ b/tests/mesh_converter/meshes/3d/CC_cubit_old.inp @@ -0,0 +1,113 @@ +*HEADING +cubit(rrent/Geometry/Contact_test/contact_cubes_NTS_1_close.inp): 03/31/2010: 17 +*NODE + 1, -5.000000e-01, -5.000000e-01, 5.000000e-01 + 2, -5.000000e-01, -5.000000e-01, 0.000000e+00 + 3, -5.000000e-01, 0.000000e+00, 0.000000e+00 + 4, -5.000000e-01, 0.000000e+00, 5.000000e-01 + 5, 0.000000e+00, -5.000000e-01, 5.000000e-01 + 6, 0.000000e+00, -5.000000e-01, 0.000000e+00 + 7, 0.000000e+00, 0.000000e+00, 0.000000e+00 + 8, 0.000000e+00, 0.000000e+00, 5.000000e-01 + 9, -5.000000e-01, -5.000000e-01, -5.000000e-01 + 10, -5.000000e-01, 0.000000e+00, -5.000000e-01 + 11, 0.000000e+00, -5.000000e-01, -5.000000e-01 + 12, 0.000000e+00, 0.000000e+00, -5.000000e-01 + 13, -5.000000e-01, 5.000000e-01, 0.000000e+00 + 14, -5.000000e-01, 5.000000e-01, 5.000000e-01 + 15, 0.000000e+00, 5.000000e-01, 0.000000e+00 + 16, 0.000000e+00, 5.000000e-01, 5.000000e-01 + 17, -5.000000e-01, 5.000000e-01, -5.000000e-01 + 18, 0.000000e+00, 5.000000e-01, -5.000000e-01 + 19, 5.000000e-01, -5.000000e-01, 5.000000e-01 + 20, 5.000000e-01, -5.000000e-01, 0.000000e+00 + 21, 5.000000e-01, 0.000000e+00, 0.000000e+00 + 22, 5.000000e-01, 0.000000e+00, 5.000000e-01 + 23, 5.000000e-01, -5.000000e-01, -5.000000e-01 + 24, 5.000000e-01, 0.000000e+00, -5.000000e-01 + 25, 5.000000e-01, 5.000000e-01, 0.000000e+00 + 26, 5.000000e-01, 5.000000e-01, 5.000000e-01 + 27, 5.000000e-01, 5.000000e-01, -5.000000e-01 + 28, -2.500000e-01, 5.500000e-01, 2.500000e-01 + 29, -2.500000e-01, 5.500000e-01, 0.000000e+00 + 30, -2.500000e-01, 8.000000e-01, 0.000000e+00 + 31, -2.500000e-01, 8.000000e-01, 2.500000e-01 + 32, 0.000000e+00, 5.500000e-01, 2.500000e-01 + 33, 0.000000e+00, 5.500000e-01, 0.000000e+00 + 34, 0.000000e+00, 8.000000e-01, 0.000000e+00 + 35, 0.000000e+00, 8.000000e-01, 2.500000e-01 + 36, -2.500000e-01, 5.500000e-01, -2.500000e-01 + 37, -2.500000e-01, 8.000000e-01, -2.500000e-01 + 38, 0.000000e+00, 5.500000e-01, -2.500000e-01 + 39, 0.000000e+00, 8.000000e-01, -2.500000e-01 + 40, -2.500000e-01, 1.050000e+00, 0.000000e+00 + 41, -2.500000e-01, 1.050000e+00, 2.500000e-01 + 42, 0.000000e+00, 1.050000e+00, 0.000000e+00 + 43, 0.000000e+00, 1.050000e+00, 2.500000e-01 + 44, -2.500000e-01, 1.050000e+00, -2.500000e-01 + 45, 0.000000e+00, 1.050000e+00, -2.500000e-01 + 46, 2.500000e-01, 5.500000e-01, 2.500000e-01 + 47, 2.500000e-01, 5.500000e-01, 0.000000e+00 + 48, 2.500000e-01, 8.000000e-01, 0.000000e+00 + 49, 2.500000e-01, 8.000000e-01, 2.500000e-01 + 50, 2.500000e-01, 5.500000e-01, -2.500000e-01 + 51, 2.500000e-01, 8.000000e-01, -2.500000e-01 + 52, 2.500000e-01, 1.050000e+00, 0.000000e+00 + 53, 2.500000e-01, 1.050000e+00, 2.500000e-01 + 54, 2.500000e-01, 1.050000e+00, -2.500000e-01 +*ELEMENT, TYPE=C3D8R, ELSET=EB1 + 1, 1, 2, 3, 4, 5, 6, 7, 8 + 2, 2, 9, 10, 3, 6, 11, 12, 7 + 3, 4, 3, 13, 14, 8, 7, 15, 16 + 4, 3, 10, 17, 13, 7, 12, 18, 15 + 5, 5, 6, 7, 8, 19, 20, 21, 22 + 6, 6, 11, 12, 7, 20, 23, 24, 21 + 7, 8, 7, 15, 16, 22, 21, 25, 26 + 8, 7, 12, 18, 15, 21, 24, 27, 25 +*ELEMENT, TYPE=C3D8R, ELSET=EB2 + 9, 28, 29, 30, 31, 32, 33, 34, 35 + 10, 29, 36, 37, 30, 33, 38, 39, 34 + 11, 31, 30, 40, 41, 35, 34, 42, 43 + 12, 30, 37, 44, 40, 34, 39, 45, 42 + 13, 32, 33, 34, 35, 46, 47, 48, 49 + 14, 33, 38, 39, 34, 47, 50, 51, 48 + 15, 35, 34, 42, 43, 49, 48, 52, 53 + 16, 34, 39, 45, 42, 48, 51, 54, 52 +*SURFACE, NAME=SS1 + 1, S3 + 2, S3 + 5, S3 + 6, S3 +*SURFACE, NAME=SS2 + 10, S4 + 12, S4 + 14, S4 + 16, S4 + 2, S4 + 4, S4 + 6, S4 + 8, S4 +*SURFACE, NAME=SS3 + 9, S1 + 10, S1 + 11, S1 + 12, S1 + 1, S1 + 2, S1 + 3, S1 + 4, S1 +*SURFACE, NAME=SS4 + 11, S5 + 12, S5 + 15, S5 + 16, S5 +*SURFACE, NAME=SS100 + 3, S5 + 4, S5 + 7, S5 + 8, S5 +*SURFACE, NAME=SS101 + 9, S3 + 10, S3 + 13, S3 + 14, S3 diff --git a/tests/mesh_converter/meshes/3d/CC_cubit_old.ucd b/tests/mesh_converter/meshes/3d/CC_cubit_old.ucd new file mode 100755 index 0000000000..9ee9cfb671 --- /dev/null +++ b/tests/mesh_converter/meshes/3d/CC_cubit_old.ucd @@ -0,0 +1,106 @@ +# FEM Mesh Converter +# Mesh type: AVS UCD +# Input file name: meshes/3d/CC_cubit_old.inp +54 48 0 0 0 +1 -5.00000000e-01 -5.00000000e-01 5.00000000e-01 +2 -5.00000000e-01 -5.00000000e-01 0.00000000e+00 +3 -5.00000000e-01 0.00000000e+00 0.00000000e+00 +4 -5.00000000e-01 0.00000000e+00 5.00000000e-01 +5 0.00000000e+00 -5.00000000e-01 5.00000000e-01 +6 0.00000000e+00 -5.00000000e-01 0.00000000e+00 +7 0.00000000e+00 0.00000000e+00 0.00000000e+00 +8 0.00000000e+00 0.00000000e+00 5.00000000e-01 +9 -5.00000000e-01 -5.00000000e-01 -5.00000000e-01 +10 -5.00000000e-01 0.00000000e+00 -5.00000000e-01 +11 0.00000000e+00 -5.00000000e-01 -5.00000000e-01 +12 0.00000000e+00 0.00000000e+00 -5.00000000e-01 +13 -5.00000000e-01 5.00000000e-01 0.00000000e+00 +14 -5.00000000e-01 5.00000000e-01 5.00000000e-01 +15 0.00000000e+00 5.00000000e-01 0.00000000e+00 +16 0.00000000e+00 5.00000000e-01 5.00000000e-01 +17 -5.00000000e-01 5.00000000e-01 -5.00000000e-01 +18 0.00000000e+00 5.00000000e-01 -5.00000000e-01 +19 5.00000000e-01 -5.00000000e-01 5.00000000e-01 +20 5.00000000e-01 -5.00000000e-01 0.00000000e+00 +21 5.00000000e-01 0.00000000e+00 0.00000000e+00 +22 5.00000000e-01 0.00000000e+00 5.00000000e-01 +23 5.00000000e-01 -5.00000000e-01 -5.00000000e-01 +24 5.00000000e-01 0.00000000e+00 -5.00000000e-01 +25 5.00000000e-01 5.00000000e-01 0.00000000e+00 +26 5.00000000e-01 5.00000000e-01 5.00000000e-01 +27 5.00000000e-01 5.00000000e-01 -5.00000000e-01 +28 -2.50000000e-01 5.50000000e-01 2.50000000e-01 +29 -2.50000000e-01 5.50000000e-01 0.00000000e+00 +30 -2.50000000e-01 8.00000000e-01 0.00000000e+00 +31 -2.50000000e-01 8.00000000e-01 2.50000000e-01 +32 0.00000000e+00 5.50000000e-01 2.50000000e-01 +33 0.00000000e+00 5.50000000e-01 0.00000000e+00 +34 0.00000000e+00 8.00000000e-01 0.00000000e+00 +35 0.00000000e+00 8.00000000e-01 2.50000000e-01 +36 -2.50000000e-01 5.50000000e-01 -2.50000000e-01 +37 -2.50000000e-01 8.00000000e-01 -2.50000000e-01 +38 0.00000000e+00 5.50000000e-01 -2.50000000e-01 +39 0.00000000e+00 8.00000000e-01 -2.50000000e-01 +40 -2.50000000e-01 1.05000000e+00 0.00000000e+00 +41 -2.50000000e-01 1.05000000e+00 2.50000000e-01 +42 0.00000000e+00 1.05000000e+00 0.00000000e+00 +43 0.00000000e+00 1.05000000e+00 2.50000000e-01 +44 -2.50000000e-01 1.05000000e+00 -2.50000000e-01 +45 0.00000000e+00 1.05000000e+00 -2.50000000e-01 +46 2.50000000e-01 5.50000000e-01 2.50000000e-01 +47 2.50000000e-01 5.50000000e-01 0.00000000e+00 +48 2.50000000e-01 8.00000000e-01 0.00000000e+00 +49 2.50000000e-01 8.00000000e-01 2.50000000e-01 +50 2.50000000e-01 5.50000000e-01 -2.50000000e-01 +51 2.50000000e-01 8.00000000e-01 -2.50000000e-01 +52 2.50000000e-01 1.05000000e+00 0.00000000e+00 +53 2.50000000e-01 1.05000000e+00 2.50000000e-01 +54 2.50000000e-01 1.05000000e+00 -2.50000000e-01 +1 1 hex 1 2 3 4 5 6 7 8 +2 1 hex 2 9 10 3 6 11 12 7 +3 1 hex 4 3 13 14 8 7 15 16 +4 1 hex 3 10 17 13 7 12 18 15 +5 1 hex 5 6 7 8 19 20 21 22 +6 1 hex 6 11 12 7 20 23 24 21 +7 1 hex 8 7 15 16 22 21 25 26 +8 1 hex 7 12 18 15 21 24 27 25 +9 2 hex 28 29 30 31 32 33 34 35 +10 2 hex 29 36 37 30 33 38 39 34 +11 2 hex 31 30 40 41 35 34 42 43 +12 2 hex 30 37 44 40 34 39 45 42 +13 2 hex 32 33 34 35 46 47 48 49 +14 2 hex 33 38 39 34 47 50 51 48 +15 2 hex 35 34 42 43 49 48 52 53 +16 2 hex 34 39 45 42 48 51 54 52 +1 1 quad 1 2 6 5 +2 1 quad 2 9 11 6 +3 1 quad 5 6 20 19 +4 1 quad 6 11 23 20 +5 2 quad 36 37 39 38 +6 2 quad 37 44 45 39 +7 2 quad 38 39 51 50 +8 2 quad 39 45 54 51 +9 2 quad 9 10 12 11 +10 2 quad 10 17 18 12 +11 2 quad 11 12 24 23 +12 2 quad 12 18 27 24 +13 3 quad 28 31 30 29 +14 3 quad 29 30 37 36 +15 3 quad 31 41 40 30 +16 3 quad 30 40 44 37 +17 3 quad 1 4 3 2 +18 3 quad 2 3 10 9 +19 3 quad 4 14 13 3 +20 3 quad 3 13 17 10 +21 4 quad 40 41 43 42 +22 4 quad 44 40 42 45 +23 4 quad 42 43 53 52 +24 4 quad 45 42 52 54 +25 100 quad 13 14 16 15 +26 100 quad 17 13 15 18 +27 100 quad 15 16 26 25 +28 100 quad 18 15 25 27 +29 101 quad 28 29 33 32 +30 101 quad 29 36 38 33 +31 101 quad 32 33 47 46 +32 101 quad 33 38 50 47 diff --git a/tests/mesh_converter/meshes/3d/other_simple.inp b/tests/mesh_converter/meshes/3d/other_simple.inp new file mode 100644 index 0000000000..1250a41207 --- /dev/null +++ b/tests/mesh_converter/meshes/3d/other_simple.inp @@ -0,0 +1,17 @@ +*NODE +1, 0, 0, 0 +2, 0, 0, 50 +3, 50, 0, 50 +4, 50, 0, 0 +5, 0, 50, 0 +6, 0.705725, 50, 50 +7, 50, 50, 50 +8, 50, 50, 0 +** +** +*ELEMENT, TYPE=C3D8 +1, 1, 2, 3, 4, 5, 6, 7, 8 +*NSET, NSET=n, GENERATE +1, 8 +*ELSET, ELSET=e, GENERATE +1, 1 diff --git a/tests/mesh_converter/meshes/3d/other_simple.ucd b/tests/mesh_converter/meshes/3d/other_simple.ucd new file mode 100644 index 0000000000..cff408f3af --- /dev/null +++ b/tests/mesh_converter/meshes/3d/other_simple.ucd @@ -0,0 +1,13 @@ +# FEM Mesh Converter +# Mesh type: AVS UCD +# Input file name: meshes/3d/other_simple.inp +8 1 0 0 0 +1 0.00000000e+00 0.00000000e+00 0.00000000e+00 +2 0.00000000e+00 0.00000000e+00 5.00000000e+01 +3 5.00000000e+01 0.00000000e+00 5.00000000e+01 +4 5.00000000e+01 0.00000000e+00 0.00000000e+00 +5 0.00000000e+00 5.00000000e+01 0.00000000e+00 +6 7.05725000e-01 5.00000000e+01 5.00000000e+01 +7 5.00000000e+01 5.00000000e+01 5.00000000e+01 +8 5.00000000e+01 5.00000000e+01 0.00000000e+00 +1 0 hex 1 2 3 4 5 6 7 8 diff --git a/tests/mesh_converter/meshes/3d/test_cube_1.cub b/tests/mesh_converter/meshes/3d/test_cube_1.cub new file mode 100755 index 0000000000..4b577a2472 Binary files /dev/null and b/tests/mesh_converter/meshes/3d/test_cube_1.cub differ diff --git a/tests/mesh_converter/meshes/3d/test_cube_1.inp b/tests/mesh_converter/meshes/3d/test_cube_1.inp new file mode 100755 index 0000000000..6e3a898f13 --- /dev/null +++ b/tests/mesh_converter/meshes/3d/test_cube_1.inp @@ -0,0 +1,25 @@ +*HEADING +cubit(t/Geometry/Mesh_conversion/mesh/Test_cube/test_cube_1.inp): 11/06/2008: 09 +*NODE + 1, -1.000000e+00, -1.000000e+00, 1.000000e+00 + 2, -1.000000e+00, -1.000000e+00, -1.000000e+00 + 3, -1.000000e+00, 1.000000e+00, -1.000000e+00 + 4, -1.000000e+00, 1.000000e+00, 1.000000e+00 + 5, 1.000000e+00, -1.000000e+00, 1.000000e+00 + 6, 1.000000e+00, -1.000000e+00, -1.000000e+00 + 7, 1.000000e+00, 1.000000e+00, -1.000000e+00 + 8, 1.000000e+00, 1.000000e+00, 1.000000e+00 +*ELEMENT, TYPE=C3D8R, ELSET=EB1 + 1, 1, 2, 3, 4, 5, 6, 7, 8 +*SURFACE, NAME=SS1 + 1, S6 +*SURFACE, NAME=SS2 + 1, S4 +*SURFACE, NAME=SS3 + 1, S3 +*SURFACE, NAME=SS4 + 1, S1 +*SURFACE, NAME=SS5 + 1, S5 +*SURFACE, NAME=SS6 + 1, S2 diff --git a/tests/mesh_converter/meshes/3d/test_cube_1.ucd b/tests/mesh_converter/meshes/3d/test_cube_1.ucd new file mode 100755 index 0000000000..b2fd6f7eab --- /dev/null +++ b/tests/mesh_converter/meshes/3d/test_cube_1.ucd @@ -0,0 +1,19 @@ +# FEM Mesh Converter +# Mesh type: AVS UCD +# Input file name: meshes/3d/test_cube_1.inp +8 7 0 0 0 +1 -1.00000000e+00 -1.00000000e+00 1.00000000e+00 +2 -1.00000000e+00 -1.00000000e+00 -1.00000000e+00 +3 -1.00000000e+00 1.00000000e+00 -1.00000000e+00 +4 -1.00000000e+00 1.00000000e+00 1.00000000e+00 +5 1.00000000e+00 -1.00000000e+00 1.00000000e+00 +6 1.00000000e+00 -1.00000000e+00 -1.00000000e+00 +7 1.00000000e+00 1.00000000e+00 -1.00000000e+00 +8 1.00000000e+00 1.00000000e+00 1.00000000e+00 +1 1 hex 1 2 3 4 5 6 7 8 +1 1 quad 1 5 8 4 +2 2 quad 2 3 7 6 +3 3 quad 1 2 6 5 +4 4 quad 1 4 3 2 +5 5 quad 3 4 8 7 +6 6 quad 5 8 7 6 diff --git a/tests/mesh_converter/meshes/3d/test_cube_pave_1.cub b/tests/mesh_converter/meshes/3d/test_cube_pave_1.cub new file mode 100755 index 0000000000..3222831cf2 Binary files /dev/null and b/tests/mesh_converter/meshes/3d/test_cube_pave_1.cub differ diff --git a/tests/mesh_converter/meshes/3d/test_cube_pave_1.inp b/tests/mesh_converter/meshes/3d/test_cube_pave_1.inp new file mode 100755 index 0000000000..336d4424e0 --- /dev/null +++ b/tests/mesh_converter/meshes/3d/test_cube_pave_1.inp @@ -0,0 +1,97 @@ +*HEADING +cubit(metry/Mesh_conversion/mesh/Test_cube/test_cube_pave_1.inp): 11/06/2008: 10 +*NODE + 1, 1.000000e+00, 1.000000e+00, 0.000000e+00 + 2, 5.000000e-01, 1.000000e+00, 0.000000e+00 + 3, 5.583559e-01, 3.929331e-01, 0.000000e+00 + 4, 1.000000e+00, 0.000000e+00, 0.000000e+00 + 5, 1.000000e+00, 1.000000e+00, 1.000000e+00 + 6, 5.000000e-01, 1.000000e+00, 1.000000e+00 + 7, 5.583559e-01, 3.929331e-01, 1.000000e+00 + 8, 1.000000e+00, 0.000000e+00, 1.000000e+00 + 9, 0.000000e+00, 1.000000e+00, 0.000000e+00 + 10, 1.562409e-01, 1.799288e-01, 0.000000e+00 + 11, 0.000000e+00, 1.000000e+00, 1.000000e+00 + 12, 1.562409e-01, 1.799288e-01, 1.000000e+00 + 13, -5.000000e-01, 1.000000e+00, 0.000000e+00 + 14, -3.897075e-01, 6.804246e-02, 0.000000e+00 + 15, -5.000000e-01, 1.000000e+00, 1.000000e+00 + 16, -3.897075e-01, 6.804246e-02, 1.000000e+00 + 17, -1.000000e+00, 1.000000e+00, 0.000000e+00 + 18, -1.000000e+00, 0.000000e+00, 0.000000e+00 + 19, -1.000000e+00, 1.000000e+00, 1.000000e+00 + 20, -1.000000e+00, 0.000000e+00, 1.000000e+00 + 21, -1.000000e+00, -1.000000e+00, 0.000000e+00 + 22, 0.000000e+00, -1.000000e+00, 0.000000e+00 + 23, -1.000000e+00, -1.000000e+00, 1.000000e+00 + 24, 0.000000e+00, -1.000000e+00, 1.000000e+00 + 25, 1.000000e+00, -1.000000e+00, 0.000000e+00 + 26, 1.000000e+00, -1.000000e+00, 1.000000e+00 + 27, 1.000000e+00, 1.000000e+00, -1.000000e+00 + 28, 5.000000e-01, 1.000000e+00, -1.000000e+00 + 29, 5.583559e-01, 3.929331e-01, -1.000000e+00 + 30, 1.000000e+00, 0.000000e+00, -1.000000e+00 + 31, 0.000000e+00, 1.000000e+00, -1.000000e+00 + 32, 1.562409e-01, 1.799288e-01, -1.000000e+00 + 33, -5.000000e-01, 1.000000e+00, -1.000000e+00 + 34, -3.897075e-01, 6.804246e-02, -1.000000e+00 + 35, -1.000000e+00, 1.000000e+00, -1.000000e+00 + 36, -1.000000e+00, 0.000000e+00, -1.000000e+00 + 37, -1.000000e+00, -1.000000e+00, -1.000000e+00 + 38, 0.000000e+00, -1.000000e+00, -1.000000e+00 + 39, 1.000000e+00, -1.000000e+00, -1.000000e+00 +*ELEMENT, TYPE=C3D8R, ELSET=EB1 + 1, 1, 2, 3, 4, 5, 6, 7, 8 + 2, 2, 9, 10, 3, 6, 11, 12, 7 + 3, 9, 13, 14, 10, 11, 15, 16, 12 + 4, 13, 17, 18, 14, 15, 19, 20, 16 + 5, 21, 22, 14, 18, 23, 24, 16, 20 + 6, 10, 14, 22, 25, 12, 16, 24, 26 + 7, 25, 4, 3, 10, 26, 8, 7, 12 + 8, 27, 28, 29, 30, 1, 2, 3, 4 + 9, 28, 31, 32, 29, 2, 9, 10, 3 + 10, 31, 33, 34, 32, 9, 13, 14, 10 + 11, 33, 35, 36, 34, 13, 17, 18, 14 + 12, 37, 38, 34, 36, 21, 22, 14, 18 + 13, 32, 34, 38, 39, 10, 14, 22, 25 + 14, 39, 30, 29, 32, 25, 4, 3, 10 +*SURFACE, NAME=SS1 + 1, S2 + 2, S2 + 3, S2 + 4, S2 + 5, S2 + 6, S2 + 7, S2 +*SURFACE, NAME=SS2 + 8, S1 + 9, S1 + 10, S1 + 11, S1 + 12, S1 + 13, S1 + 14, S1 +*SURFACE, NAME=SS3 + 5, S3 + 6, S5 + 12, S3 + 13, S5 +*SURFACE, NAME=SS4 + 4, S4 + 5, S6 + 11, S4 + 12, S6 +*SURFACE, NAME=SS5 + 1, S3 + 2, S3 + 3, S3 + 4, S3 + 8, S3 + 9, S3 + 10, S3 + 11, S3 +*SURFACE, NAME=SS6 + 1, S6 + 7, S3 + 8, S6 + 14, S3 diff --git a/tests/mesh_converter/meshes/3d/test_cube_pave_1.ucd b/tests/mesh_converter/meshes/3d/test_cube_pave_1.ucd new file mode 100755 index 0000000000..c30c24f6fb --- /dev/null +++ b/tests/mesh_converter/meshes/3d/test_cube_pave_1.ucd @@ -0,0 +1,91 @@ +# FEM Mesh Converter +# Mesh type: AVS UCD +# Input file name: meshes/3d/test_cube_pave_1.inp +39 48 0 0 0 +1 1.00000000e+00 1.00000000e+00 0.00000000e+00 +2 5.00000000e-01 1.00000000e+00 0.00000000e+00 +3 5.58355900e-01 3.92933100e-01 0.00000000e+00 +4 1.00000000e+00 0.00000000e+00 0.00000000e+00 +5 1.00000000e+00 1.00000000e+00 1.00000000e+00 +6 5.00000000e-01 1.00000000e+00 1.00000000e+00 +7 5.58355900e-01 3.92933100e-01 1.00000000e+00 +8 1.00000000e+00 0.00000000e+00 1.00000000e+00 +9 0.00000000e+00 1.00000000e+00 0.00000000e+00 +10 1.56240900e-01 1.79928800e-01 0.00000000e+00 +11 0.00000000e+00 1.00000000e+00 1.00000000e+00 +12 1.56240900e-01 1.79928800e-01 1.00000000e+00 +13 -5.00000000e-01 1.00000000e+00 0.00000000e+00 +14 -3.89707500e-01 6.80424600e-02 0.00000000e+00 +15 -5.00000000e-01 1.00000000e+00 1.00000000e+00 +16 -3.89707500e-01 6.80424600e-02 1.00000000e+00 +17 -1.00000000e+00 1.00000000e+00 0.00000000e+00 +18 -1.00000000e+00 0.00000000e+00 0.00000000e+00 +19 -1.00000000e+00 1.00000000e+00 1.00000000e+00 +20 -1.00000000e+00 0.00000000e+00 1.00000000e+00 +21 -1.00000000e+00 -1.00000000e+00 0.00000000e+00 +22 0.00000000e+00 -1.00000000e+00 0.00000000e+00 +23 -1.00000000e+00 -1.00000000e+00 1.00000000e+00 +24 0.00000000e+00 -1.00000000e+00 1.00000000e+00 +25 1.00000000e+00 -1.00000000e+00 0.00000000e+00 +26 1.00000000e+00 -1.00000000e+00 1.00000000e+00 +27 1.00000000e+00 1.00000000e+00 -1.00000000e+00 +28 5.00000000e-01 1.00000000e+00 -1.00000000e+00 +29 5.58355900e-01 3.92933100e-01 -1.00000000e+00 +30 1.00000000e+00 0.00000000e+00 -1.00000000e+00 +31 0.00000000e+00 1.00000000e+00 -1.00000000e+00 +32 1.56240900e-01 1.79928800e-01 -1.00000000e+00 +33 -5.00000000e-01 1.00000000e+00 -1.00000000e+00 +34 -3.89707500e-01 6.80424600e-02 -1.00000000e+00 +35 -1.00000000e+00 1.00000000e+00 -1.00000000e+00 +36 -1.00000000e+00 0.00000000e+00 -1.00000000e+00 +37 -1.00000000e+00 -1.00000000e+00 -1.00000000e+00 +38 0.00000000e+00 -1.00000000e+00 -1.00000000e+00 +39 1.00000000e+00 -1.00000000e+00 -1.00000000e+00 +1 1 hex 1 2 3 4 5 6 7 8 +2 1 hex 2 9 10 3 6 11 12 7 +3 1 hex 9 13 14 10 11 15 16 12 +4 1 hex 13 17 18 14 15 19 20 16 +5 1 hex 21 22 14 18 23 24 16 20 +6 1 hex 10 14 22 25 12 16 24 26 +7 1 hex 25 4 3 10 26 8 7 12 +8 1 hex 27 28 29 30 1 2 3 4 +9 1 hex 28 31 32 29 2 9 10 3 +10 1 hex 31 33 34 32 9 13 14 10 +11 1 hex 33 35 36 34 13 17 18 14 +12 1 hex 37 38 34 36 21 22 14 18 +13 1 hex 32 34 38 39 10 14 22 25 +14 1 hex 39 30 29 32 25 4 3 10 +1 1 quad 5 8 7 6 +2 1 quad 6 7 12 11 +3 1 quad 11 12 16 15 +4 1 quad 15 16 20 19 +5 1 quad 23 20 16 24 +6 1 quad 12 26 24 16 +7 1 quad 26 12 7 8 +8 2 quad 27 30 29 28 +9 2 quad 28 29 32 31 +10 2 quad 31 32 34 33 +11 2 quad 33 34 36 35 +12 2 quad 37 36 34 38 +13 2 quad 32 39 38 34 +14 2 quad 39 32 29 30 +15 3 quad 21 22 24 23 +16 3 quad 22 25 26 24 +17 3 quad 37 38 22 21 +18 3 quad 38 39 25 22 +19 4 quad 17 18 20 19 +20 4 quad 21 23 20 18 +21 4 quad 35 36 18 17 +22 4 quad 37 21 18 36 +23 5 quad 1 2 6 5 +24 5 quad 2 9 11 6 +25 5 quad 9 13 15 11 +26 5 quad 13 17 19 15 +27 5 quad 27 28 2 1 +28 5 quad 28 31 9 2 +29 5 quad 31 33 13 9 +30 5 quad 33 35 17 13 +31 6 quad 1 5 8 4 +32 6 quad 25 4 8 26 +33 6 quad 27 1 4 30 +34 6 quad 39 30 4 25 diff --git a/tests/mesh_converter/meshes/3d/test_cube_two_materials.cub b/tests/mesh_converter/meshes/3d/test_cube_two_materials.cub new file mode 100755 index 0000000000..abfe09593e Binary files /dev/null and b/tests/mesh_converter/meshes/3d/test_cube_two_materials.cub differ diff --git a/tests/mesh_converter/meshes/3d/test_cube_two_materials.inp b/tests/mesh_converter/meshes/3d/test_cube_two_materials.inp new file mode 100755 index 0000000000..1e329c1a61 --- /dev/null +++ b/tests/mesh_converter/meshes/3d/test_cube_two_materials.inp @@ -0,0 +1,67 @@ +*HEADING +cubit(rsion/Mesh_conversion/mesh/3d/test_cube_two_materials.inp): 01/20/2009: 07 +*NODE + 1, -1.000000e+00, -1.000000e+00, 1.000000e+00 + 2, -1.000000e+00, -1.000000e+00, 0.000000e+00 + 3, -1.000000e+00, 0.000000e+00, 0.000000e+00 + 4, -1.000000e+00, 0.000000e+00, 1.000000e+00 + 5, 0.000000e+00, -1.000000e+00, 1.000000e+00 + 6, 0.000000e+00, -1.000000e+00, 0.000000e+00 + 7, 0.000000e+00, 0.000000e+00, 0.000000e+00 + 8, 0.000000e+00, 0.000000e+00, 1.000000e+00 + 9, -1.000000e+00, -1.000000e+00, -1.000000e+00 + 10, -1.000000e+00, 0.000000e+00, -1.000000e+00 + 11, 0.000000e+00, -1.000000e+00, -1.000000e+00 + 12, 0.000000e+00, 0.000000e+00, -1.000000e+00 + 13, -1.000000e+00, 1.000000e+00, 0.000000e+00 + 14, -1.000000e+00, 1.000000e+00, 1.000000e+00 + 15, 0.000000e+00, 1.000000e+00, 0.000000e+00 + 16, 0.000000e+00, 1.000000e+00, 1.000000e+00 + 17, -1.000000e+00, 1.000000e+00, -1.000000e+00 + 18, 0.000000e+00, 1.000000e+00, -1.000000e+00 + 19, 1.000000e+00, -1.000000e+00, 1.000000e+00 + 20, 1.000000e+00, -1.000000e+00, 0.000000e+00 + 21, 1.000000e+00, 0.000000e+00, 0.000000e+00 + 22, 1.000000e+00, 0.000000e+00, 1.000000e+00 + 23, 1.000000e+00, -1.000000e+00, -1.000000e+00 + 24, 1.000000e+00, 0.000000e+00, -1.000000e+00 + 25, 1.000000e+00, 1.000000e+00, 0.000000e+00 + 26, 1.000000e+00, 1.000000e+00, 1.000000e+00 + 27, 1.000000e+00, 1.000000e+00, -1.000000e+00 +*ELEMENT, TYPE=C3D8R, ELSET=EB1 + 1, 1, 2, 3, 4, 5, 6, 7, 8 + 2, 2, 9, 10, 3, 6, 11, 12, 7 + 3, 4, 3, 13, 14, 8, 7, 15, 16 + 4, 3, 10, 17, 13, 7, 12, 18, 15 + 5, 5, 6, 7, 8, 19, 20, 21, 22 +*ELEMENT, TYPE=C3D8R, ELSET=EB2 + 6, 6, 11, 12, 7, 20, 23, 24, 21 + 7, 8, 7, 15, 16, 22, 21, 25, 26 + 8, 7, 12, 18, 15, 21, 24, 27, 25 +*SURFACE, NAME=SS1 + 1, S6 + 3, S6 + 5, S6 + 7, S6 + 3, S5 + 4, S5 + 7, S5 + 8, S5 + 1, S1 + 2, S1 + 3, S1 + 4, S1 + 1, S3 + 2, S3 + 5, S3 + 6, S3 +*SURFACE, NAME=SS2 + 2, S4 + 4, S4 + 8, S4 + 8, S2 +*SURFACE, NAME=SS3 + 5, S2 + 6, S4 + 6, S2 + 7, S2 diff --git a/tests/mesh_converter/meshes/3d/test_cube_two_materials.ucd b/tests/mesh_converter/meshes/3d/test_cube_two_materials.ucd new file mode 100755 index 0000000000..0a62d16076 --- /dev/null +++ b/tests/mesh_converter/meshes/3d/test_cube_two_materials.ucd @@ -0,0 +1,63 @@ +# FEM Mesh Converter +# Mesh type: AVS UCD +# Input file name: meshes/3d/test_cube_two_materials.inp +27 32 0 0 0 +1 -1.00000000e+00 -1.00000000e+00 1.00000000e+00 +2 -1.00000000e+00 -1.00000000e+00 0.00000000e+00 +3 -1.00000000e+00 0.00000000e+00 0.00000000e+00 +4 -1.00000000e+00 0.00000000e+00 1.00000000e+00 +5 0.00000000e+00 -1.00000000e+00 1.00000000e+00 +6 0.00000000e+00 -1.00000000e+00 0.00000000e+00 +7 0.00000000e+00 0.00000000e+00 0.00000000e+00 +8 0.00000000e+00 0.00000000e+00 1.00000000e+00 +9 -1.00000000e+00 -1.00000000e+00 -1.00000000e+00 +10 -1.00000000e+00 0.00000000e+00 -1.00000000e+00 +11 0.00000000e+00 -1.00000000e+00 -1.00000000e+00 +12 0.00000000e+00 0.00000000e+00 -1.00000000e+00 +13 -1.00000000e+00 1.00000000e+00 0.00000000e+00 +14 -1.00000000e+00 1.00000000e+00 1.00000000e+00 +15 0.00000000e+00 1.00000000e+00 0.00000000e+00 +16 0.00000000e+00 1.00000000e+00 1.00000000e+00 +17 -1.00000000e+00 1.00000000e+00 -1.00000000e+00 +18 0.00000000e+00 1.00000000e+00 -1.00000000e+00 +19 1.00000000e+00 -1.00000000e+00 1.00000000e+00 +20 1.00000000e+00 -1.00000000e+00 0.00000000e+00 +21 1.00000000e+00 0.00000000e+00 0.00000000e+00 +22 1.00000000e+00 0.00000000e+00 1.00000000e+00 +23 1.00000000e+00 -1.00000000e+00 -1.00000000e+00 +24 1.00000000e+00 0.00000000e+00 -1.00000000e+00 +25 1.00000000e+00 1.00000000e+00 0.00000000e+00 +26 1.00000000e+00 1.00000000e+00 1.00000000e+00 +27 1.00000000e+00 1.00000000e+00 -1.00000000e+00 +1 1 hex 1 2 3 4 5 6 7 8 +2 1 hex 2 9 10 3 6 11 12 7 +3 1 hex 4 3 13 14 8 7 15 16 +4 1 hex 3 10 17 13 7 12 18 15 +5 1 hex 5 6 7 8 19 20 21 22 +6 2 hex 6 11 12 7 20 23 24 21 +7 2 hex 8 7 15 16 22 21 25 26 +8 2 hex 7 12 18 15 21 24 27 25 +1 1 quad 1 5 8 4 +2 1 quad 4 8 16 14 +3 1 quad 5 19 22 8 +4 1 quad 8 22 26 16 +5 1 quad 13 14 16 15 +6 1 quad 17 13 15 18 +7 1 quad 15 16 26 25 +8 1 quad 18 15 25 27 +9 1 quad 1 4 3 2 +10 1 quad 2 3 10 9 +11 1 quad 4 14 13 3 +12 1 quad 3 13 17 10 +13 1 quad 1 2 6 5 +14 1 quad 2 9 11 6 +15 1 quad 5 6 20 19 +16 1 quad 6 11 23 20 +17 2 quad 9 10 12 11 +18 2 quad 10 17 18 12 +19 2 quad 12 18 27 24 +20 2 quad 21 25 27 24 +21 3 quad 19 22 21 20 +22 3 quad 11 12 24 23 +23 3 quad 20 21 24 23 +24 3 quad 22 26 25 21