[cig-commits] r7101 - short/3D/PyLith/trunk/tests/2d/quad4

brad at geodynamics.org brad at geodynamics.org
Fri Jun 8 11:00:52 PDT 2007


Author: brad
Date: 2007-06-08 11:00:52 -0700 (Fri, 08 Jun 2007)
New Revision: 7101

Added:
   short/3D/PyLith/trunk/tests/2d/quad4/shearplanestrain_free.cfg
   short/3D/PyLith/trunk/tests/2d/quad4/shearplanestrain_xfixed.cfg
Modified:
   short/3D/PyLith/trunk/tests/2d/quad4/Makefile.am
Log:
Added a couple cfg files to help debug.

Modified: short/3D/PyLith/trunk/tests/2d/quad4/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/tests/2d/quad4/Makefile.am	2007-06-08 18:00:17 UTC (rev 7100)
+++ short/3D/PyLith/trunk/tests/2d/quad4/Makefile.am	2007-06-08 18:00:52 UTC (rev 7101)
@@ -21,6 +21,8 @@
 	box.exo \
 	axialplanestrain.cfg \
 	shearplanestrain.cfg \
+	shearplanestrain_free.cfg \
+	shearplanestrain_xfixed.cfg \
 	axialx.spatialdb \
 	axialy.spatialdb \
 	shearxy.spatialdb \

Added: short/3D/PyLith/trunk/tests/2d/quad4/shearplanestrain_free.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/2d/quad4/shearplanestrain_free.cfg	2007-06-08 18:00:17 UTC (rev 7100)
+++ short/3D/PyLith/trunk/tests/2d/quad4/shearplanestrain_free.cfg	2007-06-08 18:00:52 UTC (rev 7101)
@@ -0,0 +1,81 @@
+# -*- Python -*-
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# journal
+# ----------------------------------------------------------------------
+[pylithapp.journal.info]
+timedependent = 1
+explicit = 1
+implicit = 1
+petsc = 1
+solverlinear = 1
+meshioascii = 1
+homogeneous = 1
+explicitelasticity = 1
+quadrature2d = 1
+fiatlagrange = 1
+
+# ----------------------------------------------------------------------
+# mesh_generator
+# ----------------------------------------------------------------------
+[pylithapp.mesh_generator]
+debug = 1
+importer = pylith.meshio.MeshIOCubit
+
+[pylithapp.mesh_generator.importer]
+filename = box.exo
+coordsys.space_dim = 2
+
+# ----------------------------------------------------------------------
+# problem
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+total_time = 0.0*s
+default_dt = 1.0*s
+dimension = 2
+formulation = pylith.problems.Implicit
+bc = pylith.problems.BCQuadrilateral
+
+# ----------------------------------------------------------------------
+# materials
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.materials]
+material = pylith.materials.ElasticPlaneStrain
+
+[pylithapp.timedependent.materials.material]
+label = elastic material
+id = 1
+db.iohandler.filename = matprops.spatialdb
+quadrature = pylith.feassemble.quadrature.Quadrature2D
+quadrature.cell = pylith.feassemble.FIATLagrange
+quadrature.cell.dimension = 2
+
+# ----------------------------------------------------------------------
+# boundary conditions
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.bc.x_neg]
+fixed_dof = [0, 1]
+id = 10
+label = 10
+db.label = Dirichlet BC -x edge
+db.iohandler.filename = shearxy.spatialdb
+
+[pylithapp.timedependent.bc.x_pos]
+fixed_dof = [0, 1]
+id = 11
+label = 11
+db.label = Dirichlet BC +x edge
+db.iohandler.filename = shearxy.spatialdb
+
+# ----------------------------------------------------------------------
+# PETSc
+# ----------------------------------------------------------------------
+[pylithapp.petsc]
+pc_type = jacobi
+
+# ----------------------------------------------------------------------
+# output
+# ----------------------------------------------------------------------
+[pylithapp.problem.formulation.output.output]
+filename = shearplanestrain_free.vtk

Added: short/3D/PyLith/trunk/tests/2d/quad4/shearplanestrain_xfixed.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/2d/quad4/shearplanestrain_xfixed.cfg	2007-06-08 18:00:17 UTC (rev 7100)
+++ short/3D/PyLith/trunk/tests/2d/quad4/shearplanestrain_xfixed.cfg	2007-06-08 18:00:52 UTC (rev 7101)
@@ -0,0 +1,97 @@
+# -*- Python -*-
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# journal
+# ----------------------------------------------------------------------
+[pylithapp.journal.info]
+timedependent = 1
+explicit = 1
+implicit = 1
+petsc = 1
+solverlinear = 1
+meshioascii = 1
+homogeneous = 1
+explicitelasticity = 1
+quadrature2d = 1
+fiatlagrange = 1
+
+# ----------------------------------------------------------------------
+# mesh_generator
+# ----------------------------------------------------------------------
+[pylithapp.mesh_generator]
+debug = 1
+importer = pylith.meshio.MeshIOCubit
+
+[pylithapp.mesh_generator.importer]
+filename = box.exo
+coordsys.space_dim = 2
+
+# ----------------------------------------------------------------------
+# problem
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+total_time = 0.0*s
+default_dt = 1.0*s
+dimension = 2
+formulation = pylith.problems.Implicit
+bc = pylith.problems.BCQuadrilateral
+
+# ----------------------------------------------------------------------
+# materials
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.materials]
+material = pylith.materials.ElasticPlaneStrain
+
+[pylithapp.timedependent.materials.material]
+label = elastic material
+id = 1
+db.iohandler.filename = matprops.spatialdb
+quadrature = pylith.feassemble.quadrature.Quadrature2D
+quadrature.cell = pylith.feassemble.FIATLagrange
+quadrature.cell.dimension = 2
+
+# ----------------------------------------------------------------------
+# boundary conditions
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.bc.x_neg]
+fixed_dof = [0, 1]
+id = 10
+label = 10
+db.label = Dirichlet BC -x edge
+db.iohandler.filename = shearxy.spatialdb
+
+[pylithapp.timedependent.bc.x_pos]
+fixed_dof = [0, 1]
+id = 11
+label = 11
+db.label = Dirichlet BC +x edge
+db.iohandler.filename = shearxy.spatialdb
+
+[pylithapp.timedependent.bc.y_pos]
+fixed_dof = [0]
+id = 12
+label = 12
+db.label = Dirichlet BC +y edge
+db.iohandler.filename = shearxy.spatialdb
+db.query_type = linear
+
+[pylithapp.timedependent.bc.y_neg]
+fixed_dof = [0]
+id = 13
+label = 13
+db.label = Dirichlet BC -y edge
+db.iohandler.filename = shearxy.spatialdb
+db.query_type = linear
+
+# ----------------------------------------------------------------------
+# PETSc
+# ----------------------------------------------------------------------
+[pylithapp.petsc]
+pc_type = jacobi
+
+# ----------------------------------------------------------------------
+# output
+# ----------------------------------------------------------------------
+[pylithapp.problem.formulation.output.output]
+filename = shearplanestrain_xfixed.vtk



More information about the cig-commits mailing list