Modeling laminated cores in Magnum and PerMag

Although Magnum and PerMag are magnetostatic codes, they can often be used to find AC magnetic field distributions (e.g., transformers and motors). A static field calculation provides a good approximation when the electromagnetic wavelength is much larger than the system scale length. The issue is complicated by the presence of iron and steel, because the speed [...]

Interaction forcing in GamBet

Recently, a GamBet user reported calculations where the code violated conservation of energy by several orders of magnitude. This is the type of statement that generally catches my attention, so I decided to investigate the issue. An inspection of his input files showed that he was using a bremsstrahlung forcing factor of 1000. If I were [...]

Using a spreadsheet for Mesh input

In the distant past, in a time we called the 80s, there was only one input method for technical programs — the script. An input script is a text document with lines to set code options and parameters. Although infinitely superior to a stack of punch cards, people grew to hate them for several reasons:

Each program had [...]

Plotting large meshes

Some users have reported intermittent plotting problems when working with large meshes (i.e., millions of elements) in the 2D and 3D programs. The reason I didn’t notice anything is that I always try to avoid large meshes. It’s almost always possible to analyze applications to employ symmetry and to eliminate unnecessary details. Furthermore, solutions with a [...]

PDF bookmarks in Latex documents

As I mentioned in previous posts, Latex is by far the best choice for writing scientific articles and books. In comparison to word processors, Latex requires a significant learning investment in the beginning, but offers smooth sailing thereafter. To put this in perspective, if you are going to spend a lifetime writing scientific papers is it [...]