File: squarecircle.in2d

package info (click to toggle)
netgen 6.2.2601%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 13,076 kB
  • sloc: cpp: 166,627; tcl: 6,310; python: 2,868; sh: 522; makefile: 90
file content (48 lines) | stat: -rw-r--r-- 1,121 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# keyword for 2D geometry, version 2 
splinecurves2dv2


# a global grading factor
2


# the points (point number, x and y coordinates)
points
1       0       0   
2       1       0
3       1       1
4       0       1
5       0.5     0.4
6       0.6     0.4
7       0.6     0.5
8       0.6     0.6
9       0.5     0.6
10       0.4     0.6
11       0.4     0.5
12       0.4     0.4


# boundary curves consisting of
# dl    dr      np      p1      p1      flaglist
# with 
# dl ... sub-domain nr on left side 
# dr ... sub-domain nr on right side 
# np ... curve is given by 2 (or 3) points
# p1, p2 ... points defining the curve

# flagslist
segments
1       0       2       1       2       -bc=1
1       0       2       2       3       -bc=1
1       0       2       3       4       -bc=1
1       0       2       4       1       -bc=1
2       1       3       5       6       7       -bc=2
2       1       3       7       8       9       -bc=2
2       1       3       9       10      11      -bc=2
2       1       3       11      12      5       -bc=2

materials
1       domain1   -maxh=0.2
2       domain2   -maxh=0.05