[cig-commits] [commit] master: added cubit_example.jou and CubitExampleForSPECFEM3D_GEOTECH.pdf (a049ce1)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Mon Jun 16 16:02:41 PDT 2014
Repository : https://github.com/geodynamics/specfem3d_geotech
On branch : master
Link : https://github.com/geodynamics/specfem3d_geotech/compare/56144e3eed4cba6429c83c729efe2a65c229d9fa...ef93c431c9c308226463b35dbf8fd61b14df30eb
>---------------------------------------------------------------
commit a049ce168ff73646c6c956c36329c63ae08ac531
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date: Tue Jun 17 01:01:01 2014 +0200
added cubit_example.jou and CubitExampleForSPECFEM3D_GEOTECH.pdf
>---------------------------------------------------------------
a049ce168ff73646c6c956c36329c63ae08ac531
CubitExampleForSPECFEM3D_GEOTECH.pdf | Bin 0 -> 54663 bytes
cubit_example.jou | 48 +++++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/CubitExampleForSPECFEM3D_GEOTECH.pdf b/CubitExampleForSPECFEM3D_GEOTECH.pdf
new file mode 100644
index 0000000..6214c8e
Binary files /dev/null and b/CubitExampleForSPECFEM3D_GEOTECH.pdf differ
diff --git a/cubit_example.jou b/cubit_example.jou
new file mode 100644
index 0000000..87a4b39
--- /dev/null
+++ b/cubit_example.jou
@@ -0,0 +1,48 @@
+# create model
+create vertex 0 0 0
+create vertex 50 0 0
+create vertex 50 0 6
+create vertex 43 0 6
+create vertex 18 0 18
+create vertex 0 0 18
+create curve vertex 1 2
+create curve vertex 2 3
+create curve vertex 3 4
+create curve vertex 4 5
+create curve vertex 5 6
+create curve vertex 6 1
+create surface curve 1 2 3 4 5 6
+sweep surface 1 vector 0 1 0 distance 20
+compress all
+# mesh surface
+surface 8 size 2
+surface 8 scheme pave
+mesh surface 8
+# mesh volume sweeping surface mesh
+volume 1 size 2
+volume 1 redistribute nodes off
+volume 1 scheme Sweep source surface 8 target surface 1 sweep_smooth Auto sweep_transform least_squares autosmooth_target off
+mesh volume 1
+# define block
+set duplicate block elements off
+block 1 volume 1
+# define boundary conditions
+#ssbcux: x-componnent of displacement is restrained
+#ssbcuy: y-componnent of displacement is restrained
+#ssbcuz: z-componnent of displacement is restrained
+Sideset 1 surface 2
+sideset 1 name 'bottom_ssbcux_ssbcuy_ssbcuz'
+Sideset 2 surface 8
+sideset 2 name 'front_ssbcuy'
+Sideset 3 surface 1
+sideset 3 name 'back_ssbcuy'
+Sideset 4 surface 7
+sideset 4 name 'left_ssbcux'
+Sideset 5 surface 3
+sideset 5 name 'right_ssbcux'
+compress all
+# save and export mesh
+save as "cubit_example.cub" overwrite
+set large exodus file off
+export mesh "cubit_example.e" overwrite
+
More information about the CIG-COMMITS
mailing list