I have the following mesh
Needs["NDSolve`FEM`"]
bmesh = ToBoundaryMesh[
"Coordinates" -> {{15, 10}, {5, 10}, {5, 0}, {0, 0}, {0, 1200}, {5,
1200}, {5, 1190}, {15, 1190}, {15, 10}, {1485, 10}, {1485,
1190}, {15, 1190}, {1485, 10}, {1495, 10}, {1495, 0}, {1500,
0}, {1500, 1200}, {1495, 1200}, {1495, 1190}, {1485,
1190}, {1496, 1170}, {1499, 1170}, {1499, 1180}, {1496,
1180}, {1, 20}, {4, 20}, {4, 30}, {1, 30}},
"BoundaryElements" -> {LineElement[{{1, 2}, {2, 3}, {3, 4}, {4,
5}, {5, 6}, {6, 7}, {7, 8}, {9, 10}, {10, 11}, {11, 12}, {12,
9}, {13, 14}, {14, 15}, {15, 16}, {16, 17}, {17, 18}, {18,
19}, {19, 20}, {21, 22}, {22, 23}, {23, 24}, {24, 21}, {25,
26}, {26, 27}, {27, 28}, {28, 25}}, {1, 1, 1, 1, 1, 1, 1, 2,
2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5}]},
"RegionHoles" -> {{1498, 1175}, {2, 25}},"MaxBoundaryCellMeasure" -> 200];
mesh = ToElementMesh[bmesh];
mesh["Wireframe"] (*This works*)
However, when I try to change the mesh cell size I cannot, Kernel quits itself: such as
mesh = ToElementMesh[bmesh, MaxCellMeasure -> .02];
mesh["Wireframe"]
I want to set maximum cell measure on the boundaries: is there something I am missing?
so, it works, if I divide every length by 1000, why it is not working the way it is? However, at the boundaries, I still can not change the cell size?
=================================================================
With ToBoundaryMesh[region, "MaxBoundaryCellMeasure" -> 200]
and
mesh = ToElementMesh[bmesh, MaxCellMeasure -> 3000];
mesh["Wireframe"]
I get,
Why does it look uneven at the boundaries (I mean at the two standing sides where the cells are finer but in the middle, they seem less fine "marked regions"), "is there a way to check if it is fine or not"?