nec-2.orig/ 42755 1762 1762 0 6722604606 11137 5ustar afrb2afrb2nec-2.orig/Makefile100644 1762 1762 1734 6722604602 12673 0ustar afrb2afrb2############################################################# # Top Level NEC Makefile # # (C) 1999 Alan Bain # # Under GPL licence # ############################################################# RM= rm -f # Things to pass to all makes MAKEDEFS = INSTALL = /usr/bin/install -o root -g root -c INSTALL_PROGRAM = $(INSTALL) DESTDIR = BINDIR = $(DESTDIR)/usr/local/bin SUBDIRS= somnec nec #default target all: Makefile all-recursive all-recursive: for subdir in $(SUBDIRS); do \ (cd $$subdir && $(MAKE) $(MAKEDEFS) all) || exit 1; \ done install: $(INSTALL_PROGRAM) nec/nec2 $(BINDIR) $(INSTALL_PROGRAM) somnec/somnec $(BINDIR) clean: clean-recursive clean-local clean-local: $(RM) *~ clean-recursive: for subdir in $(SUBDIRS); do \ target=`echo $@ | sed 's/-recursive//'`; \ (cd $$subdir && $(MAKE) $(MAKEDEFS) $$target) || exit 1; \ done nec-2.orig/doc/ 42755 1762 1762 0 6722603376 11707 5ustar afrb2afrb2nec-2.orig/doc/NECdoc/ 42755 1762 1762 0 6722603370 12774 5ustar afrb2afrb2nec-2.orig/doc/NECdoc/abstract.html100644 1762 1762 2302 6722601043 15550 0ustar afrb2afrb2 Abstract

Abstract

The Numerical Electromagnetics code (NEC-2) is a computer code for analyzing the electromagnetic response of an arbitrary structure consisting of wires and surfaces in free space or over a ground plane. The analysis is accomplished by the numerical solution of integral equations for induced currents. The excitation may be an incident plane wave or a voltage source on a wire, while the output may include current and charge density, electric or magnetic field in the vicinity of the structure, and radiated fields. NEC-2 includes several features not contained in NEC-1, including an accurate method for modeling grounds, based on the Summerfield integrals, and an option to modify a structure without repeating the complete solution.

This manual contains instruction for use of the Code, including preparation of input data and interpretation of the output. examples are included that show typical input and output and illustrate many of the special options available in NEC-2, covering the equations and details of the coding, are referenced.


nec-2.orig/doc/NECdoc/cards/ 40755 1762 1762 0 6722553257 14076 5ustar afrb2afrb2nec-2.orig/doc/NECdoc/cards/cm.html100644 1762 1762 6403 6722553250 15454 0ustar afrb2afrb2 Comment Cards

Comment Cards

The data-card deck for a run must begin with one or more comment cards which can contain a breaf description and structure parameters for the run. The cards are printed at the beginning of the output of the run for identification only and have no effect on the computation. Any alphabetic and numeric characters can be puched on these cards. The comment cards, like all other data cards, have a two-letter identifer in columns 1 and 2. The two forms for comment cards are:

Card:
 
     _________________________________________________________________
    /2|  5|   10|   15|   20|    30|    40|    50|    60|    70|    80|
   /  |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |CM |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |  The numbers along the top refer to the last column in each field |
  |   |   |     |     |     |      |      |      |      |      |      |


     _________________________________________________________________
    /2|  5|   10|   15|   20|    30|    40|    50|    60|    70|    80|
   /  |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |CE |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |  The numbers along the top refer to the last column in each field |
  |   |   |     |     |     |      |      |      |      |      |      |

when a CM card is read, the contents of columns 3 through 80 is printed in the output, and the next card is read as a comment card. When a CE card is read, columns 3 through 80 are printed, and reading of comments is terminated, The next card must be geomentry card. Thus, a CE Card must always occur in a data deck and my be preceded by as many CM cards as are needed to describe the run.


This file was last modified on nec-2.orig/doc/NECdoc/cards/cp.html100644 1762 1762 5206 6722553250 15457 0ustar afrb2afrb2 Coupling Calculation (CP)

Coupling Calculation (CP)

Purpose: To request calculation of the maximum coupling between segments.
Card:

     _________________________________________________________________
    /2|  5|   10|   15|   20|    30|    40|    50|    60|    70|    80|
   /  |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |CP |I1 | I2  | I3  | I4  | blank| blank| blank| blank| blank| blank|
  |   |   |     |     |     |      |      |      |      |      |      |
  |   | T |  S  |  T  |  S  |      |      |      |      |      |      |
  |   | A |  E  |  A  |  E  |      |      |      |      |      |      |
  |   | G |  G  |  G  |  G  |      |      |      |      |      |      |
  |   | 1 |  1  |  2  |  2  |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |  The numbers along the top refer to the last column in each field |
  |   |   |     |     |     |      |      |      |      |      |      |

Parameters:

TAG1	(I1)	Specify segment number SEG1 in th set of segments
SEG1	(I2)	having tag TAG1.  If TAG1 is blank or zero, then SEG1 is the segment number.

TAG2	(I3)	Same as above.
SEG2	(I4)

Notes:


This file was last modified on

nec-2.orig/doc/NECdoc/cards/ek.html100644 1762 1762 3655 6722553251 15463 0ustar afrb2afrb2 Extended Thin-Wire Kernal (EK)

Extended Thin-Wire Kernal (EK)

Purpose: To control use of the extended thin-wire kernal approximation.
Card:
     _________________________________________________________________
    /2|  5|   10|   15|   20|    30|    40|    50|    60|    70|    80|
   /  |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |EK |I1 |     |     |     | blank| blank| blank| blank| blank| blank|
  |   |   |     |     |     |      |      |      |      |      |      |
  |   | I |  b  |  b  |  b  |      |      |      |      |      |      |
  |   | T |  l  |  l  |  l  |      |      |      |      |      |      |
  |   | M |  a  |  a  |  a  |      |      |      |      |      |      |
  |   | P |  n  |  n  |  n  |      |      |      |      |      |      |
  |   | 1 |  k  |  k  |  k  |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |  The numbers along the top refer to the last column in each field |
  |   |   |     |     |     |      |      |      |      |      |      |

Parameters:
Integers
ITMP1 (I1) - Blank or zero to initiate use of the extended thin- wire kernal, -1 to return to standard thin-wire kernal. Without an EK card, the program will use the standard thin-wire kernal.

This file was last modified on nec-2.orig/doc/NECdoc/cards/en.html100644 1762 1762 3130 6722553251 15452 0ustar afrb2afrb2 End of Run (EN)

End of Run (EN)

Purpose: To indicate to the program the end of all execution. Card:
     _________________________________________________________________
    /2|  5|   10|   15|   20|    30|    40|    50|    60|    70|    80|
   /  |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |EN |   |     |     |     | blank| blank| blank| blank| blank| blank|
  |   |   |     |     |     |      |      |      |      |      |      |
  |   | b |  b  |  b  |  b  |      |      |      |      |      |      |
  |   | l |  l  |  l  |  l  |      |      |      |      |      |      |
  |   | a |  a  |  a  |  a  |      |      |      |      |      |      |
  |   | n |  n  |  n  |  n  |      |      |      |      |      |      |
  |   | k |  k  |  k  |  k  |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |  The numbers along the top refer to the last column in each field |
  |   |   |     |     |     |      |      |      |      |      |      |

Parameters: None

This file was last modified on nec-2.orig/doc/NECdoc/cards/ex.html100644 1762 1762 21266 6722553251 15516 0ustar afrb2afrb2 Excitation (EX)

Excitation (EX)

Purpose: To specify the excitation for the structure. The excitation can be voltage sources on the structure, an elementary current source, or a plane-wave incident on the structure.

Card:

     _________________________________________________________________
    /2|  5|   10|   15|   20|    30|    40|    50|    60|    70|    80|
   /  |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |EX |I1 | I2  | I3  | I4  |  F1  |  F2  |  F3  |  F4  |  F5  |  F6  |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |  The numbers along the top refer to the last column in each field |
  |   |   |     |     |     |      |      |      |      |      |      |
Parameters:
Integers
(I1) - Determines the type of excitation which is used.
O - voltage source (applied-E-field source).
1 - incident plane wave, linear polarization.
2 - incident plane wave, right-hand (thumb along the incident k vector) elliptic polarization.
3 - incident plane wave, left-hand elliptic polarization.
4 - elementary current source.
5 - voltage source (current-slope-discontinuity).
Remaining Integers Depend on Excitation Type
a. Voltage source ((I1) - O or 5)
(I2) - Tag number the source segment. This tag number along with the number to be given in (I3), which identifies the position of the segment in a set of equal tag numbers, uniquely definer the source segment. Blank or zero in field (I2) implies that the Source segment will be identified by using the absolute segment number in the next f field.

(I3) - Equal to m, specifies the mth segment of the set of segments whose tag numbers are equal to the number set by the previous parameter. If the previous parameter is zero, the number in (I3) must be the absolute segment number of the source.

(I4) - Columns l9 ant 20 of this field are used separately
The options for column l9 are:
1 - maximum relative admittance matrix asymmetry for source segment and network connection will be calculated and printed.

0 - no action.
The options for column 20 are:
l - the input impedance at voltage sources is always printed directly before the segment currents in the output. By setting this flag, the impedance of a single source segment in a frequency loop will be collected ant printer in a table(in a normalized and unnormalized form) after the information at all frequencies has been printed. Normalization to the maximum value is a default, but the nonnalization value can be specified (refer to F3 under voltage source below). When there is more than one source on the structure, only the impedance of the last Source specified will be collected .

0 - no action
b. Incident plane wave ((I1) - 1, 2, or 3)
(I2) - Number of theta angles desired for the incident plane wave .
(I3) - Number of phi angles desired for the incident plane wave.
(I4) - Only column l9 is used. The options are:
1 - maximum relative admittance matrix asymmetry for network connections will be calculated and printed.
0 - no action
c . Elementary current source ( (Al) = 4)
(12) & (13) - blank.
(I4) - Only column l9 is used and its function is identical to that listed under b.
Floating Point Options
a. Voltage source ( (Al) " 0 or A)
(Fl) - Real part of the voltage in volts.
(F2) - Imaginary part of the voltage in volts. (F3) - If a one Is placed in column 20 (see above), this field can be used to specify a normalization constants for the impedance printed in the optional impedance table. Blank in this field produces normalization to the maximum value.
(F4), (F5), & (F6) - Blank.
b. Incident plane wave ((11) s 1, 2, or 3). The incident wave is characterized by the direction of incident ^k wave polarization in the plane normal to ^k.
(F1) - Theta in degrees. Theta 19 defined in standard spherical coordinates as illustrated in figure 14.
(F2) - Phi in degrees. Phi is the standard spherical angle defined lned in the XY plane.
(F3) - Eta in degrees. Eta is the polarization angle defined as the angle between the theta unit vector and the direction of the electric field for linear polarization or the major ellipse axis for elliptical polarization. Refer to figure 14,
(F4) - Theta angle stepping increment in degrees.
(F5) - Phi angle stepping increment in degrees.
(F6) - Ratio of minor axis to major axis for elliptic polarization (major axis field strength - 1 V/m).
C. Elementary current source ((I1) - 4). The current source is characterized by its Cartesian coordinate position, orientation, and its magnitude.
(F1) - X position in meters.
(F2) - Y position in meters.
(F3) - Z position in meters.
(F4) - a in degrees. a is the angle the current source makes with the XY plane as illustrated on figure 15.
(F5) - beta in degrees. beta is the angle the projection of the current source on the XY plane makes with the X axis.
(F6) - "Current moment" of the source. This parameter is equal to the product Il in amp meters.
Notes:

This file was last modified on nec-2.orig/doc/NECdoc/cards/fr.html100644 1762 1762 5627 6722553251 15474 0ustar afrb2afrb2 Frequency (FR)

Frequency (FR)

Purpose: To specify the frequency(s) in megahertz

Card:

     _________________________________________________________________
    /2|  5|   10|   15|   20|    30|    40|    50|    60|    70|    80|
   /  |   |     |     |     |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |FR |I1 | I2  | I3  | I4  |  F1  |  F2  |  F3  |  F4  |  F5  |  F6  |
  |   |   |     |     |     |      |      |      |      |      |      |
  |   | I |  N  |  B  |  B  | FMHZ |DELFRQ|BLANK |BLANK |BLANK |BLANK |
  |   | F |  F  |  L  |  L  |      |      |      |      |      |      |
  |   | R |  R  |  A  |  A  |      |      |      |      |      |      |
  |   | Q |  Q  |  N  |  N  |      |      |      |      |      |      |
  |   |   |     |  K  |  K  |      |      |      |      |      |      |
  |   |   |     |     |     |      |      |      |      |      |      |
  |  The numbers along the top refer to the last column in each field |
  |   |   |     |     |     |      |      |      |      |      |      |
Parameters:
Integers
IFRQ (I1) - Determlnes the type of frequency stepping which is
O - linear stepping.
1 - multiplicative stepping.
NFRQ (12) - Sumber of frequency steps. If this field is blank, one is assumed.
(I3) & (I4) - Blank.
Floating Point
FMHZ (F1) - Frequency in megahertz.
DELFRQ (F2) - frequency stepping increment. If the frequency stepping is linear, this quantity is ailed to the frequency each tlme. If the stepping is multiplicatlve, this is the multiplication factor.
(F3) -> (F6) - Blank.
Notes:

This file was last modified on nec-2.orig/doc/NECdoc/cards/ga.html100644 1762 1762 5240 6722553252 15444 0ustar afrb2afrb2 GA - Wire Arc Specification

GA - Wire Arc Specification

Purpose: To generate a circular arc of wire segments.
Card:
    _______________________________________________________
   / 2|  5|   10|   20|   30|  40|  50|    60|    70|    80|   
  |   |   |     |     |     |    |    |      |      |      |    
  |GA |I1 | I2  | F1  | F2  | F3 | F4 | blank| blank| blank| 
  |   |   |     |     |     |    | R  |      |      |      |      
  |   | I |  N  |  R  |  A  | A  | A  |      |      |      |      
  |   | T |  S  |  A  |  N  | N  | D  |      |      |      |      
  |   | G |     |  D  |  G  | G  |    |      |      |      |         
  |   |   |     |  A  |  1  | 2  |    |      |      |      |      
  |   |   |     |     |     |    |    |      |      |      |      
  |   |   |     |     |     |    |    |      |      |      |      
  |   |   |     |     |     |    |    |      |      |      |      
  |The numbers along the top refer to the last column in each field 
  |   |   |     |     |     |    |    |      |      |      |      



Field	Parameter	Last column in each field
----	----		-------------------------
GA			2
ITG 	I1		5
NS	I2		10
RADA	F1		20
ANG1	F2		30
ANG2	F3		40
RAD	F4		50
blank			60
blank			70
blank			80
Parameters
Integers
ITG (I-1) - Tag number assigned to all segments of the wire arc.
NS (I-2) - Number of segments intowhich the arc will be divided.
Decimal Numbers
RADA (F1) - Arc raduis (center is the origin and the axis is the y axis.
ANG1 (F2) - Angle of first end of the arc measured from the x axis in a left-hand direction about the y axis (degrees).
ANG2 (F3) - Angle of the second end of the arc.
RAD (F4) - Wire radius.