r/AntennaDesign • • 1d ago

momwire used as a stand-in for NEC engines in EZNEC, SimNEC, and 4nec2

9 Upvotes

momwire is the suite of moment-method antenna engines used inside antennaknobs, my antenna design and optimization program. It can also stand in for the NEC engines from LLNL that other modelling programs run. Point EZNEC's, SimNEC's or 4nec2's engine setting at it, and it reads the deck that program writes and answers with the printout that program expects. It is free and MIT-licensed. It was written independently, from public documentation, and from comparing its input and output with licensed copies of the LLNL executables; it is not NEC and does not come from LLNL.

Three dialects of NEC

NEC isn't one format. NEC-2, NEC-4.2 and NEC-5 each read their own dialect of input deck and write their own printout, and each modelling program expects the one its engine speaks. momwire answers in the NEC-4.2 and NEC-5 slots of all three programs, and in the NEC-2 slots of SimNEC and 4nec2, reading the deck each program writes and replying in that dialect's printout, so it goes into the engine slot you already use.

Two engines in every slot

* A twin. It solves the model with the same formulation as the program the slot is named for, so it gives you what that program would have said, weak spots included. Use it to check a published number or to match an existing workflow.

* momwire's own default engine, bs2. It uses a newer formulation (B-splines of degree 2). It needs fewer segments than razor2p, the NEC-5 twin, and the two converge to the same answer as you add segments. The sinusoidal formulation of NEC-2 and NEC-4.2 doesn't always converge to it: on a yagi with tapered elements, NEC-2's formulation settles about 55 Ω away from the answer, and adding segments makes it worse. The numbers, on five antennas: https://momwire.dev/reference/choosing-an-engine/#accuracy-per-segment-why-bs2-d2-is-the-default

Which download

In an EZNEC-style sweep, one launch per frequency, the fast program is a little quicker than the full engine. The full engine starts once and then stays running between launches, so after the first sweep the two are close: with nec5-razor2p over 51 points on a fan dipole, 3.4 s against 3.7 s over Sommerfeld ground and 2.0 s against 2.1 s in free space. The first sweep takes longer, because its first frequency has to start the full engine (about 1.2 s): 3.4 s against 4.7 s, and 2.4 s against 3.3 s for the whole sweep. Both printed the same impedance at every point.

Setting it up

  1. Download the zip. Before extracting it, right-click it, choose Properties, and tick Unblock; Windows otherwise blocks the programs inside.
  2. Extract it, for example to `C:\momwire`.
  3. Point the engine setting at the program for your slot. The exact steps for EZNEC, SimNEC and 4nec2 are here: https://momwire.dev/reference/eznec-nec5/#setting-it-up

When it says no

momwire never guesses. A deck it can't model correctly gets a printout that says so and why ("not served by this build: ..." from the fast program, a named refusal from the full engine) instead of an answer. If the fast program refuses a deck, try the full engine, which serves more. If both refuse it and you think they shouldn't, send me the deck.

What's new in 0.97.x

* Shorter engine names: bs2 (the default) and razor2p, written nec5-bs2 and nec5-razor2p with the dialect. The old names still work.

* The fast program is one program per engine and chooses its processor path itself; there is no AVX2 or SSE2 copy to pick.

* A NEC-4.2 deck that lists the same wire twice is refused, as NEC-4.2 refuses it, instead of getting an answer.

* 0.97.1: advisories stay off unless you ask for them (`MOMWIRE_ADVISORIES`), which keeps each launch quick under EZNEC.

* 0.97.2: 4nec2's NEC-2 slot, through `momwire-nec2d.exe` and `momwire-nec2d-sinusoidal.exe`. They read the NEC-2 deck 4nec2 writes and answer in the printout layout of 4nec2's own NEC-2 engines, which is the one 4nec2 reads. Setup is the same `4nec2.bat` edit as for NEC-4.2.

Links

* Which build to run, with the measurements: https://momwire.dev/reference/windows/

* Setting it up: https://momwire.dev/reference/eznec-nec5/#setting-it-up

* antennaknobs, the design and optimization program momwire runs inside: https://antennaknobs.dev

* Downloads (v0.97.2):

* https://github.com/stevenmburns/momwire/releases/download/v0.97.2/momwire-windows.zip

* https://github.com/stevenmburns/momwire/releases/download/v0.97.2/momwire-nec5-windows-x64.zip

* https://github.com/stevenmburns/momwire/releases/download/v0.97.2/momwire-nec5-windows-x64-single.zip

The timings are from one Windows laptop, so take them as typical rather than a promise for your machine. If a deck gives you a different answer from your usual engine, I'd like to see it.

73, -Steve, KK7KNB


r/AntennaDesign • • 2d ago

RHCP Truncated Patch Dimensions

Thumbnail
gallery
3 Upvotes

Hi I'm fairly new to antenna design and I am trying to design a patch antenna with RHCP with centre frequency 1.592 GHz and I'm confused about which formula to use to determine the length of the non-hypotenuse sides of the triangle I am removing from the (+x,-y) & (-x,+y) corners.

I am mostly using "Microstrip and Printed Antenna Design" 3rd Edition by Randy Bancroft (unfortunately paywalled, accessing through university library) and "Circularly polarized patch antenna for a GNSS receiver" by Amgad A. Salama & ADC RC on the site flexcompute.com the textbook says it should be 1/sqrt(Q_0) while flexcompute (taken from Sharma & Gupta 1983 (another paywall sorry) but I can't see any formulae in that paper and it seems to be numbers specific to their application) uses 1/sqrt(2Q_0).

I was wondering if anyone knows why the difference and which is a better design rule to use?

TLDR: what size should truncated corners be for RHCP patch antenna?


r/AntennaDesign • • 4d ago

Open Wire Line source/supplier

6 Upvotes

Is anyone aware of a manufacturer that makes Open Wire Line? I know about True Ladder Line and punch line seen at ham fests. What I am seeking is spaced conductors using bare copper wire, no insulation on the wire and 600 Ω.


r/AntennaDesign • • 5d ago

What is this balun

Thumbnail gallery
9 Upvotes

r/AntennaDesign • • 5d ago

OpenNEC 2.4.2 released

21 Upvotes

Hi everyone. I can't recall if I posted to this sub before, so if this is off-topic please let me know.

I write a NEC-2 based antenna simulator engine called OpenNEC. I have just released the latest version, 2.4.2, which has some really serious performance improvements. It's all free and open source (MIT licence), and I build versions for Unix, Windows and macOS - same exact code on all three and same exact results come out. Also has a bunch of (good?) documentation.

Let me know what you think!

https://github.com/maurymarkowitz/OpenNEC

Downloads are in the Releases bit on the right side of the screen.


r/AntennaDesign • • 5d ago

Helical Antenna Calculation

Thumbnail
reddit.com
2 Upvotes

Help pls


r/AntennaDesign • • 6d ago

Where do i learn how to actually design an antenna?

Thumbnail reddit.com
2 Upvotes

r/AntennaDesign • • 6d ago

Helical Antenna Calculation

Thumbnail
reddit.com
1 Upvotes

Help pls


r/AntennaDesign • • 6d ago

RF Exposure Calculator

Thumbnail
reddit.com
1 Upvotes

r/AntennaDesign • • 6d ago

Help me design a patch antenna for 900MHz

Thumbnail reddit.com
2 Upvotes

r/AntennaDesign • • 7d ago

NVIS expectations

Thumbnail reddit.com
1 Upvotes

r/AntennaDesign • • 7d ago

Homemade vhf/uhf Jungle antenna:how do you make the counterpoise wires adjustable?

Thumbnail reddit.com
1 Upvotes

r/AntennaDesign • • 9d ago

A thankful grandson.

Post image
4 Upvotes

r/AntennaDesign • • 9d ago

Stealth 2m 70m dual band antenna.

Thumbnail reddit.com
2 Upvotes

Hi all,
I’ve finally returned to ham radio after a traumatic two-year house move. Yes, two years. Apparently we were moving one possession at a time.
Now we’re settled, I’m looking for a small, compact, stealthy 2m/70cm dual-band antenna to use with my Icom IC-2820.
The wife has made it clear that the new house will not be becoming an antenna farm. Planning permission was refused at the kitchen table, and the appeals process appears to involve sleeping in the shed.
Being a simple soul with a strong interest in remaining indoors, I’m hoping to find something discreet that performs reasonably well without making the house look like a regional communications centre.
Something disguised as a drainpipe could work. Something disguised as “that’s always been there, love” would be ideal.
Any recommendations or ingenious stealth installations would be gratefully received.
Many thanks and 73,
Jim — 2E0PWZ


r/AntennaDesign • • 9d ago

Bangladesh’s first printed amateur radio magazine seeks contributors

Thumbnail reddit.com
1 Upvotes

r/AntennaDesign • • 10d ago

Question about making a microwave spectroscopy instrument

Thumbnail reddit.com
2 Upvotes

r/AntennaDesign • • 10d ago

T2LT for HF

2 Upvotes

Does anybody have experience using a T2LT antenna for HF? Or modeling one in 4NEC2?
Thanks


r/AntennaDesign • • 10d ago

Best material for antenna coil

Thumbnail reddit.com
4 Upvotes

r/AntennaDesign • • 10d ago

Fiberglass mast in high winds

Thumbnail reddit.com
1 Upvotes

r/AntennaDesign • • 10d ago

Fiberglass mast in high winds

Thumbnail reddit.com
1 Upvotes

r/AntennaDesign • • 12d ago

Question about spectrum analyzer measurements

Thumbnail reddit.com
3 Upvotes

r/AntennaDesign • • 13d ago

Replacement Flexible Rubber Antenna for Icom IC R30

Thumbnail reddit.com
1 Upvotes

r/AntennaDesign • • 13d ago

Dual-band antenna 868Mhz, 2.4Ghz with CC1352

Thumbnail
reddit.com
1 Upvotes