[cig-commits] r12741 - in short/3D/PyLith/trunk: doc/userguide/tutorials/twohex8 examples/twocells/twohex8

brad at geodynamics.org brad at geodynamics.org
Wed Aug 27 16:57:00 PDT 2008


Author: brad
Date: 2008-08-27 16:57:00 -0700 (Wed, 27 Aug 2008)
New Revision: 12741

Modified:
   short/3D/PyLith/trunk/doc/userguide/tutorials/twohex8/twohex8.lyx
   short/3D/PyLith/trunk/examples/twocells/twohex8/axialdisp.cfg
   short/3D/PyLith/trunk/examples/twocells/twohex8/dislocation.cfg
   short/3D/PyLith/trunk/examples/twocells/twohex8/sheardisp.cfg
Log:
Adjusted time stamp (seconds to years).

Modified: short/3D/PyLith/trunk/doc/userguide/tutorials/twohex8/twohex8.lyx
===================================================================
--- short/3D/PyLith/trunk/doc/userguide/tutorials/twohex8/twohex8.lyx	2008-08-27 23:36:31 UTC (rev 12740)
+++ short/3D/PyLith/trunk/doc/userguide/tutorials/twohex8/twohex8.lyx	2008-08-27 23:57:00 UTC (rev 12741)
@@ -1,4 +1,4 @@
-#LyX 1.5.2 created this file. For more info see http://www.lyx.org/
+#LyX 1.5.6 created this file. For more info see http://www.lyx.org/
 \lyxformat 276
 \begin_document
 \begin_header
@@ -505,6 +505,17 @@
 xxxx
 \family default
  is the time for which output has been produced.
+ In 
+\family typewriter
+axialdisp.cfg
+\family default
+ we specify that the time stamp should be normalized by a value of 1.0 years
+ and the time stamp should be of the form 
+\family typewriter
+xxx.x
+\family default
+ (recall that the decimal point is removed in the filename).
+ As a result, the filenames contain the time in tenths of a year.
  These files will contain mesh information as well as displacement values
  at the mesh vertices.
  The second set of files will have names such as 
@@ -515,7 +526,7 @@
 \family typewriter
 xxxx
 \family default
- is the time in seconds for which output has been produced.
+ is the time in tenths of a year (as above) for which output has been produced.
  These files contain the state variables for each cell at the given time.
  The default fields are the total strain and stress fields; however, we
  have also requested the viscous strains.
@@ -758,7 +769,7 @@
 \family typewriter
 xxxx
 \family default
- is the time for which output has been produced.
+ is the time in tenths of a year (as in the previous example).
  These files will contain mesh information as well as displacement values
  at the mesh vertices.
  The second set of files will have names such as 
@@ -769,7 +780,7 @@
 \family typewriter
 xxxx
 \family default
- is the time in seconds for which output has been produced.
+ is the time in tenths of a year.
  These files contain the state variables for each cell at the given time.
  The default fields are the total strain and stress fields; however, we
  have also requested the viscous strains.
@@ -820,6 +831,7 @@
 status open
 
 \begin_layout Standard
+\align center
 \begin_inset Graphics
 	filename figs/sheardisp.jpg
 	lyxscale 50
@@ -1052,7 +1064,7 @@
 \family typewriter
 xxxx
 \family default
- is the time in seconds for which output has been produced.
+ is the time in tenths of a year.
  These files will contain mesh information as well as displacement values
  at the mesh vertices.
  The second set of files will have names such as 
@@ -1063,7 +1075,7 @@
 \family typewriter
 xxxx
 \family default
- is the time for which output has been produced.
+ is the time in tenths of a year.
  These files contain the state variables for each cell at the given time.
  The default fields are the total strain and stress fields; however, we
  have also requested the viscous strains.

Modified: short/3D/PyLith/trunk/examples/twocells/twohex8/axialdisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twohex8/axialdisp.cfg	2008-08-27 23:36:31 UTC (rev 12740)
+++ short/3D/PyLith/trunk/examples/twocells/twohex8/axialdisp.cfg	2008-08-27 23:57:00 UTC (rev 12741)
@@ -80,7 +80,8 @@
 # Give basename for VTK output of solution over domain.
 [pylithapp.problem.formulation.output.output.writer]
 filename = axialdisp.vtk
-time_format = %010.1f
+time_format = %04.1f ; Time stamp will be xxx.x with the "." removed.
+time_constant = 1.0*year ; Normalize time stamp by years
 
 # Give basename for VTK output of state variables.
 [pylithapp.timedependent.materials.material.output]
@@ -88,4 +89,5 @@
 cell_info_fields = [mu,lambda,density,maxwell_time]
 cell_filter = pylith.meshio.CellFilterAvg
 writer.filename = axialdisp-statevars.vtk
-writer.time_format = %010.1f
+writer.time_format = %04.1f ; Time stamp will be xxx.x with the "." removed.
+writer.time_constant = 1.0*year ; Normalize time stamp by years

Modified: short/3D/PyLith/trunk/examples/twocells/twohex8/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twohex8/dislocation.cfg	2008-08-27 23:36:31 UTC (rev 12740)
+++ short/3D/PyLith/trunk/examples/twocells/twohex8/dislocation.cfg	2008-08-27 23:57:00 UTC (rev 12741)
@@ -122,7 +122,8 @@
 # Give basename for vtk fault output.
 [pylithapp.timedependent.interfaces.fault.output.writer]
 filename = dislocation-fault.vtk
-time_format = %010.1f
+time_format = %04.1f ; Time stamp will be xxx.x with the "." removed.
+time_constant = 1.0*year ; Normalize time stamp by years
 
 # Give basename for VTK output of state variables.
 [pylithapp.timedependent.materials.material.output]
@@ -130,4 +131,5 @@
 cell_info_fields = [mu,lambda,density,maxwell_time]
 cell_filter = pylith.meshio.CellFilterAvg
 writer.filename = dislocation-statevars.vtk
-writer.time_format = %010.1f
+writer.time_format = %04.1f ; Time stamp will be xxx.x with the "." removed.
+writer.time_constant = 1.0*year ; Normalize time stamp by years

Modified: short/3D/PyLith/trunk/examples/twocells/twohex8/sheardisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twohex8/sheardisp.cfg	2008-08-27 23:36:31 UTC (rev 12740)
+++ short/3D/PyLith/trunk/examples/twocells/twohex8/sheardisp.cfg	2008-08-27 23:57:00 UTC (rev 12741)
@@ -79,7 +79,8 @@
 # ----------------------------------------------------------------------
 [pylithapp.problem.formulation.output.output.writer]
 filename = sheardisp.vtk
-time_format = %010.1f
+time_format = %04.1f ; Time stamp will be xxx.x with the "." removed.
+time_constant = 1.0*year ; Normalize time stamp by years
 
 # Give basename for VTK output of state variables.
 [pylithapp.timedependent.materials.material.output]
@@ -87,4 +88,5 @@
 cell_info_fields = [mu,lambda,density,maxwell_time]
 cell_filter = pylith.meshio.CellFilterAvg
 writer.filename = sheardisp-statevars.vtk
-writer.time_format = %010.1f
+writer.time_format = %04.1f ; Time stamp will be xxx.x with the "." removed.
+writer.time_constant = 1.0*year ; Normalize time stamp by years



More information about the cig-commits mailing list