File: cube.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 (20 lines) | stat: -rw-r--r-- 474 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
20
SetFactory("OpenCASCADE");

a = 1;
Box(1) = {0,0,0,a,a,a};

Mesh.MeshSizeMax = a/4;
Mesh.MeshSizeMin = a/4;
Mesh.Algorithm = 1;
Mesh.Optimize = 1;
// Mesh.OptimizeNetgen = 1;
Mesh.ElementOrder = 2;
Mesh.SecondOrderLinear = 1;

Physical Surface("left", 1) = {1};
Physical Surface("right", 2) = {2};
Physical Surface("front", 3) = {3};
Physical Surface("back", 4) = {4};
Physical Surface("bottom", 5) = {5};
Physical Surface("top", 6) = {6};
Physical Volume("bulk", 7) = {1};