← Back to Lab

BEM Solver

Solve Maxwell's equations for metallic nanoparticles using Galerkin BEM with Raviart-Thomas elements. Compute cross-sections, near-field enhancement, and more — all in your browser.

v0.1.0·Updated 2026-06-10
Model & Assumptions Experimental
Model
Full-wave retarded boundary element method (BEM). Surface currents are expanded in Raviart–Thomas basis functions on a triangular mesh; Maxwell's equations are solved via surface integral equations.
Assumptions
Piecewise-homogeneous media (sharp interfaces), local and isotropic dielectric response, no spatial dispersion.
Validity
Applicable to arbitrary particle shapes and sizes. Accuracy depends on mesh quality — finer meshes improve convergence but increase computation time (runs in-browser via Pyodide).
Limitations
Browser memory limits mesh resolution (~1000 triangles practical). No periodic boundaries, no substrate, no non-local corrections. First load downloads ~35 MB (Pyodide + dependencies).
References
F. J. García de Abajo & A. Howie, Phys. Rev. B 65, 115418 (2002); U. Hohenester & A. Trügler, Comp. Phys. Comm. 183, 370 (2012).
Examples

Geometry

Material

Wavelength

Loading solver...

Summary

Run a solve to see results.

Spectrum

Click on the chart to select a wavelength for 3D field view.

Loading solver...