all projects

project 05 / 31

Coil Mesh Generator

Code-driven generator of fully-meshed coils of any shape for motor FEA - geometry adapts itself to the motor spec, no GUI tools.

#python#c++#gmsh#fea#cad#meshing#electric motors#axial flux

About this project

Generates fully meshed coil geometries of arbitrary shape for electric machine simulation. Everything is parametric - as the teeth or the space available for a coil change with the motor spec, the coil adjusts itself accordingly.

Built entirely in code by combining my earlier geometry and meshing tools - no GUI tools involved.

Fully meshing the coils looks cool but needs significant compute resources, so real simulations normally use a single equivalent block or 2D shapes instead. The point of these was testing the limits of the meshing tools and optimizing them.

Sizes and gaps in the pictures are random, for representation only.

hosted on fly.io