Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Hysteresis Modelling

Please login with a confirmed email address before reporting spam

Hello everybody,

I am trying to simulate a full hysteresis loop by evaluating the Preisach Modell with a given magnetic field strength. To do this I have written a Matlabfunction calculating the vector of the magnetic flux density (Bx,By,Bz) out of a given vector of the magnetic field strength (Hx,Hy,Hz). The dimensions of the inputs and outputs are as follows:

(Bx,By,Bz,newStates) = function of (Hx,Hy,Hz,oldStates)
Output: H (3x1)
Output: switchingOperator (64x64)
Input: B (3x1)
Input: oldSwitchingOperator (64x64)

The switchingOperator is a Matrix of the internal states of every single elementary hysteresis operator, each taking the discrete values {-1,1}. This is used as a modell of the memory effect within the material.

Is it possible to use this memory vitiated hysteresis loop as a nonlinear material within in the magnetic fields interface (mf)?

Thanks
Michael Linnert

1 Reply Last Post 24 nov 2015, 11:05 GMT-5
Magnus Olsson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 24 nov 2015, 11:05 GMT-5
Hi,

Have a look at the new (version 5.2) External Materials support in the AC/DC Module that allows you to define general B-H and H-B relations using C code. There is a basic example available at:

www.comsol.com/model/external-material-ac-dc-module-general-hb-bh-relation-32321

Note that the example available so far is just to show the calling syntax. It shows how to set up nonlinear B-H and H-B relations without hysteresis. However, the provided functionality allows for having internal states handling the memory effects in hysteresis modeling.

Best regards,
--
Magnus
Hi, Have a look at the new (version 5.2) External Materials support in the AC/DC Module that allows you to define general B-H and H-B relations using C code. There is a basic example available at: https://www.comsol.com/model/external-material-ac-dc-module-general-hb-bh-relation-32321 Note that the example available so far is just to show the calling syntax. It shows how to set up nonlinear B-H and H-B relations without hysteresis. However, the provided functionality allows for having internal states handling the memory effects in hysteresis modeling. Best regards, -- Magnus

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.