From 6aa6f25d2299b3a08040806553fe1cb827316ac4 Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Sat, 7 Feb 2026 06:09:44 -0700 Subject: [PATCH] Initial collection of example antennas with metadata --- README.md | 51 +++++++++++++++++++++++++++++++++++ beam/hb9cv.nec | 17 ++++++++++++ beam/log-periodic.nec | 26 ++++++++++++++++++ beam/yagi-3el.nec | 16 +++++++++++ beam/yagi-5el.nec | 18 +++++++++++++ loop/delta-loop.nec | 16 +++++++++++ loop/loop-quad.nec | 17 ++++++++++++ simple/dipole-20m.nec | 14 ++++++++++ simple/folded-dipole.nec | 17 ++++++++++++ simple/inverted-v.nec | 16 +++++++++++ simple/off-center-fed.nec | 15 +++++++++++ vertical/5-8-wave-gp.nec | 20 ++++++++++++++ vertical/ground-plane.nec | 18 +++++++++++++ vertical/j-pole.nec | 16 +++++++++++ vertical/vertical-quarter.nec | 19 +++++++++++++ wideband/collinear-2el.nec | 16 +++++++++++ wideband/discone.nec | 29 ++++++++++++++++++++ 17 files changed, 341 insertions(+) create mode 100644 README.md create mode 100644 beam/hb9cv.nec create mode 100644 beam/log-periodic.nec create mode 100644 beam/yagi-3el.nec create mode 100644 beam/yagi-5el.nec create mode 100644 loop/delta-loop.nec create mode 100644 loop/loop-quad.nec create mode 100644 simple/dipole-20m.nec create mode 100644 simple/folded-dipole.nec create mode 100644 simple/inverted-v.nec create mode 100644 simple/off-center-fed.nec create mode 100644 vertical/5-8-wave-gp.nec create mode 100644 vertical/ground-plane.nec create mode 100644 vertical/j-pole.nec create mode 100644 vertical/vertical-quarter.nec create mode 100644 wideband/collinear-2el.nec create mode 100644 wideband/discone.nec diff --git a/README.md b/README.md new file mode 100644 index 0000000..bc49cb7 --- /dev/null +++ b/README.md @@ -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. diff --git a/beam/hb9cv.nec b/beam/hb9cv.nec new file mode 100644 index 0000000..b0e09b0 --- /dev/null +++ b/beam/hb9cv.nec @@ -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 diff --git a/beam/log-periodic.nec b/beam/log-periodic.nec new file mode 100644 index 0000000..8fe10fe --- /dev/null +++ b/beam/log-periodic.nec @@ -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 diff --git a/beam/yagi-3el.nec b/beam/yagi-3el.nec new file mode 100644 index 0000000..31ecd73 --- /dev/null +++ b/beam/yagi-3el.nec @@ -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 diff --git a/beam/yagi-5el.nec b/beam/yagi-5el.nec new file mode 100644 index 0000000..9c2e7a5 --- /dev/null +++ b/beam/yagi-5el.nec @@ -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 diff --git a/loop/delta-loop.nec b/loop/delta-loop.nec new file mode 100644 index 0000000..d3860b4 --- /dev/null +++ b/loop/delta-loop.nec @@ -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 diff --git a/loop/loop-quad.nec b/loop/loop-quad.nec new file mode 100644 index 0000000..176bcde --- /dev/null +++ b/loop/loop-quad.nec @@ -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 diff --git a/simple/dipole-20m.nec b/simple/dipole-20m.nec new file mode 100644 index 0000000..1ab1f50 --- /dev/null +++ b/simple/dipole-20m.nec @@ -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 diff --git a/simple/folded-dipole.nec b/simple/folded-dipole.nec new file mode 100644 index 0000000..04bba15 --- /dev/null +++ b/simple/folded-dipole.nec @@ -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 diff --git a/simple/inverted-v.nec b/simple/inverted-v.nec new file mode 100644 index 0000000..2f60d87 --- /dev/null +++ b/simple/inverted-v.nec @@ -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 diff --git a/simple/off-center-fed.nec b/simple/off-center-fed.nec new file mode 100644 index 0000000..26d9901 --- /dev/null +++ b/simple/off-center-fed.nec @@ -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 diff --git a/vertical/5-8-wave-gp.nec b/vertical/5-8-wave-gp.nec new file mode 100644 index 0000000..c2c92ea --- /dev/null +++ b/vertical/5-8-wave-gp.nec @@ -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 diff --git a/vertical/ground-plane.nec b/vertical/ground-plane.nec new file mode 100644 index 0000000..4225492 --- /dev/null +++ b/vertical/ground-plane.nec @@ -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 diff --git a/vertical/j-pole.nec b/vertical/j-pole.nec new file mode 100644 index 0000000..a41525c --- /dev/null +++ b/vertical/j-pole.nec @@ -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 diff --git a/vertical/vertical-quarter.nec b/vertical/vertical-quarter.nec new file mode 100644 index 0000000..de646e9 --- /dev/null +++ b/vertical/vertical-quarter.nec @@ -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 diff --git a/wideband/collinear-2el.nec b/wideband/collinear-2el.nec new file mode 100644 index 0000000..9172c05 --- /dev/null +++ b/wideband/collinear-2el.nec @@ -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 diff --git a/wideband/discone.nec b/wideband/discone.nec new file mode 100644 index 0000000..285cb18 --- /dev/null +++ b/wideband/discone.nec @@ -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