ElmerCSC / elmer-elmag

Development repository for electromagnetics tutorial and verification cases
45 stars 20 forks source link

Permanent Magnet Motor circuit coupling #18

Open mon-kev opened 6 months ago

mon-kev commented 6 months ago

Hi,

I'd like to add circuit coupling to the permanent magnet motor example I have added to this repository a while ago.

I have used the circuit builder to create the circuit.definition file by defining the following circuit: circuit

The profile of the resulting torque and voltages look reasonable, but the magnitude is off by roughly a factor of 2.3 in comparison to the case set up with body forces.

Torque: image

Voltage: voltage_components

@jvela018 mentioned in this comment that it should be possible to get this to work with a periodic model. Can anyone spot an obvious issue with my case setup?

Kind regards Kevin

mon-kev commented 4 months ago

This turned out to be a mistake with the circuit. I connected the slots in the same phase in parallel instead of in series. I also forgot to scale the voltages by core length. The results look a lot closer now, though I'm not entirely sure why the torques are slightly different.

Circuit

circuit

Torque

torque_comp

Voltage

v_i