← Previous lessonFree lesson 3 of 3 · lesson 3 of 34

Unlock all 34 lessons of Electric Motor Design using MATLAB and ANSYS MaxwellFull course ₹40,000 · paid

Price & syllabus
Free lesson · 17 min · no payment

Maxwell's Equations, Toroid Examples and Magnetic Circuits

A free lesson from Skill-Lync's Electric Motor Design using MATLAB and ANSYS Maxwell course, on Grow by Skill-Lync · Last updated 16 Nov 2026 · Session: “Electromagnetics Week 1 Session 2”

What will you learn in this free Electric Motor Design using MATLAB and ANSYS Maxwell lesson?

The instructor explains the four Maxwell's equations and how finite element solvers use them, then notes the electromagnetic spectrum. He solves a toroid example for field intensity, flux density and flux, estimates solenoid force, and compares magnetic circuits with electrical circuits.

  • Gauss, Faraday and Ampere laws in Maxwell's set
  • Toroid field intensity: 454.5 A/m example
  • Flux density from permeability and field intensity
  • Reluctance as the magnetic equivalent of resistance

What comes after lesson 3?

Later in Skill-Lync's Electric Motor Design using MATLAB and ANSYS Maxwell course (paid): lesson 4, DC Motors Week 2 Session 1; lesson 5, DC Motors Week 2 Session 2; lesson 6, DC Motors Week 2 Session 3. The full course has 34 lessons (9 h 54 min of video); see the course overview or its price and syllabus.

Lesson transcript

Machine transcript of the lesson audio (lightly cleaned). Technical terms may contain errors; the video is the reference.

All right, so looking at Maxwell's equations, there are really four important Maxwell's equations that you need to understand. These provide the basics of finite element analysis, particularly electromagnetic finite element analysis. There are stress on other equations that mechanical engineers use for structural analysis, but Maxwell's equations are really crucial to do electromagnetic finite element analysis. It's really important to understand that Maxwell has kind of collaborated Gauss, Faraday's, and Ampere's laws, but he kind of grouped them together to understand electromagnetics in a better way. So, equation one and equation three, as shown here, are dependent on electrical aspect of electromagnetics, while equation two and equation four are kind of related to magnetic fields, if you can see it.

So, that's why I kind of group them together so that you guys can get a good idea. So, what is Gauss law? So, Gauss law is electrical flux through closed surface is proportional to the total charge enclosed in that surface, right? So, imagine, as I said before, let's say there is an electric flux flowing through some surface, like sand flowing through a particular surface, and then the charge that it creates over that surface is the electrical flux, right? So, that's the electrical flux aspect of electromagnetics.

So, magnetic flux is kind of very related to that. So, magnetic flux flows through a closed surface is zero. If you think about it in electrical terms, right? So, you have a closed surface which can carry a potential. That's why there is some electrical flux associated with it. But there can be no magnetic field that can be produced closed surface. There is a short circuit. There is no current flowing through that, right? So, there is no magnetic flux generated either. Magnetic flux is always proportional to the current that's flowing through that coil.

But there can always be a potential on that closed or short circuit. So, equation 3 is for induced EMF. A time-varying magnetic field has time-varying electric field, just as we saw in the previous slide. But it is proportional to the flux or change of flux over time, right? And it has a negative sign because that's what Lenz's law says. If you have a force produced by a flux, the force is always in the negative direction of the flux that's flowing in a particular direction. For equation 4, it's exactly similar to the equation 3.

But flux density or flux flowing through a particular surface is equal to relative permeability or permittivity in this case, plus the current, multiplied by the current. There is a discharge or displacement current that has been introduced in this Ampere's law, which is just defining that a time-varying electric flux induces a magnetic field. So, here it says a time-varying magnetic field has time-varying electric field. A time-varying electric flux induces a magnetic field. So, these are really interrelated, but they work so close with each other, that's how finite element analysis equations are solved.

So, let's say you have a small tube and you have some flux flowing through that. To calculate Maxwell's equations at each and every point of that tube, if you calculate that, that's pretty much solving finite element analysis. That's how you know how much flux density there is at each and every point. You choose sample, you sample several points on that tube, and that's how you calculate and solve these equations. So, tools like Ansys Maxwell solve these equations in the background for you, and that's how you get finite element analysis results.

So, moving forward, it is also important to understand electromagnetic waves. Although this picture shows a lot of stuff, the most important thing that you need to understand is the wavelength, right? So, for a human eye, we can only see a visible spectrum of the light wavelength, right? So, approximately from 400 nanometers to 700 nanometers is pretty much the wavelength that we see, which is in this zone right here. Mitochondria or any human being pretty much, I cannot really say any human being, but most of the humans see a visible spectrum only.

So, there is infrared. Most of our cameras are now being designed to see a little bit of infrared, which is a darker. And ultraviolet is obviously something that we try to protect ourselves. X-rays and gamma rays can be really harmful to our skin. So, we try to protect ourselves. Ozone layer protects us from these wavelengths. So, the most important part when you start looking at light spectrum or electromagnetic wave spectrum is that any principle that you see for light in visible spectrum is exactly similar to any other wavelength because it's just electromagnetic waves, right?

So, everything is light and sound, not really sound, but light is very much related to electromagnetic waves. So, any principle that you derive in microwave or infrared or visible spectrum applies to the whole wavelength. So, it's very important to understand that. So, this is something that I wanted to show you guys to explain how if you have the flux lines flowing this way, if you have conductors, let's say these circles are the conductors, and current is flowing into the conductor in these conductors, but it's coming out here.

Then, you'll start seeing flux lines that flow in this direction, and electrical field and magnetic field are always perpendicular to each other, and wavelength is the length of a full time period, and that's how you calculate a wavelength. So, I wanted to give you guys some math behind how electrical field intensity or flux density is calculated. So, let's take an example of a toroid. So, this toroid has 25 tons, so that's the wire, has 25 tons on that toroid, and the toroid has an inner diameter of 5 centimeters, so that inner diameter is 5 centimeters, outer diameter is 5.5 centimeters, which means this is 0.5 centimeters, right?

Let's say there is a current of 3 amperes that's flowing through these number of tons, right? How much magnetic field intensity is produced? So, to solve that, you need to understand the mean path length. Mean path length is trying to calculate the overall length of that coil. So, 2 pi rm would be your total length, and you try to calculate radius would be outer diameter plus inner diameter over 2. And magnetic field intensity can be calculated using the basic formula, and this comes from the basic magnetic circuits, and if you solve that, you know that there will be 454.5 amperes per meter in this toroid coil example.

And it comes from pretty much the amperes as displayed here. Example 2, so we have seen in our previous slides that it's really important to consider relative permeability. So, let's say there is a relative permeability of 2,000. Now, how do we calculate flux density and flux flowing through that toroid? So, we calculated our flux magnetic field intensity to be 454.4 ampere per meter, right? So, now to calculate magnetic flux density, it's just a multiplication of permeability with the magnetic field intensity. So, your permeability is your permeability constant, which is 4 pi multiplied by 10 to the power of minus 7, and then relative permeability, which is 2,000 of that material, multiplied by your HM.

So, that gives 1.1. So, that gives 1.14 tesla. Flux density is ampere per meter squared, or tesla. So, your toroid width, because now you're trying to calculate flux, and as we discussed before, flux is magnetic flux density per unit area, right? So, toroid width is outer diameter minus inner diameter over 2. So, that's your toroid width. You're trying to calculate the cross-sectional area, because you want to know the flux flowing through that toroid. So, that's your area, and now your total flux is B multiplied by A, which is flux density per unit area.

So, flux lines can be calculated and are called Weber's. Weber is the unit for the flux. So, 5.59 multiplied by 10 to the power minus 6 flux lines are flowing through the toroid when you apply a current of 3 amperes. That's a basic example. I want to kind of take an example from the industry. So, one of the applications that you would use electromagnetics very often is solenoids. You'll use solenoids in your pneumatic stuff, where mechanically you want something logged, you want an electrical component in it, and that will be solenoid.

So, solenoid, the way solenoid works is very similar to motor, but solenoid is a linear motion. So, the force in the linear motion that's being developed. Produced by solenoid can be calculated using change in energy or distance. So what is your change in energy? So you can calculate change in energy based on that equation. So for a typical household solenoid, which has a radius of 5 millimeters, flux density of 10 power minus 3 Tesla, and that's your relative permeability, the force for pulling the iron rod when current is turned on may be, when you calculate that and solve there, you get a force of 0.3 Newtons.

So that's how you pull an iron rod using a solenoid. You need that much of force. That's how the force is exerted by a solenoid. So as I said before, the basics of electromagnetics can be visually seen in a magnetic circuit. So if you look at a magnetic circuit, which has a pretty big core, your initial current that's flowing through your core will generate a flux, which is phi M or phi G. Phi G is the air gap flux, right? And then the total flux is pretty much flowing through the same thing.

But the air gap has a different permeability, as we discussed before. So the width and the depth and the length are going to play a crucial role in determining what the flux is in that air gap. This air gap can be visualized as the air gap between stator and rotor. So the stator and rotor in an electric motor can be visually represented using a magnetic circuit like this. So you apply a phase current, which develops a flux in the air gap. So you can almost, if you put an iron rod or something in the air gap, that will start rotating or probably moving.

That's the principle of sunlight, right? So as there is a flux, there will be a force that will be developed. So the basics, how do you calculate flux density flowing through the air core is based on these equations. But the basic idea of magnetic circuits is to give you a principle of how electromagnetics can produce a force and a flux density. And based on your current input, what is the flux that's produced? So if you solve all these equations, which is pretty much the ampere flow that we saw in the example one.

So flux multiplied by that B is equal to N and I. N is the number of turns, I is the amount of current that's flowing through it. It's also important to understand the reluctance, right? Just like if you try to understand electrical circuit, you have resistance, you have voltage, you have current, right? So if you take them as analogies in magnetic circuits, flux is your current, force applied is your voltage, R is your reluctance, your flux lines is your current, right? So it's almost the same circuit.

So it's really important to understand that analogy as I discussed before. So you have a potential that's being generated here because you have a current flowing through a conductor, which is your back EMF or EMF. The current is flowing through it. But since this is a coil, you have an inductance because of that coil and your inductance can be calculated using LDI or DT formula. That's your voltage drop across that inductor. And then this inductor is pretty much the air gap inductance that's developed because it has a different permeability.

So you see a different EMF and different magnetizing inductance there. So pretty much the EMF is adding up the drops there. There is always a natural resistance, which is a natural reluctance in magnetic circuit. So these basic concepts of understanding electromagnetics and magnetic and electrical circuits will help you solve magnetic equivalent circuits in electrical terms. Again, as I said before, I want you guys to understand that an electric motor can be visualized by looking at a magnetic circuit. In fact, a lot of electric motors have lumped parameter models or magnetic equivalent circuits, which pretty much draw the electrical circuit from the stator and rotor and then solve equations electrically, which is much easier to solve.

And then once you get the results, that's when you derive torque and speed that's being generated out of your electrical circuit. So there is a lot of mechanical engineering that is involved in this, but eventually everything can be converted into electrical circuits, solved, and then put it back into mechanical torque generated. So these are the three examples that we discussed in this course, wanted to go over them again. Again, it's really important to understand the Ampere's law, how the total magnetic field is calculated using the amount of current flowing through the coil and the number of turns.

And then calculating flux density and flux lines, because a lot of the future slides and future weak presentations will be dependent on how well you understand electromagnetic basics. So force exited by a solenoid can obviously calculate reducing the change in energy or the distance. And as I said before, basic electromagnetics are represented using magnetic circuits. We'll discuss a lot more of magnetic circuits in future weeks, but I wanted to kind of give you guys a pretty good idea on how to think of electric motors as a magnetic circuit and electrical circuit.

There are several references that I'm going to use in the study, but electric machines and drives by Ned Mohan is the main book that I'm going to use in this course. Ned Mohan has several books. He has advanced power electronics. He has power electronics. He has electric machines and drives, advanced machines and drives. So his textbooks give a pretty good understanding of basic concepts. They have really good examples. Some of the examples that I gave in this course are from his textbook. So you should be able to find a PDF or an e-book or some of the university libraries might still have them.

This book is a great reference to understand basics of electromagnetics and electric motor design in general. So I highly recommend you guys have this book as a reference while you're taking this course so that you can always go back and revisit. And any basic concepts that I might have missed here, you can always find them in a very detailed way in these textbooks. So I'd like to thank you for the opportunity and look forward to see you guys next week. Thank you.

Want the rest of Electric Motor Design using MATLAB and ANSYS Maxwell?

Get the full course syllabus and fees.

The full course is paid (₹40,000). We'll send the syllabus and call you back within one working day.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Full course · paid

Unlock the full Electric Motor Design using MATLAB and ANSYS Maxwell course

The remaining 31 lessons, mentor-reviewed projects and a certificate come with the paid course (₹40,000). Leave your details: we'll send the syllabus and fees and call you back.

Get the syllabus and fees

A counsellor calls you back within one working day.

By submitting you agree to our Terms and Privacy Policy.

Grow by Skill-Lync · free lesson

Start watching

Free, no payment. Leave your details once and every free lesson on Grow plays straight away. A Skill-Lync counsellor may call you about the full Electric Motor Design using MATLAB and ANSYS Maxwell course.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.