[cig-commits] r7421 - short/3D/PyLith/trunk/examples/twocells/twohex8

willic3 at geodynamics.org willic3 at geodynamics.org
Sat Jun 23 12:47:39 PDT 2007


Author: willic3
Date: 2007-06-23 12:47:39 -0700 (Sat, 23 Jun 2007)
New Revision: 7421

Added:
   short/3D/PyLith/trunk/examples/twocells/twohex8/README
Removed:
   short/3D/PyLith/trunk/examples/twocells/twohex8/shearxy.spatialdb
Modified:
   short/3D/PyLith/trunk/examples/twocells/twohex8/twohex8.mesh
Log:
Cleaned up some documentation and added a README.



Added: short/3D/PyLith/trunk/examples/twocells/twohex8/README
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twohex8/README	2007-06-23 18:32:25 UTC (rev 7420)
+++ short/3D/PyLith/trunk/examples/twocells/twohex8/README	2007-06-23 19:47:39 UTC (rev 7421)
@@ -0,0 +1,53 @@
+This directory contains a set of 3 3D viscoelastic example problems.
+All problems share the same mesh and material properties, with the
+only differences being in the boundary conditions.  The mesh consists
+of two hexahedral elements.  All of these examples are run for 10 time
+steps (0.1 year steps), plus the elastic solution.  The information
+describing the examples may be divided into four groups:
+
+1.  Global mesh information:  described in file twohex4.mesh
+
+2.  Parameter settings common to all examples:  described in file
+pylithapp.cfg.
+
+3.  Material properties common to all examples:  described in the
+database file matprops.cfg.
+
+4.  Example-specific parameters and boundary condition specifications.
+
+The examples and associated files are:
+
+1.  axialdisp:  Axial displacements are applied to the left and right
+sides of the mesh.
+  a.  axialdisp.cfg:  Parameter settings for this problem.
+  b.  axialdisp.spatialdb:  Boundary condition database for this
+      problem.
+
+2.  sheardisp:  Shear displacements are applied to the left and right
+sides of the mesh.
+  a.  sheardisp.cfg:  Parameter settings for this problem.
+  b.  sheardisp.spatialdb:  Boundary condition database for this
+      problem.
+
+3.  dislocation:  Fault displacements are applied between the two
+elements, while the left and right corners are fixed in x, y, and z.
+  a.  dislocation.cfg:  Parameter settings for this problem.
+  b.  dislocation.spatialdb:  Boundary condition database for this
+      problem.
+  c.  dislocation_disp.spatialdb:  Fault slip database for this problem.
+  d.  dislocation_sliprate.spatialdb:  Fault slip rate database for this
+      problem.
+  e.  dislocation_sliptime.spatialdb:  Fault slip time database for this
+      problem.
+
+All of the files are documented.  The 'pylithapp.cfg' file is read
+automatically when running PyLith.  To add to or override these
+settings, you may place an additional .cfg file on the command line.
+To run the examples, you can type:
+pylith axialdisp.cfg
+pylith sheardisp.cfg
+pylith dislocation.cfg
+
+Each of these commands will produce a set of VTK files (one for each
+time step), which may be viewed with visualization packages such as
+ParaView or Mayavi.

Deleted: short/3D/PyLith/trunk/examples/twocells/twohex8/shearxy.spatialdb
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twohex8/shearxy.spatialdb	2007-06-23 18:32:25 UTC (rev 7420)
+++ short/3D/PyLith/trunk/examples/twocells/twohex8/shearxy.spatialdb	2007-06-23 19:47:39 UTC (rev 7421)
@@ -1,44 +0,0 @@
-#SPATIAL.ascii 1
-
-// This database is used to specify the boundary conditions for the shear
-// displacement example.
-
-// This follows the format for a Simple DB (the only type presently available).
-SimpleDB {
-
-  // There are two values specified in the database, corresponding to the
-  // constraint values for the x (dof-0) and y (dof-1) degrees of freedom.
-  num-values = 2
-  value-names =  dof-0  dof-1
-
-  // The constraint values (displacements) have units of meters.
-  value-units =  m  m
-
-  // The values are specified at two spatial locations (two edges).
-  num-locs = 2
-
-  // The dimension of the spatial distribution is 1, since data is being
-  // specified at points.
-  data-dim = 1
-
-  // The spatial dimension of the database is 2.
-  space-dim = 2
-
-  // We are specifying the data in a Cartesian coordinate system.
-  cs-data = cartesian {
-
-    // Our units are already in meters, so we can just multiply by one.
-    to-meters = 1.0
-
-    // We are using a 2D Cartesian coordinate system.
-    space-dim = 2
-  }
-}
-
-// This is where the data is specified.
-// As described in sheardisp.cfg, this database will be used to specify
-// data along an edge (pylith.bc.BCFourSides).
-// The entries are:
-// X-coord, Y-coord, dof-0 (x constraint), dof-1 (y constraint).
--2.0  0.0    0.0  -0.01
-+2.0  0.0    0.0  +0.01

Modified: short/3D/PyLith/trunk/examples/twocells/twohex8/twohex8.mesh
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twohex8/twohex8.mesh	2007-06-23 18:32:25 UTC (rev 7420)
+++ short/3D/PyLith/trunk/examples/twocells/twohex8/twohex8.mesh	2007-06-23 19:47:39 UTC (rev 7421)
@@ -80,7 +80,6 @@
     }
   }
 
-
   // This group of vertices may be used to specify boundary conditions.
   // There are 4 vertices corresponding to indices 0, 1, 6, and 7.
   group = {



More information about the cig-commits mailing list