[cig-commits] r7417 - short/3D/PyLith/trunk/examples/3d/tet4

brad at geodynamics.org brad at geodynamics.org
Sat Jun 23 00:00:31 PDT 2007


Author: brad
Date: 2007-06-23 00:00:30 -0700 (Sat, 23 Jun 2007)
New Revision: 7417

Added:
   short/3D/PyLith/trunk/examples/3d/tet4/pylithapp.cfg
Removed:
   short/3D/PyLith/trunk/examples/3d/tet4/tet4_1000m.cfg
Modified:
   short/3D/PyLith/trunk/examples/3d/tet4/dislocation.cfg
   short/3D/PyLith/trunk/examples/3d/tet4/shearxy.cfg
Log:
Switched to using pylithapp.cfg file as in other examples.

Modified: short/3D/PyLith/trunk/examples/3d/tet4/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/tet4/dislocation.cfg	2007-06-23 06:57:30 UTC (rev 7416)
+++ short/3D/PyLith/trunk/examples/3d/tet4/dislocation.cfg	2007-06-23 07:00:30 UTC (rev 7417)
@@ -4,10 +4,10 @@
 # This is not a self-contained simulation configuration file. This
 # file only specifies parameters specific to the boundary and
 # interface conditions. The general parameters are specificed in the
-# tet4_1000m file.
+# pylithapp.cfg file which is read by default.
 #
 # To run the simulation:
-# pylith tet4_1000m.cfg dislocation.cfg
+# pylith dislocation.cfg
 
 # ----------------------------------------------------------------------
 # problem

Copied: short/3D/PyLith/trunk/examples/3d/tet4/pylithapp.cfg (from rev 7415, short/3D/PyLith/trunk/examples/3d/tet4/tet4_1000m.cfg)
===================================================================
--- short/3D/PyLith/trunk/examples/3d/tet4/tet4_1000m.cfg	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/3d/tet4/pylithapp.cfg	2007-06-23 07:00:30 UTC (rev 7417)
@@ -0,0 +1,92 @@
+# -*- Python -*-
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# journal
+# ----------------------------------------------------------------------
+# Turn on some journals to show progress.
+[pylithapp.journal.info]
+timedependent = 1
+implicit = 1
+petsc = 1
+solverlinear = 1
+meshiocubit = 1
+implicitelasticity = 1
+faultcohesivekin = 1
+#quadrature3d = 1
+#fiatsimplex = 1
+
+# ----------------------------------------------------------------------
+# mesh_generator
+# ----------------------------------------------------------------------
+[pylithapp.mesh_generator]
+#debug = 1   ; uncomment to get very verbose mesh information
+
+# Change the default mesh importer to the LaGriT importer.
+importer = pylith.meshio.MeshIOLagrit
+
+[pylithapp.mesh_generator.importer]
+# Set filenames of mesh and pset files to import.
+filename_gmv = tet4_1000m_binary.gmv
+filename_pset = tet4_1000m_binary.pset
+
+# ----------------------------------------------------------------------
+# materials
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+# Use the local (user-defined) 4 item materials container
+materials = fourmaterials
+
+[pylithapp.timedependent.materials]
+# Change the default material properties for the viscoelatic materials
+# to elastic materials
+viscoelastic_neg = pylith.materials.ElasticIsotropic3D
+viscoelastic_pos = pylith.materials.ElasticIsotropic3D
+
+# The lines below set the parameters for each material in the
+# materials container.
+
+[pylithapp.timedependent.materials.elastic_pos]
+label = Elastic material +x
+id = 1
+db.iohandler.filename = mat_elastic.spatialdb
+quadrature = pylith.feassemble.quadrature.Quadrature3D
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.shape = tetrahedron
+
+[pylithapp.timedependent.materials.elastic_neg]
+label = Elastic material -x
+id = 2
+db.iohandler.filename = mat_elastic.spatialdb
+quadrature = pylith.feassemble.quadrature.Quadrature3D
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.shape = tetrahedron
+
+[pylithapp.timedependent.materials.viscoelastic_pos]
+label = Viscoelastic material +x
+id = 3
+db.iohandler.filename = mat_elastic.spatialdb
+quadrature = pylith.feassemble.quadrature.Quadrature3D
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.shape = tetrahedron
+
+[pylithapp.timedependent.materials.viscoelastic_neg]
+label = Viscoelastic material -x
+id = 4
+db.iohandler.filename = mat_elastic.spatialdb
+quadrature = pylith.feassemble.quadrature.Quadrature3D
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.shape = tetrahedron
+
+# ----------------------------------------------------------------------
+# PETSc
+# ----------------------------------------------------------------------
+# Set the solver options.
+
+[pylithapp.petsc]
+pc_type = bjacobi
+ksp_monitor = true
+ksp_view = true
+#log_summary = true
+ksp_max_it = 500
+ksp_gmres_restart = 5000

Modified: short/3D/PyLith/trunk/examples/3d/tet4/shearxy.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/tet4/shearxy.cfg	2007-06-23 06:57:30 UTC (rev 7416)
+++ short/3D/PyLith/trunk/examples/3d/tet4/shearxy.cfg	2007-06-23 07:00:30 UTC (rev 7417)
@@ -4,11 +4,11 @@
 
 # This is not a self-contained simulation configuration file. This
 # file only specifies parameters specific to the boundary
-# conditions. The general parameters are specificed in the tet4_1000m
-# file.
+# conditions. The general parameters are specificed in the pylithapp.cfg
+# file which is read by default.
 #
 # To run the simulation:
-# pylith tet4_1000m.cfg shearxy.cfg
+# pylith cfg shearxy.cfg
 
 # ----------------------------------------------------------------------
 # problem

Deleted: short/3D/PyLith/trunk/examples/3d/tet4/tet4_1000m.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/tet4/tet4_1000m.cfg	2007-06-23 06:57:30 UTC (rev 7416)
+++ short/3D/PyLith/trunk/examples/3d/tet4/tet4_1000m.cfg	2007-06-23 07:00:30 UTC (rev 7417)
@@ -1,92 +0,0 @@
-# -*- Python -*-
-[pylithapp]
-
-# ----------------------------------------------------------------------
-# journal
-# ----------------------------------------------------------------------
-# Turn on some journals to show progress.
-[pylithapp.journal.info]
-timedependent = 1
-implicit = 1
-petsc = 1
-solverlinear = 1
-meshiocubit = 1
-implicitelasticity = 1
-faultcohesivekin = 1
-#quadrature3d = 1
-#fiatsimplex = 1
-
-# ----------------------------------------------------------------------
-# mesh_generator
-# ----------------------------------------------------------------------
-[pylithapp.mesh_generator]
-#debug = 1   ; uncomment to get very verbose mesh information
-
-# Change the default mesh importer to the LaGriT importer.
-importer = pylith.meshio.MeshIOLagrit
-
-[pylithapp.mesh_generator.importer]
-# Set filenames of mesh and pset files to import.
-filename_gmv = tet4_1000m_binary.gmv
-filename_pset = tet4_1000m_binary.pset
-
-# ----------------------------------------------------------------------
-# materials
-# ----------------------------------------------------------------------
-[pylithapp.timedependent]
-# Use the local (user-defined) 4 item materials container
-materials = fourmaterials
-
-[pylithapp.timedependent.materials]
-# Change the default material properties for the viscoelatic materials
-# to elastic materials
-viscoelastic_neg = pylith.materials.ElasticIsotropic3D
-viscoelastic_pos = pylith.materials.ElasticIsotropic3D
-
-# The lines below set the parameters for each material in the
-# materials container.
-
-[pylithapp.timedependent.materials.elastic_pos]
-label = Elastic material +x
-id = 1
-db.iohandler.filename = mat_elastic.spatialdb
-quadrature = pylith.feassemble.quadrature.Quadrature3D
-quadrature.cell = pylith.feassemble.FIATSimplex
-quadrature.cell.shape = tetrahedron
-
-[pylithapp.timedependent.materials.elastic_neg]
-label = Elastic material -x
-id = 2
-db.iohandler.filename = mat_elastic.spatialdb
-quadrature = pylith.feassemble.quadrature.Quadrature3D
-quadrature.cell = pylith.feassemble.FIATSimplex
-quadrature.cell.shape = tetrahedron
-
-[pylithapp.timedependent.materials.viscoelastic_pos]
-label = Viscoelastic material +x
-id = 3
-db.iohandler.filename = mat_elastic.spatialdb
-quadrature = pylith.feassemble.quadrature.Quadrature3D
-quadrature.cell = pylith.feassemble.FIATSimplex
-quadrature.cell.shape = tetrahedron
-
-[pylithapp.timedependent.materials.viscoelastic_neg]
-label = Viscoelastic material -x
-id = 4
-db.iohandler.filename = mat_elastic.spatialdb
-quadrature = pylith.feassemble.quadrature.Quadrature3D
-quadrature.cell = pylith.feassemble.FIATSimplex
-quadrature.cell.shape = tetrahedron
-
-# ----------------------------------------------------------------------
-# PETSc
-# ----------------------------------------------------------------------
-# Set the solver options.
-
-[pylithapp.petsc]
-pc_type = bjacobi
-ksp_monitor = true
-ksp_view = true
-log_summary = false
-ksp_max_it = 500
-ksp_gmres_restart = 5000



More information about the cig-commits mailing list