[cig-commits] [commit] devel,master: updated README files for examples; added print line in checkgrid.F90 for USER_T0 ; added symbolic link for manual (297ae44)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Jun 18 15:18:19 PDT 2014


Repository : https://github.com/geodynamics/specfem2d

On branches: devel,master
Link       : https://github.com/geodynamics/specfem2d/compare/fc67e6fd7ad890705b2b72b4b3c509accb22249e...e9ca46c40131588d89d7b0883250bc6584ce6b4c

>---------------------------------------------------------------

commit 297ae4469b418bebdf97e91e339b8a1d10a8e10e
Author: Carl Tape <carltape at gi.alaska.edu>
Date:   Tue Feb 15 07:25:21 2011 +0000

    updated README files for examples; added print line in checkgrid.F90 for USER_T0 ; added symbolic link for manual


>---------------------------------------------------------------

297ae4469b418bebdf97e91e339b8a1d10a8e10e
 M2_UPPA/README         | 16 +++++++++++++---
 M2_UPPA/SOURCE_M2_UPPA |  2 +-
 Tape2007/README        | 30 +++++++++++++++++++++---------
 Tromp2005/README       | 47 ++++++++++++++++++++++++++++++++++++++---------
 4 files changed, 73 insertions(+), 22 deletions(-)

diff --git a/M2_UPPA/README b/M2_UPPA/README
index c6cb4dd..8b7768f 100644
--- a/M2_UPPA/README
+++ b/M2_UPPA/README
@@ -4,9 +4,19 @@ README
 
 This default example creates an internal mesh with smooth topographic interfaces.
 
+TO RUN:
 
-To run the examples, type:
+0. Read the user manual in SPECFEM2D/doc/manual_SPECFEM2D.pdf
 
-  ./process.sh
+1. in SPECFEM2D root directory, configure, e.g., 
+   ./configure FC=gfortran
 
-in this current directory.
+2. compile:
+   make all
+
+3. cd EXAMPLES/M2_UPPA/
+
+4. execute script to run mesher and solver for the PSV case:
+   ./process.sh
+
+5. check out the output files in the local directory OUTPUT_FILES
diff --git a/M2_UPPA/SOURCE_M2_UPPA b/M2_UPPA/SOURCE_M2_UPPA
index 9684622..195a685 100644
--- a/M2_UPPA/SOURCE_M2_UPPA
+++ b/M2_UPPA/SOURCE_M2_UPPA
@@ -4,7 +4,7 @@ xs                              = 2500.             # source location x in meter
 zs                              = 2500.          # source location z in meters
 source_type                     = 1              # elastic force or acoustic pressure = 1 or moment tensor = 2
 time_function_type              = 1              # Ricker = 1, first derivative = 2, Gaussian = 3, Dirac = 4, Heaviside = 5
-f0                              = 5.0           # dominant source frequency (Hz) if not Dirac or Heaviside
+f0                              = 10.0           # dominant source frequency (Hz) if not Dirac or Heaviside
 t0                              = 0.0            # time shift when multi sources (if one source, must be zero)
 angleforce                      = 0.0             # angle of the source (for a force only)
 Mxx                             = 1.             # Mxx component (for a moment tensor source only)
diff --git a/Tape2007/README b/Tape2007/README
index 0731280..dda3fe1 100644
--- a/Tape2007/README
+++ b/Tape2007/README
@@ -2,9 +2,7 @@
 README
 ----------------------------------------------------------------------
 
-Carl Tape, 05-Jan-2010
-
-Examples for Tape-Liu-Tromp (GJI 2007)
+Example for Tape-Liu-Tromp (GJI 2007)
 
 Par_file_Tape2007_onerec
 1 source, 1 receiver
@@ -16,13 +14,27 @@ Par_file_Tape2007_132rec
 Source index: 5
 Receiver index: 1-132
 
-In Tromp2005 there is a time shift of 48 s before the source starts.
-This is not yet implemented.
-
 ---------------------------
 
-To run the examples, type:
+The examples in Tape-Liu-Tromp (GJI 2007) assume a simulation start time of t=0, and a source start time of t = t0 = 48 s. SPECFEM2D assumes that the simulation starts at t = -t0 and the source start time is t = 0. In order to generate the same time series as in Tape2007, the user must first modify USER_T0 in constants.h
+
+TO RUN:
+
+0. Read the user manual in SPECFEM2D/doc/manual_SPECFEM2D.pdf
+
+1. in SPECFEM2D root directory, configure, e.g., 
+   ./configure FC=gfortran
 
-  ./process.sh
+2. modify constants.h file, setting USER_TO = 48 s
 
-in this current directory.
+3. compile:
+   make all
+
+4. cd EXAMPLES/Tape2007/
+
+5. execute script to run mesher and solver for the SH/membrane case:
+   ./process.sh
+
+6. check out the output files in the local directory OUTPUT_FILES
+
+---------------------------
diff --git a/Tromp2005/README b/Tromp2005/README
index d8692ef..3139457 100644
--- a/Tromp2005/README
+++ b/Tromp2005/README
@@ -2,19 +2,48 @@
 README
 ----------------------------------------------------------------------
 
-Examples for Tromp-Tape-Liu (GJI 2005)
+Example for Tromp-Tape-Liu (GJI 2005)
 
-The subscript s100 is the same set of simulations but scaled down in size
-by a factor of 100. This requires increasing the source frequency content
-and decreasing the time step.
+The example currently only generates the (synthetic) seismograms associated with the PSV example in Figure 7b and the SH example in Figure 2b.
 
-In Tromp2005 there is a time shift of 8 s before the source starts.
-This is not yet implemented.
+Demonstration of the kernel calculation is not yet added here.
+
+(The subscript s100 for the input files corresponds to the same set of simulations but scaled down in size by a factor of 100. This requires increasing the source frequency content and decreasing the time step; these changes are shown in the alternative files.)
 
 ---------------------------
 
-To run the examples, type:
+The examples in Tromp-Tape-Liu (GJI 2005) assume a simulation start time of t=0, and a source start time of t = t0 = 8.0 s. SPECFEM2D assumes that the simulation starts at t = -t0 and the source start time is t = 0. In order to generate the same time series as in Tromp2005, the user must first modify USER_T0 in constants.h
+
+TO RUN:
+
+0. Read the user manual in SPECFEM2D/doc/manual_SPECFEM2D.pdf
+
+1. in SPECFEM2D root directory, configure, e.g., 
+   ./configure FC=gfortran
+
+2. modify constants.h file, setting USER_TO = 8.0 s
+
+3. compile:
+   make all
+
+4. cd EXAMPLES/Tromp2005/
+
+5. execute script to run mesher and solver for the PSV case:
+   ./process.sh
 
-  ./process.sh
+6. check out the output files in the local directory OUTPUT_FILES
 
-in this current directory.
+   The seismograms (S0001.AA.BHX.semd,S0001.AA.BHZ.semd) will be similar to those in Tromp2005, Figure 7b, but with an 8-second time shift due to the difference in origin time convention.
+
+7. mv OUTPUT_FILES OUTPUT_FILES_PSV
+
+8. set p_sv = .false. in Par_file_Tromp2005 
+
+9. execute script to run mesher and solver for the SH case:
+   ./process.sh
+
+10. check out the output files in the local directory OUTPUT_FILES
+
+   The seismogram (S0001.AA.BHY.semd) will be similar to those in Tromp2005, Figure 2b, but with an 8-second time shift due to the difference in origin time convention.
+
+---------------------------



More information about the CIG-COMMITS mailing list