SearcharxivSearch

arXiv subjects

Kazem Ardaneh

Publications and source records attributed to Kazem Ardaneh.

13 recordsLinked to original sources

A Fortran General-Purpose Transpiler: Proof of Concept

Fortran has been the cornerstone of high-performance computing for decades and remains unmatched in many domains. Yet the language faces an expertise gap: a new generation of scientists is barely familiar with it, while many experienced Fortran developers are only now transitioning to modern ecosystems such as JAX. This gap often results in "Fython" - Python code written with a Fortran mindset - that fails to leverage modern frameworks. We present FGPT, a transpiler framework designed to bridge this gap. It provides a systematic pipeline that transpiles Fortran into GPU-adapted Fortran, auto-differentiable Fortran via Tapenade, or NumPy and JAX scripts. Its architecture comprises three stages: (i) a frontend that parses Fortran and extracts target procedures along with all their dependencies; (ii) a middle-end that lowers the code into an intermediate representation, then into GPU-adapted or auto-differentiable Fortran, or a NumPy class; and (iii) a backend that transforms NumPy scripts into JAX modules optimized for GPU acceleration and automatic differentiation. Large language models fail when applied to the scale of community scientific codes-often spanning hundreds of thousands of lines-where consistent transformations, strict numerical fidelity, and validation against production tests are non-negotiable. FGPT addresses these challenges by preserving program semantics throughout the entire translation. We verified the framework on representative climate modeling kernels and demonstrated that it produces correct, differentiable Python implementations without requiring manual intervention. By combining rigorous compiler techniques with modern accelerator support, FGPT offers a scalable, trustworthy path for modernizing legacy Fortran code.

cs.PL

IPSL-AID: Generative Diffusion Models for Climate Downscaling from Global to Regional Scales

Effective adaptation and mitigation strategies for climate change require high-resolution projections to inform strategic decision-making. Conventional global climate models, which typically operate at resolutions of 150 to 200 kilometers, lack the capacity to represent essential regional processes. IPSL-AID is a global to regional downscaling tool based on a denoising diffusion probabilistic model designed to address this limitation. Trained on ERA5 reanalysis data, it generates 0.25 degree resolution fields for temperature, wind, and precipitation using coarse inputs and their spatiotemporal context. It also models probability distributions of fine-scale features to produce plausible scenarios for uncertainty quantification. The model accurately reconstructs statistical distributions, including extreme events, power spectra, and spatial structures. This work highlights the potential of generative diffusion models for efficient climate downscaling with uncertainty

physics.ao-ph

Femtosecond laser-induced sub-wavelength plasma inside dielectrics: III. Terahertz radiation emission

Electromagnetic radiation within the terahertz (THz) frequency range is of great interest for applications in remote sensing and time-domain spectroscopy. The laser-induced plasmas are promising mediums for generating THz radiation. It has been recently reported that focusing femtosecond Bessel pulses inside dielectrics induces a high aspect ratio over-critical plasmas. Here we show that the intense resonantly driven electrostatic fields at the so-called critical surface lead to THz radiation emission. Through three-dimensional particle-in-cell simulation and analytical derivation, we have investigated the emission of THz radiation. We show that the THz radiation is associated with a hot population of electrons trapped in ambipolar electric fields of the double layers.

physics.plasm-ph

Electron heating and radiation in high aspect ratio sub-micron plasma generated by an ultrafast Bessel pulse within a solid dielectric

When propagating inside dielectrics, an ultrafast Bessel beam creates a high aspect-ratio cylinder of plasma with nanometric diameter that extends over several tens of micrometers to centimeters. We analyze the interaction between the intense ultrafast laser pulse and the plasma rod using particle-in-cell simulations. We show that electrons are heated and accelerated up to keV energies via transit acceleration inside the resonance lobes in the vicinity of the critical surface and compute their radiation pattern.

physics.plasm-ph

Femtosecond laser-induced sub-wavelength plasma inside dielectrics: I. Field enhancement

The creation of high energy density ($\gtrsim10^6$ joules per cm$^3$) over-critical plasmas in a large volume has essential applications in the study of warm dense matter, being present in the hot cores of stars and planets. It was recently shown that femtosecond Bessel beams enable creating over-critical plasmas inside sapphire with sub-wavelength radius and several tens of micrometers in length. Here, the dependence of field structure and absorption mechanism on the plasma density transverse profile are investigated by performing self-consistent Particle-In-Cell (PIC) simulations. Two { limiting} cases are considered: one is a homogeneous step-like profile, that can sustain plasmon formation, the second is an inhomogeneous Gaussian profile, where resonance absorption occurs. Comparing experimental absorption measures to analytical predictions allows determining the plasma parameters used in PIC simulations. The PIC simulation results are in good agreement with experimental diagnostics of total absorption, near-field fluence distribution, and far-field radiation pattern. We show that in each case an ambipolar field forms at the plasma surface due to the expansion of the hot electrons and that electron sound waves propagate into the over-critical region.

physics.plasm-ph

Femtosecond laser-induced sub-wavelength plasma inside dielectrics: II. Second-harmonic generation

Second-harmonic emission at a frequency that is twice the laser frequency is an important diagnostic for nonlinear laser-plasma interaction. It is forbidden for centrosymmetric materials such as the bulk of sapphire. The symmetry, however, can be broken by dielectric discontinuities as a result of plasma generation inside a solid dielectric. In the present work, we explore the basic characteristics of experimentally observed second-harmonic emission during focusing a femtosecond Bessel beam inside sapphire. We employ three-dimensional particle-in-cell simulations and the Helmholtz wave equation for theoretical investigations. We analyze how the efficiency of second-harmonic generation and its polarization depend on the plasma parameters. We find that the second-harmonic is generated either due to the coalescence of two surface electromagnetic waves or nonlinear interaction between the transverse electromagnetic wave and the longitudinal electron plasma wave driven by linear mode conversion. Experimental results agree with the theoretical predictions and confirm the existence of over-critical plasma inside the sapphire that is essential for the resonance of plasma waves or excitation of surface plasmons.

physics.plasm-ph

High energy density plasma mediated by collisionless resonance absorption inside dielectrics

We demonstrate for the first time to our knowledge the generation of overcritical plasma densities inside transparent solids over long distances using femtosecond laser pulses. This opens new avenues for high energy density physics in confined geometry such as warm dense matter study or the synthesis of new material phases. We show both with experiments and first-principles simulations, that femtosecond conical interference via a Bessel beam creates a dense plasma rod with typically 100 nm diameter in sapphire. The interaction is in ideal conditions to trigger collisionless resonance absorption. This mechanism plays a primary role in the energy deposition process, yielding a plasma with an energy density on the order of MJ/cm3 and a length that can reach several cm using only tabletop femtosecond lasers.

physics.plasm-ph

Generation of a Bessel beam in FDTD using a cylindrical antenna

Bessel beams are becoming a very useful tool in many areas of optics and photonics, because of the invariance of their intensity profile over an extended propagation range. Finite-Difference-Time-Domain (FDTD) approach is widely used for the modeling of the beam interaction with nanostructures. However, the generation of the Bessel beam in this approach is a computationally challenging problem. In this work, we report an approach for the generation of the infinite Bessel beams in three-dimensional FDTD. It is based on the injection of the Bessel solutions of Maxwell's equations from a cylindrical hollow annulus. This configuration is compatible with Particle In Cell simulations of laser plasma interactions. This configuration allows using a smaller computation box and is therefore computationally more efficient than the creation of a Bessel-Gauss beam from a wall and models more precisely the analytical infinite Bessel beam. Zeroth and higher-order Bessel beams with different cone angles are successfully produced. We investigate the effects of the injector parameters on the error with respect to the analytical solution. In all cases, the relative deviation is in the range of 0.01-7.0 percent.

physics.optics

Oblique instability and electron acceleration in relativistic unmagnetized cloud-plasma interaction

Relativistic unmagnetized cloud-plasma interaction is analyzed by performing linear analysis and particle-in-cell simulation. This course consists of an electron-ion cloud injected into a stationary ambient plasma and has long been a favorite topic in laboratory and space plasmas. An oblique electromagnetic instability dominates the unstable spectrum. In the interaction with the generated electromagnetic fields, the cloud electrons are entirely mixed with the ambient ones and form a hot electron population. The velocity of the cloud ions, however, has not changed significantly from the initial bulk velocity. As this ion cloud propagates into the plasma, it derives an electrostatic field which can accelerate the electrons up to energy equipartition between electrons and ions. The electrostatic field is amplified at the expense of the kinetic energy of ions, and its spatial scale is in order of the electron skin depth. The electron acceleration in such an electrostatic field is, therefore, a likely process for pre-acceleration of electrons in unmagnetized plasmas.

astro-ph.HE

Direct Collapse to Supermassive Black Hole Seeds with Radiation Transfer: Cosmological Halos

We have modeled direct collapse of a primordial gas within dark matter halos in the presence of radiative transfer, in high-resolution zoom-in simulations in a cosmological framework, down to the formation of the photosphere and the central object. Radiative transfer has been implemented in the flux-limited diffusion (FLD) approximation. Adiabatic models were run for comparison. We find that (a) the FLD flow forms an irregular central structure and does not exhibit fragmentation, contrary to adiabatic flow which forms a thick disk, driving a pair of spiral shocks, subject to Kelvin-Helmholtz shear instability forming fragments; (b) the growing central core in the FLD flow quickly reaches ~10 Mo and a highly variable luminosity of 10^{38}-10^{39} erg/s, comparable to the Eddington luminosity. It experiences massive recurrent outflows driven by radiation force and thermal pressure gradients, which mix with the accretion flow and transfer the angular momentum outwards; and (c) the interplay between these processes and a massive accretion, results in photosphere at ~10 AU. We conclude that in the FLD model (1) the central object exhibits dynamically insignificant rotation and slower than adiabatic temperature rise with density; (2) does not experience fragmentation leading to star formation, thus promoting the fast track formation of a supermassive black hole (SMBH) seed; (3) inclusion of radiation force leads to outflows, resulting in the mass accumulation within the central 10^{-3} pc, which is ~100 times larger than characteristic scale of star formation. The inclusion of radiative transfer reveals complex early stages of formation and growth of the central structure in the direct collapse scenario of SMBH seed formation.

astro-ph.GA

Direct Collapse to Supermassive Black Hole Seeds with Radiative Transfer: Isolated Halos

Direct collapse within dark matter (DM) halos is a promising path to form supermassive black hole (SMBH) seeds at high redshifts. The outer part of this collapse remains optically thin, and has been studied intensively using numerical simulations. However, the innermost region of the collapse is expected to become optically thick and requires us to follow the radiation field in order to understand its subsequent evolution. So far, the adiabatic approximation has been used exclusively for this purpose. We apply radiative transfer in the flux-limited diffusion (FLD) approximation to solve the evolution of coupled gas and radiation, for isolated halos. For direct collapse within isolated DM halos, we find that (1) the photosphere forms at ~10^{-6} pc and rapidly expands outward. (2) A central core forms, with a mass of ~1 Mo, supported by thermal gas pressure gradients and rotation. (3) Growing thermal gas and radiation pressure gradients dissolve it. (4) This process is associated with a strong anisotropic outflow, and another core forms nearby and grows rapidly. (5) Typical radiation luminosity emerging from the photosphere encompassing these cores is ~5 x 10^{37}-5 x 10^{38} erg/s, of order the Eddington luminosity. (6) Two variability timescales are associated with this process: a long one, which is related to the accretion flow within the central ~10^{-4}-10^{-3} pc, and ~0.1 yr, which is related to radiation diffusion. (7) Adiabatic models have been run for comparison and their evolution differs profoundly from that of the FLD models, by forming a central geometrically-thick disk. Overall, an adiabatic equation of state is not a good approximation to the advanced stage of direct collapse, mainly because the radiation in the FLD is capable of escaping due to anisotropy in the optical depth and associated gradients.

astro-ph.GA

Collisionless electron-ion shocks in relativistic unmagnetized jet-ambient interactions: Non-thermal electron injection by double layer

The course of non-thermal electron ejection in relativistic unmagnetized electron-ion shocks is investigated by performing self-consistent particle-in-cell simulations. The shocks are excited through the injection of relativistic jet into ambient plasma, leading to two distinct shocks (named as the trailing shock and leading shock) and a contact discontinuity. The Weibel-like instabilities heat the electrons up to approximately half of ion kinetic energy. The double layers formed in the trailing and leading edges then accelerated the electrons by the ion kinetic energy. The electron distribution function in the leading edge shows a clear non-thermal power-law tail which contains $\sim1\%$ of electrons and $\sim8\%$ of electron energy. Its power-law index is -2.6. The acceleration efficiency is $\sim23\%$ by number and $\sim50\%$ by energy and the power-law index is -1.8 for electron distribution function in the trailing edge. The effect of the dimensionality is examined by comparing results of 3D simulation with 2D ones. It exhibits that the electron acceleration is more efficient in 2D.

astro-ph.HE

Collisionless Weibel shocks and electron acceleration in gamma-ray bursts

A study of collisionless external shocks in gamma-ray bursts is presented. The shock structure, electromagnetic fields, and process of electron acceleration are assessed by performing a self-consistent 3D particle-in-cell (PIC) simulation. In accordance with hydrodynamic shock systems, the shock consists of a reverse shock (RS) and forward shock (FS) separated by a contact discontinuity (CD). The development and structure are controlled by the ion Weibel instability. The ion filaments are sources of strong transverse electromagnetic fields at both sides of the double shock structure over a length of 30 - 100 ion skin depths. Electrons are heated up to a maximum energy $ε_{\rm ele}\approx \sqrt{ε_{\rm b}}$, where $ε$ is the energy normalized to the total incoming energy. Jet electrons are trapped in the RS transition region due to the presence of an ambipolar electric field and reflection by the strong transverse magnetic fields in the shocked region. In a process similar to shock surfing acceleration (SSA) for ions, electrons experience drift motion and acceleration by ion filament transverse electric fields in the plane perpendicular to the shock propagation direction. Ultimately accelerated jet electrons are convected back into the upstream.

astro-ph.HE