-
Notifications
You must be signed in to change notification settings - Fork 96
/
mesh_hex8_200m.jou
63 lines (54 loc) · 2.31 KB
/
mesh_hex8_200m.jou
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
## /tools/common/cubit-10.2/bin/clarox
## Cubit Version 10.2
## Cubit Build 24
## Revised 12/15/2006 16:09:40 MST
## Running 06/18/2007 10:26:50 AM
## Command Options:
## -warning = On
## -information = On
# ----------------------------------------------------------------------
# Generate geometry
# ----------------------------------------------------------------------
playback 'geometry.jou'
# ----------------------------------------------------------------------
# Set discretization size
# ----------------------------------------------------------------------
volume all size 200
# ----------------------------------------------------------------------
# Generate the mesh
# ----------------------------------------------------------------------
mesh volume all
# ----------------------------------------------------------------------
# Create blocks for materials
# ----------------------------------------------------------------------
block 1 volume 1 3
block 1 name "elastic"
# ----------------------------------------------------------------------
# Create nodeset for fault
# ----------------------------------------------------------------------
group "fault" add node in fault_surface
nodeset 10 group fault
nodeset 10 name "fault"
# ----------------------------------------------------------------------
# Create nodeset for +x face
# ----------------------------------------------------------------------
group "face_xpos" add node in surface 6
nodeset 11 group face_xpos
nodeset 11 name "face xpos"
# ----------------------------------------------------------------------
# Create nodeset for -x face
# ----------------------------------------------------------------------
group "face_xneg" add node in surface 4
nodeset 12 group face_xneg
nodeset 12 name "face xneg"
# ----------------------------------------------------------------------
# Create nodeset for all vertices but fault
# ----------------------------------------------------------------------
group "vertices_nofault" add node all
group "vertices_nofault" remove node in fault
nodeset 13 group vertices_nofault
nodeset 13 name "vertices_nofault"
# ----------------------------------------------------------------------
# Export exodus file
# ----------------------------------------------------------------------
export mesh "bar_hex8_200m.exo" dimension 3 overwrite