~fluidity-core/fluidity/sea-ice-branch

« back to all changes in this revision

Viewing changes to tests/flux_bc/src/flux_bc_3d.geo

  • Committer: Simon Mouradian
  • Date: 2012-10-19 10:35:59 UTC
  • mfrom: (3520.32.371 fluidity)
  • Revision ID: simon.mouradian06@imperial.ac.uk-20121019103559-y36qa47phc69q8sc
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Point(1) = {0.0, 0.0, 0.0, 0.05};
 
2
Point(2) = {0.3, 0.0, 0.0, 0.05};
 
3
Point(3) = {0.3, 0.0, 0.3, 0.05};
 
4
Point(4) = {0.0, 0.0, 0.3, 0.05};
 
5
Point(5) = {0.0, 1.0, 0.0, 0.05};
 
6
Point(6) = {0.3, 1.0, 0.0, 0.05};
 
7
Point(7) = {0.3, 1.0, 0.3, 0.05};
 
8
Point(8) = {0.0, 1.0, 0.3, 0.05};
 
9
 
 
10
Line(1) = {1,2};
 
11
Line(2) = {2,3};
 
12
Line(3) = {3,4};
 
13
Line(4) = {4,1};
 
14
 
 
15
Line(5) = {5,6};
 
16
Line(6) = {6,7};
 
17
Line(7) = {7,8};
 
18
Line(8) = {8,5};
 
19
 
 
20
Line(9) = {5,1};
 
21
Line(10) = {6,2};
 
22
Line(11) = {7,3};
 
23
Line(12) = {8,4};
 
24
 
 
25
// Bottom surface
 
26
Line Loop(5) = {1,2,3,4};
 
27
 
 
28
// Side surface, nearest to the x axis
 
29
Line Loop(6) = {1,-10,-5,9};
 
30
 
 
31
// Side surface, furthest from the x axis
 
32
Line Loop(7) = {-3,-11,7,12};
 
33
 
 
34
// Side surface, nearest to the z axis
 
35
Line Loop(8) = {-4,-12,8,9};
 
36
 
 
37
// Side surface, furthest from the z axis
 
38
Line Loop(9) = {2,-11,-6,10};
 
39
 
 
40
// Top surface
 
41
Line Loop(10) = {5,6,7,8};
 
42
 
 
43
Plane Surface(20) = {5};
 
44
Plane Surface(21) = {6};
 
45
Plane Surface(22) = {7};
 
46
Plane Surface(23) = {8};
 
47
Plane Surface(24) = {9};
 
48
Plane Surface(25) = {10};
 
49
 
 
50
// Bottom of the box
 
51
Physical Line(333) = {5};
 
52
// Sides of the box perpendicular to the z axis
 
53
Physical Line(666) = {6,7};
 
54
// Sides of the box perpendicular to the x axis
 
55
Physical Line(777) = {8,9};
 
56
// Top of the box
 
57
Physical Line(444) = {10};
 
58
 
 
59
// This is just to ensure all the interior
 
60
// elements get written out. 
 
61
Physical Surface(333) = {20};
 
62
Physical Surface(666) = {21,22};
 
63
Physical Surface(777) = {23,24};
 
64
Physical Surface(444) = {25};
 
65
 
 
66
Surface Loop(800) = {22, 20, 21, 24, 25, 23};
 
67
Volume(900) = {800};
 
68
Physical Volume(999) = {900};
 
69