I want to generate a mesh on the following domain that has finer mesh elements near the edges of the seven disks. How can I do so?
Needs["NDSolve`FEM`"]
Domain[scale_, radius_] := RegionDifference[
Polygon[{{1, 0}, {1/2, Sqrt[3]/2}, {-1/2, Sqrt[3]/2}, {-1, 0}, {-1/2, -Sqrt[3]/2}, {1/2, -Sqrt[3]/2}}*scale],
RegionUnion[
Disk[{0, 0}, radius*scale],
Disk[{1, 0}, radius*scale],
Disk[{1/2, Sqrt[3]/2}, radius*scale],
Disk[{-1/2, Sqrt[3]/2}, radius*scale],
Disk[{-1, 0}, radius*scale],
Disk[{-1/2, -Sqrt[3]/2}, radius*scale],
Disk[{1/2, -Sqrt[3]/2}, radius*scale]]];
ToElementMesh[Domain[1, 0.2], MaxCellMeasure -> .001]["Wireframe"]
ToElementMesh
, and findMeshRefinementFunction
option. $\endgroup$