tutorial files

This commit is contained in:
Joachim Schoeberl 2009-01-13 21:37:31 +00:00
parent 3d10410665
commit 8df293cd64
8 changed files with 24700 additions and 0 deletions

31
tutorials/demo2d.in2d Normal file
View File

@ -0,0 +1,31 @@
splinecurves2d
3
12
-2.5 -3.5 1
2.5 -3.5 1
2.5 -1 1
1.5 -1 1
1.5 -2.5 1
-1.5 -2.5 1
-1.5 2.5 1
1.5 2.5 1
1.5 1 1
2.5 1 1
2.5 3.5 1
-2.5 3.5 1
12
1 0 2 1 2 1
1 0 2 2 3 1
1 0 2 3 4 1
1 0 2 4 5 1
1 0 2 5 6 1
1 0 2 6 7 1
1 0 2 7 8 1
1 0 2 8 9 1
1 0 2 9 10 1
1 0 2 10 11 1
1 0 2 11 12 1
1 0 2 12 1 1

11683
tutorials/frame.step Normal file

File diff suppressed because it is too large Load Diff

8486
tutorials/hinge.stl Normal file

File diff suppressed because it is too large Load Diff

68
tutorials/newin2d.in2d Normal file
View File

@ -0,0 +1,68 @@
# demo - .in2d file
# geometry consists of two squares,
# the inner square is made of iron, the outer is not specified (default)
# boundary condition 1 on the outside, 2 on the interface between inner and outer square
# new .in2d geomety files ...
# start with keyword splinecurves2dnew
splinecurves2dnew
# next the refinement factor
2
# points
# first the total number of points
8
# then the details:
# point nr ( need not be ordered ) --- x-coord --- y-coord --- flags
# the refinement factor is an optional flag, -ref=factor, default 1
# the first, outer square
2 1 0
1 0 0 -ref=10
3 1 1
4 0 1
# here begins the second square
6 0.9 0.1
5 0.2 0.1
7 0.9 0.9
8 0.2 0.9
# segments
# first: number of segments
8
# then the segment information
# domain in --- domain out --- number of points --- points --- flags
# again, the refinement factor is an optional flag, -ref=factor, default 1
# still on the wishlist: give names to the boundary conditions, and have a default value for non-specified bcs
# (similar to materials in subdomains)
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 2 5 6 -bc=2 -ref=2
2 1 2 6 7 -bc=2
2 1 2 7 8 -bc=2
2 1 2 8 5 -bc=2
# materials
# first the number of subdomains
2
# then
# subdomain nr ---- material
# works the same way as materials in 3d csg geometries,
# non-specified domains get a default value
# maximal meshsize can be given by -maxh=.. flag
1 iron -maxh=0.1

2662
tutorials/part1.stl Normal file

File diff suppressed because it is too large Load Diff

1694
tutorials/screw.step Executable file

File diff suppressed because it is too large Load Diff

14
tutorials/square.in2d Normal file
View File

@ -0,0 +1,14 @@
splinecurves2d
5
4
0 0 1
1 0 1
1 1 1
0 1 1
4
1 0 2 1 2 1
1 0 2 2 3 1
1 0 2 3 4 1
1 0 2 4 1 1

62
tutorials/v2in2d.in2d Normal file
View File

@ -0,0 +1,62 @@
# demo - .in2d file
# geometry consists of two squares,
# the inner square is made of iron, the outer is not specified (default)
# boundary condition 1 on the outside, 2 on the interface between inner and outer square
# new .in2d geomety files ...
# start with keyword splinecurves2dv2
splinecurves2dv2
# next the refinement factor
2
# keyword points
points
# then the details:
# point nr ( need not be ordered ) --- x-coord --- y-coord --- flags
# the refinement factor is an optional flag, -ref=factor, default 1
# the first, outer square
2 1 0
1 0 0 -ref=10
3 1 1
4 0 1
# here begins the second square
6 0.9 0.1
5 0.2 0.1
7 0.9 0.9
8 0.2 0.9
# keyword segments for the segments
segments
# then the segment information
# domain in --- domain out --- number of points --- points --- flags
# again, the refinement factor is an optional flag, -ref=factor, default 1
# still on the wishlist: give names to the boundary conditions, and have a default value for non-specified bcs
# (similar to materials in subdomains)
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 2 5 6 -bc=2 -ref=2
2 1 2 6 7 -bc=2
2 1 2 7 8 -bc=2
2 1 2 8 5 -bc=2
# keyword for materials
materials
# subdomain nr ---- material
# works the same way as materials in 3d csg geometries,
# non-specified domains get a default value
# maximal meshsize can be given by -maxh=.. flag
1 iron -maxh=0.1