

March 31, 2020 at 11:54 pmBLHestermanSubscriber
Could someone explain how to calculate the magnetic dipole moment using the Maxwell Calculator?

April 13, 2020 at 2:05 pmPaul LarsenAnsys Employee
There are are a few definitions/calculations of magnetic moments. The easiest is defined with respect to torque aligning to an external field. So, the easiest way to calculate the dipole moment is to apply an external field (or use a Helmholtz coil to create a uniform field around the object), and then calculate the torque vs angle around the center of the object/assembly. So, first you might try to create a uniform field without any objects, for which you could use a Helmholtz coil arrangement. Or you could use a combination of boundary conditions (Tangential Hfield to define the direction tangent, and Zero Tangent to define the ends where the flux enters/exits the domain). Then insert the geometry, and use a Torque parameter on the entire assembly to calculate the T = m x B moment torque.

April 13, 2020 at 5:08 pmBLHestermanSubscriber
Thanks for the information. One issue of this approach is determining the center point of a complicated set of conductors.
I found this information on Wikipedia: https://en.wikipedia.org/wiki/Magnetic_moment#Localized_current_distributions
I have been trying to implement this in the fields calculator. I can define r in terms of x, y & z, and enter r x j. I'm not sure how to implement the integral. My intention is to integrate over the currentcarrying conductors in a magnetostatic simulation.

April 13, 2020 at 7:44 pmPaul LarsenAnsys Employee
Hi Bryce, All methods that I am aware of require either assumptions, estimates, or maybe iterative methods of determining the center reference point (such as your rposition reference).
You can perform the calculation around one axis at a time, so you could calculate m_z for positions with reference to the global Zaxis with the following Field Calculator commands:
 Function > Scalar: X (global X position)
 Vec? > VecX
 Function > Scalar: Y (global Y position)
 Vec? > VecY
 + (this is a radial position vector, you can add VecZ position to obtain full position)
 Quantity > CurrentDensity (J)
 Cross
 Scal? > ScalarZ (integral needs to be performed on scalar components separately)
 Geometry > Volume Object
 Integral
You can then repeat for X and Z axis. Apply the 1/2 scaling at any time.

 You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from lifesaving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
 Signing up as ANSYS Support Coordinator
 simulation completed with execution error on server
 How to export Ansys Maxwell simulation results for postprocessing in matlab or in .csv file
 Error
 Maxwell, HFSS or Q3D?
 Running ANSYS HFSS on the HPC (it runs on Linux only)
 Number of parallel paths in Ansys Maxwell
 Illegal External Terminal – assigning current to a coil
 Domain Decomposition in HFSS
 Unable to assign correctly the excitations in a coil

1970

1726

937

708

395
© 2022 Copyright ANSYS, Inc. All rights reserved.