[cig-commits] r4552 - in
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet:
. tractest
willic3 at geodynamics.org
willic3 at geodynamics.org
Thu Sep 14 20:54:41 PDT 2006
Author: willic3
Date: 2006-09-14 20:54:39 -0700 (Thu, 14 Sep 2006)
New Revision: 4552
Added:
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/runbm.py
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.bc
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.connect
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.coord
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.fuldat
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.inp
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.keyval
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.prop
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.statevar
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.time
short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.traction
Log:
Simple test for traction boundary conditions.
Added: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/runbm.py
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/runbm.py 2006-09-15 03:49:20 UTC (rev 4551)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/runbm.py 2006-09-15 03:54:39 UTC (rev 4552)
@@ -0,0 +1,85 @@
+#!/usr/bin/env python
+#
+# ======================================================================
+#
+# Brad T. Aagaard
+# U.S. Geological Survey
+#
+# {LicenseText}
+#
+# ======================================================================
+#
+
+root="tractest"
+
+# ----------------------------------------------------------------------
+def setupInput(nprocs):
+ dupext = [".fuldat", ".prop", ".statevar", ".time"]
+ sinext = [".coord", ".connect", ".bc", ".split"]
+
+ print "Setting up symbolic links with prefix '%s_%d':" % (root, nprocs)
+ import os
+
+ dirFiles = os.listdir(os.getcwd())
+ for ext in sinext:
+ src = "%s%s" % (root, ext)
+ dest = "%s_%s%s" % (root, nprocs, ext)
+ if not dest in dirFiles:
+ print " %s -> %s... created" % (dest, src)
+ os.symlink(src, dest)
+ else:
+ print " %s -> %s... already exists" % (dest, src)
+
+ for ext in dupext:
+ src = "%s%s" % (root, ext)
+ for iproc in range(nprocs):
+ dest = "%s_%s.%d%s" % (root, nprocs, iproc, ext)
+ if not dest in dirFiles:
+ print " %s -> %s... created" % (dest, src)
+ os.symlink(src, dest)
+ else:
+ print " %s -> %s... already exists" % (dest, src)
+ return
+
+
+# ----------------------------------------------------------------------
+def run(nprocs):
+ print "Running PyLith..."
+
+ # TODO: Replace the use of launching via 'system' with use
+ # of Leif's architecture independent utility.
+
+ cmd = "mpirun -np %d `which pylith3dapp.py` " \
+ "--typos=relaxed " \
+ "--scanner.fileRoot=%s_%d " \
+ "--scanner.asciiOutput=full " \
+ "--scanner.ucdOutput=ascii " \
+ "-log_summary -pc_type bjacobi -sub_pc_type ilu " \
+ "-ksp_monitor -ksp_view -ksp_rtol 1e-09" % (nprocs, root, nprocs)
+ import os
+ print cmd
+ os.system(cmd)
+ return
+
+
+# ----------------------------------------------------------------------
+if __name__ == "__main__":
+ from optparse import OptionParser
+
+ parser = OptionParser()
+ parser.add_option("-n", "--numprocs", dest="nprocs",
+ type="int", metavar="NPROCS",
+ help="Set number of processors.")
+ (options, args) = parser.parse_args()
+ if len(args) != 0:
+ parser.error("Incorrent number of arguments.")
+
+ nprocs = 1
+ if not options.nprocs is None:
+ nprocs = options.nprocs
+
+ setupInput(nprocs)
+ run(nprocs)
+
+
+# End of file
Property changes on: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/runbm.py
___________________________________________________________________
Name: svn:executable
+ *
Added: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.bc
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.bc 2006-09-15 03:49:20 UTC (rev 4551)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.bc 2006-09-15 03:54:39 UTC (rev 4552)
@@ -0,0 +1,14 @@
+# Boundary conditions for split block problem.
+#
+displacement_units = m
+velocity_units = m/s
+force_units = newton
+#
+ 3 1 1 1 0.00000000e+00 0.00000000e+00 0.00000000e+00
+ 4 1 1 1 0.00000000e+00 0.00000000e+00 0.00000000e+00
+ 5 1 1 1 0.00000000e+00 0.00000000e+00 0.00000000e+00
+ 6 1 1 1 0.00000000e+00 0.00000000e+00 0.00000000e+00
+ 7 1 1 1 0.00000000e+00 0.00000000e+00 0.00000000e+00
+ 9 1 1 1 0.00000000e+00 0.00000000e+00 0.00000000e+00
+10 1 1 1 0.00000000e+00 0.00000000e+00 0.00000000e+00
+12 1 1 1 0.00000000e+00 0.00000000e+00 0.00000000e+00
Added: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.connect
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.connect 2006-09-15 03:49:20 UTC (rev 4551)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.connect 2006-09-15 03:54:39 UTC (rev 4552)
@@ -0,0 +1,41 @@
+ 1 5 1 0 19 22 8 18
+ 2 5 1 0 17 22 19 18
+ 3 5 1 0 18 19 24 2
+ 4 5 1 0 18 2 24 21
+ 5 5 1 0 13 21 17 24
+ 6 5 1 0 23 14 17 15
+ 7 5 1 0 23 15 17 18
+ 8 5 1 0 18 21 24 17
+ 9 5 1 0 23 17 21 18
+ 10 5 1 0 21 13 17 23
+ 11 5 2 0 17 24 25 10
+ 12 5 1 0 11 22 17 14
+ 13 5 1 0 21 13 23 20
+ 14 5 1 0 17 22 15 14
+ 15 5 1 0 18 22 8 15
+ 16 5 1 0 2 1 19 24
+ 17 5 2 0 7 24 25 19
+ 18 5 1 0 15 16 8 18
+ 19 5 1 0 18 17 24 19
+ 20 5 2 0 17 4 10 25
+ 21 5 1 0 15 22 17 18
+ 22 5 2 0 6 22 4 5
+ 23 5 2 0 22 19 25 17
+ 24 5 2 0 6 25 22 19
+ 25 5 2 0 17 11 4 22
+ 26 5 2 0 4 17 10 12
+ 27 5 2 0 17 22 4 25
+ 28 5 2 0 12 17 10 9
+ 29 5 2 0 7 19 25 6
+ 30 5 2 0 8 22 19 6
+ 31 5 2 0 25 6 4 10
+ 32 5 2 0 8 22 6 5
+ 33 5 2 0 25 6 22 4
+ 34 5 2 0 7 6 25 10
+ 35 5 2 0 24 1 19 7
+ 36 5 2 0 17 12 4 11
+ 37 5 2 0 17 13 10 9
+ 38 5 2 0 10 13 17 24
+ 39 5 2 0 12 3 4 11
+ 40 5 2 0 7 10 25 24
+ 41 5 2 0 17 19 25 24
Added: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.coord
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.coord 2006-09-15 03:49:20 UTC (rev 4551)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.coord 2006-09-15 03:54:39 UTC (rev 4552)
@@ -0,0 +1,26 @@
+coord_units = km
+ 1 5.00000000E+02 0.00000000E+00 0.00000000E+00
+ 2 1.00000000E+03 0.00000000E+00 0.00000000E+00
+ 3 0.00000000E+00 1.00000000E+03 1.00000000E+03
+ 4 0.00000000E+00 4.91304000E+02 1.00000000E+03
+ 5 0.00000000E+00 0.00000000E+00 1.00000000E+03
+ 6 0.00000000E+00 0.00000000E+00 5.27048000E+02
+ 7 0.00000000E+00 0.00000000E+00 0.00000000E+00
+ 8 5.00000000E+02 0.00000000E+00 1.00000000E+03
+ 9 0.00000000E+00 1.00000000E+03 0.00000000E+00
+ 10 0.00000000E+00 5.10836000E+02 0.00000000E+00
+ 11 5.00000000E+02 1.00000000E+03 1.00000000E+03
+ 12 0.00000000E+00 1.00000000E+03 5.08696000E+02
+ 13 5.00000000E+02 1.00000000E+03 0.00000000E+00
+ 14 1.00000000E+03 1.00000000E+03 1.00000000E+03
+ 15 1.00000000E+03 4.64850000E+02 1.00000000E+03
+ 16 1.00000000E+03 0.00000000E+00 1.00000000E+03
+ 17 5.00000000E+02 1.00000000E+03 5.01602000E+02
+ 18 1.00000000E+03 0.00000000E+00 5.02291000E+02
+ 19 5.00000000E+02 0.00000000E+00 5.01602000E+02
+ 20 1.00000000E+03 1.00000000E+03 0.00000000E+00
+ 21 1.00000000E+03 4.91304000E+02 0.00000000E+00
+ 22 5.00000000E+02 4.65848000E+02 1.00000000E+03
+ 23 1.00000000E+03 1.00000000E+03 4.72127000E+02
+ 24 5.00000000E+02 4.65848000E+02 0.00000000E+00
+ 25 2.50275000E+02 3.73858000E+02 4.12501000E+02
Added: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.fuldat
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.fuldat 2006-09-15 03:49:20 UTC (rev 4551)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.fuldat 2006-09-15 03:54:39 UTC (rev 4552)
@@ -0,0 +1,5 @@
+# Time steps for which full output is desired for SCEC benchmark 5.
+#
+ 10
+ 50
+ 100
Added: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.inp
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.inp 2006-09-15 03:49:20 UTC (rev 4551)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.inp 2006-09-15 03:54:39 UTC (rev 4552)
@@ -0,0 +1,67 @@
+ 25 41 0 0 0
+ 1 5.00000000E+02 0.00000000E+00 0.00000000E+00
+ 2 1.00000000E+03 0.00000000E+00 0.00000000E+00
+ 3 0.00000000E+00 1.00000000E+03 1.00000000E+03
+ 4 0.00000000E+00 4.91304000E+02 1.00000000E+03
+ 5 0.00000000E+00 0.00000000E+00 1.00000000E+03
+ 6 0.00000000E+00 0.00000000E+00 5.27048000E+02
+ 7 0.00000000E+00 0.00000000E+00 0.00000000E+00
+ 8 5.00000000E+02 0.00000000E+00 1.00000000E+03
+ 9 0.00000000E+00 1.00000000E+03 0.00000000E+00
+ 10 0.00000000E+00 5.10836000E+02 0.00000000E+00
+ 11 5.00000000E+02 1.00000000E+03 1.00000000E+03
+ 12 0.00000000E+00 1.00000000E+03 5.08696000E+02
+ 13 5.00000000E+02 1.00000000E+03 0.00000000E+00
+ 14 1.00000000E+03 1.00000000E+03 1.00000000E+03
+ 15 1.00000000E+03 4.64850000E+02 1.00000000E+03
+ 16 1.00000000E+03 0.00000000E+00 1.00000000E+03
+ 17 5.00000000E+02 1.00000000E+03 5.01602000E+02
+ 18 1.00000000E+03 0.00000000E+00 5.02291000E+02
+ 19 5.00000000E+02 0.00000000E+00 5.01602000E+02
+ 20 1.00000000E+03 1.00000000E+03 0.00000000E+00
+ 21 1.00000000E+03 4.91304000E+02 0.00000000E+00
+ 22 5.00000000E+02 4.65848000E+02 1.00000000E+03
+ 23 1.00000000E+03 1.00000000E+03 4.72127000E+02
+ 24 5.00000000E+02 4.65848000E+02 0.00000000E+00
+ 25 2.50275000E+02 3.73858000E+02 4.12501000E+02
+ 1 1 tet 18 19 22 8
+ 2 1 tet 18 17 22 19
+ 3 1 tet 2 18 19 24
+ 4 1 tet 21 18 2 24
+ 5 1 tet 24 13 21 17
+ 6 1 tet 15 23 14 17
+ 7 1 tet 18 23 15 17
+ 8 1 tet 17 18 21 24
+ 9 1 tet 18 23 17 21
+ 10 1 tet 23 21 13 17
+ 11 1 tet 10 17 24 25
+ 12 1 tet 14 11 22 17
+ 13 1 tet 20 21 13 23
+ 14 1 tet 14 17 22 15
+ 15 1 tet 15 18 22 8
+ 16 1 tet 24 2 1 19
+ 17 1 tet 19 7 24 25
+ 18 1 tet 18 15 16 8
+ 19 1 tet 19 18 17 24
+ 20 1 tet 25 17 4 10
+ 21 1 tet 18 15 22 17
+ 22 1 tet 5 6 22 4
+ 23 1 tet 17 22 19 25
+ 24 1 tet 19 6 25 22
+ 25 1 tet 22 17 11 4
+ 26 1 tet 12 4 17 10
+ 27 1 tet 25 17 22 4
+ 28 1 tet 9 12 17 10
+ 29 1 tet 6 7 19 25
+ 30 1 tet 6 8 22 19
+ 31 1 tet 10 25 6 4
+ 32 1 tet 5 8 22 6
+ 33 1 tet 4 25 6 22
+ 34 1 tet 10 7 6 25
+ 35 1 tet 7 24 1 19
+ 36 1 tet 11 17 12 4
+ 37 1 tet 9 17 13 10
+ 38 1 tet 24 10 13 17
+ 39 1 tet 11 12 3 4
+ 40 1 tet 24 7 10 25
+ 41 1 tet 24 17 19 25
Added: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.keyval
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.keyval 2006-09-15 03:49:20 UTC (rev 4551)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.keyval 2006-09-15 03:54:39 UTC (rev 4552)
@@ -0,0 +1,98 @@
+# Example of a keyword=value file to be used with TECTON.
+# In this example, the default values are listed, but commented out.
+# To change a default value, uncomment the appropriate entry and
+# edit the value.
+# With the present implementation, there should not be any spaces
+# before the keyword.
+#
+# Non-default parameters to be used for SCEC BM 5.
+#
+# Scaling factors applied to Winkler forces. These factors may be
+# used as a quick and easy way of changing the density or gravitational
+# acceleration when Winkler forces are used to simulate gravity.
+#
+#winklerScaleX = 1.0
+#winklerScaleY = 1.0
+#winklerScaleZ = 1.0
+#
+#
+# Parameters controlling stress integration and numerical computation
+# of the tangent material matrix. These default values should be
+# reasonable for most cases.
+#
+#stressTolerance = 1.0e-12*Pa
+#minimumStrainPerturbation = 1.0e-7
+#initialStrainPerturbation = 1.0e-1
+#
+#
+# Parameters controlling the solution of the linear problem at each
+# iteration. This is now all controlled by PETSc command-line
+# arguments. The only option now specified in this file is whether to
+# use the solution from the previous time step as the starting guess
+# for the current time step.
+#
+#usePreviousDisplacementFlag = 0
+#
+#
+# Quadrature order for the problem. The options are:
+# Full: Quadrature order that should give the exact
+# element matrices when the elements are
+# geometrically undistorted.
+# Reduced: Quadrature order that is one order less than
+# full quadrature. This option should be used
+# with caution.
+# Selective: Uses Hughes' b-bar formulation to perform
+# reduced quadrature on the dilatational parts of
+# the strain-displacement matrix. This can be
+# useful in nearly-incompressible problems.
+#
+#quadratureOrder = Full
+#
+#
+# Gravitational acceleration in each direction.
+#
+#gravityX = 0.0*m/(s*s)
+#gravityY = 0.0*m/(s*s)
+#gravityZ = 0.0*m/(s*s)
+#
+#
+# Factors controlling computation of prestresses. When gravity is being
+# used, an automatic computation option may be used, with the option of
+# using alternative values for Poisson's ratio and Young's modulus.
+# Each prestress component may also be scaled. This option is only
+# useful if the prestresses are read from a file (and not automatically
+# computed).
+#
+#prestressAutoCompute = False
+#prestressAutoChangeElasticProperties = False
+#prestressAutoComputePoisson = 0.49
+#prestressAutoComputeYoungs = 1.0e30*Pa
+#
+#prestressScaleXx = 1.0
+#prestressScaleYy = 1.0
+#prestressScaleZz = 1.0
+#prestressScaleXy = 1.0
+#prestressScaleXz = 1.0
+#prestressScaleYz = 1.0
+#
+#
+# Scaling factors applied to differential Winkler forces. Differential
+# Winkler forces are those applied across a slippery node interface, and
+# are generally used to keep the fault locked at certain times. These
+# factors control the magnitudes and provide a simple way of scaling the
+# forces so the fault remains sufficiently 'locked'.
+#
+#winklerSlipScaleX = 1.0
+#winklerSlipScaleY = 1.0
+#winklerSlipScaleZ = 1.0
+#
+#
+# Unit numbers used by f77. These defaults should work for most Unix
+# systems, but may be altered if necessary.
+#
+#f77StandardInput = 5
+#f77StandardOutput = 6
+#f77FileInput = 10
+#f77AsciiOutput = 11
+#f77PlotOutput = 12
+#f77UcdOutput = 13
Added: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.prop
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.prop 2006-09-15 03:49:20 UTC (rev 4551)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.prop 2006-09-15 03:54:39 UTC (rev 4552)
@@ -0,0 +1,23 @@
+# Sample material properties definition file.
+# The number of properties for each material model have been
+# previously defined.
+# At present, the materials are assumed to be listed in order, so that
+# material number is determined by position in this file. This may
+# change in the future.
+# Also, the end of each material description is signified by setting
+# the endMaterial flag to 'True'.
+# Also at present, the materialType corresponds to a class, so the
+# first letter is capitalized.
+#
+# Material number 1
+materialType = 'IsotropicLinearElastic'
+density = 3000.0*kg/m**3 # Density
+youngsModulus = 7.5e10*Pa # Young's modulus
+poissonsRatio = 0.25 # Poisson's ratio
+endMaterial = True
+# Material number 2
+materialType = 'IsotropicLinearElastic'
+density = 3000.0*kg/m**3 # Density
+youngsModulus = 7.5e10*Pa # Young's modulus
+poissonsRatio = 0.25 # Poisson's ratio
+endMaterial = True
Added: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.statevar
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.statevar 2006-09-15 03:49:20 UTC (rev 4551)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.statevar 2006-09-15 03:54:39 UTC (rev 4552)
@@ -0,0 +1,34 @@
+# Sample file defining which state variables are to be output for
+# the elastic and time dependent solutions.
+#
+# The istatout array specifies output options for each individual
+# state variable. At present there are a maximum of 24 possible
+# state variables, and this number may increase with the addition
+# of new material models. There are three types of state variable
+# output:
+#
+# 1 Total accumulated values for the current time step
+# 2 Incremental values from the previous step to the current
+# 3 Rates computed from the previous step to the current
+#
+# Present state variables occur in groups of 6, corresponding to
+# the number of stress/strain components, although this may change
+# in the future. The present groups are:
+#
+# 1-6: Cauchy stress
+# 7-12: Total strain
+# 13-18: Viscous strain
+# 18-24: Plastic strain
+#
+# Three lines of input are required, corresponding to the three
+# types of state variable output. For each line the user must
+# enter:
+# The number of state variables to output for this type (nstatout).
+# Note that the value of nstatout may be zero, in which case no
+# further output is needed for that line.
+# The state variables to output for this type (nstatout values).
+#
+#nstatout, istatout(i),i=1,nstatout
+ 12 1 2 3 4 5 6 7 8 9 10 11 12
+ 12 1 2 3 4 5 6 7 8 9 10 11 12
+ 0
Added: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.time
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.time 2006-09-15 03:49:20 UTC (rev 4551)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.time 2006-09-15 03:54:39 UTC (rev 4552)
@@ -0,0 +1,63 @@
+# Sample time step group definition file for TECTON. This file
+# contains several integer and real parameters that must be defined
+# for each group. Note that the elastic solution corresponds to
+# group number 0 and must always be defined. Some of the parameters
+# have no meaning for the elastic solution but they are defined
+# anyway. In the fortran code, each of the parameters (other than n)
+# is stored in a separate array of dimension nintg+1, where nintg
+# is the number of time step groups. The definitions are as follows:
+#
+# n = time step group number. The elastic solution
+# corresponds to group number 0, and must always be
+# defined.
+# maxstp = the number of steps in the group (this is always 1 for
+# the elastic solution).
+# delt = time step size. This is a real value with units of
+# time.
+# alfa = amount of implicitness. This is a real dimensionless
+# parameter with values that can range from 0.0 (fully
+# explicit) to 1.0 (fully implicit). The value is
+# generally set to 0.5.
+# maxit = maximum number of equilibrium iterations before stiffness
+# matrix is reformed.
+# ntdinit= number of time steps between initial reformation of
+# stiffness matrix (before any iterations). A negative
+# value indicates that reformation should occur only once
+# for the first step in the group. A value of zero indicates
+# that reformation should never occur.
+# lgdef = large deformation solution flag. This is an integer
+# parameter with 3 possible values:
+# 0: linear strain
+# 1: large strain, but use only the linear contribution
+# to the stiffness matrix. This sometimes gives
+# better convergence.
+# 2: large strain using the nonlinear contribution to the
+# stiffness matrix.
+#
+# Convergence criteria for the nonlinear iterative solution:
+#
+# utol = convergence tolerance for displacements. This is a
+# dimensionless real value.
+# ftol = convergence tolerance for forces. This is a
+# dimensionless real value.
+# etol = convergence tolerance for energy. This is a
+# dimensionless real value.
+# itmax = maximum number of equilibrium iterations. This is an
+# integer quantity.
+#
+# Note that the convergence criteria defined below are appropriate for
+# a linear elastic problem. The values would be much different for a
+# nonlinear or time-dependent problem.
+#
+# The only parameter in this list requiring units is the time step
+# size, with units of time. I generally make sure everything is
+# converted to seconds, although I frequently specify time in years.
+#
+# Time step information for SCEC benchmark 1.
+#
+#
+time_units = year # This should be converted to seconds.
+#
+# n maxstp delt alfa maxit ntdinit lgdef utol ftol etol itmax
+#
+ 0 1 0.e+0 5.e-1 1001 4 0 1.0e+00 1.0e+0 1.0e+00 1
Added: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.traction
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.traction 2006-09-15 03:49:20 UTC (rev 4551)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/tractest/tractest.traction 2006-09-15 03:54:39 UTC (rev 4552)
@@ -0,0 +1,21 @@
+# Traction BC for a simple test.
+# Tensile traction in x-direction applied to face at x=1000.
+#
+# Format is as follows:
+# node1, node2, node3, (node4), x-tract, y-tract, z-tract
+#
+# The nodes represent each vertex of the element face to which tractions
+# are to be applied, and must be ordered CCW when looking at the face
+# (right-hand rule). Faces will have 3 nodes for tetrahedral meshes
+# and 4 nodes for hexahedral meshes. The traction components are simply
+# the x, y, and z-components of the applied stress vector in the global
+# coordinate system.
+traction_units = "Pa"
+#
+#
+ 16 18 15 -1.0 0.0 0.0
+ 2 21 18 -1.0 0.0 0.0
+ 21 23 18 -1.0 0.0 0.0
+ 21 20 23 -1.0 0.0 0.0
+ 18 23 15 -1.0 0.0 0.0
+ 15 23 14 -1.0 0.0 0.0
More information about the cig-commits
mailing list