Quantcast
Channel: Active questions tagged units - Mathematica Stack Exchange
Viewing all articles
Browse latest Browse all 41

mesh / region creation in unit meters or mm:

$
0
0

How can we know the unit of mesh or create a mesh in specified length units:

such as, for example I have:

    bmesh = ToBoundaryMesh["Coordinates" -> {{0, 0}, {1, 0}, {1, 1}, {0, 1}, {1/6, 1/6}, {5/6,       1/6}, {5/6, 5/6}}, "BoundaryElements" -> {LineElement[{{1, 2}, {2, 3}, {3, 4}, {4,         1}}], LineElement[{{5, 6}, {6, 7}}]}];bmesh["Wireframe"]

How can I specify the length of the mesh and/or boundaries in meter or mm or cm units:

 mesh = ToElementMesh[bmesh, MaxCellMeasure -> Infinity];mesh["Wireframe"]

is there a way or am I missing some basics?


Viewing all articles
Browse latest Browse all 41

Trending Articles