Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux-course
Commits
808157f1
Commit
808157f1
authored
Jul 16, 2018
by
Melanie Lipp
Browse files
[exercise-grids] Add .geo script for the structured grid.
parent
b429c869
Changes
1
Hide whitespace changes
Inline
Side-by-side
exercises/exercise-grids/grids/grid_structured.geo
0 → 100644
View file @
808157f1
X = 60;
Y = 40;
Res = 1;
Point(1) = {0,0,0,Res};
Point(2) = {X,0,0,Res};
Point(3) = {X,Y,0,Res};
Point(4) = {0,Y,0,Res};
Line(5) = {1,2};
Line(6) = {2,3};
Line(7) = {3,4};
Line(8) = {4,1};
Line Loop(9) = {5,6,7,8};
Plane Surface(10) = 9;
numCellsX = 24;
numCellsY = 16;
Transfinite Line{5} = numCellsX + 1;
Transfinite Line{6} = numCellsY + 1;
Transfinite Line{7} = numCellsX + 1;
Transfinite Line{8} = numCellsY + 1;
Transfinite Surface "*";
Recombine Surface "*";
Transfinite Volume "*";
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment