[cig-commits] r6623 - short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest

willic3 at geodynamics.org willic3 at geodynamics.org
Fri Apr 20 13:24:07 PDT 2007


Author: willic3
Date: 2007-04-20 13:24:07 -0700 (Fri, 20 Apr 2007)
New Revision: 6623

Added:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/pylith3d-debug.cfg
   short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/pylith3d-np2.cfg
Removed:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest-debug.sh
   short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest-lithomop.sh
   short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest-test.sh
   short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest.sh
   short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/test.sh
Modified:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/pylith3d.cfg
   short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/splittest.time
Log:
Deleted old shell scripts and added a couple of new .cfg files.



Added: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/pylith3d-debug.cfg
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/pylith3d-debug.cfg	2007-04-20 19:34:09 UTC (rev 6622)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/pylith3d-debug.cfg	2007-04-20 20:24:07 UTC (rev 6623)
@@ -0,0 +1,114 @@
+[pylith3d]
+# PETSc options
+log_summary = true
+pc_type = bjacobi
+sub_pc_type = ilu
+ksp_monitor = true
+ksp_view = true
+ksp_rtol = 1.0e-9
+start_in_debugger = true
+debugger_pause = 100
+
+# PyLith options
+fileRoot = splittest
+asciiOutput = full
+ucdOutput = ascii
+
+# 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
+#prestressAutoChangeElasticProps = 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/splittest/pylith3d-np2.cfg
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/pylith3d-np2.cfg	2007-04-20 19:34:09 UTC (rev 6622)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/pylith3d-np2.cfg	2007-04-20 20:24:07 UTC (rev 6623)
@@ -0,0 +1,118 @@
+[pylith3d.launcher]
+# Run on multiple processors
+command = mpiexec -np 2
+
+[pylith3d]
+# PETSc options
+log_summary = true
+pc_type = bjacobi
+sub_pc_type = ilu
+ksp_monitor = true
+ksp_view = true
+ksp_rtol = 1.0e-9
+# start_in_debugger = true
+# debugger_pause = 100
+
+# PyLith options
+fileRoot = splittest
+asciiOutput = full
+ucdOutput = ascii
+
+# 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
+#prestressAutoChangeElasticProps = 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

Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/pylith3d.cfg
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/pylith3d.cfg	2007-04-20 19:34:09 UTC (rev 6622)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/pylith3d.cfg	2007-04-20 20:24:07 UTC (rev 6623)
@@ -9,8 +9,10 @@
 # start_in_debugger = true
 # debugger_pause = 100
 
-[pylith3d.scanner]
+# PyLith options
 fileRoot = splittest
+asciiOutput = full
+ucdOutput = ascii
 
 # Example of a keyword=value file to be used with TECTON.
 # In this example, the default values are listed, but commented out.

Deleted: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest-debug.sh
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest-debug.sh	2007-04-20 19:34:09 UTC (rev 6622)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest-debug.sh	2007-04-20 20:24:07 UTC (rev 6623)
@@ -1,14 +0,0 @@
-#!/bin/bash
-# ======================================================================
-#
-# Shell script to run PyLith using small split node test.
-#
-# ======================================================================
-
-# Do not use pythonTimestep for now until all the bugs are worked out.
-#pyts="-pl3dscan.pythonTimestep=1"
-
-set -x
-pylith3dapp.py -pl3dscan.asciiOutput=full -pl3dscan.ucdOutput=ascii $pyts
-
-# end of file

Deleted: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest-lithomop.sh
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest-lithomop.sh	2007-04-20 19:34:09 UTC (rev 6622)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest-lithomop.sh	2007-04-20 20:24:07 UTC (rev 6623)
@@ -1,50 +0,0 @@
-#!/bin/bash
-# ======================================================================
-#
-# Shell script to run LithoMop using small split node test.
-#
-# ======================================================================
-
-if [ $# != 0 ]; then
-  echo "usage: runsplittest-lithomop.sh"
-  exit 1
-fi
-suff="lm"
-
-simroot="splittest"
-dupext="fuldat prop statevar time"
-sinext="coord connect bc split"
-
-pyreflags="-typos=relaxed"
-echo "Pyre flags:"
-echo $pyreflags
-
-lithomopflags="-lm3dscan.fileRoot=${simroot}_$suff \
-  -lm3dscan.asciiOutput=none \
-  -lm3dscan.ucdOutput=binary"
-echo "LithoMop flags:"
-echo $lithomopflags
-
-petscflags="-log_summary \
-  -pc_type bjacobi \
-  -sub_pc_type ilu \
-  -ksp_monitor \
-  -ksp_rtol 1e-09"
-echo "PETSc flags:"
-echo $petscflags
-
-echo "Setting up symbolic links with prefix ${simroot}_${suff}..."
-for ext in $sinext; do
-  ln -s $simroot.$ext ${simroot}_$suff.$ext
-done
-for ext in $dupext; do
-  ln -s $simroot.$ext ${simroot}_$suff.$ext
-done
-
-echo "Running LithoMop..."
-cmd="lithomop3dapp.py $pyreflags $lithomopflags $petscflags"
-
-echo $cmd
-eval $cmd
-
-# end of file

Deleted: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest-test.sh
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest-test.sh	2007-04-20 19:34:09 UTC (rev 6622)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest-test.sh	2007-04-20 20:24:07 UTC (rev 6623)
@@ -1,14 +0,0 @@
-#!/bin/bash
-# ======================================================================
-#
-# Shell script to run PyLith using small split node test.
-#
-# ======================================================================
-
-# Do not use pythonTimestep for now until all the bugs are worked out.
-#pyts="-pl3dscan.pythonTimestep=1"
-
-set -x
-pylith3dapp.py -pl3dscan.asciiOutput=echo -pl3dscan.ucdOutput=ascii $pyts
-
-# end of file

Deleted: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest.sh
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest.sh	2007-04-20 19:34:09 UTC (rev 6622)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/runsplittest.sh	2007-04-20 20:24:07 UTC (rev 6623)
@@ -1,14 +0,0 @@
-#!/bin/bash
-# ======================================================================
-#
-# Shell script to run PyLith using small split node test.
-#
-# ======================================================================
-
-# Do not use pythonTimestep for now until all the bugs are worked out.
-#pyts="-pl3dscan.pythonTimestep=1"
-
-set -x
-pylith3dapp.py -pl3dscan.asciiOutput=none -pl3dscan.ucdOutput=binary $pyts
-
-# end of file

Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/splittest.time
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/splittest.time	2007-04-20 19:34:09 UTC (rev 6622)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/splittest.time	2007-04-20 20:24:07 UTC (rev 6623)
@@ -60,4 +60,4 @@
 #
 # 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
+  0   1   0.0d0  5.d-1 1001   4      0  1.0d+00  1.0d+0  1.0d+00 1

Deleted: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/test.sh
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/test.sh	2007-04-20 19:34:09 UTC (rev 6622)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/splittest/test.sh	2007-04-20 20:24:07 UTC (rev 6623)
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-pylith3dapp.py -typos=relaxed -pl3dscan.fileRoot=lintet/splittest/splittest -pl3dscan.ucdOutput=binary -log_summary -pc_type ilu -ksp_monitor -ksp_view -ksp_rtol 1e-9
-
-# end of file



More information about the cig-commits mailing list