Skip to content

Trouble with current density inside domain #73

@eduardobehr

Description

@eduardobehr

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:
image

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

... and a curl of current density $\vec{J}$:
image

However, the generated solution for the magnetic vector potential $\vec{A}$ and the flux density $\vec{B}$ yield unexpected results:

image

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 $\vec{J}$ on the winding, but it instead got defined everywhere (making even the air conduct the same as the coppers), despite generating a convincing $\vec{B}$ field in the core.

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.

EER-core-3d-magnetostatics.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions