Search NASA⌕ Search

SEARCH · Search NASA

Results for “Code Generation”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 577 records · Page 32

Lattice Physics Calculations Using the Embedded Self-Shielding Method in Polaris, Part I: Methods and Implementation

Polaris is a 2-dimensional multigroup lattice physics capability in the SCALE code system for the analysis of light water reactor fuel designs. The goal of light water reactor lattice physics codes is to generate few-group homogenized cross sections for downstream full-core nodal diffusion calculations. Additionally, lattice physics calculations contain three primary components: the cross section processing calculation, the 2D transport calculation, and the depletion calculation. This paper summarizes the calculational methods and their implementation into Polaris, with an emphasis on implementation of the embedded self-shielding method. The accuracy of the embedded self-shielding method depends on the procedure used to generate self-shielding factors on the multigroup library. Numerical benchmarks calculations reveal that the accuracy of Polaris eigenvalue predictions is enhanced by (1) using heterogeneous unit cell models to generate the self-shielding factors on the library and (2) using self-shielding factors for within-group scattering cross section.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

CASM — A software package for first-principles based study of multicomponent crystalline solids

CASM is a software package that enables first-principles based studies of crystalline materials. It has been designed to treat coupled chemical, mechanical, vibrational, and magnetic degrees of freedom to determine ground state and finite temperature properties of crystals. The symmetry of the underlying parent crystal structure is used to enumerate perturbations of the parent crystal structure and generate derivative structures which can be input to first-principles calculations in order to explore the ground state energy landscape. CASM algorithmically constructs cluster expansions that fully couple discrete and continuous degrees of freedom, and generates highly efficient code to evaluate the cluster expansion basis functions. Widely used machine learning methods are integrated for fitting expansion coefficients to first-principle calculations. The fully parameterized cluster expansions can be combined with (kinetic) Monte Carlo methods to calculate finite temperature thermodynamic and kinetic properties. CASM Alloy Manager identifies distinct parent crystal structures in an alloy system, creating individual projects for each, and integrating the results. The integrated infrastructure facilitates the linkage between first-principles statistical mechanics predictions with higher length scale computational methods, such as phase field simulations. In conclusion, CASM projects are designed to be easy to share in repositories, to re-use, and to extend to include additional chemical species or types of degrees of freedom.

36 MATERIALS SCIENCE↗

Direct construction of optimized stellarator shapes. Part 1. Theory in cylindrical coordinates

The confinement of the guiding-centre trajectories in a stellarator is determined by the variation of the magnetic field strength $B$ in Boozer coordinates $(r,\unicode[STIX]{x1D703},\unicode[STIX]{x1D711})$ , but $B(r,\unicode[STIX]{x1D703},\unicode[STIX]{x1D711})$ depends on the flux surface shape in a complicated way. Here we derive equations relating $B(r,\unicode[STIX]{x1D703},\unicode[STIX]{x1D711})$ in Boozer coordinates and the rotational transform to the shape of flux surfaces in cylindrical coordinates, using an expansion in distance from the magnetic axis. A related expansion was done by Garren and Boozer ( Phys. Fluids B, vol. 3, 1991 a , 2805) based on the Frenet–Serret frame, which can be discontinuous anywhere the magnetic axis is straight, a situation that occurs in the interesting case of omnigenity with poloidally closed $B$ contours. Our calculation in contrast does not use the Frenet–Serret frame. The transformation between the Garren–Boozer approach and cylindrical coordinates is derived, and the two approaches are shown to be equivalent if the axis curvature does not vanish. The expressions derived here help enable optimized plasma shapes to be constructed that can be provided as input to VMEC and other stellarator codes, or to generate initial configurations for conventional stellarator optimization.

Physics↗

Study of idempotents in cyclic group rings over F{sub 2}

The existence of an idempotent generator for group codes or group ring codes in F{sub q}G plays a very important role in determining the minimal distance of the respective code. Some necessary and sufficient conditions for a group ring element to be an idempotent in F{sub 2}C{sub n} are investigated in this paper. The main result in this paper is the affirmation of the existence of finitely many basis idempotents which gives a full identification of all idempotents in every binary cyclic group ring F{sub 2}C{sub n}. All the basis idempotents in F{sub 2}C{sub n} are able to be found by partitioning the largest idempotent’s support.

97 MATHEMATICS AND COMPUTING↗

Accurate parameterization of the kinetic energy functional

The absence of a reliable formulation of kinetic energy density functional has hindered the development of orbital free density functional theory. Using the data-aided learning paradigm, we propose a simple prescription to accurately model the kinetic energy density of any system. Our method relies on a dictionary of functional forms for local and nonlocal contributions which have been proposed in the literature and the appropriate coefficients are calculated via a linear regression framework. To model the nonlocal contributions, we explore two new nonlocal functionals - a functional that captures fluctuations in electronic density and a functional that incorporates gradient information. Since, the analytical functional forms of the kernels present in these nonlocal terms are not known from theory, we propose a basis function expansion to model these seemingly difficult nonlocal quantities. This allows us to easily reconstruct kernels for any system using only a few structures. The proposed method is able to learn kinetic energy densities and total kinetic energies of molecular and periodic systems, such as H 2 , LiH, LiF and a one-dimensional chain of 8 hydrogens using data from Kohn-Sham density functional theory calculations for only a few structures. For the ease of reproduction, codes used to generate the models are provided in the supporting materials.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗

Nonlocal suppression of Biermann battery magnetic-field generation for arbitrary atomic numbers and magnetization

The Biermann battery term of magnetohydrodynamics (MHD) generates a magnetic field where electron density gradients and electron temperature gradients are perpendicular to one another. Kinetic simulations and experiments have shown that the rate of magnetic-field generation is lower than Biermann when the electron mean free path becomes comparable to or greater than the temperature gradient scale length, known as the nonlocal regime. We investigate the nonlocal suppression of the Biermann term using simplified Fokker–Planck simulations covering a wide range of parameters. We provide the first fit for nonlocal Biermann suppression that has physically accurate behavior for small and large values of a suitable nonlocality parameter, valid for an arbitrary atomic number, and that includes the effect of magnetization on nonlocality. Lastly, the fit is intended to provide an approximate method to account for reduced magnetic-field generation in MHD codes and theory.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

THE WHITE DWARF IN EM CYGNI: BEYOND THE VEIL

We present a spectral analysis of the Far Ultraviolet Spectroscopic Explorer (FUSE) spectra of the eclipsing double-line spectroscopic binary EM Cygni (EM Cyg), a Z Cam DN system. The FUSE spectrum, obtained in quiescence, consists of four individual exposures (orbits): two exposures, at orbital phases {phi} {approx} 0.65 and {phi} {approx} 0.90, have a lower flux; and two exposures, at orbital phases {phi} = 0.15 and 0.45, have a relatively higher flux. The change of flux level as a function of the orbital phase is consistent with the stream material (flowing over and below the disk from the hot spot region to smaller radii) partially masking the white dwarf. We carry out a spectral analysis of the FUSE data, obtained at phase 0.45 (when the flux is maximal), using synthetic spectra generated with the codes TLUSTY and SYNSPEC. Using a single white dwarf spectral component, we obtain a white dwarf temperature of 40, 000 K {+-} 1000 K, rotating at 100 km s{sup -1}. The white dwarf, or conceivably, the material overflowing the disk rim, shows suprasolar abundances of silicon, sulphur, and possibly nitrogen. Using a white dwarf+disk composite model, we obtain that the white dwarf temperature could be even as high as 50,000 K, contributing more than 90% of the FUV flux, and the disk contributing less than 10% must have a mass accretion rate reaching 10{sup -10} M{sub sun} yr{sup -1}. The single white dwarf model fits the absorption lines better than the white dwarf+disk model, but the white dwarf+disk model fits better the continuum in the shorter wavelengths. In both cases, however, we obtain that the white dwarf temperature is much higher than previously estimated. We emphasize the importance of modeling the spectra of EM Cyg around phase {phi} < 0.5, when the white dwarf and disk are facing the observer, and we suggest that the discrepancy between the present analysis and previous spectral analysis might be due to the occulting effect of the stream veiling the white dwarf and disk.

79 ASTRONOMY AND ASTROPHYSICS↗

A FAR ULTRAVIOLET SPECTROSCOPIC EXPLORER SURVEY OF HIGH-DECLINATION DWARF NOVAE

We present a spectral analysis of the Far Ultraviolet Spectroscopic Explorer (FUSE) spectra of eight high-declination dwarf novae (DNs) obtained from a Cycle 7 FUSE survey. These DN systems have not been previously studied in the UV and little is known about their white dwarfs (WDs) or accretion disks. We carry out the spectral analysis of the FUSE data using synthetic spectra generated with the codes TLUSTY and SYNSPEC. For two faint objects (AQ Men and V433 Ara) we can only assess a lower limit for the WD temperature or mass accretion rate. NSV 10934 was caught in a quiescent state and its spectrum is consistent with a low-mass accretion rate disk. For five objects (HP Nor, DT Aps, AM Cas, FO Per, and ES Dra), we obtain WD temperatures between 34,000 K and 40,000 K and/or mass accretion rates consistent with intermediate to outburst states. These temperatures reflect the heating of the WD due to on-going accretion and are similar to the temperatures of other DNs observed on the rise to, and in decline from outburst. The WD temperatures we obtain should therefore be considered as upper limits, and it is likely that during quiescence AM Cas, FO Per, and ES Dra are near the average WD T{sub eff} for catalcysmic variables above the period gap ({approx}30,000 K), similar to U Gem, SS Aur, and RX And.

79 ASTRONOMY AND ASTROPHYSICS↗

PHOTOSPHERIC MOTIONS AND THEIR EFFECTS ON THE CORONA: A NUMERICAL APPROACH

We perform a number of numerical simulations of the solar corona with the aim of understanding how it responds to different conditions in the photosphere. By changing parameters which govern the motion of the plasma at the photosphere, we study the behavior of the corona, in particular, the effects on the current density generated. A magnetohydrodynamics code is used to run simulations, using a 20 x 20 x 20 Mm{sup 3} box with timespans ranging from one hundred to several hundreds of minutes. All the experiments show a fast initial increase of the current density, followed by a stabilization around an asymptotic value which depends on the photospheric conditions. These asymptotic average current densities as well as the turnover points are discussed.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

A SPITZER SURVEY OF MID-INFRARED MOLECULAR EMISSION FROM PROTOPLANETARY DISKS. II. CORRELATIONS AND LOCAL THERMAL EQUILIBRIUM MODELS

We present an analysis of Spitzer Infrared Spectrograph observations of H{sub 2}O, OH, HCN, C{sub 2}H{sub 2}, and CO{sub 2} emission, and Keck-NIRSPEC observations of CO emission, from a diverse sample of T Tauri and Herbig Ae/Be circumstellar disks. We find that detections and strengths of most mid-IR molecular emission features are correlated with each other, suggesting a common origin and similar excitation conditions for this mid-infrared line forest. Aside from the remarkable differences in molecular line strengths between T Tauri, Herbig Ae/Be, and transitional disks discussed in Pontoppidan et al., we note that the line detection efficiency is anti-correlated with the 13/30 {mu}m spectral slope, which is a measure of the degree of grain settling in the disk atmosphere. We also note a correlation between detection efficiency and H{alpha} equivalent width, and tentatively with accretion rate, suggesting that accretional heating contributes to line excitation. If detected, H{sub 2}O line fluxes are correlated with the mid-IR continuum flux, and other co-varying system parameters, such as L{sub *}. However, significant sample variation, especially in molecular line ratios, remains, and its origin has yet to be explained. Local thermal equilibrium (LTE) models of the H{sub 2}O emission show that line strength is primarily related to the best-fit emitting area, and this accounts for most source-to-source variation in H{sub 2}O emitted flux. Best-fit temperatures and column densities cover only a small range of parameter space, near {approx}10{sup 18} cm{sup -2} and 450 K for all sources, suggesting a high abundance of H{sub 2}O in many planet-forming regions. Other molecules have a range of excitation temperatures from {approx}500to1500 K, also consistent with an origin in planet-forming regions. We find molecular ratios relative to water of {approx}10{sup -3} for all molecules, with the exception of CO, for which n(CO)/n(H{sub 2}O) {approx} 1. However, LTE fitting caveats and differences in the way thermo-chemical modeling results are reported make comparisons with such models difficult, and highlight the need for additional observations coupled with the use of line-generating radiative transfer codes.

79 ASTRONOMY AND ASTROPHYSICS↗

SUPERNOVA SIMULATIONS AND STRATEGIES FOR THE DARK ENERGY SURVEY

We present an analysis of supernova light curves simulated for the upcoming Dark Energy Survey (DES) supernova search. The simulations employ a code suite that generates and fits realistic light curves in order to obtain distance modulus/redshift pairs that are passed to a cosmology fitter. We investigated several different survey strategies including field selection, supernova selection biases, and photometric redshift measurements. Using the results of this study, we chose a 30 deg{sup 2} search area in the griz filter set. We forecast (1) that this survey will provide a homogeneous sample of up to 4000 Type Ia supernovae in the redshift range 0.05 <z < 1.2 and (2) that the increased red efficiency of the DES camera will significantly improve high-redshift color measurements. The redshift of each supernova with an identified host galaxy will be obtained from spectroscopic observations of the host. A supernova spectrum will be obtained for a subset of the sample, which will be utilized for control studies. In addition, we have investigated the use of combined photometric redshifts taking into account data from both the host and supernova. We have investigated and estimated the likely contamination from core-collapse supernovae based on photometric identification, and have found that a Type Ia supernova sample purity of up to 98% is obtainable given specific assumptions. Furthermore, we present systematic uncertainties due to sample purity, photometric calibration, dust extinction priors, filter-centroid shifts, and inter-calibration. We conclude by estimating the uncertainty on the cosmological parameters that will be measured from the DES supernova data.

79 ASTRONOMY AND ASTROPHYSICS↗

Electron-impact excitation collision strengths and theoretical line intensities for transitions in S III

We present Maxwellian-averaged effective collision strengths for the electron-impact excitation of S III over a wide range of electron temperatures of astrophysical importance, log T{sub e} (K) = 3.0-6.0. The calculation incorporates 53 fine-structure levels arising from the six configurations—3s {sup 2}3p {sup 2}, 3s3p {sup 3}, 3s {sup 2}3p3d, 3s {sup 2}3p4s, 3s {sup 2}3p4p, and 3s {sup 2}3p4d—giving rise to 1378 individual lines and is undertaken using the recently developed RMATRX II plus FINE95 suite of codes. A detailed comparison is made with a previous R-matrix calculation and significant differences are found for some transitions. The atomic data are subsequently incorporated into the modeling code CLOUDY to generate line intensities for a range of plasma parameters, with emphasis on allowed ultraviolet extreme-ultraviolet emission lines detected from the Io plasma torus. Electron density-sensitive line ratios are calculated with the present atomic data and compared with those from CHIANTI v7.1, as well as with Io plasma torus spectra obtained by Far-Ultraviolet Spectroscopic Explorer and Extreme-Ultraviolet Explorer. The present line intensities are found to agree well with the observational results and provide a noticeable improvement on the values predicted by CHIANTI.

79 ASTRONOMY AND ASTROPHYSICS↗

A Conditions Data Management System for HEP Experiments

Conditions data infrastructure for both ATLAS and CMS have to deal with the management of several Terabytes of data. Distributed computing access to this data requires particular care and attention to manage request-rates of up to several tens of kHz. Thanks to the large overlap in use cases and requirements, ATLAS and CMS have worked towards a common solution for conditions data management with the aim of using this design for data-taking in Run 3. In the meantime other experiments, including NA62, have expressed an interest in this cross- experiment initiative. For experiments with a smaller payload volume and complexity, there is particular interest in simplifying the payload storage. The conditions data management model is implemented in a small set of relational database tables. A prototype access toolkit consisting of an intermediate web server has been implemented, using standard technologies available in the Java community. Access is provided through a set of REST services for which the API has been described in a generic way using standard Open API specications, implemented in Swagger. Such a solution allows the automatic generation of client code and server stubs and further allows changes in the backend technology transparently. An important advantage of using a REST API for conditions access is the possibility of caching identical URLs, addressing one of the biggest challenges that large distributed computing solutions impose on conditions data access, avoiding direct DB access by means of standard web proxy solutions.

96 KNOWLEDGE MANAGEMENT AND PRESERVATION↗

An updated LLVM-based quantum research compiler with further OpenQASM support

Abstract Quantum computing is a rapidly growing field with the potential to change how we solve previously intractable problems. Emerging hardware is approaching a complexity that requires increasingly sophisticated programming and control. Scaffold is an older quantum programming language that was originally designed for resource estimation for far-future, large quantum machines, and ScaffCC is the corresponding LLVM-based compiler. For the first time, we provide a full and complete overview of the language itself, the compiler as well as its pass structure. While previous works Abhari et al (2015 Parallel Comput. 45 2–17), Abhari et al (2012 Scaffold: quantum programming language https://cs.princeton.edu/research/techreps/TR-934-12 ), have piecemeal descriptions of different portions of this toolchain, we provide a more full and complete description in this paper. We also introduce updates to ScaffCC including conditional measurement and multidimensional qubit arrays designed to keep in step with modern quantum assembly languages, as well as an alternate toolchain targeted at maintaining correctness and low resource count for noisy-intermediate scale quantum (NISQ) machines, and compatibility with current versions of LLVM and Clang. Our goal is to provide the research community with a functional LLVM framework for quantum program analysis, optimization, and generation of executable code.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Pseudopotentials for quantum Monte Carlo studies of transition metal oxides

Quantum Monte Carlo (QMC) calculations of transition metal oxides are partially limited by the availability of high-quality pseudopotentials that are both accurate in QMC and compatible with major plane-wave electronic structure codes. We have generated a set of neon-core pseudopotentials with small cutoff radii for the early transition metal elements Sc to Zn within the local density approximation of density functional theory. The pseudopotentials have been directly tested for accuracy within QMC by calculating the first through fourth ionization potentials of the isolated transition metal (M) atoms and the binding curve of each M-O dimer. We find the ionization potentials to be accurate to 0.16(1) eV, on average, relative to experiment. The equilibrium bond lengths of the dimers are within 0.5(1)% of experimental values, on average, and the binding energies are also typically accurate to 0.18(3) eV. The level of accuracy we find for atoms and dimers is comparable to what has recently been observed for bulk metals and oxides using the same pseudopotentials. Our QMC pseudopotential results compare well with the findings of previous QMC studies and benchmark quantum chemical calculations.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Quantum magic and multipartite entanglement in the structure of nuclei

Motivated by the Gottesman-Knill theorem, we present a detailed study of the quantum complexity of p -shell and s d -shell nuclei. Valence-space nuclear shell-model wave functions generated by the code are mapped to qubit registers using the Jordan-Wigner mapping (12 qubits for the p shell and 24 qubits for the s d shell), from which measures of the many-body entanglement ( n -tangles) and magic (nonstabilizerness) are determined. While exact evaluations of these measures are possible for nuclei with a modest number of active nucleons, Monte Carlo simulations are required for the more complex nuclei. The broadly applicable Pauli-string I ̂ Z ̂ exact (PSIZe) Markov chain Monte Carlo (MCMC) technique is introduced to accelerate the evaluation of measures of magic in deformed nuclei (with hierarchical wave functions), by factors of ≈ 8 for some nuclei. Significant multinucleon entanglement is found in the s d shell, dominated by proton-neutron configurations, along with significant measures of magic. This is evident not only for the deformed states, but also for nuclei on the path to instability via regions of shape coexistence and level inversion. These results indicate that quantum-computing resources will accelerate precision simulations of such nuclei and beyond. Published by the American Physical Society 2025

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Density- and wavefunction-normalized Cartesian spherical harmonics for l ≤ 20

The widely used pseudoatom formalism in experimental X-ray charge-density studies makes use of real spherical harmonics when describing the angular component of aspherical deformations of the atomic electron density in molecules and crystals. The analytical form of the density-normalized Cartesian spherical harmonic functions for up to l ≤ 7 and the corresponding normalization coefficients were reported previously by Paturle & Coppens. It was shown that the analytical form for normalization coefficients is available primarily for l ≤ 4. Only in very special cases it is possible to derive an analytical representation of the normalization coefficients for 4 < l ≤ 7. In most cases for l > 4 the density normalization coefficients were calculated numerically to within seven significant figures. In this study we review the literature on the density-normalized spherical harmonics, clarify the existing notations, use the Paturle–Coppens method in the Wolfram Mathematica software to derive the Cartesian spherical harmonics for l ≤ 20 and determine the density normalization coefficients to 35 significant figures, and computer-generate a Fortran90 code. The article primarily targets researchers who work in the field of experimental X-ray electron density, but may be of some use to all who are interested in Cartesian spherical harmonics.

74 ATOMIC AND MOLECULAR PHYSICS↗