This work applied the finite-element method (FEM) with topological data structures to the optimization of electrical devices. A generic modifiable graph data structure is built according to the graph-theoretic foundation for these data structures. The employed topological FEM avoids rebuilding of the mesh in traditional FEM method while geometrical variations happen. The effectiveness of the algorithm which can save computer storage and working time when applied to successive optimization is verified by numerical example. Comparison of the topological FEM with traditional FEM on storage load and working time is shown in this work.
展开▼