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.

Several BH curves for one part

Please login with a confirmed email address before reporting spam

Dear all,

currently I'm working on a simulation approach for polymer-bonded permanent magnets. Therefore I need to implement several BH curves for one part. Based on the temperatur of every finite element the appropriate BH curve should be selected automatically by COMSOL 5.2.

Is there anyone out there who could help me, pls?!

Thank you very much!

Maximilian

6 Replies Last Post 2016年7月28日 GMT-4 11:40
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年7月26日 GMT-4 10:40
Hi Maximilian,

if you have BH curves for the temperatures of interest you could create a 2D interpolation function:
B = B(H, T) and use it in the material definition instead of the 1D interpolation function B = B(H).

Cheers
Edgar

--
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Hi Maximilian, if you have BH curves for the temperatures of interest you could create a 2D interpolation function: B = B(H, T) and use it in the material definition instead of the 1D interpolation function B = B(H). Cheers Edgar -- Edgar J. Kaiser emPhys Physical Technology http://www.emphys.com

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年7月26日 GMT-4 11:26
Perfect, that helps me alot! Thank you very much for that quick answer!

You may also know how to transfer the temperatur information for every finite element from another simulation software to COMSOL. I'm using SigmaSoft 5.1 to simulate the injection molding process. There is a export function but so far I haven't been able to implement the created file with the calculated temperatur information into COMSOL.

Do you know which file format I should use and how this file should be formatted?

Many thanks!

Best regards,

Maximilian
Perfect, that helps me alot! Thank you very much for that quick answer! You may also know how to transfer the temperatur information for every finite element from another simulation software to COMSOL. I'm using SigmaSoft 5.1 to simulate the injection molding process. There is a export function but so far I haven't been able to implement the created file with the calculated temperatur information into COMSOL. Do you know which file format I should use and how this file should be formatted? Many thanks! Best regards, Maximilian

Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年7月26日 GMT-4 12:29
You can import 3D data and apply it in COMSOL, e.g. as a temperature distribution. Check the documentation for the interpolation function. This should show you how to format your data to get a 3D interpolation function T = T(x, y, z). I don't know SigmaSoft.

Cheers
Edgar

--
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
You can import 3D data and apply it in COMSOL, e.g. as a temperature distribution. Check the documentation for the interpolation function. This should show you how to format your data to get a 3D interpolation function T = T(x, y, z). I don't know SigmaSoft. Cheers Edgar -- Edgar J. Kaiser emPhys Physical Technology http://www.emphys.com

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年7月26日 GMT-4 16:42
Dear Edgar,

thanks again for your help! I don't want to borther you to much but I have some more questions:

I tried to create a 2D interpolation for my B(T,H) function but unfortunately it hasn't worked like I expected.
I expected a graph similar to the picture: B(T,H).jpg but COMSOL creates this: B(T,H)_COMSOL.jpg. The data of the .txt (all in one file) file I used you can find below.

I do not understand what COMSOL is creating there especially because of the axis scale and the course of the graph. I know that the B(T,H) function can be displayed on an area using two axis for the arguments and colors for the function value, but in this case I don't see where the graph fits the data I have given COMSOL.

In the end COMSOL should be able to calculate the flux density B[T] based on the given parameters T [°C] and H[A/m] whereas the temperatur T will be imported from another simulation as I mentioned before.

Can you pls give me a hint what I'm doing wrong? Do I have to format my data in a different manner or do I have to split the data into several .txt files?

I don't know how to move on right now and I hope you can help me again!

Thank you very much!

Best regards,
Maximilian

Data I'm using:

T H B(T,H)
180 0 0
180 35000 0,120841051
180 72184,87395 0,2292412
180 145581,3953 0,347647366
180 297435,8974 0,584071916
180 448092,4855 0,812329841
180 750819,6721 1,242874621
240 0 0
240 35000 0,120841051
240 71769,9115 0,223878598
240 147636,3636 0,380603987
240 305420,5607 0,630880757
240 460611,3537 0,850953617
240 771428,5714 1,269559816
260 0 0
260 35833,33333 0,163519166
260 72587,41259 0,225797369
260 149494,9495 0,410923505
260 308070,1754 0,641295296
260 463933,0544 0,85650051
260 772727,2727 1,271826102
280 0 0
280 36100,91743 0,164107652
280 72375 0,269951601
280 150048,7805 0,417137603
280 308225,1082 0,644087549
280 465882,3529 0,852916826
280 775206,6116 1,268532415
300 0 0
300 36153,84615 0,198026975
300 72486,18785 0,290782945
300 150471,6981 0,423541366
300 308669,5279 0,645492789
300 464050,6329 0,854344051
300 775000 1,266806084
Dear Edgar, thanks again for your help! I don't want to borther you to much but I have some more questions: I tried to create a 2D interpolation for my B(T,H) function but unfortunately it hasn't worked like I expected. I expected a graph similar to the picture: B(T,H).jpg but COMSOL creates this: B(T,H)_COMSOL.jpg. The data of the .txt (all in one file) file I used you can find below. I do not understand what COMSOL is creating there especially because of the axis scale and the course of the graph. I know that the B(T,H) function can be displayed on an area using two axis for the arguments and colors for the function value, but in this case I don't see where the graph fits the data I have given COMSOL. In the end COMSOL should be able to calculate the flux density B[T] based on the given parameters T [°C] and H[A/m] whereas the temperatur T will be imported from another simulation as I mentioned before. Can you pls give me a hint what I'm doing wrong? Do I have to format my data in a different manner or do I have to split the data into several .txt files? I don't know how to move on right now and I hope you can help me again! Thank you very much! Best regards, Maximilian Data I'm using: T H B(T,H) 180 0 0 180 35000 0,120841051 180 72184,87395 0,2292412 180 145581,3953 0,347647366 180 297435,8974 0,584071916 180 448092,4855 0,812329841 180 750819,6721 1,242874621 240 0 0 240 35000 0,120841051 240 71769,9115 0,223878598 240 147636,3636 0,380603987 240 305420,5607 0,630880757 240 460611,3537 0,850953617 240 771428,5714 1,269559816 260 0 0 260 35833,33333 0,163519166 260 72587,41259 0,225797369 260 149494,9495 0,410923505 260 308070,1754 0,641295296 260 463933,0544 0,85650051 260 772727,2727 1,271826102 280 0 0 280 36100,91743 0,164107652 280 72375 0,269951601 280 150048,7805 0,417137603 280 308225,1082 0,644087549 280 465882,3529 0,852916826 280 775206,6116 1,268532415 300 0 0 300 36153,84615 0,198026975 300 72486,18785 0,290782945 300 150471,6981 0,423541366 300 308669,5279 0,645492789 300 464050,6329 0,854344051 300 775000 1,266806084


Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年7月26日 GMT-4 17:02

The decimal comma may be the culprit. Comsol needs a decimal point. For what you want to do, you need the 2D interpolation B(T,H). If you want a multitude of curves you have to import 1D interpolations seperately for each temperature. But I guess this won't get you where you want to get.

--
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
The decimal comma may be the culprit. Comsol needs a decimal point. For what you want to do, you need the 2D interpolation B(T,H). If you want a multitude of curves you have to import 1D interpolations seperately for each temperature. But I guess this won't get you where you want to get. -- Edgar J. Kaiser emPhys Physical Technology http://www.emphys.com

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年7月28日 GMT-4 11:40
That was easy, thanks! Finally it worked...

I hope I am able to do rest on my own =).

Best regards,
Maximilian
That was easy, thanks! Finally it worked... I hope I am able to do rest on my own =). Best regards, Maximilian

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.