In this study, I explore magnetic field numerical modelling of Permanent Magnet Synchronous Motor with Maple. Finite element method is well known and always implemented with FORTRAN, C and Matlab.
The model studied is simple and can be done analytically. I introduce here only the code MAFEM which is able to analyse more complicated structure of PMSM and where analytical solving of Poisson equation is difficult. By using Maple, I'm able to start from analytical equations like those of Maxwell and use some symbolic integrals and at the end do the numerical analysis by FEM. Triangular elements are used here to approximate the domain, but other type of elements can be used and I think it is more easy to implement with Maple than with Fortran or Matlab.