|
- // a solid cylinder of radius 0.5 and length (height) 2
- // base is in xz, height is in z
- SetFactory("OpenCASCADE");
- Cylinder(1) = {0, 0, 0, 0, 2, 0, 0.5};
-
- // entities for BCs and volume (surface)
- Physical Surface("bottom") = {3};
- Physical Surface("top") = {2};
- Physical Volume("bulk") = {1};
-
- // unstructured grid
- Mesh.CharacteristicLengthMax = 0.05;
- Mesh.ElementOrder = 2;
- Mesh.HighOrderOptimize = 2;
|