~fluidity-core/fluidity/shallow-water-dev

« back to all changes in this revision

Viewing changes to tests/mmat-balancepressure-p1dgp2-test-cty-cv-rhop1dg-3d/3d_cube.geo

  • Committer: colin.cotter at ac
  • Date: 2012-02-13 14:24:01 UTC
  • mfrom: (3565.1.362 fluidity)
  • Revision ID: colin.cotter@imperial.ac.uk-20120213142401-fz23s9jmvc8jjiy6
MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// define a layer variable
 
2
lay_x = 5;
 
3
lay_y = 5;
 
4
lay_z = 10;
 
5
 
 
6
// define a len variable
 
7
len = 1.0;
 
8
 
 
9
Point(1) = {0.0, 0.0, 0.0, 1.0};
 
10
 
 
11
Extrude {len, 0.0, 0.0} {
 
12
  Point{1}; Layers{lay_x}; 
 
13
}
 
14
 
 
15
Extrude {0.0, len, 0.0} {
 
16
  Line{1}; Layers{lay_y}; 
 
17
}
 
18
 
 
19
Extrude {0.0, 0.0, len} {
 
20
  Surface{5}; Layers{lay_z}; 
 
21
}
 
22
 
 
23
// bottom
 
24
Physical Surface(1) = {5};
 
25
 
 
26
// top
 
27
Physical Surface(2) = {27};
 
28
 
 
29
// left
 
30
Physical Surface(3) = {26};
 
31
 
 
32
// right
 
33
Physical Surface(4) = {18};
 
34
 
 
35
// front
 
36
Physical Surface(5) = {14};
 
37
 
 
38
// back
 
39
Physical Surface(6) = {22};
 
40
 
 
41
Physical Volume(1) = {1};