[cig-commits] r19510 - short/3D/PyLith/trunk/tests/3d/plasticity/dynamic

brad at geodynamics.org brad at geodynamics.org
Sat Jan 28 16:26:43 PST 2012


Author: brad
Date: 2012-01-28 16:26:43 -0800 (Sat, 28 Jan 2012)
New Revision: 19510

Added:
   short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4.cfg
   short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4.mesh
   short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4_pwave.cfg
   short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4_swave.cfg
Modified:
   short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/pylithapp.cfg
   short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/runtests.sh
Log:
Added tet4 cases for dynamic plasticity test.

Modified: short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/pylithapp.cfg	2012-01-28 21:33:23 UTC (rev 19509)
+++ short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/pylithapp.cfg	2012-01-29 00:26:43 UTC (rev 19510)
@@ -34,6 +34,7 @@
 [pylithapp.timedependent]
 materials = [elastic]
 materials.elastic = pylith.materials.DruckerPrager3D
+materials.elastic.fit_mohr_coulomb = middle
 
 [pylithapp.timedependent.materials.elastic]
 label = Elastic material

Modified: short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/runtests.sh
===================================================================
--- short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/runtests.sh	2012-01-28 21:33:23 UTC (rev 19509)
+++ short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/runtests.sh	2012-01-29 00:26:43 UTC (rev 19510)
@@ -6,8 +6,8 @@
 pylith hex8.cfg pwave.cfg hex8_pwave.cfg
 plot_data.py hex8 pwave &
 
-#pylith tet4.cfg swave.cfg tet4_swave.cfg
-#plot_data.py tet4 swave &
+pylith tet4.cfg swave.cfg tet4_swave.cfg
+plot_data.py tet4 swave &
 
-#pylith tet4.cfg pwave.cfg tet4_pwave.cfg
-#plot_data.py tet4 pwave &
+pylith tet4.cfg pwave.cfg tet4_pwave.cfg
+plot_data.py tet4 pwave &

Added: short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4.cfg	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4.cfg	2012-01-29 00:26:43 UTC (rev 19510)
@@ -0,0 +1,25 @@
+# -*- Python -*-
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# problem
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+formulation = pylith.problems.ExplicitLumpedTet4
+
+# ----------------------------------------------------------------------
+# mesh_generator
+# ----------------------------------------------------------------------
+[pylithapp.mesh_generator.reader]
+filename = tet4.mesh
+coordsys.space_dim = 3
+
+# ----------------------------------------------------------------------
+# materials
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.materials.elastic]
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.shape = tetrahedron
+
+
+# End of file

Added: short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4.mesh
===================================================================
--- short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4.mesh	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4.mesh	2012-01-29 00:26:43 UTC (rev 19510)
@@ -0,0 +1,41 @@
+mesh = {
+  dimension = 3
+  use-index-zero = true
+  vertices = {
+    dimension = 3
+    count = 4
+    coordinates = {
+             0      0.0  0.0  0.0
+             1      0.0  1.0  0.0
+             2      0.0  0.0  1.0
+             3      1.0  0.0  0.0
+    }
+  }
+  cells = {
+    count = 1
+    num-corners = 4
+    simplices = {
+             0       0  1  2  3
+    }
+    material-ids = {
+             0   1
+    }
+  }
+
+  group = {
+    name = xneg
+    type = vertices
+    count = 3
+    indices = {
+      0  1  2
+    }
+  }
+  group = {
+    name = xpos
+    type = vertices
+    count = 1
+    indices = {
+      3
+    }
+  }
+}

Added: short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4_pwave.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4_pwave.cfg	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4_pwave.cfg	2012-01-29 00:26:43 UTC (rev 19510)
@@ -0,0 +1,14 @@
+# -*- Python -*-
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# output
+# ----------------------------------------------------------------------
+[pylithapp.problem.formulation.output.domain]
+writer.filename = tet4_pwave.h5
+
+[pylithapp.timedependent.materials.elastic.output]
+writer.filename = tet4_pwave-statevars.h5
+
+
+# End of file

Added: short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4_swave.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4_swave.cfg	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/3d/plasticity/dynamic/tet4_swave.cfg	2012-01-29 00:26:43 UTC (rev 19510)
@@ -0,0 +1,14 @@
+# -*- Python -*-
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# output
+# ----------------------------------------------------------------------
+[pylithapp.problem.formulation.output.domain]
+writer.filename = tet4_swave.h5
+
+[pylithapp.timedependent.materials.elastic.output]
+writer.filename = tet4_swave-statevars.h5
+
+
+# End of file



More information about the CIG-COMMITS mailing list