-
Notifications
You must be signed in to change notification settings - Fork 96
/
partVT.geo
48 lines (43 loc) · 1.21 KB
/
partVT.geo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Merge "part.step";
// Virtual topology to avoid enforcing small elements
Compound Curve {63,64};
Compound Curve {65,66};
Compound Surface {23,25};
Compound Surface {9,24,26};
Compound Surface {21};
Compound Surface {22};
// Set definitions
Physical Surface("support") = {5};
Physical Surface("load") = {17};
Physical Volume("part") = {1};
// Mesh control and meshing
Mesh.CharacteristicLengthMax = 7;
//Mesh.CharacteristicLengthFromCurvature = 1;
//Mesh.MinimumCirclePoints = 36;
//Transfinite Curve {61,68} = 10;
//Transfinite Curve {28,70} = 20;
//Transfinite Curve {52,58} = 10;
Mesh.CompoundCharacteristicLengthFactor = 0.3;
Mesh.CompoundClassify = 0;
Mesh.HighOrderOptimize = 1;
Mesh.ElementOrder = 2;
Mesh 3;
Mesh.SaveGroupsOfNodes = 1;
Save "gmshVT.inp";
// image
Mesh.SurfaceEdges = 0;
Mesh.SurfaceFaces = 0;
Mesh.VolumeEdges = 1;
Mesh.VolumeFaces = 1;
General.Trackball=0;
General.RotationX=-50;
// Geometry.HideCompounds = 1;
Save "Refs/gmshVT.png";
General.RotationX=-260;
General.RotationY=23;
General.ScaleX = 2.5;
General.ScaleY = 2.5;
General.ScaleZ = 2.5;
General.TranslationX = -40; // X-axis translation (in model units)
General.TranslationY = 10; // Y-axis translation (in model units)
Save "Refs/gmshVT-zoom.png";