Initial collection of example antennas with metadata

This commit is contained in:
Ryan Malloy 2026-02-07 06:09:44 -07:00
commit 6aa6f25d22
17 changed files with 341 additions and 0 deletions

51
README.md Normal file
View File

@ -0,0 +1,51 @@
# 4nec2-web Example Antennas
A curated collection of antenna models for the [4nec2-web](https://4nec2-web.supported.systems) antenna modeling application.
## Categories
| Folder | Description | Count |
|--------|-------------|-------|
| `simple/` | Basic antenna designs for beginners | 4 |
| `vertical/` | Ground-plane and vertical designs | 4 |
| `beam/` | Directional antennas with gain | 4 |
| `loop/` | Quad loops and delta configurations | 2 |
| `wideband/` | Broadband and specialized designs | 2 |
## File Format
All files use the standard NEC2 input format with extended metadata in comment cards:
```nec
CM Half-Wave Dipole for 20m Band
CM Simple horizontal dipole in free space
CM @category: simple
CM @band: 20m
CM @author: 4nec2-web
CM @tags: dipole, beginner, hf
CE
```
### Metadata Fields
| Field | Description |
|-------|-------------|
| `@category` | Folder/grouping (simple, vertical, beam, loop, wideband) |
| `@band` | Primary operating band (20m, 2m, HF, VHF, etc.) |
| `@author` | Design attribution |
| `@tags` | Comma-separated search keywords |
## Adding Your Own Collection
4nec2-web supports adding custom antenna collections from any git repository. Simply add your repo URL in the app's collection manager.
## Contributing
Pull requests welcome! Please ensure your .nec files:
1. Include descriptive CM comment lines
2. Add `@category`, `@band`, and `@tags` metadata
3. Are tested in the 4nec2-web simulator
## License
These example files are provided for educational purposes. Many designs are based on classic antenna configurations in the public domain.

17
beam/hb9cv.nec Normal file
View File

@ -0,0 +1,17 @@
CM HB9CV 2-Element Beam
CM Phased 2-element array with gain
CM @category: beam
CM @band: 2m
CM @author: 4nec2-web
CM @tags: beam, phased-array, vhf, compact
CE
GW 1 21 0 -0.48 0 0 0.48 0 0.003
GW 2 21 0.2 -0.5 0 0.2 0.5 0 0.003
GW 3 3 0 0 0 0.1 0 0 0.003
GW 4 3 0.1 0 0 0.2 0 0 0.003
GE 0
EK
EX 0 3 2 0 1 0
FR 0 1 0 0 146.0 0
RP 0 37 73 1000 -90 0 5 5
EN

26
beam/log-periodic.nec Normal file
View File

@ -0,0 +1,26 @@
CM Log Periodic Dipole Array
CM 5-element LPDA for HF bands
CM @category: beam
CM @band: HF
CM @author: 4nec2-web
CM @tags: lpda, wideband, directional, hf
CE
GW 1 5 0 -1.0 0 0 1.0 0 0.001
GW 2 7 1.2 -0.85 0 1.2 0.85 0 0.001
GW 3 9 2.3 -0.72 0 2.3 0.72 0 0.001
GW 4 11 3.3 -0.61 0 3.3 0.61 0 0.001
GW 5 13 4.2 -0.52 0 4.2 0.52 0 0.001
GW 6 1 0 0 0 1.2 0 0 0.002
GW 7 1 1.2 0 0 2.3 0 0 0.002
GW 8 1 2.3 0 0 3.3 0 0 0.002
GW 9 1 3.3 0 0 4.2 0 0 0.002
GE 0
EK
EX 0 1 3 0 1 0
TL 1 3 2 4 50 0.1
TL 2 4 3 5 50 0.12
TL 3 5 4 6 50 0.14
TL 4 6 5 7 50 0.16
FR 0 1 0 0 14.2 0
RP 0 37 73 1000 -90 0 5 5
EN

16
beam/yagi-3el.nec Normal file
View File

@ -0,0 +1,16 @@
CM 3-Element Yagi for 2m Band (146 MHz)
CM Director-Driven-Reflector configuration
CM @category: beam
CM @band: 2m
CM @author: 4nec2-web
CM @tags: yagi, directional, vhf, gain
CE
GW 1 21 0 -0.48 10 0 0.48 10 0.003
GW 2 21 0 -0.52 10.35 0 0.52 10.35 0.003
GW 3 21 0 -0.44 9.65 0 0.44 9.65 0.003
GE 0
EK
EX 0 1 11 0 1 0
FR 0 1 0 0 146.0 0
RP 0 37 73 1000 -90 0 5 5
EN

18
beam/yagi-5el.nec Normal file
View File

@ -0,0 +1,18 @@
CM 5-Element Yagi-Uda Array
CM High-gain beam antenna for 2m
CM @category: beam
CM @band: 2m
CM @author: 4nec2-web
CM @tags: yagi, directional, vhf, high-gain
CE
GW 1 21 0 -0.52 0 0 0.52 0 0.003
GW 2 21 0.35 -0.48 0 0.35 0.48 0 0.003
GW 3 21 0.75 -0.46 0 0.75 0.46 0 0.003
GW 4 21 1.2 -0.44 0 1.2 0.44 0 0.003
GW 5 21 1.7 -0.43 0 1.7 0.43 0 0.003
GE 0
EK
EX 0 2 11 0 1 0
FR 0 1 0 0 146.0 0
RP 0 37 73 1000 -90 0 5 5
EN

16
loop/delta-loop.nec Normal file
View File

@ -0,0 +1,16 @@
CM Delta Loop for 17m Band (18 MHz)
CM Equilateral triangle, horizontally polarized
CM @category: loop
CM @band: 17m
CM @author: 4nec2-web
CM @tags: loop, delta, hf, full-wave
CE
GW 1 15 0 -4.8 8 0 4.8 8 0.001
GW 2 15 0 4.8 8 0 0 16.3 0.001
GW 3 15 0 0 16.3 0 -4.8 8 0.001
GE 0
EK
EX 0 1 8 0 1 0
FR 0 1 0 0 18.1 0
RP 0 37 73 1000 -90 0 5 5
EN

17
loop/loop-quad.nec Normal file
View File

@ -0,0 +1,17 @@
CM Quad Loop for 15m Band (21 MHz)
CM Square loop, 1 wavelength circumference
CM @category: loop
CM @band: 15m
CM @author: 4nec2-web
CM @tags: loop, quad, hf, full-wave
CE
GW 1 11 0 -1.8 8.2 0 -1.8 11.8 0.001
GW 2 11 0 -1.8 11.8 0 1.8 11.8 0.001
GW 3 11 0 1.8 11.8 0 1.8 8.2 0.001
GW 4 11 0 1.8 8.2 0 -1.8 8.2 0.001
GE 0
EK
EX 0 1 6 0 1 0
FR 0 1 0 0 21.2 0
RP 0 37 73 1000 -90 0 5 5
EN

14
simple/dipole-20m.nec Normal file
View File

@ -0,0 +1,14 @@
CM Half-Wave Dipole for 20m Band (14.1 MHz)
CM Simple horizontal dipole in free space
CM @category: simple
CM @band: 20m
CM @author: 4nec2-web
CM @tags: dipole, beginner, hf
CE
GW 1 21 0 -5.32 10 0 5.32 10 0.001
GE 0
EK
EX 0 1 11 0 1 0
FR 0 1 0 0 14.1 0
RP 0 37 73 1000 -90 0 5 5
EN

17
simple/folded-dipole.nec Normal file
View File

@ -0,0 +1,17 @@
CM Folded Dipole for 10m Band (28 MHz)
CM 300 ohm feedpoint impedance
CM @category: simple
CM @band: 10m
CM @author: 4nec2-web
CM @tags: dipole, folded, hf, high-impedance
CE
GW 1 21 0 -2.5 10 0 2.5 10 0.001
GW 2 3 0 -2.5 10 0 -2.5 10.1 0.001
GW 3 21 0 -2.5 10.1 0 2.5 10.1 0.001
GW 4 3 0 2.5 10.1 0 2.5 10 0.001
GE 0
EK
EX 0 1 11 0 1 0
FR 0 1 0 0 28.5 0
RP 0 37 73 1000 -90 0 5 5
EN

16
simple/inverted-v.nec Normal file
View File

@ -0,0 +1,16 @@
CM Inverted-V Dipole for 40m Band
CM Apex at 15m, ends at 5m, 90 degree included angle
CM @category: simple
CM @band: 40m
CM @author: 4nec2-web
CM @tags: dipole, inverted-v, hf, beginner
CE
GW 1 11 0 -7.5 5 0 0 15 0.001
GW 2 11 0 0 15 0 7.5 5 0.001
GE 1
EK
EX 0 1 11 0 1 0
GN 2 0 0 0 13 0.005
FR 0 1 0 0 7.1 0
RP 0 37 73 1000 -90 0 5 5
EN

15
simple/off-center-fed.nec Normal file
View File

@ -0,0 +1,15 @@
CM Off-Center Fed Dipole (OCF)
CM Windom-style multiband antenna
CM @category: simple
CM @band: 40m
CM @author: 4nec2-web
CM @tags: dipole, multiband, hf, windom
CE
GW 1 9 0 0 10 0 4.9 10 0.001
GW 2 21 0 4.9 10 0 19.6 10 0.001
GE 0
EK
EX 0 1 9 0 1 0
FR 0 1 0 0 7.1 0
RP 0 37 73 1000 -90 0 5 5
EN

20
vertical/5-8-wave-gp.nec Normal file
View File

@ -0,0 +1,20 @@
CM 5/8 Wave Ground Plane
CM High-gain vertical for VHF/UHF
CM @category: vertical
CM @band: 2m
CM @author: 4nec2-web
CM @tags: vertical, high-gain, vhf, 5-8-wave
CE
GW 1 31 0 0 0 0 0 0.625 0.002
GW 2 11 0 0 0 0.25 0 -0.15 0.002
GW 3 11 0 0 0 -0.25 0 -0.15 0.002
GW 4 11 0 0 0 0 0.25 -0.15 0.002
GW 5 11 0 0 0 0 -0.25 -0.15 0.002
GE 1
EK
LD 4 1 1 1 10 0 0
EX 0 1 1 0 1 0
GN 2 0 0 0 13 0.005
FR 0 1 0 0 146.0 0
RP 0 37 73 1000 -90 0 5 5
EN

18
vertical/ground-plane.nec Normal file
View File

@ -0,0 +1,18 @@
CM Ground Plane Antenna for 2m (146 MHz)
CM Vertical with 4 sloped radials at 45 degrees
CM @category: vertical
CM @band: 2m
CM @author: 4nec2-web
CM @tags: vertical, ground-plane, vhf, radials
CE
GW 1 11 0 0 0 0 0 0.5 0.002
GW 2 7 0 0 0 0.35 0 -0.35 0.002
GW 3 7 0 0 0 -0.35 0 -0.35 0.002
GW 4 7 0 0 0 0 0.35 -0.35 0.002
GW 5 7 0 0 0 0 -0.35 -0.35 0.002
GE 0
EK
EX 0 1 1 0 1 0
FR 0 1 0 0 146.0 0
RP 0 37 73 1000 -90 0 5 5
EN

16
vertical/j-pole.nec Normal file
View File

@ -0,0 +1,16 @@
CM J-Pole Antenna
CM End-fed half-wave with matching stub
CM @category: vertical
CM @band: 2m
CM @author: 4nec2-web
CM @tags: vertical, j-pole, vhf, end-fed
CE
GW 1 21 0 0 0 0 0 0.5 0.001
GW 2 11 0 0 0 0.05 0 0.17 0.001
GW 3 3 0 0 0 0.05 0 0 0.001
GE 0
EK
EX 0 2 1 0 1 0
FR 0 1 0 0 146.0 0
RP 0 37 73 1000 -90 0 5 5
EN

View File

@ -0,0 +1,19 @@
CM Quarter-Wave Vertical with 4 Radials
CM Ground-mounted vertical for 40m band (7 MHz)
CM @category: vertical
CM @band: 40m
CM @author: 4nec2-web
CM @tags: vertical, ground-mounted, radials, hf
CE
GW 1 21 0 0 0 0 0 10.7 0.002
GW 2 11 0 0 0 7.5 0 0 0.002
GW 3 11 0 0 0 -7.5 0 0 0.002
GW 4 11 0 0 0 0 7.5 0 0.002
GW 5 11 0 0 0 0 -7.5 0 0.002
GE 1
EK
EX 0 1 1 0 1 0
GN 2 0 0 0 13 0.005
FR 0 1 0 0 7.0 0
RP 0 37 73 1000 -90 0 5 5
EN

View File

@ -0,0 +1,16 @@
CM 2-Element Collinear Array
CM Stacked half-wave dipoles for UHF
CM @category: wideband
CM @band: UHF
CM @author: 4nec2-web
CM @tags: collinear, stacked, uhf, gain
CE
GW 1 21 0 -0.25 5 0 0.25 5 0.001
GW 2 21 0 -0.25 5.6 0 0.25 5.6 0.001
GW 3 5 0 0 5 0 0 5.6 0.002
GE 0
EK
EX 0 3 3 0 1 0
FR 0 1 0 0 300.0 0
RP 0 37 73 1000 -90 0 5 5
EN

29
wideband/discone.nec Normal file
View File

@ -0,0 +1,29 @@
CM Discone Wideband Antenna
CM Biconical design with 30 degree cone angle
CM @category: wideband
CM @band: VHF
CM @author: 4nec2-web
CM @tags: wideband, discone, biconical, scanner
CE
GW 1 1 0.0000 -0.0250 0.0000 0.0000 0.0250 0.0000 .00300000
GW 0 20 0.0000 0.0250 0.0000 0.3000 0.5446 0.0000 .00300000
GW 0 20 0.0000 0.0250 0.0000 -0.3000 0.5446 0.0000 .00300000
GW 0 20 0.0000 0.0250 0.0000 0.0000 0.5446 -0.3000 .00300000
GW 0 20 0.0000 0.0250 0.0000 0.0000 0.5446 0.3000 .00300000
GW 0 20 0.0000 0.0250 0.0000 0.2121 0.5446 0.2121 .00300000
GW 0 20 0.0000 0.0250 0.0000 -0.2121 0.5446 -0.2121 .00300000
GW 0 20 0.0000 0.0250 0.0000 0.2121 0.5446 -0.2121 .00300000
GW 9 20 0.0000 0.0250 0.0000 -0.2121 0.5446 0.2121 .00300000
GW 10 20 -0.3000 -0.5446 0.0000 0.0000 -0.0250 0.0000 .00300000
GW 11 20 0.3000 -0.5446 0.0000 0.0000 -0.0250 0.0000 .00300000
GW 12 20 0.0000 -0.5446 0.3000 0.0000 -0.0250 0.0000 .00300000
GW 13 20 0.0000 -0.5446 -0.3000 0.0000 -0.0250 0.0000 .00300000
GW 14 20 -0.2121 -0.5446 -0.2121 0.0000 -0.0250 0.0000 .00300000
GW 15 20 0.2121 -0.5446 0.2121 0.0000 -0.0250 0.0000 .00300000
GW 16 20 -0.2121 -0.5446 0.2121 0.0000 -0.0250 0.0000 .00300000
GW 17 20 0.2121 -0.5446 -0.2121 0.0000 -0.0250 0.0000 .00300000
GE 0
EX 0 1 1 00 1.0000 0.0000
FR 0 1 0 0 50 0
RP 0 37 73 1000 -90 0 5 5
EN