The newly introduced BBND feature of Netgen/NGSolve allows us to compute the magnetic field of a thin wire by approximating it with operators on the 1D line segment. In this example we want to compute the field of the following coil geometry:
Netgen 6.2 adds the possibility of defining Integrals on codimension 2 objects (on the boundaries of boundaries - BBND). This enables i.e. the definition of currents on a segment in a 3D geometry, to compute the magnetic field of a thin wire.