{"id":160117,"date":"2022-09-26T10:00:32","date_gmt":"2022-09-26T10:00:32","guid":{"rendered":"\/knowledge\/forums\/topic\/discovery-aim-tutorial-forces-in-permanent-magnets\/"},"modified":"2023-08-16T06:33:33","modified_gmt":"2023-08-16T06:33:33","slug":"discovery-aim-tutorial-forces-in-permanent-magnets","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/discovery-aim-tutorial-forces-in-permanent-magnets\/","title":{"rendered":"Discovery AIM tutorial &#8211; Forces in Permanent Magnets"},"content":{"rendered":"<p><strong>This example is taken from\u00a0<u><a href=\"https:\/\/confluence.cornell.edu\/display\/SIMULATION\/ANSYS+AIM+-+Forces+in+Permanent+Magnets\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Cornell University\u2019s ANSYS AIM Learning Modules<\/a><\/u><\/strong><\/p>\n<hr \/>\n<nav class=\"toc\">Contents<\/p>\n<ol>\n<li class=\"toc\">Problem Specification<\/li>\n<li class=\"toc\">Pre-Analysis<\/li>\n<li class=\"toc\">Geometry<\/li>\n<li class=\"toc\">Physics Setup<\/li>\n<li class=\"toc\">Results Evaluation<\/li>\n<\/ol>\n<\/nav>\n<h4 content_id=\"problem-specification\" class=\"toc__permalink\" content_id=\"problem-specification\" class=\"toc__permalink\"  id=\"PROBLEM-SPECIFICATION\">Problem Specification<\/h4>\n<p>This problem is intended to address the questions of force calculations as well as modeling of permanent magnets in asymmetric and three dimensional geometries.The spool is made out of brass, the coil is made out of copper and the magnet is made of NdFe30 (Neodymium Iron). In this demonstration, two cases will be considered and the force between the magnet and the coil will be determined.<\/p>\n<p>f = f(i,R,s)<\/p>\n<p>where<\/p>\n<p>f = force between magnet and coil i = current, R = horizontal displacement\u00a0\u00a0s = vertical displacement<\/p>\n<p>In case one, both s = 0 and R = 0.254mm are held constant. Therefore, f = f(i)<\/p>\n<p>In case two, s = 0mm and i = 50mA are kept constant. Therefore f = f(R)<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-156980\" src=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg91.png\" sizes=\"(max-width: 434px) 100vw, 434px\" srcset=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg91.png 434w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg91-300x234.png 300w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg91-50x39.png 50w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg91-100x78.png 100w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg91-24x19.png 24w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg91-36x28.png 36w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg91-48x37.png 48w\" alt=\" width=\" height=\"339\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-160405\" src=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/09\/hg92-300x161.png\" alt=\"\" width=\"300\" height=\"161\" srcset=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/09\/hg92-300x161.png 300w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/09\/hg92-1024x549.png 1024w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/09\/hg92-768x412.png 768w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/09\/hg92-50x27.png 50w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/09\/hg92-100x54.png 100w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/09\/hg92-24x13.png 24w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/09\/hg92-36x19.png 36w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/09\/hg92-48x26.png 48w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/09\/hg92.png 1483w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>In the first case, the current will vary from from 0-100mA in 10mA intervals. In case two, the axial displacement will vary from 0.0-.5mm in 0.05mm intervals.<\/p>\n<hr \/>\n<h4 content_id=\"pre-analysis\" class=\"toc__permalink\" content_id=\"pre-analysis\" class=\"toc__permalink\"  id=\"PRE-ANALYSIS\">Pre-Analysis<\/h4>\n<p><u>Governing Equation<\/u><\/p>\n<p>Magnetostatics is the study of magnetic fields in devices where the magnetic field is generated from DC (steady) currents and\/or permanent magnets. \u00a0Magnetostatics is a special case of Maxwell\u2019s equations, which form the basis of electromagnetism.<\/p>\n<p>For magnetostatics the electric field inside of a current carrying coil is completely decoupled from the magnetic field, and the following Maxwell\u2019s equations are solved for magnetostatics \u2013<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-156984\" src=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg83.png\" sizes=\"(max-width: 228px) 100vw, 228px\" srcset=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg83.png 228w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg83-50x36.png 50w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg83-100x73.png 100w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg83-24x17.png 24w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg83-36x26.png 36w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg83-48x35.png 48w\" alt=\" width=\" height=\"166\" \/><\/p>\n<p>Where\u00a0\u2207\u00a0denotes divergence,\u00a0<em><strong>H<\/strong><\/em>\u00a0is the magnetic field intensity,\u00a0<em><strong>J<\/strong><\/em>\u00a0is the current density, and\u00a0<em><strong>B<\/strong><\/em>\u00a0is the magnetic flux density.<\/p>\n<hr \/>\n<h4 content_id=\"geometry\" class=\"toc__permalink\" content_id=\"geometry\" class=\"toc__permalink\"  id=\"GEOMETRY\">Geometry<\/h4>\n<p><a style=\"color: #1e6ddc; font-weight: bold; text-decoration: none;\" href=\"https:\/\/ansys13.ansys.com\/KnowledgeArticles\/Discovery\/forces%20in%20permanent%20magnets%20%281%29.zip\" download=\"\">Download the file here<\/a><\/p>\n<p>In this video, you will learn how to import the geometry and how to\u00a0define a parameter for the distance between the magnet and spool.<\/p>\n<p><iframe loading=\"lazy\" class=\"vidyard_iframe\" src=\"\/\/play.vidyard.com\/ShdAkRtWgdmj6UnPoGopkb.html\" width=\"700\" height=\"400\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<hr \/>\n<h4 content_id=\"physics-setup\" class=\"toc__permalink\" content_id=\"physics-setup\" class=\"toc__permalink\"  id=\"PHYSICS-SETUP\">Physics Setup<\/h4>\n<p>In this video, you will learn how to:<\/p>\n<ul>\n<li>Assign material properties<\/li>\n<li>Define boundary conditions and parameterize current<\/li>\n<li>Define output parameter for force magnitude<\/li>\n<li>Define design points<\/li>\n<\/ul>\n<p><iframe loading=\"lazy\" class=\"vidyard_iframe\" src=\"\/\/play.vidyard.com\/w9bWnfgYfmrjK4rk6Kuf3L.html\" width=\"700\" height=\"400\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p><strong>Design Point Study<\/strong><\/p>\n<p><strong>Case 1<\/strong>:\u00a0The current will vary from 0-100mA in 10mA intervals<\/p>\n<p>As shown in the above video, all the 10 DEsign Points are updated. The force results will look as shown in below image.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-156985\" src=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg94.png\" sizes=\"(max-width: 928px) 100vw, 928px\" srcset=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg94.png 928w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg94-300x97.png 300w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg94-768x248.png 768w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg94-50x16.png 50w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg94-100x32.png 100w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg94-24x8.png 24w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg94-36x12.png 36w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg94-48x16.png 48w\" alt=\" width=\" height=\"300\" \/><\/p>\n<p><strong>Case 2<\/strong>:\u00a0The axial displacement will vary from 0.0-.5mm in 0.05mm intervals.\u00a0In the design parameters dashboard, change all the current data points to 50mA. Then iterate the horizontal data points from 0.05mm-.5mm by 0.05mm. Click update all to see results. The results will look like shown below.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-156987\" src=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg95.png\" sizes=\"(max-width: 927px) 100vw, 927px\" srcset=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg95.png 927w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg95-300x88.png 300w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg95-768x225.png 768w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg95-50x15.png 50w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg95-100x29.png 100w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg95-24x7.png 24w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg95-36x11.png 36w, \/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/hg95-48x14.png 48w\" alt=\" width=\" height=\"271\" \/><\/p>\n<h4 content_id=\"results-evaluation\" class=\"toc__permalink\" content_id=\"results-evaluation\" class=\"toc__permalink\"  id=\"RESULTS-EVALUATION\">Results Evaluation<\/h4>\n<p>The following video shows how to\u00a0compute\u00a0Magnetic Flux Density<\/p>\n<p><iframe loading=\"lazy\" class=\"vidyard_iframe\" src=\"\/\/play.vidyard.com\/ve2pMdMCUego2LwCCDxrP7.html\" width=\"700\" height=\"400\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"template":"","class_list":["post-160117","topic","type-topic","status-publish","hentry","topic-tag-aim-tutorial","topic-tag-discovery-aim","topic-tag-electromagnetics","topic-tag-fluids"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["09-13-2022  20:20:23"],"_bbp_forum_id":["159552"],"_btv_view_count":["2135"],"_edit_lock":["1665574294:77457"],"_edit_last":["77457"],"_bbp_topic_id":["160117"],"_yoast_wpseo_content_score":["60"],"_yoast_wpseo_estimated-reading-time-minutes":["3"],"_yoast_wpseo_wordproof_timestamp":[""],"family":[""],"application_name":[""],"product_version":[""]},"test":"solution"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/160117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/160117\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=160117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}