[cig-commits] r21079 - short/3D/PyLith/branches/v1.8-stable/tests/2d/nonplanar

brad at geodynamics.org brad at geodynamics.org
Tue Nov 27 12:09:44 PST 2012


Author: brad
Date: 2012-11-27 12:09:43 -0800 (Tue, 27 Nov 2012)
New Revision: 21079

Added:
   short/3D/PyLith/branches/v1.8-stable/tests/2d/nonplanar/pylithapp.cfg
Log:
Added cfg file.

Added: short/3D/PyLith/branches/v1.8-stable/tests/2d/nonplanar/pylithapp.cfg
===================================================================
--- short/3D/PyLith/branches/v1.8-stable/tests/2d/nonplanar/pylithapp.cfg	                        (rev 0)
+++ short/3D/PyLith/branches/v1.8-stable/tests/2d/nonplanar/pylithapp.cfg	2012-11-27 20:09:43 UTC (rev 21079)
@@ -0,0 +1,208 @@
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# PROBLEM DESCRIPTION
+# ----------------------------------------------------------------------
+
+# Spontaneous rupture on a curved fault. Rupture occurs simultaneously
+# across entire fault.
+
+# ----------------------------------------------------------------------
+# RUNNING THE SIMULATION
+# ----------------------------------------------------------------------
+
+# This is a self-contained simulation configuration file.
+#
+# To run the simulation:
+# pylith
+
+# ----------------------------------------------------------------------
+# journal
+# ----------------------------------------------------------------------
+[pylithapp.journal.info]
+timedependent = 1
+explicit = 1
+meshiocubit = 1
+meshimporter = 1
+elasticityexplicit = 1
+faultcohesivedyn = 1
+
+# ----------------------------------------------------------------------
+# mesh_generator
+# ----------------------------------------------------------------------
+[pylithapp.mesh_generator]
+reader = pylith.meshio.MeshIOCubit
+
+[pylithapp.mesh_generator.reader]
+filename = mesh.exo
+coordsys.space_dim = 2
+
+# ----------------------------------------------------------------------
+# problem
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+dimension = 2
+
+formulation = pylith.problems.ExplicitTri3
+
+normalizer = spatialdata.units.NondimElasticDynamic
+
+[pylithapp.timedependent.formulation.time_step]
+total_time = 4.0*s
+dt = 0.05*s
+
+# ----------------------------------------------------------------------
+# materials
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+materials = [inner,outer]
+materials.inner = pylith.materials.ElasticPlaneStrain
+materials.outer = pylith.materials.ElasticPlaneStrain
+
+[pylithapp.timedependent.materials.inner]
+label = Elastic material
+id = 1
+
+db_properties = spatialdata.spatialdb.UniformDB
+db_properties.label = Elastic properties
+db_properties.values = [vp, vs, density]
+db_properties.data = [5196.0*m/s, 3000.0*m/s, 2500.0*m/2]
+
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.dimension = 2
+quadrature.cell.quad_order = 1
+
+[pylithapp.timedependent.materials.outer]
+label = Elastic material
+id = 2
+
+db_properties = spatialdata.spatialdb.UniformDB
+db_properties.label = Elastic properties
+db_properties.values = [vp, vs, density]
+db_properties.data = [5196.0*m/s, 3000.0*m/s, 2500.0*m/2]
+
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.dimension = 2
+quadrature.cell.quad_order = 1
+
+# ----------------------------------------------------------------------
+# boundary conditions
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+bc = [north,south,east,west]
+bc.north = pylith.bc.AbsorbingDampers
+bc.south = pylith.bc.AbsorbingDampers
+bc.east = pylith.bc.AbsorbingDampers
+bc.west = pylith.bc.AbsorbingDampers
+
+[pylithapp.timedependent.bc.north]
+label = bndry_north
+
+db = spatialdata.spatialdb.UniformDB
+db.label = Elastic properties
+db.values = [vp, vs, density]
+db.data = [5196.0*m/s, 3000.0*m/s, 2500.0*m/2]
+
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.dimension = 1
+quadrature.cell.quad_order = 2
+
+[pylithapp.timedependent.bc.south]
+label = bndry_south
+
+db = spatialdata.spatialdb.UniformDB
+db.label = Elastic properties
+db.values = [vp, vs, density]
+db.data = [5196.0*m/s, 3000.0*m/s, 2500.0*m/2]
+
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.dimension = 1
+quadrature.cell.quad_order = 2
+
+[pylithapp.timedependent.bc.east]
+label = bndry_east
+
+db = spatialdata.spatialdb.UniformDB
+db.label = Elastic properties
+db.values = [vp, vs, density]
+db.data = [5196.0*m/s, 3000.0*m/s, 2500.0*m/2]
+
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.dimension = 1
+quadrature.cell.quad_order = 2
+
+[pylithapp.timedependent.bc.west]
+label = bndry_west
+
+db = spatialdata.spatialdb.UniformDB
+db.label = Elastic properties
+db.values = [vp, vs, density]
+db.data = [5196.0*m/s, 3000.0*m/s, 2500.0*m/2]
+
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.dimension = 1
+quadrature.cell.quad_order = 2
+
+# ----------------------------------------------------------------------
+# faults
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+interfaces = [fault]
+interfaces.fault = pylith.faults.FaultCohesiveDyn
+
+[pylithapp.timedependent.interfaces.fault]
+id = 100
+label = fault
+
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.dimension = 1
+quadrature.cell.quad_order = 2
+
+friction = pylith.friction.SlipWeakening
+friction.label = Slip weakening
+
+friction.db_properties = spatialdata.spatialdb.UniformDB
+friction.db_properties.label = Slip weakening
+friction.db_properties.values = [static-coefficient,dynamic-coefficient,slip-weakening-parameter,cohesion]
+friction.db_properties.data = [0.6,0.2,0.2*m,0.0*Pa]
+
+traction_perturbation = pylith.faults.TractPerturbation
+
+[pylithapp.timedependent.interfaces.fault.traction_perturbation]
+db_initial = spatialdata.spatialdb.UniformDB
+db_initial.label = Initial fault tractions
+db_initial.values = [traction-shear,traction-normal]
+db_initial.data = [-0.61*MPa, -1.0*MPa]
+
+
+# ----------------------------------------------------------------------
+# output
+# ----------------------------------------------------------------------
+[pylithapp.problem.formulation.output.output]
+vertex_data_fields = [displacement,velocity]
+skip = 2
+writer = pylith.meshio.DataWriterHDF5Mesh
+writer.filename = output/nonplanar.h5
+
+[pylithapp.timedependent.interfaces.fault.output]
+vertex_info_fields=[traction_initial_value]
+vertex_data_fields=[slip,slip_rate,traction]
+skip = 2
+writer = pylith.meshio.DataWriterHDF5SubSubMesh
+writer.filename = output/nonplanar-fault.h5
+
+[pylithapp.timedependent.materials.inner.output]
+cell_info_fields = []
+cell_data_fields = []
+cell_filter = pylith.meshio.CellFilterAvgMesh
+writer = pylith.meshio.DataWriterHDF5Mesh
+writer.filename = output/nonplanar-inner.h5
+
+[pylithapp.timedependent.materials.inner.output]
+cell_info_fields = []
+cell_data_fields = []
+cell_filter = pylith.meshio.CellFilterAvgMesh
+writer = pylith.meshio.DataWriterHDF5Mesh
+writer.filename = output/nonplanar-outer.h5
+
+# End of file
\ No newline at end of file



More information about the CIG-COMMITS mailing list