v0.14.0
Loading...
Searching...
No Matches
elec.jou
Go to the documentation of this file.
1reset
2set duplicate block elements on
3
4brick x 5 y 5 z 1.0
5
6
7webcut volume 1 with plane yplane offset 1
8webcut volume 1 with plane yplane offset -1
9webcut volume 1 with plane yplane offset -1.5
10webcut volume 2 with plane yplane offset 1.5
11imprint all
12merge all
13
14#BOUNDARY_CONDITION
15block 1 surface 3
16block 1 name 'BOUNDARY_CONDITION_1'
17block 1 attribute count 1
18block 1 attribute index 1 0.0
19
20
21
22#CONSTANT_BOUNDARY
23
24block 4 surface 7
25block 4 name "ELECTRODE_1"
26
27block 5 surface 17
28block 5 name "ELECTRODE_2"
29
30
31block 11 surface 7
32block 11 name "INT_ELECTRIC_1"
33block 11 attribute count 1
34block 11 attribute index 1 -5
35
36block 12 surface 17
37block 12 name "INT_ELECTRIC_2"
38block 12 attribute count 1
39block 12 attribute index 1 5
40#
41block 100 volume 1 3 5
42block 100 name "MAT_ELECTRIC_1"
43block 100 attribute count 1
44block 100 attribute index 1 1
45
46block 101 volume 2
47block 101 name "MAT_ELECTRIC_2"
48block 101 attribute count 1
49block 101 attribute index 1 2
50
51block 102 volume 4
52block 102 name "MAT_ELECTRIC_3"
53block 102 attribute count 1
54block 102 attribute index 1 3
55
56block 103 volume 3
57block 103 name "DOMAIN_INT"
58
59volume all scheme tetmesh
60volume all size auto factor 10
61mesh volume all
62save as "/Users/'dir'/elec_3D.cub" overwrite