The Full Wiki

More info on Numerical Electromagnetics Code

Numerical Electromagnetics Code: Map


Wikipedia article:

Map showing all locations mentioned on Wikipedia article:

The Numerical Electromagnetics Code (NEC) is a popular antenna modeling software package for wire and surface antennas. It is credited to Gerald J. Burke and Andrew J. Poggio, and was originally written in FORTRAN in the 1970s. The code was made publicly available for general use and has subsequently been distributed for many computer platforms from mainframes to PCs.

How it works

NEC models can include wires buried in a homogeneous ground, insulated wires and impedance loads. The code is based on the method of moments solution of the electric field integral equation for thin wires and the magnetic field integral equation for closed, conducting surfaces. The algorithm has no theoretical limit and can be applied to very large arrays or for detailed modeling of very small antenna systems.

Models are defined as elements of wire or similar as an input text file (typically in ASCII). They are then input into the NEC application to generate tabular results. The results can then be input into subsequent 'helper' applications for visual viewing and the generation of other graphical representations as smith charts, etc.

NEC versions

There are at least four versions of NEC, with NEC-2 emerging in 1981 and NEC-4 appearing in 1992. NEC-2 is the highest version of the code within the public domain without license. NEC-4 remains proprietary with the Lawrence Livermore National Laboratorymarker and the University of California.

NEC-4 currently requires a separate license for use. The licensing details are available from Lawrence Livermore National Laboratorymarker here.

MININEC was a version first written in BASIC for home computers. It first emerged in 1982 on the Apple II computer. MININEC computational engines arenow written in FORTRAN to improve speed. MININEC is an independent implementation of the method of moments. The basic algorithms are based upon the advice of Professor Wilton at the University of Mississippi (now with the University of Houston).

MININEC suffers from some known flaws compared to NEC, the best known being that resonant frequencies may be slightly in error. However, MININEC handles different wire diameters better than NEC2 and probably NEC4[275339]; this includes different diameter parallel wires, different diameter wires joined at an angle, and tapered diameter antenna elements. Placing sources at an intersection of two wires is a problem for NEC2 but not MININEC[275340]. MININEC converges more slowly (requires more segments) when wires join at an angle, when wire segments of significantly different length are adjacent, and has a weaker ground model[275341].

NEC in the field

Although antennas can be simple structures, the modeling of these systems does require a certain level of understanding of the electrical characteristics of antennas.

As a starter for any modeler, 4nec2 or EZnec can be used. See their respective home pages for further information on their purchase and/or installation.


  • NEC-2 cannot model tapered elements such as those made of telescoping aluminum.
  • NEC-2 cannot model buried radials or ground stakes.

Public domain resources

Commercial resources

  • EZnec - A well known commercial-based antenna modeling package based on NEC3 and NEC4.
  • NEC4WIN NEC4WIN /VM - A Windows XP, Vista simulation program based on Mininec 3.
  • AC6LA antenna utilities - A collection of commercial antenna utilities
  • Nec-Win plus - A commercial modeling package.
  • GAL-ANA - A commercial antenna modeling package based on NEC2 and MININEC.

Embed code:

Got something to say? Make a comment.
Your name
Your email address