cmut2d.geo 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. // Membrane length is 50 microns:
  2. l = 50e-6;
  3. // Electrode length is 10 microns:
  4. lelectrode = 10e-6;
  5. // Pillar length is 10 microns:
  6. lp = 10e-6;
  7. // Insulator thickness is 600 nanometers:
  8. hinsulator = 6e-7;
  9. // Vacuum gap height is 800 nanometers:
  10. hvacuumgap = 8e-7;
  11. // Total height is 2 microns:
  12. h = 2e-6;
  13. // 'lc' sets the mesh finesse:
  14. lc = 0.7e-6;
  15. Point(1) = {0, 0, 0, lc};
  16. Point(2) = {l, 0, 0, lc};
  17. Point(3) = {l, h, 0, lc};
  18. Point(4) = {0, h, 0, lc};
  19. Point(5) = {lp, hinsulator, 0, lc};
  20. Point(6) = {l-lp, hinsulator, 0, lc};
  21. Point(7) = {l-lp, hinsulator+hvacuumgap, 0, lc};
  22. Point(8) = {lp, hinsulator+hvacuumgap, 0, lc};
  23. Point(9) = {0, hinsulator, 0, lc};
  24. Point(10) = {0, hinsulator+hvacuumgap, 0, lc};
  25. Point(11) = {l, hinsulator, 0, lc};
  26. Point(12) = {l, hinsulator+hvacuumgap, 0, lc};
  27. Point(13) = {l/2-lelectrode/2, h, 0, lc};
  28. Point(14) = {l/2+lelectrode/2, h, 0, lc};
  29. Line(1) = {1, 2};
  30. Line(2) = {2, 11};
  31. Line(3) = {11, 12};
  32. Line(4) = {12, 3};
  33. Line(5) = {3, 14};
  34. Line(6) = {14, 13};
  35. Line(7) = {13, 4};
  36. Line(8) = {4, 10};
  37. Line(9) = {10, 9};
  38. Line(10) = {9, 1};
  39. Line(11) = {9, 5};
  40. Line(12) = {5, 6};
  41. Line(13) = {6, 11};
  42. Line(14) = {12, 7};
  43. Line(15) = {7, 8};
  44. Line(16) = {8, 10};
  45. Line(17) = {5, 8};
  46. Line(18) = {6, 7};
  47. Line Loop(19) = {1, 2, -13, -12, -11, 10};
  48. Plane Surface(1) = {19};
  49. Line Loop(21) = {9, 11, 17, 16};
  50. Plane Surface(2) = {21};
  51. Line Loop(23) = {15, -17, 12, 18};
  52. Plane Surface(3) = {23};
  53. Line Loop(25) = {14, -18, 13, 3};
  54. Plane Surface(4) = {25};
  55. Line Loop(27) = {5, 6, 7, 8, -16, -15, -14, 4};
  56. Plane Surface(5) = {27};
  57. // Recombine the membrane triangles into quadrangles:
  58. Recombine Surface(5);
  59. // The insulator:
  60. Physical Surface(1) = {1};
  61. // The membrane support pillars:
  62. Physical Surface(2) = {2, 4};
  63. // The vacuum gap:
  64. Physical Surface(3) = {3};
  65. // The membrane:
  66. Physical Surface(4) = {5};
  67. // The ground and clamp line:
  68. Physical Line(5) = {1};
  69. // The membrane electrode:
  70. Physical Line(6) = {6};