Skip to content

rfx Documentation

rfx is a JAX-based differentiable FDTD simulator for RF and microwave engineering.

LaneWhat to expect
Recommended defaultuniform Cartesian Yee RF workflows: cavity, waveguide, patch-style resonance, probes, Harminv, selected S-parameter workflows, and benchmarked far-field workflows
Experimental / under active validationnon-uniform mesh, distributed execution, Floquet/Bloch, SBP-SAT subgridding, coaxial and advanced port workflows, and inverse-design extensions

Start with the recommended default lane unless you specifically need an experimental feature.

GuideDescription
InstallationPython/JAX install, GPU notes, dev setup
Quick StartFirst simulation with the current high-level API
Your First Patch AntennaFirst end-to-end resonance workflow
GuideDescription
Simulation APISimulation, Result, materials, sources, probes, ports, and NTFF helpers
Materials & GeometryMaterial library, Debye/Lorentz models, CSG shapes, and PCB stackup basics
Sources & PortsSoft sources, lumped/wire ports, waveguide ports, and experimental port surfaces
Probes & S-ParametersDFT probes, S-matrix helpers, Harminv, de-embedding, and exports
Non-Uniform MeshExperimental thin-substrate mesh workflows
Waveguide PortsModal waveguide excitation and S-matrix extraction
Floquet PortsExperimental Bloch-periodic unit-cell workflows
GuideDescription
ValidationPublic validation overview and support status
Convergence StudyMesh-refinement workflow
Far-Field & RCSNTFF radiation patterns and scattering workflows
Antenna MetricsGain, efficiency, beamwidth, bandwidth, and front-to-back ratio
Visualization & AnalysisPlots, exports, post-processing, and result interpretation
Solver ComparisonFeature and workflow comparison vs. Meep and OpenEMS
GuideDescription
Inverse DesignGradient-based optimization and advanced objectives
Topology OptimizationDensity-based inverse design with filtering and projection
Parametric SweepsSequential sweeps and jax.vmap batch evaluation
Material FittingCSV import, Debye/Lorentz fitting, and differentiable fitting workflows
Patch Antenna DesignPractical rectangular patch workflow
Microstrip Filter DesignExperimental coupled-line filter workflow
GuideDescription
Advanced FeaturesDistributed runs, material fitting, mixed precision, nonlinear materials, and advanced workflows
Conformal PECDey-Mittra method for curved PEC conductors
SBP-SAT SubgriddingExperimental local mesh refinement
Gradient BehaviorWhere gradients are strong, weak, or noisy
Geometry & LimitationsSupported workflows, strengths, and current trade-offs
  • Examples — recommended public runnable paths
  • Validation — support and validation overview
  • API — curated public API contract
  • Generated API — subordinate generated symbol reference