Postprocessing - calculation of eddy current loss #1062
-
Hi, I´ve got a question about postprocessing. I've run a magneto-harmonic 2d Simulation with linear triangle elements. Now I want to calculate the eddy current losses In a book I found an equation for the integration with linear triangular elements with the current density This works well but I wonder if there is a more simpler way to do this with skfem - even if you want to use other elements. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Yes, it is possible to calculate such integrals using |
Beta Was this translation helpful? Give feedback.
-
That sounds good.
|
Beta Was this translation helpful? Give feedback.
-
I´ve tried the following code but i got only a single value. Seems wrong... Any hints?
|
Beta Was this translation helpful? Give feedback.
-
Thanks, it's working :-) For those who are interested, here is a small example:
|
Beta Was this translation helpful? Give feedback.
That is integral over the whole domain.
@skfem.Functional
def J2(w):
return (w.u*w.u.conj()).real
J2.elemental(J2, u=x)