  Standard nodal finite elements in electromagnetic analysis have well-known
limitation of occurrence of spurious solution. In order to circumvent the
problem, a penalty function method or a regularization method is used with
potential formulation. These methods solve the problem partially by pushing the
spurious mode to the higher end of the spectrum. But it fails to capture
singular eigenvalues in case of the problem domains with sharp edges and
corners. To circumvent this limitation, edge elements have been developed for
electromagnetic analysis where degree of freedoms are along the edges. But most
of the preprocessors develop complex meshes in nodal framework. In this work,
we have developed a novel technique to convert nodal data structure to edge
data structure for electromagnetic analysis. We have explained the conversion
algorithm in details, mentioning associated complexities with relevant
examples. The performance of the developed algorithm has been demonstrated
extensively with several examples.
