[cig-commits] r11544 - short/3D/PyLith/trunk/tests/3d/bar_hex8
brad at geodynamics.org
brad at geodynamics.org
Tue Mar 25 08:23:40 PDT 2008
Author: brad
Date: 2008-03-25 08:23:40 -0700 (Tue, 25 Mar 2008)
New Revision: 11544
Modified:
short/3D/PyLith/trunk/tests/3d/bar_hex8/dislocation_dyn.cfg
Log:
Updated examples for new Pythia version.
Modified: short/3D/PyLith/trunk/tests/3d/bar_hex8/dislocation_dyn.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/3d/bar_hex8/dislocation_dyn.cfg 2008-03-25 09:25:12 UTC (rev 11543)
+++ short/3D/PyLith/trunk/tests/3d/bar_hex8/dislocation_dyn.cfg 2008-03-25 15:23:40 UTC (rev 11544)
@@ -5,16 +5,16 @@
# journal
# ----------------------------------------------------------------------
[pylithapp.journal.info]
-#timedependent = 1
-#explicit = 1
-#petsc = 1
-#solverlinear = 1
-#meshiocubit = 1
-#homogeneous = 1
-#explicitelasticity = 1
-#quadrature2d = 1
-#fiatlagrange = 1
-#faultcohesivekin = 1
+timedependent = 1
+explicit = 1
+petsc = 1
+solverlinear = 1
+meshiocubit = 1
+homogeneous = 1
+explicitelasticity = 1
+quadrature2d = 1
+fiatlagrange = 1
+faultcohesivekin = 1
# ----------------------------------------------------------------------
# mesh_generator
@@ -35,11 +35,11 @@
dimension = 3
formulation = pylith.problems.Explicit
formulation.solver.initial_guess_zero = False
-bc = pylith.bc.BCFourSides
+bc = [x_pos,x_neg,y_pos]
bc.x_pos = pylith.bc.AbsorbingDampers
bc.x_neg = pylith.bc.AbsorbingDampers
-interfaces = pylith.faults.SingleFault
-materials = pylith.materials.BiMaterial
+interfaces = [fault]
+materials = [one,two]
# ----------------------------------------------------------------------
# materials
@@ -66,7 +66,6 @@
# boundary conditions
# ----------------------------------------------------------------------
[pylithapp.timedependent.bc.x_pos]
-id = 11
label = 11
db.label = Absorbing BC +x
db.iohandler.filename = matprops.spatialdb
@@ -76,7 +75,6 @@
quadrature.cell.quad_order = 2
[pylithapp.timedependent.bc.x_neg]
-id = 12
label = 12
db.label = Absorbing BC -x
db.iohandler.filename = matprops.spatialdb
@@ -87,10 +85,8 @@
[pylithapp.timedependent.bc.y_pos]
fixed_dof = [0, 2]
-id = 13
label = 13
db.label = Dirichlet BC
-db.iohandler.filename = dislocation_disp.spatialdb
# ----------------------------------------------------------------------
# faults
@@ -135,5 +131,21 @@
# output
# ----------------------------------------------------------------------
[pylithapp.problem.formulation.output.output.writer]
-filename = output/dislocation_dyn.vtk
+filename = output/dislocation.vtk
time_format = %05.2f
+
+# Give basename for VTK fault output.
+[pylithapp.timedependent.interfaces.fault.output.writer]
+filename = dislocation-fault.vtk
+time_format = %05.2f
+
+# Give basename for VTK output of state variables.
+[pylithapp.timedependent.materials.one.output]
+cell_filter = pylith.meshio.CellFilterAvg
+writer.filename = dislocation-statevars-one.vtk
+writer.time_format = %05.2f
+
+[pylithapp.timedependent.materials.two.output]
+cell_filter = pylith.meshio.CellFilterAvg
+writer.filename = dislocation-statevars-two.vtk
+writer.time_format = %05.2f
More information about the cig-commits
mailing list