- 
                Notifications
    You must be signed in to change notification settings 
- Fork 75
Description
Greetings!
Firstly, I'd like to say I'm very happy to get to learn about this library. Hopefully I'll try to add some contributions in the future.
I'm trying to solve an electromagnetism problem for my thesis based on the magnetodynamics-av-induction-3d, but without time derivatives for now.
The problem consists on a two windings transformer:

By applying a voltage potential on the inner windings terminal, we get the expected linearly decaying potential distribution 

... and a curl of current density 

However, the generated solution for the magnetic vector potential 
When I tried setting the coil terminals in the domain boundary, I got somewhat close to the expected results. I've also tried defining a curled field 
However, by making the windings go from and to the boundary, the mesh and geometry complexity increases manifolds, not only making the simulation take much longer, but also making some glitches in Gmsh/OCC (possibly due to the high number of points to interpolate a pipe on) and making it harder to place one winding inside another.
I've seen some tutorial videos using commercial softwares, in which the windings are just cylinders with a forced current, but I could not get them working in Sparselizard for now.
Is it possible to define a current contained in the domain, and have it generate a magnetic field? How?
Could anybody give me a hint on it? I've attached the project folder below using the same structure as the examples in the repo, in case someone wants to try it out.
