Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2013
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. cl__1 = 2.5;
  2. Point(1) = {0, 0, 0, cl__1};
  3. Point(2) = {0, 10, 0, cl__1};
  4. Point(3) = {0, 50, 0, cl__1};
  5. Point(4) = {50, 50, 0, cl__1};
  6. Point(5) = {50, 0, 0, cl__1};
  7. Point(6) = {10, 0, 0, cl__1};
  8. Point(9) = {10, 10, 0, cl__1};
  9. Line(1) = {1, 2};
  10. Line(2) = {2, 3};
  11. Line(3) = {3, 4};
  12. Line(4) = {4, 5};
  13. Line(5) = {5, 6};
  14. Line(6) = {6, 1};
  15. Line(7) = {2, 9};
  16. Line(8) = {9, 6};
  17.  
  18.  
  19. Line Loop(1) = {1, 7, 8, 6 };
  20. Line Loop(2) = {2, 3, 4, 5, -8, -7};
  21. Plane Surface(1) = {1};
  22. Plane Surface(2) = {2};
  23.  
  24.  
  25. Recombine Surface {1};
  26. Recombine Surface {2};
  27.  
  28.  
  29. Physical Line(100) = {1,2,3,4,5,6};
  30. Physical Surface(100) = {1};
  31. Physical Surface(101) = {2};
  32.  
  33. Mesh.Algorithm = 8;
  34. Mesh.RecombineAll = 1;
  35. Mesh.CharacteristicLengthFactor = 5.0;
  36. Mesh.SubdivisionAlgorithm = 1;
  37. Mesh.Smoothing = 20;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement