Drawn metal's own loss in the FDTD model (--sigma). core.solids' metal pieces
are solid PEC (model._solids); with a conductivity, the faces of them that the
field reaches are conducting sheets on the mesh, as thick copper's faces are
(thick.py): each face one side of a conductor, sigma / 4 and twice the
thickness in openEMS's sheet model, whose impedance is then k / (sigma tanh(k
t)), k = (1 + j) / delta: (1 + j) / (sigma delta) for t of many skin depths.
fs = faces(ps, lines, zm, fine, box) # [Face(axis, c, geom, two, t, magnet)]
Which faces. The drawn metal is cut at its heights into slabs; in each slab the
metal of one kind (a magnet's, of its own conductivity, or any other) is a
union of polygons in plan:
- at each height, the metal below not under more metal faces up and the
metal above not over more metal faces down (z faces, polygons in plan);
- in each slab, its union's straight sides along x or y (an edge `fine` long
or more and within fine / 10 of the axis, as the mesh's lines take them)
not against the other kind's metal (x and y faces, rectangles);
- none on the box's planes (an enclosure's outer faces: the mesh ends there
and there is no field outside);
- curved and oblique sides are left out: their staircase stays PEC (a post,
a round can's wall), as vias are.
Each face is put on the mesh line of the body's outermost tangential edges (the
last line inside the metal, not the face's own where a merge moved it, as
openEMS and gfdtd take a body's edges by their midpoints) and is left out
where no line is inside. Two faces of opposite sides on one line (a wall or a
plate one cell thick or less) are one sheet between field on both sides (two:
openEMS's sheet of the conductor's thickness t, sigma in full).