Covered on 13 October and published in SoftwareX, vol. 36 (DOI: 10.1016/j.softx.2026.103118, verified), TTMFoam is an open-source solver built on OpenFOAM: it integrates the full Fermi-Dirac distribution directly over a free-electron density of states, precomputing temperature-dependent tables of electron heat capacity, chemical potential and the electron-phonon coupling factor — freeing two-temperature models from constant-property assumptions and the low-temperature Sommerfeld approximation. Validated against aluminium ablation at 1032 nm / 280 fs (1–9 J/cm²): crater depth within 8.3%, diameter within 3.4%. Released under GPL-3.0 with a complete example case, mesh and run scripts.
01 / The pain point of two-temperature models: material properties
The two-temperature model itself is not new — it traces back to work by Anisimov and colleagues in the 1970s: the laser pulse is far shorter than the time electrons need to hand their energy to vibrating atoms, so the metal must be described by two coupled temperatures, one for the electron gas and one for the lattice. Energy is absorbed almost entirely by the electrons first, then trickles into the lattice through electron-phonon coupling over picoseconds; at sufficient fluence the lattice superheats past the phase-explosion threshold, material erupts away, and the nanometre-precision craters femtosecond lasers are famous for remain.
What has limited predictive modelling is not the equations but the material properties plugged into them. Most existing codes assume constants, or use the low-temperature Sommerfeld approximation (electron heat capacity growing linearly with temperature) — which goes badly wrong, even divergent, at the hundreds of thousands of kelvin reached during ablation. TTMFoam instead integrates the full Fermi-Dirac distribution directly over a free-electron density of states, precomputing temperature tables of electron heat capacity, chemical potential and the electron-phonon coupling factor at startup: the heat capacity correctly saturates toward the classical limit rather than growing without bound — a known source of error at ablation fluences.
02 / The optics get the same treatment: reflectivity is a moving target
The optical side receives the same treatment: the solver evaluates a Drude-type dielectric function whose damping rate depends on both electron and lattice temperatures, yielding a reflectivity and penetration depth that evolve dynamically through the pulse — aluminium’s reflectivity falls from its ambient value of 0.91 during the pulse and recovers as the electron gas cools, meaning the absorbed fraction of the laser energy is itself a moving target rather than a fitted constant; the effective penetration depth varies by more than an order of magnitude within a single pulse, so the code evaluates it cell by cell rather than globally.
Validation used the aluminium ablation conditions reported by Omeñaca et al. (1032 nm, 280 fs, 1–9 J/cm²): above 1 J/cm², computed crater depths match the measurements to within 8.3% and diameters to within 3.4% — achieved without the empirical fluence-dependent absorption correction the reference experiments had required. Electron temperature peaks near 0.8 ps (~213,585 K at the highest fluence) while the lattice temperature climbs on a several-picosecond timescale (~92,651 K).
03 / What it means for laser-processing software — and its limits
For those building laser-processing software and process simulation, TTMFoam’s value goes beyond accuracy: it is a modular OpenFOAM application whose material properties, optical response, laser source assembly and verification live in self-contained header modules — swapping a coupling model or the optical description means editing one header without touching the solver loop; a built-in Method of Manufactured Solutions check confirmed first-order temporal and second-order spatial convergence; and the 60,000-cell aluminium case runs 20 ps of simulated time in about 390 seconds on a four-core laptop, with bit-identical results on one, two or four MPI ranks — large fluence sweeps become predictable to plan and reproducible.
The limits are stated just as candidly: the free-electron density of states restricts quantitative use to sp-bonded metals such as aluminium; the intraband Drude optical model becomes questionable once the electron temperature exceeds roughly 46,000 K at 1032 nm; the lattice heat capacity rests on a constant continuation above 2743 K. The authors tabulate measured properties, numerical guards and modelling assumptions separately — so anyone replacing a model knows exactly which bound has moved. For an ultrafast-laser community long reliant on fragmented, hard-to-reproduce in-house codes, this is a verifiable shared starting point.
PRIMARY REFERENCES & LINKS
- TTMFoam: Two-temperature modeling of ultrashort-pulse laser ablation of metals with temperature-dependent quantum thermophysical properties
Primary source; used to verify the journal, authors, validation conditions and key findings. The code repository (github.com/y-jia6/ttmfoam) licence and example-case notes were checked.
Open source link ↗ - Open-source solver brings quantum-accurate physics to femtosecond laser ablation of metals
Coverage source; used to verify the story date and public details. Core facts follow the paper and the code repository.
Open source link ↗
