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 919 records · Page 51

Recent advances in stellarator optimization

Computational optimization has revolutionized the field of stellarator design. To date, optimizations have focused primarily on optimization of neoclassical confinement and ideal MHD stability, although limited optimization of other parameters has also been performed. Here, we outline a select set of new concepts for stellarator optimization that, when taken as a group, present a significant step forward in the stellarator concept. One of the criticisms that has been leveled at existing methods of design is the complexity of the resultant field coils. Recently, a new coil optimization code—COILOPT++, which uses a spline instead of a Fourier representation of the coils,—was written and included in the STELLOPT suite of codes. The advantage of this method is that it allows the addition of real space constraints on the locations of the coils. The code has been tested by generating coil designs for optimized quasi-axisymmetric stellarator plasma configurations of different aspect ratios. As an initial exercise, a constraint that the windings be vertical was placed on large major radius half of the non-planar coils. Further constraints were also imposed that guaranteed that sector blanket modules could be removed from between the coils, enabling a sector maintenance scheme. Results of this exercise will be presented. New ideas on methods for the optimization of turbulent transport have garnered much attention since these methods have led to design concepts that are calculated to have reduced turbulent heat loss. We have explored possibilities for generating an experimental database to test whether the reduction in transport that is predicted is consistent with experimental observations. Thus, a series of equilibria that can be made in the now latent QUASAR experiment have been identified that will test the predicted transport scalings. Fast particle confinement studies aimed at developing a generalized optimization algorithm are also discussed. A new algorithm developed for the design of the scraper element on W7-X is presented along with ideas for automating the optimization approach.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Evaluation of Skyshine from an Accelerator Facility: Dependence on Distance and Angle

Neutron skyshine from Linac Coherent Light Source II 4 GeV electron beam operation at SLAC National Accelerator Laboratory can contribute to prompt radiation exposure to the public at distances far beyond the accelerator tunnel housing. One of the shielding design requirements at SLAC is that the annual dose to a member of the public is no more than 0.05 mSv y -1 . Our work uses Monte Carlo code FLUKA to simulate the generation of neutrons from 4 GeVelectron beam losses on a thick copper target inside a generalized geometry of the Linac Coherent Light Source II Beam Transport Hall accelerator tunnel section. The effective dose from neutron skyshine was characterized as a function of both distance from the tunnel wall (up to 1 km away) and angle relative to the beam direction (between 0° and 180°). Furthermore, this new methodology for evaluating neutron skyshine dose is applicable to high-energy GeV-range electron accelerator facilities both at SLAC and elsewhere.

43 PARTICLE ACCELERATORS↗

Topology Studies of Hydrodynamics Using Two-Particle Correlation Analysis

The effects of fluctuating initial conditions are studied in the context of relativistic heavy ion collisions where a rapidly evolving system is formed. Two-particle correlation analysis is applied to events generated with the NEXSPHERIO hydrodynamic code, starting with fluctuating nonsmooth initial conditions (IC). The results show that the nonsmoothness in the IC survives the hydroevolution and can be seen as topological features of the angular correlation function of the particles emerging from the evolving system. A long range correlation is observed in the longitudinal direction and in the azimuthal direction a double peak structure is observed in the opposite direction to the trigger particle. This analysis provides clear evidence that these are signatures of the combined effect of tubular structures present in the IC and the proceeding collective dynamics of the hot and dense medium.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Joint tests at INL and CEA of a transient hot wire needle probe for in-pile thermal conductivity measurement

Thermal conductivity is a key property that must be known for proper design, testing, and deployment of new fuels and structural materials in nuclear reactors. Thermal conductivity is highly dependent on the physical structure, chemical composition, and the state of the material. Typically, thermal conductivity changes that occur during irradiation are currently measured out-of-pile using a 'cook and look' approach. But repeatedly removing samples from a test reactor to make measurements is expensive, has the potential to disturb phenomena of interest, and only provides understanding of the sample's end state when each measurement is made. There are also limited thermo-physical property data available for advanced fuels; and such data are needed for simulation codes, the development of next generation reactors, and advanced fuels for existing nuclear plants. Being able to quickly characterize fuel thermal conductivity during irradiation can improve the fidelity of data, reduce costs of post-irradiation examinations, increase understanding of how fuels behave under irradiation, and confirm or improve existing thermal conductivity measurement techniques. This paper discusses efforts to develop and evaluate an innovative in-pile thermal conductivity sensor based on the transient hot wire thermal conductivity method (THWM), using a single needle probe (NP) containing a line heat source and thermocouple embedded in the fuel. The sensor that has been designed and manufactured by the Idaho National Laboratory (INL) includes a unique combination of materials, geometry, and fabrication techniques that make the hot wire method suitable for in-pile applications. In particular, efforts were made to minimize the influence of the sensor and maximize fuel hot-wire heating. The probe has a thermocouple-like construction with high temperature resistant materials that remain ductile while resisting transmutation and materials interactions. THWM-NP prototypes were fabricated for both room temperature proof-of-concept evaluations and high temperature testing. Evaluations have been performed jointly by the INL and the French Alternative Energies and Atomic Energy Commission (CEA), both in Idaho Falls (USA) and in Cadarache (France), in the framework of a collaborative program for instrumentation of Material Testing Reactors. Initial tests were conducted on samples with a large range of thermal conductivities and temperatures ranging from 20 deg. C to 600 deg. C. Particularly, tests were recently performed on a sample having thermal conductivity and dimensions similar to UO{sub 2} and MOX nuclear fuels, in order to validate the ability of this sensor to operate for in-pile characterization of Light Water Reactors fuels. The results of the tests already completed at INL and CEA indicate that the Transient Hot Wire Needle Probe offers an enhanced method for in-pile detection of thermal conductivity. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

S-Preconditioner for Multi-fold Data Reduction with Guaranteed User-Controlled Accuracy

The growing gap between the massive amounts of data generated by petascale scientific simulation codes and the capability of system hardware and software to effectively analyze this data necessitates data reduction. Yet, the increasing data complexity challenges most, if not all, of the existing data compression methods. In fact, lossless compression techniques offer no more than 10% reduction on scientific data that we have experience with, which is widely regarded as effectively incompressible. To bridge this gap, in this paper, we advocate a transformative strategy that enables fast, accurate, and multi-fold reduction of double-precision floating-point scientific data. The intuition behind our method is inspired by an effective use of preconditioners for linear algebra solvers optimized for a particular class of computational dwarfs (e.g., dense or sparse matrices). Focusing on a commonly used multi-resolution wavelet compression technique as the underlying solver for data reduction we propose the S-preconditioner, which transforms scientific data into a form with high global regularity to ensure a significant decrease in the number of wavelet coefficients stored for a segment of data. Combined with the subsequent EQ-calibrator, our resultant method (called S-Preconditioned EQ-Calibrated Wavelets (SPEQC-WAVELETS)), robustly achieved a 4- to 5- fold data reduction while guaranteeing user-defined accuracy of reconstructed data to be within 1% point-by-point relative error, lower than 0:01 Normalized RMSE, and higher than 0:99 Pearson Correlation. In this paper, we show the results we obtained by testing our method on six petascale simulation codes including fusion, combustion, climate, astrophysics, and subsurface groundwater in addition to 13 publicly available scientific datasets. We also demonstrate that application-driven data mining tasks performed on decompressed variables or their derived quantities produce results of comparable quality with the ones for the original data.

Jin, Ye↗

Hot wire needle probe for in-reactor thermal conductivity measurement

Thermal conductivity is a key property that must be known for proper design, test, and application of new fuels and structural materials in nuclear reactors. Thermal conductivity is highly dependent on the physical structure, chemical composition, and the state of the material. Typically, thermal conductivity changes that occur during irradiation are measured out-of-pile by Post Irradiated Examination (PIE) using a “cook and look” approach in hot-cells. Repeatedly removing samples from a test reactor to make out-of-pile measurements is expensive, has the potential to disturb phenomena of interest, and only provides understanding of the sample's end state at the time each measurement is made. There are also limited thermophysical property data for advanced fuels. Such data are needed for simulation design codes, the development of next generation reactors, and advanced fuels for existing nuclear plants. Being able to quickly characterize fuel thermal conductivity during irradiation can improve the fidelity of data, reduce costs of post-irradiation examinations, increase understanding of how fuels behave under irradiation, and confirm or improve existing thermal conductivity measurement techniques. This paper discusses recent efforts to develop and evaluate an in-pile thermal conductivity sensor based on a hot wire needle probe. Testing has been performed on samples with thermal conductivities ranging from 0.2 W/m-K to 22 W-m-K in temperatures ranging from 20 °C to 600 °C. Thermal conductivity values measured using the needle probe match data found in the literature to within 5% for samples tested at room temperature, 5.67% for low thermal conductivity samples tested at high temperatures, and 10% for high thermal conductivity samples tested at high temperatures. Experimental results also show that this sensor is capable of operating in various test conditions and of surviving long duration irradiations.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

SU-E-T-146: Beam Energy Spread Estimate Based On Bragg Peak Measurement

Purpose: ProNova is installing and commissioning a two room proton therapy system in Knoxville, TN. Beam energy out of the 230MeV cyclotron was measured on Jan 24, 2015. Cyclotron beam was delivered into a Zebra multi layered IC detector calibrated in terms of penetration range in water. The analysis of the measured Bragg peak determines penetration range in water which can be subsequently converted into proton beam energy. We extended this analysis to obtain an estimate of the beam energy spread out of the cyclotron. Methods: Using Monte Carlo simulations we established the correlation between Bragg peak shape parameters (width at 50% and 80% dose levels, distal falloff) and penetration range for a monoenergetic proton beam. For large uniform field impinging on a small area detector, we observed linear dependence of each Bragg peak parameter on beam penetration range as shown in Figure A. Then we studied how this correlation changes when the shape of Bragg peak is distorted by the beam focusing conditions. As shown in Figure B, small field size or diverging beam cause Bragg peak deformation predominantly in the proximal region. The distal shape of the renormalized Bragg peaks stays nearly constant. This excludes usage of Bragg peak width parameters for energy spread estimates. Results: The measured Bragg peaks had an average distal falloff of 4.86mm, which corresponds to an effective range of 35.5cm for a monoenergetic beam. The 32.7cm measured penetration range is 2.8cm less. Passage of a 230MeV proton beam through a 2.8cm thick slab of water results in a ±0.56MeV energy spread. As a final check, we confirmed agreement between shapes of the measured Bragg peak and one generated by Monte-Carlo code for proton beam with 0.56 MeV energy spread. Conclusion: Proton beam energy spread can be estimated using Bragg peak analysis.

60 APPLIED LIFE SCIENCES↗

Multidimensional dosimetry of {sup 106}Ru eye plaques using EBT3 films and its impact on treatment planning

Purpose: The purpose of this study was to establish a method to perform multidimensional radiochromic film measurements of {sup 106}Ru plaques and to benchmark the resulting dose distributions against Monte Carlo simulations (MC), microdiamond, and diode measurements. Methods: Absolute dose rates and relative dose distributions in multiple planes were determined for three different plaque models (CCB, CCA, and COB), and three different plaques per model, using EBT3 films in an in-house developed polystyrene phantom and the MCNP6 MC code. Dose difference maps were generated to analyze interplaque variations for a specific type, and for comparing measurements against MC simulations. Furthermore, dose distributions were validated against values specified by the manufacturer (BEBIG) and microdiamond and diode measurements in a water scanning phantom. Radial profiles were assessed and used to estimate dosimetric margins for a given combination of representative tumor geometry and plaque size. Results: Absolute dose rates at a reference depth of 2 mm on the central axis of the plaque show an agreement better than 5% (10%) when comparing film measurements (MCNP6) to the manufacturer’s data. The reproducibility of depth-dose profile measurements was <7% (2 SD) for all investigated detectors and plaque types. Dose difference maps revealed minor interplaque deviations for a specific plaque type due to inhomogeneities of the active layer. The evaluation of dosimetric margins showed that for a majority of the investigated cases, the tumor was not completely covered by the 100% isodose prescribed to the tumor apex if the difference between geometrical plaque size and tumor base ≤4 mm. Conclusions: EBT3 film dosimetry in an in-house developed phantom was successfully used to characterize the dosimetric properties of different {sup 106}Ru plaque models. The film measurements were validated against MC calculations and other experimental methods and showed a good agreement with data from BEBIG well within published tolerances. The dosimetric information as well as interplaque comparison can be used for comprehensive quality assurance and for considerations in the treatment planning of ophthalmic brachytherapy.

60 APPLIED LIFE SCIENCES↗

Massively parallel direct numerical simulations of forced compressible turbulence: a hybrid MPI/OpenMP approach. In:XSEDE '12 Proceedings of the 1st Conference of the Extreme Science and Engineering Discovery Environment: Bridging from the eXtreme to the campus and beyond, Article No. 23

A highly scalable simulation code for turbulent flows which solves the fully compressible Navier-Stokes equations is presented. The code, which supports one, two and three dimensional domain decompositions is shown to scale well on up to 262,144 cores. Introducing multiple levels of parallelism based on distributed message passing and shared-memory paradigms results in a reduction of up to 33% of communication time at large core counts. The code has been used to generate a large database of homogeneous isotropic turbulence in a stationary state created by forcing the largest scales in the flow. The scaling of spectra of velocity and density fluctuations are presented. While the former follow classical theories strictly valid for incompressible flows, the latter presents a more complicated behavior. Fluctuations in velocity gradients and derived quantities exhibit extreme though rare fluctuations, a phenomenon known as intermittency. The simulations presented provide data to disentangle Reynolds and Mach number effects.

Jagannathan, Shriram↗

On Fusing Recursive Traversals of K-d Trees

Loop fusion is a key program transformation for data locality optimization that is implemented in production compilers. But optimizing compilers currently cannot exploit fusion opportunities across a set of recursive tree traversal computations with producer-consumer relationships. In this paper, we develop a compile-time approach to dependence characterization and program transformation to enable fusion across recursively specified traversals over k-ary trees. We present the FuseT source-to-source code transformation framework to automatically generate fused composite recursive operators from an input program containing a sequence of primitive recursive operators. We use our framework to implement fused operators for MADNESS, Multiresolution Adaptive Numerical Environment for Scientific Simulation. We show that locality optimization through fusion can offer more than an order of magnitude performance improvement.

data locality↗

Compiler-Directed Soft Error Detection and Recovery to Avoid DUE and SDC via Tail-DMR

This article presents Clover, a compiler-directed soft error detection and recovery scheme for lightweight soft error resilience. The compiler carefully generates soft-error-tolerant code based on idempotent processing without explicit checkpoints. During program execution, Clover relies on a small number of acoustic wave detectors deployed in the processor to identify soft errors by sensing the wave made by a particle strike. To cope with DUEs (detected unrecoverable errors) caused by the sensing latency of error detection, Clover leverages a novel selective instruction duplication technique called tail-DMR (dual modular redundancy) that provides a region-level error containment. Once a soft error is detected by either the sensors or the tail-DMR, Clover takes care of the error as in the case of exception handling. To recover from the error, Clover simply redirects program control to the beginning of the code region where the error is detected. The experimental results demonstrate that the average runtime overhead is only 26%, which is a 75% reduction compared to that of the state-of-the-art soft error resilience technique. In addition, this article evaluates an alternative technique called tail-wait, comparing it to Clover. According to the evaluation with the different processor configurations and the various error detection latencies, Clover turns out to be a superior technique, achieving 1.06 to 3.49× speedup over the tail-wait.

Computer Science↗

Analytical Performance Modeling and Validation of Intel’s Xeon Phi Architecture

Modeling the performance of scientific applications on emerging hardware plays a central role in achieving extreme-scale computing goals. Analytical models that capture the interaction between applications and hardware characteristics are attractive because even a reasonably accurate model can be useful for performance tuning before the hardware is made available. In this paper, we develop a hardware model for Intel’s second-generation Xeon Phi architecture code-named Knights Landing (KNL) for the SKOPE framework. We validate the KNL hardware model by projecting the performance of mini-benchmarks and application kernels. The results show that our KNL model can project the performance with prediction errors of 10% to 20%. The hardware model also provides informative recommendations for code transformations and tuning.

97 MATHEMATICS AND COMPUTING↗

rubblepy

This code can be used to generate a damage map based on the presence of rubble. Rubble is often detectable in images with submeter resolution, and can indicate damage to structures from high winds or earthquakes. The process_images.py script outputs a mask indicating the pixels in the original image where rubble was detected. The mask can be used in a geospatial software application like ArcMap to generate a damage map based on the rubble density. The rubble detection mask will contain some false positives which are usually more isolated than true rubble, so a density map will provide a more accurate indication of affected areas than the indivdidual rubble detections will.

Matzner, Shari↗

A simple model for jet quenching in Heavy Ion Physics

This is a simple python code to calculate jet quenching for nuclear modification factors in relativistic heavy-ion collisions. This code can be used to generate all results specified in RR0010127, to be submitted to Physical Review C.

Soltz, Ron↗

wa-hls4ml-paper

Code for plots, models, data generation and other utilities relating to the paper "wa-hls4ml: A Benchmark and Surrogate Models for hls4ml Resource and Latency Estimation" https://arxiv.org/abs/2511.05615 [FERMILAB-PUB-25-0359-CSAID]

Hawks, Ben [Fermi National Accelerator Laboratory ↗

Data from: Learning coagulation processes with combinatorially-invariant neural networks

This dataset contains all the necessary information to recreate the study presented in the paper entitled "Learning coagulation processes with combinatorially-invariant neural networks". This consists of (1) the aggregated output files used for machine learning, (2) the machine learning codes used to learn the presented models, (3) the PartMC model source code that was used to generate the simulation data and (4) the Python scripts used construct the scenario library for training and testing simulations. This data was used to investigate a method (combinatorally-invariant neural network) for learning the aerosol process of coagulation. This data may be useful for application of other methods.

Atmospheric chemistry↗

Dust Survival in Galactic Winds

This repository contains three-dimensional volumetric data from an Eulerian hydrodynamical simulation (conducted on a uniform Cartesian grid) generated by the Cholla hydrodynamics code. The datasets contain snapshots (full-grid, projections, and slices) in the HDF5 format of a multi-phase medium in which a hot, diffuse, dust-free background wind accelerates a cool, dense cloud of gas and dust. This scenario is intended to represent a supernova-driven galactic outflow, in which hot supernova winds are thought to accelerate cool interstellar medium material out of the galactic disk into the surrounding circumgalactic medium. There are three separate datasets for simulations corresponding to three cloud evolutionary scenarios: long-term cloud survival (surv), marginal cloud survival (disr), and cloud destruction (dest). Projection and slice images of the simulations are also included in this repository.

79 ASTRONOMY AND ASTROPHYSICS↗

Cholla Galactic OutfLow Simulations (CGOLS)

These datasets contain full hydro-field snapshots from the galactic outflow simulations in the CGOLS suite, models I-V. The datasets were generated using the Cholla hydrodynamics code (https://github.com/cholla-hydro/cholla); descriptions of the models are in the associated publications (Schneider & Robertson 2018, ApJ; Schneider et al. 2018, ApJ; Schneider et al. 2020, ApJ; and Schneider & Mao, 2024, ApJ). Each hdf5 dataset is numbered according to the simulation time of the snapshot, in Myr. Fields include density, x momentum, y momentum, z momentum, total energy, and thermal energy (for models I - III), as well as a passive scalar field (models IV and V). 2 dimensional density and temperature projections, as well as slices along each midplane are also included if they exist.

79 ASTRONOMY AND ASTROPHYSICS↗