[cig-commits] r16661 - short/3D/PyLith/trunk/examples/3d/hex8

brad at geodynamics.org brad at geodynamics.org
Thu May 6 13:39:21 PDT 2010


Author: brad
Date: 2010-05-06 13:39:21 -0700 (Thu, 06 May 2010)
New Revision: 16661

Modified:
   short/3D/PyLith/trunk/examples/3d/hex8/pylithapp.cfg
   short/3D/PyLith/trunk/examples/3d/hex8/savageprescott.cfg
Log:
Updated settings so example would run.

Modified: short/3D/PyLith/trunk/examples/3d/hex8/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/hex8/pylithapp.cfg	2010-05-06 20:36:11 UTC (rev 16660)
+++ short/3D/PyLith/trunk/examples/3d/hex8/pylithapp.cfg	2010-05-06 20:39:21 UTC (rev 16661)
@@ -30,7 +30,7 @@
 
 [pylithapp.mesh_generator.reader]
 # Set filename of mesh to import.
-filename = box_hex8_1000m.exo
+filename = mesh/box_hex8_1000m.exo
 
 # ----------------------------------------------------------------------
 # problem
@@ -55,7 +55,7 @@
 [pylithapp.timedependent.materials.elastic]
 label = Elastic material
 id = 1
-db_properties.iohandler.filename = mat_elastic.spatialdb
+db_properties.iohandler.filename = spatialdb/mat_elastic.spatialdb
 quadrature.cell = pylith.feassemble.FIATLagrange
 quadrature.cell.dimension = 3
 
@@ -64,6 +64,7 @@
 [pylithapp.timedependent.materials.viscoelastic]
 label = Viscoelastic material
 id = 2
+db_properties.iohandler.filename = spatialdb/mat_maxwell.spatialdb
 quadrature.cell = pylith.feassemble.FIATLagrange
 quadrature.cell.dimension = 3
 

Modified: short/3D/PyLith/trunk/examples/3d/hex8/savageprescott.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/hex8/savageprescott.cfg	2010-05-06 20:36:11 UTC (rev 16660)
+++ short/3D/PyLith/trunk/examples/3d/hex8/savageprescott.cfg	2010-05-06 20:39:21 UTC (rev 16661)
@@ -53,27 +53,27 @@
 # *** END MAXWELL SECTION ***
 
 # *** BEGIN POWER-LAW SECTION ***
-[pylithapp.timedependent]
-implicit.solver = pylith.problems.SolverNonlinear
-implicit.time_step.max_dt = 10.0*year
-implicit.time_step.adapt_skip = 0
-materials.viscoelastic = pylith.materials.PowerLaw3D
-
-[pylithapp.timedependent.materials.viscoelastic]
-db_properties = spatialdata.spatialdb.CompositeDB
-db_properties.db_A = spatialdata.spatialdb.SimpleDB
-db_properties.db_B = spatialdata.spatialdb.SimpleDB
-output.cell_info_fields = [density,mu,lambda,reference_strain_rate,reference_stress,power_law_exponent]
-output.cell_data_fields = [total_strain,stress,viscous_strain]
-
-[pylithapp.timedependent.materials.viscoelastic.db_properties]
-values_A = [density,vs,vp]
-db_A.label = Elastic properties
-db_A.iohandler.filename = mat_elastic.spatialdb
-
-values_B = [reference-stress,reference-strain-rate,power-law-exponent]
-db_B.label = Power-law properties
-db_B.iohandler.filename = powerlaw_properties.spatialdb
+#[pylithapp.timedependent]
+#implicit.solver = pylith.problems.SolverNonlinear
+#implicit.time_step.max_dt = 10.0*year
+#implicit.time_step.adapt_skip = 0
+#materials.viscoelastic = pylith.materials.PowerLaw3D
+#
+#[pylithapp.timedependent.materials.viscoelastic]
+#db_properties = spatialdata.spatialdb.CompositeDB
+#db_properties.db_A = spatialdata.spatialdb.SimpleDB
+#db_properties.db_B = spatialdata.spatialdb.SimpleDB
+#output.cell_info_fields = [density,mu,lambda,reference_strain_rate,reference_stress,power_law_exponent]
+#output.cell_data_fields = [total_strain,stress,viscous_strain]
+#
+#[pylithapp.timedependent.materials.viscoelastic.db_properties]
+#values_A = [density,vs,vp]
+#db_A.label = Elastic properties
+#db_A.iohandler.filename = spatialdb/mat_elastic.spatialdb
+#
+#values_B = [reference-stress,reference-strain-rate,power-law-exponent]
+#db_B.label = Power-law properties
+#db_B.iohandler.filename = spatialdb/mat_powerlaw.spatialdb
 # *** END POWER-LAW SECTION ***
 
 # ----------------------------------------------------------------------
@@ -134,25 +134,25 @@
 
 # one
 [pylithapp.timedependent.interfaces.fault.eq_srcs.one.slip_function]
-slip.iohandler.filename = finalslip_rupture.spatialdb
-slip_time.iohandler.filename = sliptime.spatialdb
+slip.iohandler.filename = spatialdb/finalslip_rupture.spatialdb
+slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # two
 [pylithapp.timedependent.interfaces.fault.eq_srcs.two.slip_function]
-slip.iohandler.filename = finalslip_rupture.spatialdb
-slip_time.iohandler.filename = sliptime.spatialdb
+slip.iohandler.filename = spatialdb/finalslip_rupture.spatialdb
+slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # three
 [pylithapp.timedependent.interfaces.fault.eq_srcs.three.slip_function]
-slip.iohandler.filename = finalslip_rupture.spatialdb
-slip_time.iohandler.filename = sliptime.spatialdb
+slip.iohandler.filename = spatialdb/finalslip_rupture.spatialdb
+slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # creep
 [pylithapp.timedependent.interfaces.fault.eq_srcs.creep]
 slip_function = pylith.faults.ConstRateSlipFn
 origin_time = 0.0*s
-slip_function.slip_rate.iohandler.filename = sliprate_creep.spatialdb
-slip_function.slip_time.iohandler.filename = sliptime.spatialdb
+slip_function.slip_rate.iohandler.filename = spatialdb/sliprate_creep.spatialdb
+slip_function.slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # ----------------------------------------------------------------------
 # output



More information about the CIG-COMMITS mailing list