{"id":4595,"date":"2024-07-12T13:28:57","date_gmt":"2024-07-12T18:28:57","guid":{"rendered":"https:\/\/commons.princeton.edu\/josephhenry\/?page_id=4595"},"modified":"2024-07-25T14:29:20","modified_gmt":"2024-07-25T19:29:20","slug":"magnet-through-copper-tube-w-moving-mesh-comsol","status":"publish","type":"page","link":"https:\/\/commons.princeton.edu\/josephhenry\/comsol\/magnet-through-copper-tube-w-moving-mesh-comsol\/","title":{"rendered":"Magnet Through Copper Tube w\/ Moving Mesh"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Tesla Pratt, 6\/12\/24 &#8212; <\/span><span style=\"font-weight: 400\">Professor Littman<\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>Objective<\/strong>: Create a magnet that moves up and down inside a copper tube <\/span><b>using a moving mesh<\/b><span style=\"font-weight: 400\"> and successfully <\/span><b>plot current density<\/b><span style=\"font-weight: 400\">.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">Selected Space Dimension: 2D Asymmetric<\/span><\/p>\n<p><strong>Results: <\/strong><span style=\"font-weight: 400\">Using components of COMSOL\u2019s <\/span><a href=\"https:\/\/www.comsol.com\/model\/magnet-falling-through-copper-tube-13875\"><span style=\"font-weight: 400\">Magnet Falling Through Copper Tube<\/span><\/a><span style=\"font-weight: 400\"> and <\/span><a href=\"https:\/\/www.comsol.com\/model\/voltage-induced-in-a-coil-by-a-moving-magnet-14163\"><span style=\"font-weight: 400\">Voltage Induced in a Coil by a Moving Magnet<\/span><\/a><span style=\"font-weight: 400\"> I was able to successfully apply moving meshes to the Magnetic Fields(mf) workspace.<\/span><\/p>\n<p><strong>3D and 2D Current Density Plots<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4602\" src=\"https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.40.27-PM-300x292.png\" alt=\"\" width=\"293\" height=\"285\" srcset=\"https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.40.27-PM-300x292.png 300w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.40.27-PM-1024x996.png 1024w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.40.27-PM-768x747.png 768w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.40.27-PM-1200x1167.png 1200w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.40.27-PM.png 1464w\" sizes=\"auto, (max-width: 293px) 85vw, 293px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4601\" src=\"https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.40.41-PM-300x291.png\" alt=\"\" width=\"295\" height=\"286\" srcset=\"https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.40.41-PM-300x291.png 300w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.40.41-PM-1024x993.png 1024w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.40.41-PM-768x745.png 768w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.40.41-PM-1200x1164.png 1200w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.40.41-PM.png 1464w\" sizes=\"auto, (max-width: 295px) 85vw, 295px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4603\" src=\"https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.42.25-PM-241x300.png\" alt=\"\" width=\"241\" height=\"300\" srcset=\"https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.42.25-PM-241x300.png 241w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.42.25-PM-822x1024.png 822w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.42.25-PM-768x956.png 768w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.42.25-PM.png 1076w\" sizes=\"auto, (max-width: 241px) 85vw, 241px\" \/><\/p>\n<p>Link to my model: <a href=\"https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/2DCurrentDensityMesh.zip\">Compressed COMSOL 6.2 file &#8211; 2D Moving Mesh<\/a><\/p>\n<p><span style=\"font-weight: 400\">As shown above, as the magnet moves up and down inside of a metal tube, eddy currents are induced in the material surrounding the magnet. Eddy Currents occur when there are changing magnetic fields next to a solid body.\u00a0<\/span><\/p>\n<p><strong>Process:<\/strong><\/p>\n<ol>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">Open up the <\/span><a href=\"https:\/\/www.comsol.com\/model\/voltage-induced-in-a-coil-by-a-moving-magnet-14163\"><span style=\"font-weight: 400\">Voltage Induced in a Coil by a Moving Magnet<\/span><\/a><span style=\"font-weight: 400\"> mph file<\/span><\/li>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">Replace the Coil for a Copper Tube<\/span>\n<ol>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">Find the \u201cMagnetic Fields (<em>mf<\/em>)\u201d section in the Model Builder window.<\/span><\/li>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">Delete \u201cCoil 1\u201d<\/span><\/li>\n<\/ol>\n<\/li>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">Assigning Ampere\u2019s law to the copper tube<\/span>\n<ol>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">Right click on \u201cMagnetic Fields (<em>mf<\/em>)\u201d and click \u201cAmpere\u2019s Law in Solids\u201d<\/span><\/li>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">Select the copper tube component\u00a0<\/span><\/li>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">In the Label section, change the title to \u201cAmpere\u2019s Law Copper Tube\u201d<\/span><\/li>\n<\/ol>\n<\/li>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">Assigning Ampere\u2019s law to the magnet<\/span>\n<ol>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">Create another \u201cAmpere\u2019s Law in Solids\u201d<\/span><\/li>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">Select the magnet in the selection window<\/span><\/li>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">Find \u201cMagnetization Model\u201d in the settings window<\/span><\/li>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">In the dropdown, select \u201cRemanent Flux Density\u201d<\/span><\/li>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">Make sure \u201cRemanent Flux Direction\u201d is in the Z direction<\/span><\/li>\n<li style=\"text-align: left\"><span style=\"font-weight: 400\">In the Label section, change the title to \u201cAmpere\u2019s Law Magnet\u201d<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4604\" src=\"https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.45.11-PM-300x189.png\" alt=\"\" width=\"300\" height=\"189\" srcset=\"https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.45.11-PM-300x189.png 300w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.45.11-PM-768x485.png 768w, https:\/\/commons.princeton.edu\/josephhenry\/wp-content\/uploads\/sites\/71\/2024\/07\/Screenshot-2024-07-12-at-2.45.11-PM.png 922w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tesla Pratt, 6\/12\/24 &#8212; Professor Littman Objective: Create a magnet that moves up and down inside a copper tube using a moving mesh and successfully plot current density.\u00a0 Selected Space Dimension: 2D Asymmetric Results: Using components of COMSOL\u2019s Magnet Falling Through Copper Tube and Voltage Induced in a Coil by a Moving Magnet I was &hellip; <a href=\"https:\/\/commons.princeton.edu\/josephhenry\/comsol\/magnet-through-copper-tube-w-moving-mesh-comsol\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Magnet Through Copper Tube w\/ Moving Mesh&#8221;<\/span><\/a><\/p>\n","protected":false},"author":6121,"featured_media":0,"parent":4283,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-4595","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/commons.princeton.edu\/josephhenry\/wp-json\/wp\/v2\/pages\/4595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/commons.princeton.edu\/josephhenry\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/commons.princeton.edu\/josephhenry\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/commons.princeton.edu\/josephhenry\/wp-json\/wp\/v2\/users\/6121"}],"replies":[{"embeddable":true,"href":"https:\/\/commons.princeton.edu\/josephhenry\/wp-json\/wp\/v2\/comments?post=4595"}],"version-history":[{"count":9,"href":"https:\/\/commons.princeton.edu\/josephhenry\/wp-json\/wp\/v2\/pages\/4595\/revisions"}],"predecessor-version":[{"id":4789,"href":"https:\/\/commons.princeton.edu\/josephhenry\/wp-json\/wp\/v2\/pages\/4595\/revisions\/4789"}],"up":[{"embeddable":true,"href":"https:\/\/commons.princeton.edu\/josephhenry\/wp-json\/wp\/v2\/pages\/4283"}],"wp:attachment":[{"href":"https:\/\/commons.princeton.edu\/josephhenry\/wp-json\/wp\/v2\/media?parent=4595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/commons.princeton.edu\/josephhenry\/wp-json\/wp\/v2\/categories?post=4595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/commons.princeton.edu\/josephhenry\/wp-json\/wp\/v2\/tags?post=4595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}