Back to Blog
RF

FEM vs FDTD: Choosing a 3D Solver for a Patch Antenna

11 min read
Illustration of a rectangular microstrip patch antenna on a green substrate, its left half covered by a tetrahedral finite-element mesh and its right half by a cubic finite-difference grid

Picture two engineers modelling the same 2.4 GHz patch antenna, one with a finite-element solver and one with a finite-difference time-domain solver. The S11 dips land tens of megahertz apart, and each quietly decides the other tool is wrong. Usually neither is. Both solved Maxwell's equations faithfully, on two differently chopped-up versions of space, with two different ideas of where the antenna ends and the universe begins.

Choosing between FEM and FDTD is less about accuracy (converged properly, both arrive at the same physics) and more about which question you are asking and what you will pay for the answer. I'll work through both with one example, a rectangular patch on 1.6 mm FR-4 sized for 2.4 GHz, from discretisation to reading the S11 and far-field results.

What You Will Learn

  • What "full-wave" means, and what the transmission-line model of a patch leaves out
  • How FEM solves on tetrahedra one frequency at a time, and how adaptive sweeps cut that cost
  • How FDTD steps fields through a Yee grid, and why the smallest cell sets the time step
  • Why a high-Q patch makes FDTD wait, and when a broadband question favours FDTD
  • How to size cells and elements against wavelength, and why the substrate usually decides first
  • Which real-world variables move the answer more than the choice of solver

What Full-Wave Actually Means

A full-wave solver computes the fields everywhere in a region by solving Maxwell's equations directly, without assuming what shape those fields take. The transmission-line model of a patch (Balanis, Antenna Theory) treats it as a low-impedance line with a radiating slot at each end: a good first guess that knows nothing about your probe, your 60 mm ground plane or the connector underneath. The price is that you must discretise space (and, for FDTD, time), and nearly every full-wave error comes from that discretisation or the boundaries around it. (The method of moments, which meshes only the metal, is a third family for another post.)

The Patch on the Bench

Our example is a probe-fed patch on FR-4 (εr = 4.4, h = 1.6 mm) for 2.4 GHz. The transmission-line equations give a width of about 38 mm and an effective permittivity of about 4.09 (lower than 4.4, because some of the field lives in the air). The resonant length is roughly half a wavelength in that medium, L ≈ λ0/(2√εeff), less about 0.74 mm per edge for the fringing field that bulges past each radiating edge. That leaves about 29.4 mm of copper.

Coaxial probe-fed rectangular patch antenna on a dielectric substrate, with the probe passing through the ground plane to the patch
A coaxial probe feed: the inner conductor passes through the ground plane and substrate to the patch.

Two details matter for simulation. The input resistance is a couple of hundred ohms at the radiating edge and falls towards zero at the centre, so a feed roughly a third of the way in finds 50 Ω. And the bandwidth is only a few per cent, which makes the patch a fairly high-Q resonator. Keep the word resonator in mind.

Inset-fed rectangular patch antenna with a microstrip feed line cut into a notch in the patch edge for impedance matching
An inset feed: a microstrip line cut into the patch edge sets the match without a separate connector.

How FEM Sees the Antenna

The finite element method fills the problem volume (patch, substrate, feed and a box of air) with tetrahedra, approximates the field inside each with vector functions tied to the element's edges, and assembles one large, sparse linear system per frequency (Jin, The Finite Element Method in Electromagnetics). Tetrahedra conform to curved surfaces, can be tiny at the feed and large in the air, and higher-order elements let each carry more of the wave. That is why FEM is the traditional home of resonant, enclosed and awkwardly shaped structures: cavity filters, connectors, waveguide transitions.

One Frequency at a Time, Unless You Cheat

A uniform sweep runs one full solve per frequency point, so a 201-point S11 curve is 201 solves. Model-order reduction gets around this: the adaptive sweep in the open source FEM solver documented in our sources runs a few full solves, builds a reduced-order model and evaluates it across the output grid (open source FEM solver documentation). It suits a patch with one dominant resonance, with fine print the documentation is candid about: the tolerance bounds the error in the field, not in every derived number, so check it against a few uniform points.

The mesh also has to stop somewhere, so FEM tools truncate the air box with an absorbing boundary condition or a perfectly matched layer (PML). The open source solver documented in our sources offers first- and second-order absorbing boundary conditions for the edge of the air box, and lists perfectly matched layers as not yet implemented (open source FEM solver documentation).

Side-by-side diagram of a patch antenna cross-section: on the left a tetrahedral finite-element mesh that follows the patch edges and grows coarser in the surrounding air, on the right a rectilinear FDTD grid with a staircased outline, a magnified Yee cell showing staggered electric and magnetic field components, and a shaded absorbing layer at the outer edge
FEM fits tetrahedra to the geometry and solves a matrix per frequency. FDTD lays a fixed grid over it and steps the fields forward in time.

How FDTD Sees the Antenna

FDTD goes back to Kane Yee's 1966 paper, which staggered the electric and magnetic field components on a cubic lattice, half a cell apart, and updated them in a leapfrog: new E from the curl of H, then new H from the curl of the new E (Yee, IEEE Transactions on Antennas and Propagation). There is no matrix to invert, memory grows linearly with cell count, and the updates parallelise well. For S11, you excite the feed with a short Gaussian pulse, record the port voltage and current, and Fourier-transform both. One run covers the pulse's whole bandwidth.

The Staircase and the Time Step

The grid is rectilinear, so a curved or slanted edge gets staircased unless sub-cell or conformal techniques step in (Taflove and Hagness, Computational Electrodynamics). An axis-aligned patch is about as kind to FDTD as geometry gets. The Courant–Friedrichs–Lewy limit is less forgiving: Δt ≤ 1/(c√(1/Δx² + 1/Δy² + 1/Δz²)), so the smallest cell anywhere sets the step for the whole run. Four 0.4 mm cells across our substrate, with 1 mm cells in-plane, gives about 1.2 picoseconds.

Why a Patch Makes FDTD Wait

After the pulse passes, a high-Q structure keeps ringing, and the run must continue until the stored energy has decayed by 40 dB or so, or the transform of the truncated signal smears the dip. By my rough estimate, a 3 per cent bandwidth means a Q of about 24 and around 15 ns to decay by 40 dB, which at 1.2 ps per step is well over ten thousand steps. Open source FDTD documentation warns that narrowband antennas may need many more time steps than the default.

FDTD's open boundary is usually Berenger's perfectly matched layer, an absorbing layer designed so that waves enter it without reflecting, whatever their angle or frequency (Berenger, Journal of Computational Physics). It works well, but open source FDTD documentation still advises keeping radiators at least a quarter wavelength away from it.

So Which One for a Patch?

Converged, both handle a single patch well. The choice comes down to cost and the question:

  • One narrowband patch, S11 around one resonance: FEM with an adaptive sweep, which spends its effort near the resonance instead of waiting out a ring-down.
  • Broadband or transient questions (multiband and UWB antennas, feed transitions, pulses): FDTD, which covers the band in one run.
  • Large, detailed problems with frequency-dependent materials, such as a phone against a head: FDTD, whose memory grows gently with size.
  • Enclosed, high-Q or curved structures (cavity filters, connectors, resonators): FEM, which conforms to the geometry.

A mildly contrarian footnote: "FEM is frequency domain, FDTD is time domain" is a convention, not a law. The open source finite element solver in our sources offers explicit and fully implicit time-domain solvers alongside its frequency-domain ones (open source FEM solver documentation), and CST Studio Suite offers several methods across both domains. The real choice is the discretisation: conforming tetrahedra and a matrix solve, or a structured grid and explicit updates.

Cells, Elements and the Wavelength

The usual rule is at least ten cells per wavelength, finer where phase must stay accurate over distance, because FDTD's numerical dispersion error builds up as a wave crosses the grid (Taflove and Hagness). The wavelength that counts is the shortest: top of the sweep, densest material. At 2.4 GHz that is about 125 mm in air but about 60 mm in FR-4, so a tenth is roughly 6 mm, and that is a ceiling, not a target.

A 6 mm cell would not even fit inside a 1.6 mm substrate. The substrate thickness, probe diameter, inset gap and edge fringing set the cell size long before the wavelength does. In FDTD that means a graded grid, fine near the patch and coarse in the air (open source FDTD codes support non-uniform meshes for exactly this). In FEM it means local refinement, which adaptive mesh refinement can automate.

Reading S11 and the Far-Field Pattern

S11 is the ratio of reflected to incident wave at the port, usually in decibels (Pozar, Microwave Engineering). The dip frequency is the resonance, the depth is the match (−10 dB means about 90 per cent of the incident power is accepted, −20 dB about 99 per cent), and the width below −10 dB is the impedance bandwidth. What S11 cannot tell you is whether that power was radiated. A 50 Ω resistor has a perfect S11.

That is what the far field is for. Both methods record the fields on a closed surface around the antenna and transform them to the far zone. A patch should show a broadside beam, read from the E-plane and H-plane cuts (half-power beamwidth, front-to-back ratio, cross-polarisation), and a finite ground plane changes the back of that pattern noticeably. For the near fields under the patch, our post on 3D field visualisation covers what those plots can and cannot show.

What NevilLabs Runs

The NevilLabs 3D EM solver is a finite element (FEM) solver, and the jobs in this post are frequency-domain sweeps. It runs on our servers, so you set up and read the job in your browser with nothing to install. Simulate EM in the 3D view runs an automatic tetrahedral meshing step and then a frequency-domain solve. Geometry is built from axis-aligned boxes, which is exactly what a patch, its substrate, ground plane and feed line are. Materials come from RF presets (FR-4, Rogers RO4003C and RO4350B, RT/duroid among them) or your own permittivity and loss tangent, and you draw lumped or wave ports on a face.

Preview Mesh shows the initial mesh, the tetrahedra at the start of adaptive refinement, before you commit to a solve, which is the quickest way to see the discretisation described above on your own geometry. That starting mesh is not the one your results come from: once refinement finishes you can view the final solved mesh, and the results are computed from it. Some of the messy reality is handled for you. The air box defaults to a quarter wavelength at the lowest sweep frequency, and the mesher targets at least ten elements per wavelength at the top of the sweep, in the densest material. A mesh check predicts whether the job fits your element budget before you submit, and longer sweeps use an adaptive frequency sweep automatically. Results include S-parameter magnitude, phase, VSWR and impedance plots, a Smith chart and a port table, with the solver name and mesh element count alongside.

The finite-element solve, the mesh preview and the port results all sit in the same 3D view.

The mesh refines adaptively, and by default the solver stops once at least 2 consecutive refinement passes meet the convergence criterion. You can override that number (5, for example) when you want a tighter answer, but a higher value increases solve time and Credits consumption, so raise it only when the dip is still moving between passes.

3D EM access comes through a NevilLabs Subscription Plan, and each solve uses Credits from that plan.

Convergence, Substrate Tolerance and Feeds in Patch Antenna Solves

Neither solver will tell you its answer is converged. Refine the mesh, run again and watch the dip; when it stops moving by more than a few megahertz, you have a converged answer to the model you drew. Most disagreement between two tools is two models converged to different degrees.

Then there is the board. Rogers lists RO4003C with a process dielectric constant of 3.38 ± 0.05 but gives 3.55 as the design value (Rogers Corporation). By my rough transmission-line estimate, that ±0.05 moves a 2.4 GHz patch by about ±16 MHz, and typing 3.38 where you meant 3.55 moves it by more than 50 MHz, comparable to its whole bandwidth. A nominal run is one board out of a spread, which is why we wrote about RF yield analysis.

Then the feed. A lumped port is an idealised source across a tiny gap, while a real SMA connector has a centre pin, a PTFE dielectric, a flange and a solder joint. Modelling or de-embedding it often moves the match more than another round of mesh refinement.

And the edges. An absorbing boundary too close to the antenna sits in the reactive near field and reflects energy back, shifting the resonance and distorting the pattern without an error message. The textbook patch sits on an infinite ground plane; yours is 60 mm square or bolted to a chassis. Simulate the board you will actually make.

Where These Solvers Are Used in the Real World

  • Mobile and wearable devices: SAR assessment of a handset next to the body is standardised around FDTD, including how to validate the device model and estimate its uncertainty (IEC/IEEE 62704-1). Remcom XFdtd is a commercial FDTD solver aimed at antenna placement, mobile devices, SAR and automotive radar.
  • Automotive radar: 77 GHz sensors, working at a free-space wavelength under 4 mm, pair planar antenna arrays with highly integrated millimetre-wave front-ends (Hasch et al., IEEE Transactions on Microwave Theory and Techniques).
  • Aerospace and satellites: microstrip patches spread through aircraft, spacecraft and missile antennas because they are thin, light and can conform to a curved skin (Carver and Mink, IEEE Transactions on Antennas and Propagation). Ansys HFSS (finite element with automatic adaptive meshing) and CST Studio Suite (finite element, finite integration and transmission line matrix solvers) are used for antennas, RF components, connectors, packages and PCBs, and free open source FDTD solvers exist that are scripted from MATLAB, Octave or Python.
  • Superconducting quantum hardware: FEM is used to design resonators and qubits, and the open source finite element solver in our sources computes energy-participation ratios automatically for circuit quantisation, and it is described as a parallel finite element code for 3D full-wave simulation in the frequency or time domain (open source FEM solver documentation).
  • NevilLabs 3D EM: box-built geometry, RF substrate presets, lumped and wave ports, a wavelength-sized air box, a pre-submit mesh check and S-parameter, Smith chart and port results, all in one workspace.
A solver gives you the right answer to the mesh you gave it. Convergence is how you find out whether that is also the answer to your antenna.

Choose the Question, Then the Solver

Both methods solve the same equations, and both agree once converged on the same model. Use FEM when the question lives at a few frequencies near a resonance, or the geometry will not sit on a grid. Use FDTD when it is broadband, time-domain or simply very large. Then spend the time saved on what actually moves the answer: the substrate, the feed, the boundary and the ground plane.

A century ago, antenna design meant making one, measuring it and making another, roughly how Marconi worked. We still measure, but the loop is shorter. NevilLabs is opening access in small batches, and 3D EM is where I would like RF engineers to push. Join the waitlist, bring a patch that never landed where the calculator said it would, and let's find out why. Keep simulating, keep comparing and keep learning from the gap between prediction and result, and each antenna you design will teach you something for the next.

References

  1. Yee, K. S. (1966). Numerical solution of initial boundary value problems involving Maxwell's equations in isotropic media. IEEE Transactions on Antennas and Propagation, 14(3), 302–307. doi: 10.1109/TAP.1966.1138693 (opens in a new tab)
  2. Berenger, J.-P. (1994). A perfectly matched layer for the absorption of electromagnetic waves. Journal of Computational Physics, 114(2), 185–200. doi: 10.1006/jcph.1994.1159 (opens in a new tab)
  3. Taflove, A., & Hagness, S. C. (2005). Computational Electrodynamics: The Finite-Difference Time-Domain Method (3rd ed.). Artech House.
  4. Jin, J.-M. (2014). The Finite Element Method in Electromagnetics (3rd ed.). Wiley-IEEE Press.
  5. Balanis, C. A. (2016). Antenna Theory: Analysis and Design (4th ed.). John Wiley & Sons.
  6. Pozar, D. M. (2012). Microwave Engineering (4th ed.). John Wiley & Sons.
  7. Carver, K., & Mink, J. (1981). Microstrip antenna technology. IEEE Transactions on Antennas and Propagation, 29(1), 2–24. doi: 10.1109/TAP.1981.1142523 (opens in a new tab)
  8. Hasch, J., Topak, E., Schnabel, R., Zwick, T., Weigel, R., & Waldschmidt, C. (2012). Millimeter-wave technology for automotive radar sensors in the 77 GHz frequency band. IEEE Transactions on Microwave Theory and Techniques, 60(3), 845–860. doi: 10.1109/TMTT.2011.2178427 (opens in a new tab)
  9. IEC/IEEE 62704-1-2026. Determining the Peak Spatial-Average Specific Absorption Rate (SAR) in the Human Body from Wireless Communications Devices, 100 kHz to 10 GHz, Part 1: General Requirements for using the Finite Difference Time Domain (FDTD) Method for SAR Calculations. IEEE Standards Association. — https://standards.ieee.org/ieee/62704-1/5747/ (opens in a new tab)
  10. Open source FEM solver documentation. 3D finite element solver for computational electromagnetics (public source for general FEM solver capabilities, not a description of the NevilLabs product). — https://awslabs.github.io/palace/stable/ (opens in a new tab)
  11. Open source FEM solver documentation. Adaptive frequency sweeps for driven simulations. — https://awslabs.github.io/palace/stable/features/adaptive_driven_solver/ (opens in a new tab)
  12. Open source FEM solver documentation. Boundary conditions, user guide. — https://awslabs.github.io/palace/stable/guide/boundaries/ (opens in a new tab)
  13. Rogers Corporation. RO4003C Laminates. — https://www.rogerscorp.com/advanced-electronics-solutions/ro4000-series-laminates/ro4003c-laminates (opens in a new tab)
  14. Ansys. Ansys HFSS. — https://ansys.synopsys.com/products/electronics/ansys-hfss (opens in a new tab)
  15. Dassault Systèmes. CST Studio Suite: Electromagnetic Simulation Solvers. — https://www.3ds.com/products/simulia/cst-studio-suite/electromagnetic-simulation-solvers (opens in a new tab)
  16. Remcom. XFdtd 3D EM Simulation Software. — https://www.remcom.com/xfdtd-3d-em-simulation-software (opens in a new tab)

Start your first build with NevilLabs

Design a circuit, run the simulation, and see the physics behind it — in your browser. We're inviting early users in small batches.

Join the Waitlist

More articles

Education
Explore Your Potential with Experiential Learning: A Comprehensive Guide to STEM Education
Inspiration
Sir M. Visvesvaraya: Explorer, Creator, Scholar
Inspiration
C.V. Raman: The Light That Changed Physics
Wireless
Guglielmo Marconi: The Engineer Who Shrank the Planet
Technology
Inside a Quadcopter: The Engineering That Keeps Drones in the Air
Physics
Newton's Laws of Motion: A Visual Guide to Forces, Inertia, and Action-Reaction
Education
Why Virtual Labs Are Rewriting the Economics of STEM Education
Simulation
Multi-Domain Simulation: Why Splitting Analog and Digital Tools Is a Mistake
RF
RF Simulation and Yield Analysis: Reading a Smith Chart Before You Fabricate
Electronics
VirtuBuild Space: Taking One Circuit From Breadboard to PCB Without Leaving the Browser
AI Design
Prompt-to-3D-Structure: What AI-Generated Geometry Is Actually Good For
Design
One Design, Three Views: Why Layout, 2D, and 3D Shouldn't Be Separate Files
Robotics
Mechatronics Simulation: Where Circuits Stop Being Circuits and Become Machines
AI
What an AI Debugging Assistant Can (and Can't) See in Your Circuit
Learning
Adaptive Learning Paths: Why 'Personalised Pace' Only Works If the Physics Is Real
Safety
What 'Child Safety' Actually Means in a STEM Simulation Platform
Visualization
Visualizing the Invisible: What 3D Field Simulation Actually Shows You
Education
What a STEM Lab Actually Costs: A Budget Framework for Administrators
Electronics
Inside the 555 Timer: Build One, Then Make an LED Flash
Electronics
Reading a Bode Plot for the First Time (an RC Filter Walkthrough)
PCB
Gerber and Excellon Files: What Your PCB Fab Actually Receives
Materials
Material Science You Can Test: Interactive 3D Experiments
Electronics
Resistor E-Series Explained: What E12, E24 and E96 Mean
RF
RF Cascade Analysis: Gain, Noise Figure, IIP3 and P1dB Through a Chain
Simulation
Spice Simulation Online: What .tran and .ac Results Actually Tell You
Materials
The Stress-Strain Curve: Tensile, Compressive and Shear, Explained
RF
From Datasheet to Smith Chart: Importing Touchstone S-Parameters