[cig-commits] r15947 - short/3D/PyLith/branches/pylith-friction/playpen/friction

surendra at geodynamics.org surendra at geodynamics.org
Tue Nov 10 16:44:18 PST 2009


Author: surendra
Date: 2009-11-10 16:44:18 -0800 (Tue, 10 Nov 2009)
New Revision: 15947

Modified:
   short/3D/PyLith/branches/pylith-friction/playpen/friction/twoquad4-opening.cfg
   short/3D/PyLith/branches/pylith-friction/playpen/friction/twoquad4-opening.mesh
Log:
Made changes to opening.cfg and opening.mesh files in plyapen/friction/ directory

Modified: short/3D/PyLith/branches/pylith-friction/playpen/friction/twoquad4-opening.cfg
===================================================================
--- short/3D/PyLith/branches/pylith-friction/playpen/friction/twoquad4-opening.cfg	2009-11-10 04:34:49 UTC (rev 15946)
+++ short/3D/PyLith/branches/pylith-friction/playpen/friction/twoquad4-opening.cfg	2009-11-11 00:44:18 UTC (rev 15947)
@@ -60,8 +60,8 @@
 formulation = pylith.problems.Implicit
 formulation.solver = pylith.problems.SolverNonlinear
 
-# Set bc to an array with 3 boundary conditions: 'x_neg', 'x_pos_disp', 'x_pos_tract'
-bc = [x_neg,y_neg,x_pos]
+# Set bc to an array with 2 boundary conditions: 'x_neg', 'x_pos'
+bc = [x_neg,x_pos]
 bc.x_pos=pylith.bc.DirichletBoundary
 
 # Set interfaces to an array with 1 fault: 'fault'.
@@ -106,28 +106,18 @@
 # Boundary conditions to be applied to the negative x-side of the mesh.
 [pylithapp.timedependent.bc.x_neg]
 
-# We are fixing the 0 (x) degree of freedom.
-bc_dof = [0]
+# We are fixing the 0 (x) and 1 (y) degree of freedom.
+bc_dof = [0,1]
 
 # The nodes associated with this boundary condition have the name
 # 'x_neg' in the mesh file.
 label = x_neg
 
-# Boundary conditions to be applied to the negative y-side of the mesh.
-[pylithapp.timedependent.bc.y_neg]
-
-# We are fixing the 1 (y) degree of freedom.
-bc_dof = [1]
-
-# The nodes associated with this boundary condition have the name
-# 'x_pos' in the mesh file.
-label = y_neg
-
 # Boundary conditions to be applied to the positive x-side of the mesh.
 [pylithapp.timedependent.bc.x_pos]
 
-# We are fixing the 0 (x) degree of freedom.
-bc_dof = [0]
+# We are fixing the 0 (x) and 1 (y) degree of freedom.
+bc_dof = [0,1]
 
 # The nodes associated with this boundary condition have the name
 # 'x_pos' in the mesh file.
@@ -170,7 +160,7 @@
 db_initial_tractions = spatialdata.spatialdb.UniformDB
 db_initial_tractions.label = "Initial fault tractions"
 db_initial_tractions.values = [traction-shear,traction-normal]
-db_initial_tractions.data = [0.0*Pa, -10000.0*MPa]
+db_initial_tractions.data = [0.0*Pa, 0.0*MPa]
 
 # ----------------------------------------------------------------------
 # PETSc

Modified: short/3D/PyLith/branches/pylith-friction/playpen/friction/twoquad4-opening.mesh
===================================================================
--- short/3D/PyLith/branches/pylith-friction/playpen/friction/twoquad4-opening.mesh	2009-11-10 04:34:49 UTC (rev 15946)
+++ short/3D/PyLith/branches/pylith-friction/playpen/friction/twoquad4-opening.mesh	2009-11-11 00:44:18 UTC (rev 15947)
@@ -2,9 +2,9 @@
 //
 //
 //  1 ----- 3 ----- 5
-//  |             |             |
-//  |		    |		  |
-//  |             |             |
+//  |       |       |
+//  |       |       |
+//  |       |       |
 //  0 ----- 2 ----- 4
 //
 // Each edge has a length of 2.0.
@@ -88,9 +88,11 @@
   group = {
     name = y_neg
     type = vertices
-    count = 1
+    count = 3
     indices = {
-      0
+      0 
+      2
+      4
     }
   }
 



More information about the CIG-COMMITS mailing list