File: rectangular_beam.geo

package info (click to toggle)
feenox 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,068 kB
  • sloc: ansic: 28,856; sh: 7,201; makefile: 556; python: 554; xml: 500
file content (19 lines) | stat: -rw-r--r-- 394 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SetFactory("OpenCASCADE");
b = 0.05;
h = 0.1;
l = 1;
Box(1) = {0,0,0, l, b, h};

Transfinite Curve {2, 4, 6, 8} = 2+1;
Transfinite Curve {3, 1, 7, 5} = 4+1;
Transfinite Curve {11, 12, 9, 10} = 20+1;

Transfinite Surface "*";
Transfinite Volume "*";

Physical Surface("left") = {1};
Physical Volume("volume") = {1};

Mesh.RecombineAll = 1;
Mesh.ElementOrder = 2;
Mesh.SecondOrderIncomplete = 1;