[cig-commits] r7333 - short/3D/PyLith/trunk/tests/3d/tet4

brad at geodynamics.org brad at geodynamics.org
Wed Jun 20 16:54:08 PDT 2007


Author: brad
Date: 2007-06-20 16:54:07 -0700 (Wed, 20 Jun 2007)
New Revision: 7333

Modified:
   short/3D/PyLith/trunk/tests/3d/tet4/dislocation.cfg
   short/3D/PyLith/trunk/tests/3d/tet4/dislocation_slip.spatialdb
   short/3D/PyLith/trunk/tests/3d/tet4/twocells.mesh
Log:
Fixed two cell tet4 dislocation test (need to constrain z dDOF).

Modified: short/3D/PyLith/trunk/tests/3d/tet4/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/dislocation.cfg	2007-06-20 23:53:10 UTC (rev 7332)
+++ short/3D/PyLith/trunk/tests/3d/tet4/dislocation.cfg	2007-06-20 23:54:07 UTC (rev 7333)
@@ -31,11 +31,11 @@
 # problem
 # ----------------------------------------------------------------------
 [pylithapp.timedependent]
-total_time = 0.0*s
+total_time = 1.0*s
 default_dt = 1.0*s
 dimension = 3
 formulation = pylith.problems.Implicit
-bc = pylith.bc.BCSingle
+bc = pylith.bc.BCTwoSides
 interfaces = pylith.faults.SingleFault
 
 # ----------------------------------------------------------------------
@@ -54,13 +54,18 @@
 # ----------------------------------------------------------------------
 # boundary conditions
 # ----------------------------------------------------------------------
-[pylithapp.timedependent.bc.bc]
-fixed_dof = [0, 1, 2]
-id = 10
+[pylithapp.timedependent.bc.pos]
+fixed_dof = [1]
 label = end points
 db.label = Dirichlet BC
 db.iohandler.filename = dislocation_disp.spatialdb
 
+[pylithapp.timedependent.bc.neg]
+fixed_dof = [0, 2]
+label = bottom surface
+db.label = Dirichlet BC
+db.iohandler.filename = dislocation_disp.spatialdb
+
 # ----------------------------------------------------------------------
 # faults
 # ----------------------------------------------------------------------
@@ -72,6 +77,7 @@
 label = fault
 quadrature = pylith.feassemble.quadrature.Quadrature2Din3D
 quadrature.cell.shape = triangle
+mat_db.iohandler.filename = matprops.spatialdb
 
 [pylithapp.timedependent.interfaces.fault.eq_src.slip_function]
 slip.iohandler.filename = dislocation_slip.spatialdb
@@ -84,6 +90,11 @@
 # ----------------------------------------------------------------------
 [pylithapp.petsc]
 pc_type = jacobi
+ksp_monitor = true
+ksp_view = true
+log_summary = true
+ksp_max_it = 500
+ksp_gmres_restart = 5000
 
 # ----------------------------------------------------------------------
 # output

Modified: short/3D/PyLith/trunk/tests/3d/tet4/dislocation_slip.spatialdb
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/dislocation_slip.spatialdb	2007-06-20 23:53:10 UTC (rev 7332)
+++ short/3D/PyLith/trunk/tests/3d/tet4/dislocation_slip.spatialdb	2007-06-20 23:54:07 UTC (rev 7333)
@@ -11,4 +11,4 @@
     space-dim = 3
   }
 }
-0.0  0.0  0.0   1.0  0.5  0.0
+0.0  0.0  0.0   1.0  0.0  0.0

Modified: short/3D/PyLith/trunk/tests/3d/tet4/twocells.mesh
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/twocells.mesh	2007-06-20 23:53:10 UTC (rev 7332)
+++ short/3D/PyLith/trunk/tests/3d/tet4/twocells.mesh	2007-06-20 23:54:07 UTC (rev 7333)
@@ -43,4 +43,15 @@
       4
     }
   }
+  group = {
+    name = bottom surface
+    type = vertices
+    count = 4
+    indices = {
+      0
+      1
+      3
+      4
+    }
+  }
 }



More information about the cig-commits mailing list