You are on page 1of 6

NEC (Numerical Electromagnetic Code):

last update: 2/7/97

All files with .Z prefix compressed with UNIX compress


NEC Source Code and Executables:
---------------------------------NEC2_Mac_.hqx.Z
NEC2 executable for the Macintosh (in compressed .hqx format)
from Barry Newberger (bsn@fusion.ph.utexas.edu)
NEC2_Mac_README.txt
Document file for Mac version of NEC2
nec-pc.zip
NEC2D executable compiled to run on PC 386/486
Compiled with 32-bit Lahey Fortran. Requires
80x87 math coprocessor. File contains 4 versions
compiled for different maximum numbers of segments
and hence require differents amounts of memory
Includes SOMNEC2D.EXE Sommerfeld parameter
generator.
Name of
Max number Approximate
executable of segm.
memory use (MB)
- - - - - - - - - - - - - - - - - - - - - NEC2D.EXE
256
1.5 (*)
NEC2D512.EXE
512
5
NEC2D960.EXE
960
16
NEC2D1k4.EXE
1392
32
(updated 1/22/96)
from Jozef Bergervoet (bergervo@prl.philips.nl)

nec-pc-x.zip
This zip-file is a supplement to nec-pc.zip. It contains
larger versions of the NEC executable, for problems with
more than 1392 segments. They can only be used together with
NEC2D.EXE, from nec-pc.zip.
Description of the NEC2D files:
-------------------------------------------------------------------------EXAMPLE.DAT

is an input file with several examples. These can be tested


in one single run by giving this file as input.

NEC2D***.EXE

Several working version of the NEC program. Differences:

Name of
Max number Approximate
executable of segm.
memory use (MB)
- - - - - - - - - - - - - - - - - - - - - /
NEC2D.EXE
256
1.5 (*)
These are |
NEC2D512.EXE
512
5
found in |
NEC2D960.EXE
960
16
nec-pc.zip |
NEC2D1K4.EXE
1392
32
\
NEC2D1K9.EXE
1950
60

NEC2D2K8.EXE
NEC2D4K.EXE
NEC2D5K7.EXE
NEC2D8K1.EXE
NEC2D11K.EXE

These files |
are in
|
nec-pc-x.zip|
\

2800
4000
5700
8100
11000

122
247
500
1006
1852

(*) NEC2D.EXE should be in the directory from where you run


the other executables, it is the only one that contains the
DOS-extender. The others borrow it from NEC2D.EXE.
SOMNEC2D.EXE

is used to generate SOMMERFELD parameters in advance. It is


only needed for jobs that use it, e.g. some of the examples
in EXAMPLE.DAT. Before running those jobs, SOMNEC2D should
be called (see NEC documentation.) Input for example jobs:
4 .001 10 1
It makes the files: SOM2D.OUT (ascii) and SOM2D.NEC (binary)
that are later used by NEC2D. In that case NEC2D creates a
further file NGF2D.NEC (binary.) SOMNEC2D.EXE is found in
nec-pc.zip.

F77L3.EER

Contains the text for Fortran error messages (nec-pc.zip.)

*.FOR, *.INC Files containing the Fortran source code. In nec-pc-x.zip


-------------------------------------------------------------------------Jos Bergervoet,
bergervo@natlab.research.philips.nl
bergervo@iaehv.nl

nec2pc.zip
NEC2 executable for DOS. Runs on 286 or better
processor. Requires math coprocessor.
from Malcolm Packer (from Malcolm_Packer@cpqm.saic.com)
nec2.sun4.dl.Z
SUN4 executable (dynamically linked) of NEC2
compiled for 1000 segments (Modified for interactive
input/output filename specification)
from Weston Beal (weston@lisboa.eng.sun.com)
nc2s1500.sun4.Z
SUN4 executable (statically linked) of NEC2
compiled for 1500 segments
from John Boyer (john.boyer@rd.eng.bbc.co.uk)
nec2.rs6000.Z
IBM RS/6000 executable of NEC2. Runs under AIX 3.2
from Doug Braun (dbraun@iil.intel.com)
nec2.rs6000_readme.txt
Document file for RS/6000 version of NEC2
nec81.tar.Z
Fortran 77 source code for nec-81. (modified for

3000 segments) (Previously listed as nec3, but renamed to


alleviate confusion with the real nec3.)
(from Petri Kotilainen OH3MCK)
nec81.readme.txt
Readme file for nec-81 modeling program.
nec2_src.tar.Z
Fortran source code for NEC2
nec2.in.c.tar.Z
NEC2 source code in C. Converted from Fortran
with f2c.
(from ucsd.edu archive)
nec2.linux.Z
NEC2 executable for Linux. Compiled with g77
from Jim Cronin N2VN (jdc@cci.com)
nec2.linux_src.tar.Z
NEC2 source code in Fortran hacked to compile with 'g77'
Contains nec2a.f and secnds.f (a dummy version of secnds)
Builds with the following command line under Linux:
g77 -o nec nec2a.f secnds.f
from Jim Cronin N2VN (jdc@cci.com)
nec2.hpux.Z
NEC2 executable for HP 700 series workstation
running HPUX version 9.02
from Charlie Panek (charlier@lsid.hp.com)
nec2.hpux.f.Z
NEC2 Fortran source code for HPUX version.
This code was modified from nec2_src.tar.Z
found in this archive to be compatible with
HPUX version 9.02
from Charlie Panek (charlier@lsid.hp.com)
nec2.hpux.txt
Short text file describing the changes made
to original FORTRAN source code to make it run
under HPUX.
mininec3.zip
BASIC source code and DOS executable for mininec3
from NOSC
mininec_help.txt
Help file covering the use of the Mininec antenna
modeling program. Of particular use to those not
having access to a copy of the Mininec manual.
(contributed by Jeff Jones AB6MB, jeffj@cbnewsm.cb.att.com)
mininec_doc_sources.txt
A short text file giving document #'s and order address
for MININEC documents.

NEC Utilities and Related files:


-----------------------------------nec2_manual_pointer
File describing on-line NEC2 manual at
URL http://www.dec.tis.net/~richesop/nec/
nec_param_util.Z
Perl script to create NEC input files from parameterized
physical descriptions.
from Doug Braun (dbraun@iil.intel.com)
nec_post_processor.Z
Creates polar plots from NEC output.
MS Quick Basic source code.
from John Boyer (john.boyer@rd.eng.bbc.co.uk)
jgraps.zip
Reads NEC output files and plots radiation patterns.
Written in Visual Basic and runs under Windows 3.1
in a PC DOS environment. (Revision 1.5 of 5/12/94)
written by John Boyer (john.boyer@rd.eng.bbc.co.uk)
necdraw.zip
DOS utility for verifying correctness of NEC models. Checks
adherance to rules and provides 3-D display of model.
(from ACES archive)
nec_hist.txt
Article from the ACES newsletter outlining the history
of the various versions of NEC.
eam_demo.zip

EAM (electromagnetic antenna modeling) demo by


SAIC (Science Applications International Corp.)
Runs under Windows 3.1 (DOS).
EAM is a graphical user interface to NEC and BSC.
Demo version has limited capability but allows
visualization and inspection of small to medium
size input deck and output files.
(from Malcolm_Packer@cpqm.saic.com)

nec-win.zip
Demo version of NEC-WIN Basic from Paragon Technology,
nec_docs_order_info.txt
Provides info on ordering official NEC2 documentation
from the government.
wiregrid.zip

WIREGRID is a NEC2 pre-processor for DOS PC's that


was developed for modelling metallic structures using
a mesh of wires. It has powerful automatic facilities
for controlling the density of the mesh once the structure
has been broken down into a number of polygons. It can
also be used as a general NEC2 pre-processor. It was
originally written by C.F. du Toit. Note that the code
uses its own data format, and unfortunately CANNOT import
an existing NEC2 model file, but it can of course export
the model to a standard ASCII file. A description of the
pre-processor has been accepted for publication: "WIREGRID:

A NEC2 preprocessor", C.F.du Toit & D.B.Davidson, Applied


Computational Electromagnetic Society (ACES) Journal.
(To appear.) A draft version of the paper (minus
illustrations) is contained in the ZIPfile. The code was
compressed using PZKIP version 2.04g.
(wiregrid.zip Version 4.00 A now online 9/8/94)
from Dr. D.B. Davidson (davidson@firga.sun.ac.za )

wg_211.zip
WireGrid for Windows is a NEC pre-processor for modelling
metallic structures using a mesh of wires. WireGrid AUTOMATES
the DISCRETISATION of conducting surfaces (polygons) in terms
of wire meshes for analysis in NEC, and allows VISUAL FEEDBACK
of the model structure as well as the positions of sources,
networks and field points. It also does CHECKING regarding
duplicate wires and closely spaced nodes not making contact.
WireGrid for Windows (version 2.11) is the second release of
this NEC pre-processor. WireGrid was developed by EM Software
& Systems in collaboration with the University of Stellenbosch.
(Note: the version on the this ftp site is enabled in the
DEMO mode. It is fully functional but limited to 15 elements.)
from Dr. F.J.C. Meyer (fjcmeyer@emss.co.za )

nec_examples.txt
This collection of NEC2 input data files is provided
courtesy of the Internet and Raymond Anderson. These input
files may be used for the NEC-PC programs, I've tried them
on both, but have been using NEC2D primarily. NEC2D was
provided by Jozef Bergervoet. I tried to give enough
examples so that the control cards for input would be self
explanatory. Also most types of antennas have been included
such as log periodic, monopole, rhombic, deltaloop, Quad and
the YAGI. These files are easily adapted and modified with
the DOS edit function, using the search and replace features.
Good Luck on your antenna designs- Clyde Edgar WA6DCM
from Clyde Edgar WA6DCM <Edgar@courier1.aero.org>
somnec.tar.Z
This file contains the FORTRAN source code for the
SOMNEC utility described in the official NEC2
documentation, as well as a sample output file
and a brief text file containing a general discussion
of the program.The SOMNEC program generates grids used by
the NEC2 program for the Sommerfeld-Norton approximation
to realistic grounds.
contributed by George Christianson <gchristianson@pppl.gov>
somnec_readme.txt

This is the text file contained in somnec.tar that


provides a general discussion of the program.
contributed by George Christianson <gchristianson@pppl.gov>
gamtoz.zip
GAMTOZ is a program to convert MicroSmith .GAM files (such as
produced by ELNEC and EZNEC as well as by MicroSmith) to commadelimited files containing impedance values. Both source code
(GAMTOZ.BAS) and a compiled (DOS) version (GAMTOZ.EXE) are
included. (This copy virus free!)
from Roy Lewallen W7EL

lpcad23.zip

LPCAD23 is a program to design log-periodic antennas. Antenna


specifications are input and the program calculates the
physical lengths and spacings. A NEC or NEC for Wires input
file is then automatically created..
(New version Rev 2.0 replaces version 1.37 with bug fixes
and enhancements as of 1/29/96)
(Version 2.3 replaces version 2.0 as of 4/10/97
(contributed by the author Roger Cox WB0DGF)
<hygain@compuserve.com>

nv.zip
NEC geometry viewer. Written in QuickBasic 4.5 .
Includes source code. Allows visualization of a
structure described in a NEC input file. Has rotate
about all three axis and zoom capability.
(contributed by David de Schweinitz (dave.des@metronet)
nov.zip

NEC output current viewer. Written in QuickBasic 4.5


source code included. Allows visualization of
geometry and the current in each segment. Has rotation
and zoom capability.
(contributed by David de Schweinitz (dave.des@metronet.com)

EZNEC_FILES
Directory containing contributed EZNEC antenna description
files.