[cig-commits] r7449 - in short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3: . figs

willic3 at geodynamics.org willic3 at geodynamics.org
Sun Jun 24 17:08:10 PDT 2007


Author: willic3
Date: 2007-06-24 17:08:10 -0700 (Sun, 24 Jun 2007)
New Revision: 7449

Added:
   short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3/figs/twotri3-mesh.eps
   short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3/figs/twotri3-mesh.fig
Modified:
   short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3/twotri3.lyx
Log:
Did a bit more fixing of the two triangle tutorial.
It should be nearly done.



Added: short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3/figs/twotri3-mesh.eps
===================================================================
--- short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3/figs/twotri3-mesh.eps	2007-06-24 23:52:44 UTC (rev 7448)
+++ short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3/figs/twotri3-mesh.eps	2007-06-25 00:08:10 UTC (rev 7449)
@@ -0,0 +1,166 @@
+%!PS-Adobe-2.0 EPSF-2.0
+%%Title: twotri3-mesh.fig
+%%Creator: fig2dev Version 3.2 Patchlevel 5
+%%CreationDate: Sun Jun 24 20:01:01 2007
+%%For: willic3 at Wow.local (Charles Williams)
+%%BoundingBox: 0 0 94 96
+%Magnification: 1.0000
+%%EndComments
+/$F2psDict 200 dict def
+$F2psDict begin
+$F2psDict /mtrx matrix put
+/col-1 {0 setgray} bind def
+/col0 {0.000 0.000 0.000 srgb} bind def
+/col1 {0.000 0.000 1.000 srgb} bind def
+/col2 {0.000 1.000 0.000 srgb} bind def
+/col3 {0.000 1.000 1.000 srgb} bind def
+/col4 {1.000 0.000 0.000 srgb} bind def
+/col5 {1.000 0.000 1.000 srgb} bind def
+/col6 {1.000 1.000 0.000 srgb} bind def
+/col7 {1.000 1.000 1.000 srgb} bind def
+/col8 {0.000 0.000 0.560 srgb} bind def
+/col9 {0.000 0.000 0.690 srgb} bind def
+/col10 {0.000 0.000 0.820 srgb} bind def
+/col11 {0.530 0.810 1.000 srgb} bind def
+/col12 {0.000 0.560 0.000 srgb} bind def
+/col13 {0.000 0.690 0.000 srgb} bind def
+/col14 {0.000 0.820 0.000 srgb} bind def
+/col15 {0.000 0.560 0.560 srgb} bind def
+/col16 {0.000 0.690 0.690 srgb} bind def
+/col17 {0.000 0.820 0.820 srgb} bind def
+/col18 {0.560 0.000 0.000 srgb} bind def
+/col19 {0.690 0.000 0.000 srgb} bind def
+/col20 {0.820 0.000 0.000 srgb} bind def
+/col21 {0.560 0.000 0.560 srgb} bind def
+/col22 {0.690 0.000 0.690 srgb} bind def
+/col23 {0.820 0.000 0.820 srgb} bind def
+/col24 {0.500 0.190 0.000 srgb} bind def
+/col25 {0.630 0.250 0.000 srgb} bind def
+/col26 {0.750 0.380 0.000 srgb} bind def
+/col27 {1.000 0.500 0.500 srgb} bind def
+/col28 {1.000 0.630 0.630 srgb} bind def
+/col29 {1.000 0.750 0.750 srgb} bind def
+/col30 {1.000 0.880 0.880 srgb} bind def
+/col31 {1.000 0.840 0.000 srgb} bind def
+/col32 {0.004 0.004 0.004 srgb} bind def
+/col33 {0.988 0.988 0.988 srgb} bind def
+/col34 {0.184 0.208 0.282 srgb} bind def
+/col35 {0.447 0.498 0.671 srgb} bind def
+/col36 {0.992 0.251 0.251 srgb} bind def
+/col37 {0.780 0.000 0.012 srgb} bind def
+/col38 {0.992 0.733 0.412 srgb} bind def
+/col39 {0.957 0.498 0.000 srgb} bind def
+/col40 {0.992 0.992 0.451 srgb} bind def
+/col41 {0.894 0.894 0.000 srgb} bind def
+/col42 {0.376 0.792 0.055 srgb} bind def
+/col43 {0.231 0.490 0.031 srgb} bind def
+/col44 {0.200 0.733 0.992 srgb} bind def
+/col45 {0.118 0.431 0.580 srgb} bind def
+/col46 {0.800 0.561 0.992 srgb} bind def
+/col47 {0.380 0.004 0.686 srgb} bind def
+
+end
+save
+newpath 0 96 moveto 0 0 lineto 94 0 lineto 94 96 lineto closepath clip newpath
+-278.1 189.9 translate
+1 -1 scale
+
+/cp {closepath} bind def
+/ef {eofill} bind def
+/gr {grestore} bind def
+/gs {gsave} bind def
+/sa {save} bind def
+/rs {restore} bind def
+/l {lineto} bind def
+/m {moveto} bind def
+/rm {rmoveto} bind def
+/n {newpath} bind def
+/s {stroke} bind def
+/sh {show} bind def
+/slc {setlinecap} bind def
+/slj {setlinejoin} bind def
+/slw {setlinewidth} bind def
+/srgb {setrgbcolor} bind def
+/rot {rotate} bind def
+/sc {scale} bind def
+/sd {setdash} bind def
+/ff {findfont} bind def
+/sf {setfont} bind def
+/scf {scalefont} bind def
+/sw {stringwidth} bind def
+/tr {translate} bind def
+/tnt {dup dup currentrgbcolor
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
+  bind def
+/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
+  4 -2 roll mul srgb} bind def
+ /DrawEllipse {
+	/endangle exch def
+	/startangle exch def
+	/yrad exch def
+	/xrad exch def
+	/y exch def
+	/x exch def
+	/savematrix mtrx currentmatrix def
+	x y tr xrad yrad sc 0 0 1 startangle endangle arc
+	closepath
+	savematrix setmatrix
+	} def
+
+/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
+/$F2psEnd {$F2psEnteredState restore end} def
+
+$F2psBegin
+10 setmiterlimit
+0 slj 0 slc
+ 0.06000 0.06000 sc
+%
+% Fig objects follow
+%
+% 
+% here starts figure with depth 50
+% Polyline
+0 slj
+0 slc
+7.500 slw
+n 4800 1800 m 6000 1800 l 6000 3000 l 4800 3000 l
+ cp gs col45 s gr 
+% Polyline
+n 4800 1800 m
+ 6000 3000 l gs col45 s gr 
+% here ends figure;
+% 
+% here starts figure with depth 40
+% Ellipse
+7.500 slw
+n 6000 3000 37 37 0 360 DrawEllipse gs col39 1.00 shd ef gr gs col39 s gr
+
+% Ellipse
+n 5963 1800 37 37 0 360 DrawEllipse gs col39 1.00 shd ef gr gs col39 s gr
+
+/Helvetica-Bold ff 200.00 scf sf
+4650 3150 m
+gs 1 -1 sc (0) col0 sh gr
+/Helvetica-Bold ff 200.00 scf sf
+6075 1875 m
+gs 1 -1 sc (3) col0 sh gr
+/Helvetica-Bold ff 200.00 scf sf
+4650 1725 m
+gs 1 -1 sc (2) col0 sh gr
+% Ellipse
+n 4800 1800 37 37 0 360 DrawEllipse gs col39 1.00 shd ef gr gs col39 s gr
+
+/Helvetica-Bold ff 200.00 scf sf
+6075 3150 m
+gs 1 -1 sc (1) col0 sh gr
+% Ellipse
+n 4800 3000 37 37 0 360 DrawEllipse gs col39 1.00 shd ef gr gs col39 s gr
+
+% here ends figure;
+$F2psEnd
+rs
+showpage
+%%Trailer
+%EOF

Added: short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3/figs/twotri3-mesh.fig
===================================================================
--- short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3/figs/twotri3-mesh.fig	2007-06-24 23:52:44 UTC (rev 7448)
+++ short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3/figs/twotri3-mesh.fig	2007-06-25 00:08:10 UTC (rev 7449)
@@ -0,0 +1,37 @@
+#FIG 3.2  Produced by xfig version 3.2.5
+Landscape
+Center
+Inches
+Letter  
+100.00
+Single
+-2
+1200 2
+0 32 #010101
+0 33 #fcfcfc
+0 34 #2f3548
+0 35 #727fab
+0 36 #fd4040
+0 37 #c70003
+0 38 #fdbb69
+0 39 #f47f00
+0 40 #fdfd73
+0 41 #e4e400
+0 42 #60ca0e
+0 43 #3b7d08
+0 44 #33bbfd
+0 45 #1e6e94
+0 46 #cc8ffd
+0 47 #6101af
+1 3 0 1 39 39 40 -1 20 0.000 1 0.0000 4800 1800 37 37 4800 1800 4837 1800
+1 3 0 1 39 39 40 -1 20 0.000 1 0.0000 4800 3000 37 37 4800 3000 4837 3000
+1 3 0 1 39 39 40 -1 20 0.000 1 0.0000 6000 3000 37 37 6000 3000 6037 3000
+1 3 0 1 39 39 40 -1 20 0.000 1 0.0000 5963 1800 37 37 5963 1800 6000 1800
+2 2 0 1 45 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 4800 1800 6000 1800 6000 3000 4800 3000 4800 1800
+2 1 0 1 45 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 4800 1800 6000 3000
+4 0 0 40 -1 18 12 0.0000 4 135 105 4650 3150 0\001
+4 0 0 40 -1 18 12 0.0000 4 135 105 6075 1875 3\001
+4 0 0 40 -1 18 12 0.0000 4 135 105 4650 1725 2\001
+4 0 0 40 -1 18 12 0.0000 4 135 105 6075 3150 1\001

Modified: short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3/twotri3.lyx
===================================================================
--- short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3/twotri3.lyx	2007-06-24 23:52:44 UTC (rev 7448)
+++ short/3D/PyLith/trunk/doc/userguide/tutorials/twotri3/twotri3.lyx	2007-06-25 00:08:10 UTC (rev 7449)
@@ -51,12 +51,12 @@
 \begin_layout Standard
 This tutorial is the simplest 2D example of a quasi-static finite element
  problem (a simpler problem would consist of a 1D bar).
- It is a mesh composed of 2 linear triangles subject to displacement boundary
+ It is a mesh composed of two linear triangles subject to displacement boundary
  conditions, assuming plane-strain linear elastic behavior.
  Due to the simple geometry of the problem, the mesh may be constructed
  by hand, using PyLith Mesh ASCII format to describe the mesh.
  In this tutorial, we will walk through the steps necessary to construct,
- run, and view 3 problems that use the same mesh.
+ run, and view three problems that use the same mesh.
  In addition to this manual, each of the files for the example problem is
  heavily documented to aid users in understanding the basic file formats.
 \end_layout
@@ -67,26 +67,55 @@
 
 \begin_layout Standard
 The mesh consists of two triangles forming a square with edge lengths of
- 1 unit (***FIGURE***).
+ one unit (***FIGURE***).
  The mesh geometry and topology is described in the file 
 \family typewriter
 twotri3.mesh
 \family default
 , which is in PyLith Mesh ASCII format.
- This file format is described in (***REFERENCE***).
+ This file format is described in 
+\begin_inset LatexCommand \ref{cha:File-Formats}
+
+\end_inset
+
+.
  This file describes the dimensionality of the problem (1D, 2D, or 3D),
- the nodal coordinates, the nodes composing each element, the material ID
- to be associated with each element, and then provides groups of vertices
- that may be used to define faults or surfaces to which boundary conditions
- may be applied.
+ the coordinates of the vertices (nodes), the vertices composing each cell
+ (element), the material ID to be associated with each element, and then
+ provides groups of vertices that may be used to define faults or surfaces
+ to which boundary conditions may be applied.
 \end_layout
 
+\begin_layout Standard
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+\begin_layout Caption
+Mesh used for the two triangle examples.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Graphics
+	filename figs/twotri3-mesh.eps
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Subsection
 Additional Common Information
 \end_layout
 
 \begin_layout Standard
-In addition to the mesh, the 3 example problems share additional information.
+In addition to the mesh, the three example problems share additional information.
  For problems of this type, it is generally useful to create a file named
  
 \family typewriter
@@ -146,7 +175,7 @@
  matprops.spatialdb
 \family default
 .
- Although the material model is specific in 
+ Although the material model is specified in 
 \family typewriter
 pylithapp.cfg
 \family default
@@ -289,7 +318,7 @@
 \begin_layout Standard
 \begin_inset Graphics
 	filename figs/axialdisp.jpg
-	lyxscale 80
+	lyxscale 65
 	scale 75
 	keepAspectRatio
 
@@ -457,7 +486,7 @@
 \begin_layout Standard
 \begin_inset Graphics
 	filename figs/sheardisp.jpg
-	lyxscale 80
+	lyxscale 65
 
 \end_inset
 
@@ -525,12 +554,8 @@
 \end_layout
 
 \begin_layout Description
-pylithapp.timedependent.interfaces We give the type of fault being used (
+pylithapp.timedependent.interfaces We give the label (defined in 
 \family typewriter
-pylith.faults.FaultCohesiveKin
-\family default
-), give the label (defined in 
-\family typewriter
 twotri3.mesh
 \family default
 ) defining the points on the fault, provide quadrature information, and
@@ -563,8 +588,8 @@
 \end_layout
 
 \begin_layout Standard
-The fault example requires 3 additional database files that were not needed
- for the simple displacement examples.
+The fault example requires three additional database files that were not
+ needed for the simple displacement examples.
  The first file (
 \family typewriter
 dislocation_slip.spatialdb
@@ -668,7 +693,7 @@
 \begin_layout Standard
 \begin_inset Graphics
 	filename figs/dislocation.jpg
-	lyxscale 80
+	lyxscale 65
 
 \end_inset
 



More information about the cig-commits mailing list