Search arXivSearch

arXiv · 2509.00459

rhodent: A Python package for analyzing real-time TDDFT response

Abstract

Real-time time-dependent density functional theory (rt-TDDFT) is a well-established method for studying the dynamic response of matter in the femtosecond or optical range. In this method, the Kohn-Sham (KS) wave functions are propagated forward in time, and in principle, one can extract any observable at any given time. Alternatively, by taking a Fourier transform, spectroscopic quantities can be extracted. There are many publicly available codes implementing rt-TDDFT, which differ in their numeric solution of the KS equations, their available exchange-correlation functionals, and in their analysis capabilities. For users of rt-TDDFT, this is an inconvenient situation because they may need to use a numerical method that is available in one code, but an analysis method available in another. Here, we introduce rhodent, a modular Python package for processing the output of rt-TDDFT calculations. Our package can be used to calculate hot-carrier distributions, energies, induced densities, and dipole moments, and various decompositions thereof. In its current version, rhodent handles calculation results from the gpaw code, but can readily be extended to support other rt-TDDFT codes. Additionally, under the assumption of linear response, rhodent can be used to calculate the response to a narrow-band laser, from the response to a broad-band perturbation, greatly speeding up the analysis of frequency-dependent excitations. We demonstrate the capabilities of rhodent via a set of examples, for systems consisting of Al and Ag clusters and organic molecules.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Jakub Fojt, Tuomas P. Rossi, Paul Erhart. 2025-08-30. rhodent: A Python package for analyzing real-time TDDFT response. https://arxiv.org/abs/2509.00459

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Mechanical resilience of ultra-low-density racing-shoe foams

High-performance racing shoes rely on ultra-low-density elastomeric foams that undergo large, repeated deformations during running. Yet little is known about how their mechanical properties vary throughout the shoe or change with repeated use. Here, we characterize the midsole foam in an elite-level racing shoe from the heel, midfoot, and toe of a new shoe and a shoe worn for 300 miles. Microscopy reveals a characteristic pore length scale of 128+/-18 um and supports an approximately isotropic continuum description. We then quantify the mechanical response under tension, compression, and shear. Remarkably, despite 300 miles of real-world use, the foam retains its mechanical response across all three loading modes and shoe regions. Energy return remains largely unchanged, with values of 85-93% in tension and compression and 64-71% in shear. At the same time, we observe strong regional variations, with tensile and compressive stiffnesses 38-51% lower in the toe than in the heel. The foam also exhibits a pronounced tension-compression asymmetry in Poisson's ratio. Together, these findings reveal a spatially structured and mode-dependent mechanical response that remains largely preserved after 300 miles of use. This mechanical resilience may extend the functional lifetime of racing shoes, with implications for runners, replacement recommendations, and sustainability.

physics.comp-ph

Fundamental Bounds on the Polarizability of Macroscopic Scatterers

Polarizability predicts how an object responds to an incident electromagnetic field, the interactions between small particles, or the optical forces exerted upon them. Polarizability is responsible for the effective-medium properties of artificial materials or metasurfaces. Despite significant progress in all these areas, it is unclear what the limits of the strength of such interactions are or, more specifically, what the upper bounds on the polarizability of a given spatial region that an unknown and designed particle would occupy are. This work connects the electromagnetic field description via an integral equation with a dual formulation of quadratic programming to derive fundamental bounds on components of all four polarizability tensors or on their specific combinations. In particular, the work establishes an intuitive visualization of what strong polarizability means and how strong it can be. The developed fundamental bound also answers which materials and domains are best for the given demands on polarizability. These findings establish a versatile platform that can accommodate a wide range of demands on polarizable bodies, providing an absolute measure of their performance against which the results of human-powered or automated design procedures can be compared.

physics.comp-ph

Perspective on Magnetic Nanoparticle Modeling: Interactions, Timescales and Regimes

The response of magnetic nanoparticles (MNPs) to applied magnetic fields underpins a broad range of biomedical and technological applications. In this Perspective, we review the principal modeling approaches for describing MNP dynamics across different physical regimes, ranging from coarse-grained macrospin descriptions to spatially resolved micromagnetic simulations. Selecting an appropriate model depends on the relevant energy scales and timescales, including those associated with magnetic anisotropy. We compare the assumptions, computational requirements, and regimes of applicability of the fixed-point-dipole, effective-field, thermal Stoner-Wohlfarth, diffusion-jump, coupled Landau-Lifshitz-Gilbert, egg, and micromagnetic models. Particular attention is given to coupling magnetization dynamics with translational and rotational particle motion, hydrodynamic interactions, and long-range dipolar interactions. By relating the relevant physical regimes to the resolution and computational cost of each approach, we provide practical guidance for model selection and outline challenges for predictive multiscale simulations of interacting MNP systems.

physics.comp-ph