[cig-commits] commit: More work on cohesive cell figure.

Mercurial hg at geodynamics.org
Tue Mar 27 18:54:41 PDT 2012


changeset:   87:50f054baa891
tag:         tip
user:        Brad Aagaard <baagaard at usgs.gov>
date:        Tue Mar 27 18:54:32 2012 -0700
files:       figs/cohesivecell.tex
description:
More work on cohesive cell figure.


diff -r 7d26180de521 -r 50f054baa891 figs/cohesivecell.tex
--- a/figs/cohesivecell.tex	Tue Mar 27 16:34:36 2012 -0700
+++ b/figs/cohesivecell.tex	Tue Mar 27 18:54:32 2012 -0700
@@ -10,12 +10,15 @@
 
 \usetikzlibrary{shapes,fit,calc}%
 
-\tikzstyle{vertex}=[circle,color=mdslate,fill=mdslate,inner sep=2pt]
+\tikzstyle{title}=[text width=37mm,font=\bfseries]
 
-\tikzstyle{vertexf}=[circle,color=red,fill=red,inner sep=2pt]
-\tikzstyle{vertexp}=[circle,color=red,fill=red,inner sep=2pt]
-\tikzstyle{vertexn}=[circle,color=blue,fill=blue,inner sep=2pt]
-\tikzstyle{vertexl}=[circle,color=orange,fill=orange,inner sep=2pt]
+
+\tikzstyle{vertex}=[circle,color=mdslate,fill=mdslate,inner sep=1.5pt]
+
+\tikzstyle{vertexf}=[circle,color=red,fill=red,inner sep=1.5pt]
+\tikzstyle{vertexp}=[circle,color=red,fill=red,inner sep=1.5pt]
+\tikzstyle{vertexn}=[circle,color=blue,fill=blue,inner sep=1.5pt]
+\tikzstyle{vertexl}=[circle,color=orange,fill=orange,inner sep=1.5pt]
 
 \tikzstyle{cell}=[color=black]
 
@@ -31,6 +34,8 @@
 
 % ----------------------------------------------------------------------
 % Original mesh
+
+\node[title] at ($ (o1)+(0,35mm) $) {a) Original mesh};
 
 % Vertices
 \node[vertexf] (v1) at ($ (o1)+(0mm,+15mm) $) {};
@@ -63,24 +68,26 @@
 \draw [cell]  (v2) -- (v7) -- (v6) -- (v2);
 \draw [cell]  (v1) -- (v6) -- (v9) -- (v1);
 
-\node(fvlabel) [label,color=red] at ($ (o1)+(-10mm,-35mm) $) {fault vertex};
+\node(fvlabel) [color=red] at ($ (o1)+(-10mm,-35mm) $) {fault vertex};
 \path [color=red,->] (fvlabel) edge [bend right] (v3);
 
 % ----------------------------------------------------------------------
 % Add vertices, create cohesive cell
+
+\node[title] at ($ (o2)+(0,35mm) $) {b) Add collocated vertices};
 
 % Vertices
 \node[vertexl] (v7) at ($ (o2)+(0mm,+15mm) $) {};
 \node[vertexl] (v8) at (o2) {};
 \node[vertexl] (v9) at ($ (o2)+(0mm,-15mm) $) {};
 
-\node[vertexn] (v4) at ($ (o2)+(0mm,+15mm)-(3mm,0mm) $) {};
-\node[vertexn] (v5) at ($ (o2)-(3mm,0mm) $) {};
-\node[vertexn] (v6) at ($ (o2)+(0mm,-15mm)-(3mm,0mm) $) {};
+\node[vertexn] (v4) at ($ (o2)+(0mm,+15mm)-(2mm,0mm) $) {};
+\node[vertexn] (v5) at ($ (o2)-(2mm,0mm) $) {};
+\node[vertexn] (v6) at ($ (o2)+(0mm,-15mm)-(2mm,0mm) $) {};
 
-\node[vertexp] (v1) at ($ (o2)+(0mm,+15mm)+(3mm,0mm) $) {};
-\node[vertexp] (v2) at ($ (o2)+(3mm,0mm) $) {};
-\node[vertexp] (v3) at ($ (o2)+(0mm,-15mm)+(3mm,0mm) $) {};
+\node[vertexp] (v1) at ($ (o2)+(0mm,+15mm)+(2mm,0mm) $) {};
+\node[vertexp] (v2) at ($ (o2)+(2mm,0mm) $) {};
+\node[vertexp] (v3) at ($ (o2)+(0mm,-15mm)+(2mm,0mm) $) {};
 
 % surface and edges
 \draw [color=red,very thick] (v1) -- (v2) -- (v3);
@@ -89,16 +96,38 @@
 \draw [color=black] (v2) -- (v8) -- (v5);
 \draw [color=black] (v3) -- (v9) -- (v6);
 
+% Fault surface labels
+\node(fvlabel) [color=blue] at ($ (o2)+(-10mm,+25mm) $) {$S_{f-}$};
+\path [color=blue,->] (fvlabel.south) edge [bend right] ($ (o2)+(-2mm,+7.5mm) $);
+
+\node(fvlabel) [color=red] at ($ (o2)+(+10mm,+25mm) $) {$S_{f+}$};
+\path [color=red,->] (fvlabel.south) edge [bend left] ($ (o2)+(+2mm,+7.5mm) $);
+
+
+% Fault vertex labels
+\node(fvlabel) [text width=20mm,align=right,color=blue] at ($ (o2)+(-15mm,-25mm) $) {Vertex on negative side};
+\path [color=blue,->] (fvlabel.east) edge [bend right] (v6);
+
+\node(fvlabel) [text width=20mm,align=right,color=orange] at ($ (o2)+(-5mm,-40mm) $) {Lagrange multiplier vertex};
+\path [color=orange,->] (fvlabel.east) edge [bend right] (v9);
+
+\node(fvlabel) [text width=20mm,align=right,color=red] at ($ (o2)+(+5mm,-55mm) $) {Vertex on positive side};
+\path [color=red,->] (fvlabel.east) edge [bend right] (v3);
+
+
+
 % ----------------------------------------------------------------------
 % Update cells with faces on fault
 
-\coordinate (p1) at ($ (o3)+(0mm,+15mm)+(2mm,0mm) $);
-\coordinate (p2) at ($ (o3)+(2mm,0mm) $);
-\coordinate (p3) at ($ (o3)+(0mm,-15mm)+(2mm,0mm) $);
+\node[title] at ($ (o3)+(0,35mm) $) {c) Update cells with fault faces};
 
-\coordinate (p4) at ($ (o3)+(0mm,+15mm)-(2mm,0mm) $);
-\coordinate (p5) at ($ (o3)-(2mm,0mm) $);
-\coordinate (p6) at ($ (o3)+(0mm,-15mm)-(2mm,0mm) $);
+\coordinate (p1) at ($ (o3)+(0mm,+15mm)+(1mm,0mm) $);
+\coordinate (p2) at ($ (o3)+(1mm,0mm) $);
+\coordinate (p3) at ($ (o3)+(0mm,-15mm)+(1mm,0mm) $);
+
+\coordinate (p4) at ($ (o3)+(0mm,+15mm)-(1mm,0mm) $);
+\coordinate (p5) at ($ (o3)-(1mm,0mm) $);
+\coordinate (p6) at ($ (o3)+(0mm,-15mm)-(1mm,0mm) $);
 
 \coordinate (p7) at ($ (o3)+(0mm,+15mm) $);
 \coordinate (p8) at (o3);
@@ -151,13 +180,15 @@
 % ----------------------------------------------------------------------
 % Classify cells and update other cells
 
-\coordinate (p1) at ($ (o4)+(0mm,+15mm)+(2mm,0mm) $);
-\coordinate (p2) at ($ (o4)+(2mm,0mm) $);
-\coordinate (p3) at ($ (o4)+(0mm,-15mm)+(2mm,0mm) $);
+\node[title] at ($ (o4)+(0,35mm) $) {d) Classify cells and replace vertices};
 
-\coordinate (p4) at ($ (o4)+(0mm,+15mm)-(2mm,0mm) $);
-\coordinate (p5) at ($ (o4)-(2mm,0mm) $);
-\coordinate (p6) at ($ (o4)+(0mm,-15mm)-(2mm,0mm) $);
+\coordinate (p1) at ($ (o4)+(0mm,+15mm)+(1mm,0mm) $);
+\coordinate (p2) at ($ (o4)+(1mm,0mm) $);
+\coordinate (p3) at ($ (o4)+(0mm,-15mm)+(1mm,0mm) $);
+
+\coordinate (p4) at ($ (o4)+(0mm,+15mm)-(1mm,0mm) $);
+\coordinate (p5) at ($ (o4)-(1mm,0mm) $);
+\coordinate (p6) at ($ (o4)+(0mm,-15mm)-(1mm,0mm) $);
 
 \coordinate (p7) at ($ (o4)+(0mm,+15mm) $);
 \coordinate (p8) at (o4);



More information about the CIG-COMMITS mailing list