Force Calculation between 2 Magnets and Displacement

Please login with a confirmed email address before reporting spam

Hello everyone,

I'm pretty new to COMSOL and tried to calculate the displacement of one Magnet. After running the program the results for the direction and the magnitude of the displacement is completly wrong. The first step I was doing ist to make the mesh a lot smaller to get rid of the direction problem, but this did not help.

What happend in my program? And what am I doing wrong? I've looked a lot in this forum but couldn't get an answer for my problem.

Thank you for your help, Christopher



2 Replies Last Post Jul 28, 2021, 9:00 AM EDT

Please login with a confirmed email address before reporting spam

Posted: 2 months ago Jul 27, 2021, 7:44 AM EDT

Your model only has a mesh for the mechanical aspects. The mfnc physics requires a mesh to contain the whole model problem (unlike mechanical models, magnetic models require a domain defined that contains the whole problem and within which the magnetic solution can be calculated).

I would suggest you build a very simple magnetic only model to understand the intricacies of obtaining accurate force results for 2 magnets (hint: use fillets on all edges and define a very fine mesh on the boundaries of the magnet domains).

The attached may be a good starting point. As Force is calculated with the Maxwell stress tensor, it is VERY mesh dependant, and the sharp edges on the attached model are also not desirable (use fillets).

Your model only has a mesh for the mechanical aspects. The mfnc physics requires a mesh to contain the whole model problem (unlike mechanical models, magnetic models require a domain defined that contains the whole problem and within which the magnetic solution can be calculated). I would suggest you build a very simple magnetic only model to understand the intricacies of obtaining accurate force results for 2 magnets (hint: use fillets on all edges and define a very fine mesh on the boundaries of the magnet domains). The attached may be a good starting point. As Force is calculated with the Maxwell stress tensor, it is VERY mesh dependant, and the sharp edges on the attached model are also not desirable (use fillets).


Please login with a confirmed email address before reporting spam

Posted: 2 months ago Jul 28, 2021, 9:00 AM EDT

Hello Mark,

First thank you for your quick reply! Unfortunatly I don't have the 5.6 Version. Only 5.5, maybe you can downgrade your file and attach it again?

I tried now to do the fillets on the magnets. But still the dispalcement of the Magnet 1 is in a strange direction. Also if I change the vector of the Remanent Flux Direction from 1 to -1 for the y-component only the magnitude of the displacement is slightly changing, not the direction.

Thanks for your help, Christopher

Hello Mark, First thank you for your quick reply! Unfortunatly I don't have the 5.6 Version. Only 5.5, maybe you can downgrade your file and attach it again? I tried now to do the fillets on the magnets. But still the dispalcement of the Magnet 1 is in a strange direction. Also if I change the vector of the Remanent Flux Direction from 1 to -1 for the y-component only the magnitude of the displacement is slightly changing, not the direction. Thanks for your help, Christopher

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.