[cig-commits] r15639 - in short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest: meshes parameters
brad at geodynamics.org
brad at geodynamics.org
Mon Aug 31 16:50:46 PDT 2009
Author: brad
Date: 2009-08-31 16:50:46 -0700 (Mon, 31 Aug 2009)
New Revision: 15639
Added:
short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/meshes/mesh_tet4.jou
short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/meshes/tet4.exo
short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/parameters/tet4.cfg
Modified:
short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/parameters/hex8.cfg
short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/parameters/pylithapp.cfg
Log:
Added files for tet4 mesh.
Added: short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/meshes/mesh_tet4.jou
===================================================================
--- short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/meshes/mesh_tet4.jou (rev 0)
+++ short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/meshes/mesh_tet4.jou 2009-08-31 23:50:46 UTC (rev 15639)
@@ -0,0 +1,30 @@
+# ----------------------------------------------------------------------
+# Generate geometry
+# ----------------------------------------------------------------------
+playback 'geometry.jou'
+
+# ----------------------------------------------------------------------
+# Set scheme
+# ----------------------------------------------------------------------
+volume all scheme tetmesh
+
+# ----------------------------------------------------------------------
+# Set discretization size
+# ----------------------------------------------------------------------
+volume all size 3000
+
+# ----------------------------------------------------------------------
+# Generate the mesh
+# ----------------------------------------------------------------------
+mesh volume all
+
+# ----------------------------------------------------------------------
+# Generate blocks and nodesets
+# ----------------------------------------------------------------------
+playback 'setbc.jou'
+
+# ----------------------------------------------------------------------
+# Export exodus file
+# ----------------------------------------------------------------------
+export mesh "tet4.exo" dimension 3 overwrite
+
Added: short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/meshes/tet4.exo
===================================================================
(Binary files differ)
Property changes on: short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/meshes/tet4.exo
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/parameters/hex8.cfg
===================================================================
--- short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/parameters/hex8.cfg 2009-08-31 23:34:26 UTC (rev 15638)
+++ short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/parameters/hex8.cfg 2009-08-31 23:50:46 UTC (rev 15639)
@@ -8,6 +8,17 @@
filename = ../meshes/hex8.exo
# ----------------------------------------------------------------------
+# materials
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.materials.elastic]
+quadrature.cell = pylith.feassemble.FIATLagrange
+quadrature.cell.dimension = 3
+
+[pylithapp.timedependent.materials.viscoelastic]
+quadrature.cell = pylith.feassemble.FIATLagrange
+quadrature.cell.dimension = 3
+
+# ----------------------------------------------------------------------
# faults
# ----------------------------------------------------------------------
[pylithapp.timedependent.interfaces.fault_middle]
Modified: short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/parameters/pylithapp.cfg
===================================================================
--- short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/parameters/pylithapp.cfg 2009-08-31 23:34:26 UTC (rev 15638)
+++ short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/parameters/pylithapp.cfg 2009-08-31 23:50:46 UTC (rev 15639)
@@ -59,15 +59,11 @@
label = Elastic material
id = 1
db_properties.iohandler.filename = mat_elastic.spatialdb
-quadrature.cell = pylith.feassemble.FIATLagrange
-quadrature.cell.dimension = 3
[pylithapp.timedependent.materials.viscoelastic]
label = Viscoelastic material
id = 2
db_properties.iohandler.filename = mat_maxwell.spatialdb
-quadrature.cell = pylith.feassemble.FIATLagrange
-quadrature.cell.dimension = 3
# ----------------------------------------------------------------------
# boundary conditions
Added: short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/parameters/tet4.cfg
===================================================================
--- short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/parameters/tet4.cfg (rev 0)
+++ short/3D/PyLith/benchmarks/trunk/quasistatic/solvertest/parameters/tet4.cfg 2009-08-31 23:50:46 UTC (rev 15639)
@@ -0,0 +1,61 @@
+# -*- Python -*-
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# mesh_generator
+# ----------------------------------------------------------------------
+[pylithapp.mesh_generator.reader]
+filename = ../meshes/tet4.exo
+
+# ----------------------------------------------------------------------
+# materials
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.materials.elastic]
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.shape = tetrahedron
+
+[pylithapp.timedependent.materials.viscoelastic]
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.shape = tetrahedron
+
+# ----------------------------------------------------------------------
+# faults
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.interfaces.fault_middle]
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.shape = triangle
+
+[pylithapp.timedependent.interfaces.fault_xpos]
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.shape = triangle
+
+[pylithapp.timedependent.interfaces.fault_xneg]
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.shape = triangle
+
+# ----------------------------------------------------------------------
+# output
+# ----------------------------------------------------------------------
+[pylithapp.problem.formulation.output.domain]
+writer.filename = ../results/tet4.vtk
+
+[pylithapp.problem.formulation.output.subdomain]
+writer.filename = ../results/tet4-groundsurf.vtk
+
+[pylithapp.timedependent.interfaces.fault_middle.output]
+writer.filename = ../results/tet4-fault-middle.vtk
+
+[pylithapp.timedependent.interfaces.fault_xpos.output]
+writer.filename = ../results/tet4-fault-xpos.vtk
+
+[pylithapp.timedependent.interfaces.fault_xneg.output]
+writer.filename = ../results/tet4-fault-xneg.vtk
+
+[pylithapp.timedependent.materials.elastic.output]
+cell_filter = pylith.meshio.CellFilterAvgMesh
+writer.filename = ../results/tet4-elastic.vtk
+
+[pylithapp.timedependent.materials.viscoelastic.output]
+cell_filter = pylith.meshio.CellFilterAvgMesh
+writer.filename = ../results/tet4-viscoelastic.vtk
+
More information about the CIG-COMMITS
mailing list