[cig-commits] r22876 - in seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic: . MESH-default

carltape at geodynamics.org carltape at geodynamics.org
Thu Sep 26 23:27:57 PDT 2013


Author: carltape
Date: 2013-09-26 23:27:57 -0700 (Thu, 26 Sep 2013)
New Revision: 22876

Added:
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_bottom
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_xmax
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_xmin
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_ymax
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_ymin
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/free_or_absorbing_surface_file_zmax
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/materials_file
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/mesh_file
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/nodes_coords_file
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/nummaterial_velocity_file
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/make_mesh.sh
Removed:
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/block_mesh.py
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/boundary_definition.py
   seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/cubit2specfem3d.py
Log:
updated homogeneous_acoustic example, which has identical mesh to homogeneous_halfspace


Added: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_bottom
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_bottom	                        (rev 0)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_bottom	2013-09-27 06:27:57 UTC (rev 22876)
@@ -0,0 +1 @@
+link ../../homogeneous_halfspace/MESH-default/absorbing_surface_file_bottom
\ No newline at end of file


Property changes on: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_bottom
___________________________________________________________________
Added: svn:special
   + *

Added: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_xmax
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_xmax	                        (rev 0)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_xmax	2013-09-27 06:27:57 UTC (rev 22876)
@@ -0,0 +1 @@
+link ../../homogeneous_halfspace/MESH-default/absorbing_surface_file_xmax
\ No newline at end of file


Property changes on: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_xmax
___________________________________________________________________
Added: svn:special
   + *

Added: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_xmin
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_xmin	                        (rev 0)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_xmin	2013-09-27 06:27:57 UTC (rev 22876)
@@ -0,0 +1 @@
+link ../../homogeneous_halfspace/MESH-default/absorbing_surface_file_xmin
\ No newline at end of file


Property changes on: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_xmin
___________________________________________________________________
Added: svn:special
   + *

Added: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_ymax
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_ymax	                        (rev 0)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_ymax	2013-09-27 06:27:57 UTC (rev 22876)
@@ -0,0 +1 @@
+link ../../homogeneous_halfspace/MESH-default/absorbing_surface_file_ymax
\ No newline at end of file


Property changes on: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_ymax
___________________________________________________________________
Added: svn:special
   + *

Added: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_ymin
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_ymin	                        (rev 0)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_ymin	2013-09-27 06:27:57 UTC (rev 22876)
@@ -0,0 +1 @@
+link ../../homogeneous_halfspace/MESH-default/absorbing_surface_file_ymin
\ No newline at end of file


Property changes on: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/absorbing_surface_file_ymin
___________________________________________________________________
Added: svn:special
   + *

Added: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/free_or_absorbing_surface_file_zmax
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/free_or_absorbing_surface_file_zmax	                        (rev 0)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/free_or_absorbing_surface_file_zmax	2013-09-27 06:27:57 UTC (rev 22876)
@@ -0,0 +1 @@
+link ../../homogeneous_halfspace/MESH-default/free_or_absorbing_surface_file_zmax
\ No newline at end of file


Property changes on: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/free_or_absorbing_surface_file_zmax
___________________________________________________________________
Added: svn:special
   + *

Added: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/materials_file
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/materials_file	                        (rev 0)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/materials_file	2013-09-27 06:27:57 UTC (rev 22876)
@@ -0,0 +1 @@
+link ../../homogeneous_halfspace/MESH-default/materials_file
\ No newline at end of file


Property changes on: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/materials_file
___________________________________________________________________
Added: svn:special
   + *

Added: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/mesh_file
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/mesh_file	                        (rev 0)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/mesh_file	2013-09-27 06:27:57 UTC (rev 22876)
@@ -0,0 +1 @@
+link ../../homogeneous_halfspace/MESH-default/mesh_file
\ No newline at end of file


Property changes on: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/mesh_file
___________________________________________________________________
Added: svn:special
   + *

Added: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/nodes_coords_file
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/nodes_coords_file	                        (rev 0)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/nodes_coords_file	2013-09-27 06:27:57 UTC (rev 22876)
@@ -0,0 +1 @@
+link ../../homogeneous_halfspace/MESH-default/nodes_coords_file
\ No newline at end of file


Property changes on: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/nodes_coords_file
___________________________________________________________________
Added: svn:special
   + *

Added: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/nummaterial_velocity_file
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/nummaterial_velocity_file	                        (rev 0)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/nummaterial_velocity_file	2013-09-27 06:27:57 UTC (rev 22876)
@@ -0,0 +1 @@
+link ../../homogeneous_halfspace/MESH-default/nummaterial_velocity_file
\ No newline at end of file


Property changes on: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/MESH-default/nummaterial_velocity_file
___________________________________________________________________
Added: svn:special
   + *

Deleted: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/block_mesh.py
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/block_mesh.py	2013-09-27 06:24:22 UTC (rev 22875)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/block_mesh.py	2013-09-27 06:27:57 UTC (rev 22876)
@@ -1,49 +0,0 @@
-#!/usr/bin/env python
-
-import cubit
-import boundary_definition
-import cubit2specfem3d
-
-import os
-import sys
-
-cubit.cmd('reset')
-cubit.cmd('brick x 134000 y 134000 z 60000')
-cubit.cmd('volume 1 move x 67000 y 67000 z -30000')
-
-
-# Meshing the volumes
-elementsize = 3750.0
-
-cubit.cmd('volume 1 size '+str(elementsize))
-cubit.cmd('mesh volume 1')
-
-
-#### End of meshing
-
-###### This is boundary_definition.py of GEOCUBIT
-#..... which extracts the bounding faces and defines them into blocks
-boundary_definition.entities=['face']
-boundary_definition.define_bc(boundary_definition.entities,parallel=True)
-
-#### Define material properties for the 3 volumes ################
-cubit.cmd('#### DEFINE MATERIAL PROPERTIES #######################')
-
-
-cubit.cmd('block 1 name "acoustic 1" ')       # acoustic material region
-cubit.cmd('block 1 attribute count 4')
-cubit.cmd('block 1 attribute index 1 1  ')     # material 1
-cubit.cmd('block 1 attribute index 2 1480 ')  # vp
-cubit.cmd('block 1 attribute index 3 0 ')      # vs
-cubit.cmd('block 1 attribute index 4 1028 ')  # rho (ocean salt water density:
-
-
-cubit.cmd('export mesh "top.e" dimension 3 overwrite')
-cubit.cmd('save as "meshing.cub" overwrite')
-
-#### Export to SPECFEM3D format using cubit2specfem3d.py of GEOCUBIT
-
-os.system('mkdir -p MESH')
-cubit2specfem3d.export2SPECFEM3D('MESH')
-
-# all files needed by SCOTCH are now in directory MESH

Deleted: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/boundary_definition.py
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/boundary_definition.py	2013-09-27 06:24:22 UTC (rev 22875)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/boundary_definition.py	2013-09-27 06:27:57 UTC (rev 22876)
@@ -1 +0,0 @@
-link ../../CUBIT_GEOCUBIT/geocubitlib/boundary_definition.py
\ No newline at end of file

Deleted: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/cubit2specfem3d.py
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/cubit2specfem3d.py	2013-09-27 06:24:22 UTC (rev 22875)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/cubit2specfem3d.py	2013-09-27 06:27:57 UTC (rev 22876)
@@ -1 +0,0 @@
-link ../../CUBIT_GEOCUBIT/geocubitlib/cubit2specfem3d.py
\ No newline at end of file

Added: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/make_mesh.sh
===================================================================
--- seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/make_mesh.sh	                        (rev 0)
+++ seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/make_mesh.sh	2013-09-27 06:27:57 UTC (rev 22876)
@@ -0,0 +1 @@
+link ../homogeneous_halfspace/make_mesh.sh
\ No newline at end of file


Property changes on: seismo/3D/SPECFEM3D/trunk/examples/homogeneous_acoustic/make_mesh.sh
___________________________________________________________________
Added: svn:special
   + *



More information about the CIG-COMMITS mailing list