~ubuntu-branches/ubuntu/trusty/rheolef/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/usrman/cube.mshcad

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2010-06-12 09:08:59 UTC
  • Revision ID: james.westby@ubuntu.com-20100612090859-8gpm2gc7j3ab43et
Tags: upstream-5.89
ImportĀ upstreamĀ versionĀ 5.89

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
    h_local = 0.1;
 
2
    Point(1) = {0, 0, 0, h_local};
 
3
    Point(2) = {1, 0, 0, h_local};
 
4
    Point(3) = {1, 1, 0, h_local};
 
5
    Point(4) = {0, 1, 0, h_local};
 
6
    Point(5) = {0, 0, 1, h_local};
 
7
    Point(6) = {1, 0, 1, h_local};
 
8
    Point(7) = {1, 1, 1, h_local};
 
9
    Point(8) = {0, 1, 1, h_local};
 
10
    Line(1) = {1,2};
 
11
    Line(2) = {2,3};
 
12
    Line(3) = {3,4};
 
13
    Line(4) = {4,1};
 
14
    Line(5) = {5,6};
 
15
    Line(6) = {6,7};
 
16
    Line(7) = {7,8};
 
17
    Line(8) = {8,5};
 
18
    Line(9)  = {1,5};
 
19
    Line(10) = {2,6};
 
20
    Line(11) = {3,7};
 
21
    Line(12) = {4,8};
 
22
    Line Loop(21) = {-1,-4,-3,-2};
 
23
    Plane Surface(31) = {21} ;
 
24
    Physical Surface("bottom") = {31};
 
25
    Line Loop(22) = {5,6,7,8};
 
26
    Plane Surface(32) = {22} ;
 
27
    Physical Surface("top") = {32};
 
28
    Line Loop(23) = {1,10,-5,-9};
 
29
    Plane Surface(33) = {23} ;
 
30
    Physical Surface("left") = {33};
 
31
    Line Loop(24) = {2,11,-6,-10};
 
32
    Plane Surface(34) = {24} ;
 
33
    Physical Surface("front") = {34};
 
34
    Line Loop(25) = {12,-7,-11,3};
 
35
    Plane Surface(35) = {25} ;
 
36
    Physical Surface("right") = {35};
 
37
    Line Loop(26) = {9,-8,-12,4};
 
38
    Plane Surface(36) = {26} ;
 
39
    Physical Surface("back") = {36};
 
40
    Surface Loop(41) = {31,32,33,34,35,36};
 
41
    Volume(51) = {41};
 
42
    Physical Volume("interior") = {51};