International Journal of Physics
ISSN (Print): 2333-4568 ISSN (Online): 2333-4576 Website: Editor-in-chief: B.D. Indu
Open Access
Journal Browser
International Journal of Physics. 2021, 9(4), 186-196
DOI: 10.12691/ijp-9-4-1
Open AccessReview Article

Simulation of Magnetic Force between Two Coaxial Coils with Air Core and Uniform Flow in MATLAB

Ali Jebelli1, , Arezoo Mahabadi2, Hicham Chaoui1 and Mustapha C. E. Yagoub3

1Department of Electronics, Carleton University, Ottawa, Canada

2Department of Basic Engineering Science, Tehran University, Tehran, Iran

3School of Electrical Engineering and Computer Science, University of Ottawa, Ottawa, Canada

Pub. Date: June 10, 2021

Cite this paper:
Ali Jebelli, Arezoo Mahabadi, Hicham Chaoui and Mustapha C. E. Yagoub. Simulation of Magnetic Force between Two Coaxial Coils with Air Core and Uniform Flow in MATLAB. International Journal of Physics. 2021; 9(4):186-196. doi: 10.12691/ijp-9-4-1


Magnetic field is one of the most used sciences in today's industry, which is applied in many cases such as electromagnets, electric motors, and generators, electric transformers, electromagnetic wave propagation in antennas, magnetic levitation, etc. that has led to many types of research in this field. Therefore, correct calculation of magnetic force is one of effective and important discussions in this field. One of the subsets of the force calculation is between two coils. The purpose of this research is to implement and simulate two cylindrical coaxial coils with uniform current. We calculate the axial magnetic force of the cylindrical coil by simulating and implementing two coils and applying numerical integration methods, parametric integration, and finite element method in MATLAB software. The results show that the implemented codes are able to calculate the force between two coils quickly, with small error, and with high accuracy. These results will help to implement a proper system with real term and very high accuracy by choosing the best method that fits your system's constraints, conditions, and type.

magnetic field magnetic force cylindrical coil MATLAB

Creative CommonsThis work is licensed under a Creative Commons Attribution 4.0 International License. To view a copy of this license, visit


[1]  Zakharchenko, A., Guz, N., Laradji, A.M. et al. “Magnetic field remotely controlled selective biocatalysis.” Nature Catalysis, Vol. 1, 73-81, 2018.
[2]  Valter Pasku, , , et al. “Magnetic field-based positioning systems.” IEEE Communications Surveys & Tutorials, 19(3), pp. 2003-2017, thirdquarter 2017.
[3]  McMichael, K. D., Karak, B. B., Upton, L., Miesch, M. S., and Vierkens, O., “The Evolution of the Solar Magnetic Field: A Comparative Analysis of Two Models”, American Geophysical Union Fall Meeting, vol. 2017, 2017.
[4]  Kirsch, Andreas, and Frank Hettlich. The Mathematical Theory of Time-harmonic Maxwell's Equations. Springer International Pu, 2016.‏
[5]  K Sondhi, N Garraud, D Alabi, D P Arnold et al. “Flexible screen-printed coils for wireless power transfer using low-frequency magnetic fields.” Journal of Micromechanics and Microengineering, 29(9), 2019.
[6]  Xiaoyong Xu, , , et al. “Study on Reducing the Maximum Perpendicular Magnetic Field of HTS Coils Used on Synchronous Generator Armatures.” IEEE Transactions on Applied Superconductivity, 29(5), pp. 1-5, Aug. 2019.
[7]  Pankrac, Vitezslav. “The algorithm for calculation of the self and mutual inductance of thin-walled air coils of general shape with parallel axes.” IEEE transactions on magnetics, Vol. 48, No. 5, 1875-1889, 2012.‏
[8]  V, Suresh, V.K.Gopperundevi,Abudhahir, A., R.Antonysamy, and K.Muthukkutti,. “Simple Algorithm for the Magnetic Field Computation in Bobbin Coil Arrangement.” International Journal of Innovative Research in Computer and Communication Engineering, Vol. 2, No. 1, 2014.
[9]  Lemarquand, Guy, Lemarquand, V., Babic, S., and Akyel, C. “Magnetic field created by thin wall solenoids and axially magnetized cylindrical permanent magnets”, In Progress In Electromagnetics Research Symposium, Progress In Electromagnetics Research. 614-618. 2009.
[10]  Braneshi, Myrteza., Zavalani, Orion., and Pijetri, Alfred. “The use of calculating function for the evaluation of axial force between two coaxial disk coils.” 3rd Int. PhD Seminar Computational Electromagn. Tech. Applicat, 2006.‏
[11]  R. Ravaud, G. Lemarquand, S. Babic, V. Lemarquand and C. Akyel, “Cylindrical Magnets and Coils: Fields, Forces, and Inductances,” in IEEE Transactions on Magnetics, vol. 46, no. 9, pp. 3585-3590, Sept. 2010.
[12]  Ferreira, J. M., and Joaquim Anacleto. “The magnetic field circulation counterpart to Biot-Savart’s law.” The European Physical Journal Plus, Vol.133, No. 6, 2018.
[13]  Munir H. Nayfeh, Mortton K. Brussel, Electricity and magnetism, Retrieved Dover Publications, , 2015.
[14]  Ali Jebelli, Arezoo Mahabadi, Mustapha C. E. Yagoub, Hicham Chaoui. Magnetic Force Calculation between Magnets and Coils. International Journal of Physics. Vol. 8, No. 2, 2020, pp 71-80.
[15]  Abramowitz, Milton, and Irene A. Stegun, eds. Handbook of mathematical functions with formulas, graphs, and mathematical tables. Dover Publications, 1 edition, 1965.‏
[16]  Conway, John T. “Inductance calculations for noncoaxial coils using Bessel functions.” IEEE Transactions on Magnetics, Vol. 43, No. 3, 2007.