Finite Element Method Magnetics : OctaveFEMM

HomePage :: Search :: PageIndex :: RecentChanges :: Login/Register

Revision [31]

The oldest known version of this page was edited on 2009-08-05 23:38:34 by DavidMeeker

OctaveFEMM


OctaveFEMM is a Matlab toolbox that allows for the operation of Finite Element Method Magnetics (FEMM) via a set of Matlab functions. The toolbox works with Octave, a Matlab clone. Since Octave does not support ActiveX, the toolbox use an alternative interprocess communication scheme based on temporary files for passing messages between Octave and FEMM. This toolbox can also run in Matlab using Matlab's built-in support of ActiveX. The use and functionality of the toolbox is essentially identical under either Matlab or Octave. The only difference is speed--Matlab's ActiveX interface is noticeably faster than the file-based interprocess communications method used when running with Matlab.

When OctaveFEMM starts up a FEMM process, the usual FEMM user interfaceis displayed and is fully functional. The user then has the choice of accomplishing modeling and analysis tasks either exclusively through functions implemented by the toolbox, or by a combination of manual and programmatic operations -- whichever is easiest for the task at hand.

The syntax of the OctaveFEMM toolbox closely mirrors that of FEMM's existing Lua scripting language interface associated with FEMM v4.2. However, there are some differences between the Lua functions and the analogous Octave/Matlab implementations:

Perhaps the most remarkable difference between Lua and OctaveFEMM, however, is due to the matrix-oriented nature of Octave and/or Matlab. In just about any OctaveFEMM function in which it would be desirable to enter an array of points such that multiple copies of an operation are performed, OctaveFEMM will correctly interpret the input perform the requested operation on every element in the array. In addition, for any function in which the coordinates of a point are required, that point can be specified as an array with two elements instead of specifying each element separately. In functions that require the specification of multiple points, those points can be entered as an array of two-element arrays.

As of FEMM 4.2, the OctaveFEMM (and MathFEMM) are included in the standard FEMM distribution. The OctaveFEMM m-files are in the directory C:\PROGRA~1\femm42\mfiles in the standard installation.


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.1025 seconds