Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2013
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 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. Line Loop(1) = {1, 2, 3, 4, 5, 6};
  18. Plane Surface(1) = {1};
  19.  
  20. Line {7} In Surface {1};
  21. Line {8} In Surface {1};
  22.  
  23. Recombine Surface {1};
  24. Physical Line(100) = {1,2,3,4,5,6};
  25. Physical Surface(100) = {1};
  26.  
  27. Mesh.Algorithm = 8;
  28. Mesh.RecombineAll = 1;
  29. Mesh.CharacteristicLengthFactor = 5.0;
  30. Mesh.SubdivisionAlgorithm = 1;
  31. Mesh.Smoothing = 20;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement