NobuRF and openEMS compared
Both are free, open-source FDTD solvers. openEMS is installed on your computer, scripted from Python, MATLAB or Octave, and runs on the CPU. NobuRF runs in a browser tab on your GPU, and I check it against openEMS. On the same patch antenna, meshed the same way, the two land within 0.4 % of each other on resonance.
How they differ
| NobuRF | openEMS | |
|---|---|---|
| Where it runs | A browser tab in Chrome or Edge, or Node.js from the command line | Installed on Linux, FreeBSD, macOS or Windows |
| Hardware | The GPU through WebGPU, or the CPU when there is no WebGPU | The CPU, with multi-threading, SSE and MPI |
| Building a model | A workbench with a 3D view, a JSON project file, or Gerber, DXF and STEP import | MATLAB, Octave or Python scripts |
| Geometry | Copper layers on a board, with vias and a modeled SMA connector. Curved 3D solids run in the solver but can't be built in the app yet | 3D shapes built in the script |
| License | AGPL-3.0 | GPL-3.0 or later |
If your design is copper on a board and you'd rather not install anything, start with NobuRF. If it is mostly a 3D body, such as a horn or a cavity filter, use openEMS for now.
How close the results are
I ran one patch antenna in both codes: a 16 × 12.4 mm patch on 1.5 mm FR-4 (εr 4.4, no loss), fed by a microstrip line through a 50 Ω lumped port, with zero-thickness copper. Both used a graded mesh with 0.25 mm cells at the copper. openEMS v0.37.0 placed its mesh lines a third of a cell inside each copper edge, as its authors advise for thin metal.
| Feed | NobuRF | openEMS | Difference |
|---|---|---|---|
| Edge-fed, resonance | 5.32 GHz | 5.34 GHz | −0.4 % |
| 4 mm inset, resonance | 5.48 GHz | 5.47 GHz | +0.2 % |
| 4 mm inset, impedance at the dip | 44.8 + 5.4j Ω | 42.2 + 4.0j Ω | about 3 Ω |
Across 4.8 to 6.2 GHz the two impedance curves differ by 8.1 Ω on average for the edge-fed patch and 9.8 Ω for the inset patch, so the close match at the dip is the best point, not the whole band.
Both are FDTD codes, so this checks that NobuRF implements the method correctly. It does not check the method against a real board. For that, the validation report compares NobuRF with published measurements: the patches from Chang et al. (1986) land within 4 % of their measured resonance on substrates up to 0.11 wavelengths thick, and further off on thicker ones. A line-fed patch from Sheen et al. (1990) lands 0.3 % low. I haven't measured a board of my own on a VNA yet.
Beyond the flat patch
Four parts that are not flat copper have their own openEMS runs.
| Part | Compared | Result |
|---|---|---|
| Edge-launch SMA connector, a round coax into the board | Resonance, and how much the connector changes the input reactance against a lumped port | Resonance on the same 0.01 GHz step; reactance shift −30.7 Ω in NobuRF (0.25 mm cells), −32.0 Ω in openEMS (0.125 mm) |
| Plated vias, 0.2 to 0.8 mm drill | Inductance at 2 GHz | NobuRF 0.02 to 0.04 nH higher, cause not settled yet |
| Two patches, both ports driven | Far field and active reflection, 12 checks fixed before the run | All 12 pass; peak directivity within 0.03 dB. A pair of short dipoles passes 9 of 12: the efficiency checks miss, and openEMS itself reads above 100 % |
| Open helix, two dipoles wrapped on a cylinder | Resonance, bandwidth, gain and axial ratio at 915 MHz | Resonance within 0.3 % with NobuRF's curved sheet arms, gain within 0.03 dB, axial ratio within 0.3 dB; the match differs by 6 dB, and openEMS hasn't settled on it yet |
The connector, array and helix runs fixed what to compare, and how close counts as agreeing, before either code ran. Other curved solids, such as a sphere or a cylinder turned against the grid, are checked against exact cavity modes (within 0.07 to 0.6 %), not against openEMS.
Where they disagree
The demo in the app runs on a uniform 0.5 mm grid to keep it fast. On that grid NobuRF reads 0.4 to 1.3 % high against openEMS on its graded 0.25 mm mesh. The main cause is the substrate: 0.5 mm cells put only three cells across 1.5 mm, where the graded runs use six.
On a uniform 0.25 mm grid the inset patch's dip read −36.8 dB in NobuRF against −15.6 dB in openEMS, because the notch edges snapped to the grid. The graded mesh in the table puts lines on the notch edges, and the dips agree: −22.1 dB against −20.4 dB. For an inset feed, use a graded mesh.
The port model matters more than the mesh. In openEMS alone, changing the one-edge port for a port across the full feed width moves the edge-fed resonance from 5.27 to 5.41 GHz, 2.7 %. NobuRF's default is the same one-edge port openEMS uses, and the feed-wide port is an option. Any S11 comparison between two solvers has to say which port it used.
Every number here, with the scripts that produced it and the openEMS script, is in the validation report. NobuRF exports Touchstone files, so you can put its S-parameters next to an openEMS run of your own board.