[cig-commits] r18728 - in short/3D/PyLith/branches/v1.6-stable/examples: 2d/subduction 3d/hex8

brad at geodynamics.org brad at geodynamics.org
Mon Jul 11 12:46:35 PDT 2011


Author: brad
Date: 2011-07-11 12:46:35 -0700 (Mon, 11 Jul 2011)
New Revision: 18728

Modified:
   short/3D/PyLith/branches/v1.6-stable/examples/2d/subduction/pylithapp.cfg
   short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step06.cfg
   short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step07.cfg
   short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step08.cfg
   short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step09.cfg
   short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step10.cfg
   short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step11.cfg
   short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step12.cfg
   short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step13.cfg
   short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step14.cfg
   short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step15.cfg
   short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step16.cfg
Log:
Updated examples to meet requirement of labels for spatial databases.

Modified: short/3D/PyLith/branches/v1.6-stable/examples/2d/subduction/pylithapp.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/2d/subduction/pylithapp.cfg	2011-07-11 19:01:04 UTC (rev 18727)
+++ short/3D/PyLith/branches/v1.6-stable/examples/2d/subduction/pylithapp.cfg	2011-07-11 19:46:35 UTC (rev 18728)
@@ -71,6 +71,7 @@
 # The id corresponds to the block number from CUBIT.
 id = 1
 
+db_properties.label = Continental crust properties
 db_properties.iohandler.filename = mat_concrust.spatialdb
 
 # We are doing 2D quadrature for a triangle.
@@ -85,6 +86,7 @@
 # The id corresponds to the block number from CUBIT.
 id = 2
 
+db_properties.label = Continental mantle properties
 db_properties.iohandler.filename = mat_conmantle.spatialdb
 
 # We are doing 2D quadrature for a triangle.
@@ -99,6 +101,7 @@
 # The id corresponds to the block number from CUBIT.
 id = 3
 
+db_properties.label = Oceanic crust properties
 db_properties.iohandler.filename = mat_oceancrust.spatialdb
 
 # We are doing 2D quadrature for a triangle.
@@ -113,6 +116,7 @@
 # The id corresponds to the block number from CUBIT.
 id = 4
 
+db_properties.label = Oceanic mantle properties
 db_properties.iohandler.filename = mat_oceanmantle.spatialdb
 
 # We are doing 2D quadrature for a triangle.

Modified: short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step06.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step06.cfg	2011-07-11 19:01:04 UTC (rev 18727)
+++ short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step06.cfg	2011-07-11 19:46:35 UTC (rev 18728)
@@ -162,6 +162,7 @@
 
 # Define slip rate and origin time for fault creep.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.creep]
+origin_time = 0.0*s
 slip_function = pylith.faults.ConstRateSlipFn
 slip_function.slip_rate.label = "Creep slip rate"
 slip_function.slip_rate.iohandler.filename = spatialdb/sliprate_creep.spatialdb

Modified: short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step07.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step07.cfg	2011-07-11 19:01:04 UTC (rev 18727)
+++ short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step07.cfg	2011-07-11 19:46:35 UTC (rev 18728)
@@ -155,23 +155,31 @@
 
 # Define slip and origin time for first rupture.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.one.slip_function]
+slip.label = "Rupture one final slip"
 slip.iohandler.filename = spatialdb/finalslip_rupture.spatialdb
+slip_time.label = "Rupture one slip time"
 slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # Define slip and origin time for second rupture.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.two.slip_function]
+slip.label = "Rupture two final slip"
 slip.iohandler.filename = spatialdb/finalslip_rupture.spatialdb
+slip_time.label = "Rupture two slip time"
 slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # Define slip and origin time for third rupture.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.three.slip_function]
+slip.label = "Rupture three final slip"
 slip.iohandler.filename = spatialdb/finalslip_rupture.spatialdb
+slip_time.label = "Rupture three slip time"
 slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # Define slip rate and origin time for fault creep.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.creep]
 slip_function = pylith.faults.ConstRateSlipFn
+slip_function.slip_rate.label = "Creep slip rate"
 slip_function.slip_rate.iohandler.filename = spatialdb/sliprate_creep.spatialdb
+slip_function.slip_time.label = "Creep initiation time"
 slip_function.slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # Due to the complex time history used for the fault, a number of additional

Modified: short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step08.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step08.cfg	2011-07-11 19:01:04 UTC (rev 18727)
+++ short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step08.cfg	2011-07-11 19:46:35 UTC (rev 18728)
@@ -177,24 +177,32 @@
 
 # Define slip and origin time for first rupture.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.one.slip_function]
+slip.label = "Rupture one final slip"
 slip.iohandler.filename = spatialdb/finalslip_rupture.spatialdb
+slip_time.label = "Rupture one slip time"
 slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # Define slip and origin time for second rupture.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.two.slip_function]
+slip.label = "Rupture two final slip"
 slip.iohandler.filename = spatialdb/finalslip_rupture.spatialdb
+slip_time.label = "Rupture two slip time"
 slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # Define slip and origin time for third rupture.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.three.slip_function]
+slip.label = "Rupture three final slip"
 slip.iohandler.filename = spatialdb/finalslip_rupture.spatialdb
+slip_time.label = "Rupture three slip time"
 slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # Define slip rate and origin time for fault creep.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.creep]
+origin_time = 0.0*s
 slip_function = pylith.faults.ConstRateSlipFn
-origin_time = 0.0*s
+slip_function.slip_rate.label = "Creep slip rate"
 slip_function.slip_rate.iohandler.filename = spatialdb/sliprate_creep.spatialdb
+slip_function.slip_time.label = "Creep initiation time"
 slip_function.slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # ----------------------------------------------------------------------

Modified: short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step09.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step09.cfg	2011-07-11 19:01:04 UTC (rev 18727)
+++ short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step09.cfg	2011-07-11 19:46:35 UTC (rev 18728)
@@ -177,24 +177,32 @@
 
 # Define slip and origin time for first rupture.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.one.slip_function]
+slip.label = "Rupture one final slip"
 slip.iohandler.filename = spatialdb/finalslip_rupture.spatialdb
+slip_time.label = "Rupture one slip time"
 slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # Define slip and origin time for second rupture.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.two.slip_function]
+slip.label = "Rupture two final slip"
 slip.iohandler.filename = spatialdb/finalslip_rupture.spatialdb
+slip_time.label = "Rupture two slip time"
 slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # Define slip and origin time for third rupture.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.three.slip_function]
+slip.label = "Rupture three final slip"
 slip.iohandler.filename = spatialdb/finalslip_rupture.spatialdb
+slip_time.label = "Rupture three slip time"
 slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # Define slip rate and origin time for fault creep.
 [pylithapp.timedependent.interfaces.fault.eq_srcs.creep]
+origin_time = 0.0*s
 slip_function = pylith.faults.ConstRateSlipFn
-origin_time = 0.0*s
+slip_function.slip_rate.label = "Creep slip rate"
 slip_function.slip_rate.iohandler.filename = spatialdb/sliprate_creep.spatialdb
+slip_function.slip_time.label = "Creep initiation time"
 slip_function.slip_time.iohandler.filename = spatialdb/sliptime.spatialdb
 
 # ----------------------------------------------------------------------

Modified: short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step10.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step10.cfg	2011-07-11 19:01:04 UTC (rev 18727)
+++ short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step10.cfg	2011-07-11 19:46:35 UTC (rev 18728)
@@ -107,6 +107,7 @@
 
 # Use the static friction model.
 friction = pylith.friction.StaticFriction
+friction.label = Static friction
 
 # We must define the quadrature information for fault cells.
 # The fault cells are 2D (surface).

Modified: short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step11.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step11.cfg	2011-07-11 19:01:04 UTC (rev 18727)
+++ short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step11.cfg	2011-07-11 19:46:35 UTC (rev 18728)
@@ -109,6 +109,7 @@
 
 # Use the static friction model.
 friction = pylith.friction.StaticFriction
+friction.label = Static friction
 
 # We must define the quadrature information for fault cells.
 # The fault cells are 2D (surface).

Modified: short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step12.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step12.cfg	2011-07-11 19:01:04 UTC (rev 18727)
+++ short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step12.cfg	2011-07-11 19:46:35 UTC (rev 18728)
@@ -124,6 +124,7 @@
 
 # Use the static friction model.
 friction = pylith.friction.StaticFriction
+friction.label = Static friction
 
 # We must define the quadrature information for fault cells.
 # The fault cells are 2D (surface).

Modified: short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step13.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step13.cfg	2011-07-11 19:01:04 UTC (rev 18727)
+++ short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step13.cfg	2011-07-11 19:46:35 UTC (rev 18728)
@@ -120,6 +120,7 @@
 
 # Use the slip-weakening friction model.
 friction = pylith.friction.SlipWeakening
+friction.label = Slip weakening
 
 # We must define the quadrature information for fault cells.
 # The fault cells are 2D (surface).

Modified: short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step14.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step14.cfg	2011-07-11 19:01:04 UTC (rev 18727)
+++ short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step14.cfg	2011-07-11 19:46:35 UTC (rev 18728)
@@ -121,6 +121,7 @@
 
 # Use the rate-and-state aging friction model.
 friction = pylith.friction.RateStateAgeing
+friction.label = Rate and state
 
 # We must define the quadrature information for fault cells.
 # The fault cells are 2D (surface).

Modified: short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step15.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step15.cfg	2011-07-11 19:01:04 UTC (rev 18727)
+++ short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step15.cfg	2011-07-11 19:46:35 UTC (rev 18728)
@@ -70,7 +70,7 @@
 # ----------------------------------------------------------------------
 # Change material type of lower crust to generalized Maxwell viscoelastic.
 [pylithapp.timedependent]
-materials.lower_crust = pylith.materials.GenMaxwellIsotropic3D
+#materials.lower_crust = pylith.materials.GenMaxwellIsotropic3D
 
 # Provide a spatial database from which to obtain property values.
 # Since there are additional properties and state variables for the
@@ -78,9 +78,10 @@
 # Properties are named in cell_info_fields and state variables are named in
 # cell_data_fields.
 [pylithapp.timedependent.materials.lower_crust]
+db_properties.label = Maxwell viscoelastic properties
 db_properties.iohandler.filename = spatialdb/mat_genmaxwell.spatialdb
-output.cell_info_fields = [density,mu,lambda,shear_ratio,maxwell_time]
-output.cell_data_fields = [total_strain,stress,viscous_strain_1,viscous_strain_2,viscous_strain_3]
+#output.cell_info_fields = [density,mu,lambda,shear_ratio,maxwell_time]
+#output.cell_data_fields = [total_strain,stress,viscous_strain_1,viscous_strain_2,viscous_strain_3]
 
 # ----------------------------------------------------------------------
 # boundary conditions

Modified: short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step16.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step16.cfg	2011-07-11 19:01:04 UTC (rev 18727)
+++ short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/step16.cfg	2011-07-11 19:46:35 UTC (rev 18728)
@@ -90,11 +90,13 @@
 # and we change the query_type from the default 'nearest' to 'linear'.
 [pylithapp.timedependent.materials.upper_crust]
 db_initial_stress = spatialdata.spatialdb.SimpleDB
+db_initial_stress.label = Initial stress in upper crust
 db_initial_stress.iohandler.filename = spatialdb/initial_stress.spatialdb
 db_initial_stress.query_type = linear
 
 [pylithapp.timedependent.materials.lower_crust]
 db_initial_stress = spatialdata.spatialdb.SimpleDB
+db_initial_stress.label = Initial stress in lower crust
 db_initial_stress.iohandler.filename = spatialdb/initial_stress.spatialdb
 db_initial_stress.query_type = linear
 



More information about the CIG-COMMITS mailing list