[cig-commits] r15080 - short/3D/PyLith/trunk/tests/2d/quad4

brad at geodynamics.org brad at geodynamics.org
Thu May 28 15:30:57 PDT 2009


Author: brad
Date: 2009-05-28 15:30:56 -0700 (Thu, 28 May 2009)
New Revision: 15080

Added:
   short/3D/PyLith/trunk/tests/2d/quad4/mesh.exo
   short/3D/PyLith/trunk/tests/2d/quad4/mesh.jou
Removed:
   short/3D/PyLith/trunk/tests/2d/quad4/box_quad4_100m.exo
   short/3D/PyLith/trunk/tests/2d/quad4/mesh_quad4_100m.jou
Modified:
   short/3D/PyLith/trunk/tests/2d/quad4/geometry.jou
Log:
Created new mesh for quad4 full-scale unit tests.

Deleted: short/3D/PyLith/trunk/tests/2d/quad4/box_quad4_100m.exo
===================================================================
(Binary files differ)

Modified: short/3D/PyLith/trunk/tests/2d/quad4/geometry.jou
===================================================================
--- short/3D/PyLith/trunk/tests/2d/quad4/geometry.jou	2009-05-28 21:29:04 UTC (rev 15079)
+++ short/3D/PyLith/trunk/tests/2d/quad4/geometry.jou	2009-05-28 22:30:56 UTC (rev 15080)
@@ -2,14 +2,14 @@
 # Create surface using vertices
 # ----------------------------------------------------------------------
 
-# Block is 800m x 800m
-# -400 m <= x <= 400 m 
-# -400 m <= y <= 400 m
+# Block is 8000m x 8000m
+# -4000 m <= x <= 4000 m 
+# -4000 m <= y <= 4000 m
 reset
-create vertex -400.0 -400.0 0.0
-create vertex -400.0 +400.0 0.0
-create vertex +400.0 +400.0 0.0
-create vertex +400.0 -400.0 0.0
+create vertex -4000.0 -4000.0 0.0
+create vertex -4000.0 +4000.0 0.0
+create vertex +4000.0 +4000.0 0.0
+create vertex +4000.0 -4000.0 0.0
 create surface vertex 1 2 3 4
 delete vertex all
 
@@ -18,20 +18,14 @@
 # ----------------------------------------------------------------------
 
 # Fault at x=0
-create vertex 0.0 -400.0 0.0
-create vertex 0.0 +400.0 0.0
+create vertex 0.0 -4000.0 0.0
+create vertex 0.0 +4000.0 0.0
 split surface 1 across location vertex 9 location vertex 10
 
-# Fault at y=-100
-create vertex -400.0 -100.0 0.0
-create vertex +400.0 -100.0 0.0
+# Fault at x=-2000.0
+create vertex -2000.0 +4000.0 0.0
+create vertex -2000.0 -4000.0 0.0
 split surface 2 across location vertex 13 location vertex 14
 split surface 3 across location vertex 13 location vertex 14
 
-# Fault at y=+100
-create vertex -400.0 +100.0 0.0
-create vertex +400.0 +100.0 0.0
-split surface 4 across location vertex 18 location vertex 19
-split surface 6 across location vertex 18 location vertex 19
-
 delete vertex all

Added: short/3D/PyLith/trunk/tests/2d/quad4/mesh.exo
===================================================================
(Binary files differ)


Property changes on: short/3D/PyLith/trunk/tests/2d/quad4/mesh.exo
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Copied: short/3D/PyLith/trunk/tests/2d/quad4/mesh.jou (from rev 15074, short/3D/PyLith/trunk/tests/2d/quad4/mesh_quad4_100m.jou)
===================================================================
--- short/3D/PyLith/trunk/tests/2d/quad4/mesh.jou	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/2d/quad4/mesh.jou	2009-05-28 22:30:56 UTC (rev 15080)
@@ -0,0 +1,69 @@
+# ----------------------------------------------------------------------
+# Generate geometry
+# ----------------------------------------------------------------------
+playback 'geometry.jou'
+
+# ----------------------------------------------------------------------
+# Set discretization size
+# ----------------------------------------------------------------------
+surface all size 1000
+
+# ----------------------------------------------------------------------
+# Generate the mesh
+# ----------------------------------------------------------------------
+surface all scheme submap
+mesh surface all
+
+# ----------------------------------------------------------------------
+# Create blocks for materials
+# ----------------------------------------------------------------------
+block 1 surface 3 4 5 
+block 1 name "elastic"
+
+# ----------------------------------------------------------------------
+# Create nodeset for faults
+# ----------------------------------------------------------------------
+group "fault_x" add node in curve 5
+nodeset 10 group fault_x
+nodeset 10 name "fault_x"
+
+group "fault_x2" add node in curve 10
+nodeset 11 group fault_x2
+nodeset 11 name "fault_x2"
+
+# ----------------------------------------------------------------------
+# Create nodeset for +x edge
+# ----------------------------------------------------------------------
+group "edge_xpos" add node in curve 3
+nodeset 20 group edge_xpos
+nodeset 20 name "edge xpos"
+
+# ----------------------------------------------------------------------
+# Create nodeset for -x edge
+# ----------------------------------------------------------------------
+group "edge_xneg" add node in curve 1
+nodeset 21 group edge_xneg
+nodeset 21 name "edge xneg"
+
+# ----------------------------------------------------------------------
+# Create nodeset for +y edge
+# ----------------------------------------------------------------------
+group "edge_ypos" add node in curve  8
+group "edge_ypos" add node in curve 11
+group "edge_ypos" add node in curve 14
+nodeset 22 group edge_ypos
+nodeset 22 name "edge ypos"
+
+# ----------------------------------------------------------------------
+# Create nodeset for -y edge
+# ----------------------------------------------------------------------
+group "edge_yneg" add node in curve  9
+group "edge_yneg" add node in curve 12
+group "edge_yneg" add node in curve 13
+nodeset 23 group edge_yneg
+nodeset 23 name "edge yneg"
+
+# ----------------------------------------------------------------------
+# Export exodus file
+# ----------------------------------------------------------------------
+export mesh "mesh.exo" dimension 2 overwrite

Deleted: short/3D/PyLith/trunk/tests/2d/quad4/mesh_quad4_100m.jou
===================================================================
--- short/3D/PyLith/trunk/tests/2d/quad4/mesh_quad4_100m.jou	2009-05-28 21:29:04 UTC (rev 15079)
+++ short/3D/PyLith/trunk/tests/2d/quad4/mesh_quad4_100m.jou	2009-05-28 22:30:56 UTC (rev 15080)
@@ -1,79 +0,0 @@
-# ----------------------------------------------------------------------
-# Generate geometry
-# ----------------------------------------------------------------------
-playback 'geometry.jou'
-
-# ----------------------------------------------------------------------
-# Set discretization size
-# ----------------------------------------------------------------------
-surface all size 100
-
-# ----------------------------------------------------------------------
-# Generate the mesh
-# ----------------------------------------------------------------------
-surface all scheme submap
-mesh surface all
-
-# ----------------------------------------------------------------------
-# Create blocks for materials
-# ----------------------------------------------------------------------
-block 1 surface 5 7 9 11 8 10 
-block 1 name "elastic"
-
-# ----------------------------------------------------------------------
-# Create nodeset for faults
-# ----------------------------------------------------------------------
-group "fault_x" add node in curve 13
-group "fault_x" add node in curve 21
-group "fault_x" add node in curve 20
-nodeset 10 group fault_x
-nodeset 10 name "fault_x"
-
-group "fault_ypos" add node in curve 18
-group "fault_ypos" add node in curve 23
-nodeset 11 group fault_ypos
-nodeset 11 name "fault_ypos"
-
-group "fault_yneg" add node in curve 10
-group "fault_yneg" add node in curve 15
-nodeset 12 group fault_yneg
-nodeset 12 name "fault_yneg"
-
-# ----------------------------------------------------------------------
-# Create nodeset for +x edge
-# ----------------------------------------------------------------------
-group "edge_xpos" add node in curve 17
-group "edge_xpos" add node in curve 25
-group "edge_xpos" add node in curve 24
-nodeset 20 group edge_xpos
-nodeset 20 name "edge xpos"
-
-# ----------------------------------------------------------------------
-# Create nodeset for -x edge
-# ----------------------------------------------------------------------
-group "edge_xneg" add node in curve 14
-group "edge_xneg" add node in curve 22
-group "edge_xneg" add node in curve 19
-nodeset 21 group edge_xneg
-nodeset 21 name "edge xneg"
-
-# ----------------------------------------------------------------------
-# Create nodeset for +y edge
-# ----------------------------------------------------------------------
-group "edge_ypos" add node in curve 7
-group "edge_ypos" add node in curve 8
-nodeset 22 group edge_ypos
-nodeset 22 name "edge ypos"
-
-# ----------------------------------------------------------------------
-# Create nodeset for -y edge
-# ----------------------------------------------------------------------
-group "edge_yneg" add node in curve 6
-group "edge_yneg" add node in curve 9
-nodeset 23 group edge_yneg
-nodeset 23 name "edge yneg"
-
-# ----------------------------------------------------------------------
-# Export exodus file
-# ----------------------------------------------------------------------
-export mesh "box_quad4_100m.exo" dimension 2 overwrite



More information about the CIG-COMMITS mailing list