~iceshelfcavity/fluidity/basalmelt

« back to all changes in this revision

Viewing changes to tests/cv_mass_matrix_check_p1/src/tet.geo

  • Committer: Adam Candy
  • Date: 2012-07-31 12:45:55 UTC
  • mfrom: (3564.21.277 fluidity)
  • Revision ID: adam.candy@imperial.ac.uk-20120731124555-kdmekgqul3u5vjgl
Merge in of trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Simple tetrahedral domain with one element
 
2
*/
 
3
 
 
4
// define variable used for characteristic length
 
5
lc = 2.0;
 
6
 
 
7
// define geometric entities
 
8
 
 
9
// define points
 
10
Point(1) = {0.0, 0.0, 0.0, lc};
 
11
Point(2) = {1.0, 0.0, 0.0, lc};
 
12
Point(3) = {0.2, 0.8, 0.0, lc};
 
13
Point(4) = {0.3, 0.8, 2.0, lc};
 
14
 
 
15
//define lines
 
16
Line (1) = {1, 2};
 
17
Line (2) = {1, 3};
 
18
Line (3) = {1, 4};
 
19
Line (4) = {2, 3};
 
20
Line (5) = {2, 4};
 
21
Line (6) = {3, 4};
 
22
 
 
23
//define line loop
 
24
Line Loop (8)  = {2,  6, -3};
 
25
Line Loop (10) = {2, -4, -1};
 
26
Line Loop (12) = {3, -5, -1};
 
27
Line Loop (14) = {4,  6, -5};
 
28
 
 
29
// define surface
 
30
Plane Surface (8)  = {8};
 
31
Plane Surface (10) = {10};
 
32
Plane Surface (12) = {12};
 
33
Plane Surface (14) = {14};
 
34
 
 
35
// define surface loop
 
36
Surface Loop (16) = {14, 10, 8, 12};
 
37
 
 
38
// define volume
 
39
Volume (16) = {16};
 
40
 
 
41
// define physical entities
 
42
 
 
43
// define physicial surface
 
44
Physical Surface (101) = {8, 10, 12, 14};
 
45
 
 
46
// define physical volume
 
47
Physical Volume (102) = {16};