Search NASA⌕ Search

SEARCH · Search NASA

Results for “code optimization”

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 973 records · Page 54

SU-E-J-42: Customized Deformable Image Registration Using Open-Source Software SlicerRT

Purpose: SlicerRT is a flexible platform that allows the user to incorporate the necessary images registration and processing tools to improve clinical workflow. This work validates the accuracy and the versatility of the deformable image registration algorithm of the free open-source software SlicerRT using a deformable physical pelvic phantom versus available commercial image fusion algorithms. Methods: Optical camera images of nonradiopaque markers implanted in an anatomical pelvic phantom were used to measure the ground-truth deformation and evaluate the theoretical deformations for several DIR algorithms. To perform the registration, full and empty bladder computed tomography (CT) images of the phantom were obtained and used as fixed and moving images, respectively. The DIR module, found in SlicerRT, used a B-spline deformable image registration with multiple optimization parameters that allowed customization of the registration including a regularization term that controlled the amount of local voxel displacement. The virtual deformation field at the center of the phantom was obtained and compared to the experimental ground-truth values. The parameters of SlicerRT were then varied to improve spatial accuracy. To quantify image similarity, the mean absolute difference (MAD) parameter using Hounsfield units was calculated. In addition, the Dice coefficient of the contoured rectum was evaluated to validate the strength of the algorithm to transfer anatomical contours. Results: Overall, SlicerRT achieved one of the lowest MAD values across the algorithm spectrum, but slightly smaller mean spatial errors in comparison to MIM software (MIM). On the other hand, SlicerRT created higher mean spatial errors than Velocity Medical Solutions (VEL), although obtaining an improvement on the DICE to 0.91. The large spatial errors were attributed to the poor contrast in the prostate bladder interface of the phantom. Conclusion: Based phantom validation, SlicerRT is capable of achieving comparable DIR accuracy to commercial programs such as MIM and VEL.

60 APPLIED LIFE SCIENCES↗

Tech-X contributions to the Center for Tokamak Transients (CTTS) Scientific Discovery through Advanced Computing (SciDAC) project (Final Report)

The Center for Tokamak Transients Simulations (CTTS) consists of computational plasma physicists, computer scientists, and applied mathematicians who are together developing and applying simulation software to improve our understanding of and ability to predict and control transient events in tokamak discharges, particularly those that lead to violent disruptions. We have major simulation activities concerning disruptions that are caused by violating ideal MHD stability criteria, vertical displacement events, resistive wall modes, and tearing modes. We are performing comprehensive modeling of disruption mitigation techniques, particularly by shattered pellet injection (SPI). The Center is built around two mature extended MHD codes: NIMROD and M3D-C1. These codes are being extended in a number of ways as required by the demands of disruption modeling, and are being optimized to work well for larger problem size and modern computer architectures as required to model tokamak plasmas with realistic parameters over the required timescales. The codes will be coupled to the FronTier code for state-of-the-art modeling of SPI. Validation with experimental data on DIII-D, NSTX, and JET is being facilitated by rigorous uncertainty quantification (UQ). The high-level objectives of the center are to: (1) Develop better understanding and improved predictive capability of when crossing a linear stability boundary will likely lead to a disruption, (2) Provide a tool for calculating vessel forces, both axisymmetric and non-axisymmetric, for worst case VDE and other disruptions in tokamaks, (3) Develop increased understanding and improved predictive capability for locked mode disruptions and how best to avoid them, (4) Develop, verify, and validate 3D models for disruption mitigation by shattered pellets that can be used to design and optimize a system for future tokamaks, and (5) Increase the efficiency and scalability of the M3D-C1 and NIMROD codes so that they can model disruptions in ITER scale devices using the most powerful DOE HPC hardware, and (6) Demonstrate code-coupling via FronTier coupling with NIMROD and M3D-C1 and by interfacing these codes within a WDM framework.

97 MATHEMATICS AND COMPUTING↗

PERI - Auto-tuning Memory Intensive Kernels for Multicore

We present an auto-tuning approach to optimize application performance on emerging multicore architectures. The methodology extends the idea of search-based performance optimizations, popular in linear algebra and FFT libraries, to application-specific computational kernels. Our work applies this strategy to Sparse Matrix Vector Multiplication (SpMV), the explicit heat equation PDE on a regular grid (Stencil), and a lattice Boltzmann application (LBMHD). We explore one of the broadest sets of multicore architectures in the HPC literature, including the Intel Xeon Clovertown, AMD Opteron Barcelona, Sun Victoria Falls, and the Sony-Toshiba-IBM (STI) Cell. Rather than hand-tuning each kernel for each system, we develop a code generator for each kernel that allows us to identify a highly optimized version for each platform, while amortizing the human programming effort. Results show that our auto-tuned kernel applications often achieve a better than 4X improvement compared with the original code. Additionally, we analyze a Roofline performance model for each platform to reveal hardware bottlenecks and software challenges for future multicore systems and applications.

97 MATHEMATICS AND COMPUTING↗

Preliminary Simulations for Geometric Optimization of a High-Energy Delayed Gamma Spectrometer for Direct Assay of Pu in Spent Nuclear Fuel

High-energy, beta-delayed gamma-ray spectroscopy is under investigation as part of the Next Generation Safeguard Initiative effort to develop non-destructive assay instruments for plutonium mass quantification in spent nuclear fuel assemblies. Results obtained to date indicate that individual isotope-specific signatures contained in the delayed gamma-ray spectra can potentially be used to quantify the total fissile content and individual weight fractions of fissile and fertile nuclides present in spent fuel. Adequate assay precision for inventory analysis can be obtained using a neutron generator of sufficient strength and currently available detection technology. In an attempt to optimize the geometric configuration and material composition for a delayed gamma measurement on spent fuel, the current study applies MCNPX, a Monte Carlo radiation transport code, in order to obtain the best signal-to-noise ratio. Results are presented for optimizing the neutron spectrum tailoring material, geometries to maximize thermal or fast fissions from a given neutron source, and detector location to allow an acceptable delayed gamma-ray signal while achieving a reasonable detector lifetime while operating in a high-energy neutron field. This work is supported in part by the Next Generation Safeguards Initiative, Office of Nuclear Safeguards and Security, National Nuclear Security Administration.

Delayed Gamma Spectroscopy, active interrogation, ↗

Porting numerical integration codes from CUDA to oneAPI: a case study

We present our experience in porting optimized CUDA implementations to oneAPI. We focus on the use case of numerical integration, particularly the CUDA implementations of PAGANI and $m$-Cubes. We faced several challenges that caused performance degradation in the oneAPI ports. These include differences in utilized registers per thread, compiler optimizations, and mappings of CUDA library calls to oneAPI equivalents. After addressing those challenges, we tested both the PAGANI and m-Cubes integrators on numerous integrands of various characteristics. To evaluate the quality of the ports, we collected performance metrics of the CUDA and oneAPI implementations on the Nvidia V100 GPU. We found that the oneAPI ports often achieve comparable performance to the CUDA versions, and that they are at most 10% slower.

97 MATHEMATICS AND COMPUTING↗

PyMercury: Interactive Python for the Mercury Monte Carlo Particle Transport Code

Monte Carlo particle transport applications are often written in low-level languages (C/C++) for optimal performance on clusters and supercomputers. However, this development approach often sacrifices straightforward usability and testing in the interest of fast application performance. To improve usability, some high-performance computing applications employ mixed-language programming with high-level and low-level languages. In this study, we consider the benefits of incorporating an interactive Python interface into a Monte Carlo application. With PyMercury, a new Python extension to the Mercury general-purpose Monte Carlo particle transport code, we improve application usability without diminishing performance. In two case studies, we illustrate how PyMercury improves usability and simplifies testing and validation in a Monte Carlo application. In short, PyMercury demonstrates the value of interactive Python for Monte Carlo particle transport applications. In the future, we expect interactive Python to play an increasingly significant role in Monte Carlo usage and testing.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Determining topological order from infinite projected entangled pair states

In this work, we present a method of extracting information about the topological order from the ground state of a strongly correlated two-dimensional system computed with the infinite projected entangled pair state (iPEPS). For topologically ordered systems, the iPEPS wrapped on a torus becomes a superposition of degenerate, locally indistinguishable ground states. Projectors in the form of infinite matrix product operators onto states with well-defined anyon flux are used to compute topological S and T matrices (encoding mutual and self-statistics of emergent anyons). The algorithm is shown to be robust against a perturbation driving string-net toric code across a phase transition to a ferromagnetic phase. Our approach provides accurate results near quantum phase transition, where the correlation length is prohibitively large for other numerical methods. Moreover, we used numerically optimized iPEPS describing the ground state of the Kitaev honeycomb model in the toric code phase and obtained topological data in excellent agreement with theoretical prediction.

36 MATERIALS SCIENCE↗

Modeling and simulation of multiphase flows

This presentation provides an overview of the National Energy Technology Laboratory’s (NETL) multiphase computational fluid dynamics codes. The highly successful Multiphase Flows with Interphase eXchanges (MFIX) suite has been used to model a wide range of applications including post-combustion carbon capture, bioreactor optimization, and bio-FCC regeneration. MFIX-Exa, a state-of-the-art CFD code, developed under DOE’s Exascale Computing Project, is built on the AMReX software framework (https://amrex-codes.github.io/) and is designed to leverage modern accelerator-based compute architectures. This presentation further reviews the underlying physical models of both MFIX and MFIX-Exa and contrasts their similarities and differences. Examples of past and present CFD simulations will illustrate how scientific computing at NETL is being used not only for scientific exploration but also for design, optimization and scale-up of multiphase flow devices.

Musser, Jordan [NETL]↗

Challenges in simulating beam dynamics of dielectric laser acceleration

Dielectric Laser Acceleration (DLA) achieves the highest gradients among structure-based electron accelerators. The use of dielectrics increases the breakdown field limit, and thus the achievable gradient, by a factor of at least 10 in comparison to metals. Experimental demonstrations of DLA in 2013 led to the Accelerator on a Chip International Program (ACHIP), funded by the Gordon and Betty Moore Foundation. In ACHIP, our main goal is to build an accelerator on a silicon chip, which can accelerate electrons from below 100 keV to above 1 MeV with a gradient of at least 100 MeV/m. For stable acceleration on the chip, magnet-only focusing techniques are insufficient to compensate the strong acceleration defocusing. Thus, spatial harmonic and Alternating Phase Focusing (APF) laser-based focusing techniques have been developed. Additionally, we have developed the simplified symplectic tracking code DLAtrack6D, which makes use of the periodicity and applies only one kick per DLA cell, which is calculated by the Fourier coefficient of the synchronous spatial harmonic. Due to coupling, the Fourier coefficients of neighboring cells are not entirely independent and a field flatness optimization (similarly as in multi-cell cavities) needs to be performed. The simulation of the entire accelerator on a chip by a Particle In Cell (PIC) code is possible, but impractical for optimization purposes. Finally, we have also outlined the treatment of wake field effects in attosecond bunches in the grating within DLAtrack6D, where the wake function is computed by an external solver.

43 PARTICLE ACCELERATORS↗

Multiphysics modeling of accelerators through code integration

This work aims to improve the ability of particle accelerator researchers to develop high-performance accelerator cavity designs by creating an overall multiphysics framework that integrates and couples existing application codes. This framework will allow accelerator researchers to build multiphysics models that will optimize cavity design, improve understanding of whole-device performance, and reduce the development and fabrication costs of accelerator research. We utilize the open-source VizSchema data standard as an intermediate data structure interface layer to standardize interfaces between individual application codes. VizScema is extensively documented online, and plugins for VizSchema are available for popular visualization packages, including VisIt and ParaView. Currently, the work focuses on coupling the EM field solver COMSOL and the electron gun code MICHELLE to allow COMSOL field-solve results to be seamlessly used by MICHELLE for particle-solve. Later work will extend this integration to include other fields, particles, and thermodynamics simulation codes.

43 PARTICLE ACCELERATORS↗

Physics design of a cold neutron source for KIPT neutron source facility.

Argonne National Laboratory (ANL) of USA and Kharkov Institute of Physics and Technology (KIPT) of Ukraine have been collaborating on the conceptual design development of a neutron source facility. It is based on the use of an electron accelerator driven subcritical (ADS) facility with low enriched uranium fuel, using the existing electron accelerators at KIPT of Ukraine [1]. The neutron source of the subcritical assembly is generated from the interaction of 100-KW electron beam, which has a uniform spatial distribution and the electron energy in the range of 100 to 200 MeV, with a natural uranium target [2]. The main functions of the facility are the production of medical isotopes and the support of the Ukraine nuclear power industry. Neutron beam experiments and material studies are also included. Over the past two-three decades, structures with characteristic lengths of 100 {angstrom} and correspondingly smaller vibrational energies have become increasingly important for both science and technology [3]. The characteristic dimensions of the microstructures can be well matched by neutrons with longer vibrational wavelength and lower energy. In the accelerator-driven subcritical facility, most of the neutrons are generated from fission reactions with energy in the MeV range. They are slowed down to the meV energy range through scattering reactions in the moderator and reflector materials. However, the fraction of neutrons with energies less than 5 meV in a normal moderator spectrum is very low because of up-scattering caused by the thermal motion of moderator or reflector molecules. In order to obtain neutrons with energy less than 5 meV, cryogenically cooled moderators 'cold neutron sources' should be used to slow down the neutrons. These cold moderators shift the neutron energy spectrum down because the thermal motion of moderator molecules as well as the up-scattering is very small, which provides large gains in intensity of low energy neutrons, E < 5 meV. The accelerator driven subcritical facility is designed with a provision to add a cryogenically cooled moderator system. This cold neutron source could provide the neutrons beams with lower energy, which could be utilized in scattering experiment and material structures analysis. This study describes the performed physics analyses to define and characterize the cold neutron source of the KIPT neutron source facility. The cold neutron source is designed to optimize the cold neutron brightness to the experimental instruments outside the radial heavy concrete shield of the facility. Liquid hydrogen or solid methane with 20 K temperature is used as a cold moderator. Monte Carlo computer code MCNPX [4], with ENDF/B-VI nuclear data libraries, is utilized to calculate the cold neutron source performance and estimate the nuclear heat load to the cold moderator. The surface source generation capability of MCNPX code has been used to provide the possibility of analyzing different design configurations and perform design optimization analyses with reasonable computer resources. Several design configurations were analyzed and their performance were characterized and optimized.

29 ENERGY PLANNING, POLICY, AND ECONOMY↗

CPR methodology with new steady-state criterion and more accurate statistical treatment of channel bow

An overview is given of existing CPR design criteria and the methods used in BWR reload analysis to evaluate the impact of channel bow on CPR margins. Potential weaknesses in today's methodologies are discussed. Westinghouse in collaboration with KKL and Axpo - operator and owner of the Leibstadt NPP - has developed an optimized CPR methodology based on a new criterion to protect against dryout during normal operation and with a more rigorous treatment of channel bow. The new steady-state criterion is expressed in terms of an upper limit of 0.01 for the dryout failure probability per year. This is considered a meaningful and appropriate criterion that can be directly related to the probabilistic criteria set-up for the analyses of Anticipated Operation Occurrences (AOOs) and accidents. In the Monte Carlo approach a statistical modeling of channel bow and an accurate evaluation of CPR response functions allow the associated CPR penalties to be included directly in the plant SLMCPR and OLMCPR in a best-estimate manner. In this way, the treatment of channel bow is equivalent to all other uncertainties affecting CPR. Emphasis is put on quantifying the statistical distribution of channel bow throughout the core using measurement data. The optimized CPR methodology has been implemented in the Westinghouse Monte Carlo code, McSLAP. The methodology improves the quality of dryout safety assessments by supplying more valuable information and better control of conservatisms in establishing operational limits for CPR. The methodology is demonstrated with application examples from the introduction at KKL. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Profiling expression strategies for a type III polyketide synthase in a lysate-based, cell-free system

Abstract Some of the most metabolically diverse species of bacteria (e.g., Actinobacteria) have higher GC content in their DNA, differ substantially in codon usage, and have distinct protein folding environments compared to tractable expression hosts like Escherichia coli . Consequentially, expressing biosynthetic gene clusters (BGCs) from these bacteria in E. coli often results in a myriad of unpredictable issues with regard to protein expression and folding, delaying the biochemical characterization of new natural products. Current strategies to achieve soluble, active expression of these enzymes in tractable hosts can be a lengthy trial-and-error process. Cell-free expression (CFE) has emerged as a valuable expression platform as a testbed for rapid prototyping expression parameters. Here, we use a type III polyketide synthase from Streptomyces griseus , RppA, which catalyzes the formation of the red pigment flaviolin, as a reporter to investigate BGC refactoring techniques. We applied a library of constructs with different combinations of promoters and rppA coding sequences to investigate the synergies between promoter and codon usage. Subsequently, we assess the utility of cell-free systems for prototyping these refactoring tactics prior to their implementation in cells. Overall, codon harmonization improves natural product synthesis more than traditional codon optimization across cell-free and cellular environments. More importantly, the choice of coding sequences and promoters impact protein expression synergistically, which should be considered for future efforts to use CFE for high-yield protein expression. The promoter strategy when applied to RppA was not completely correlated with that observed with GFP, indicating that different promoter strategies should be applied for different proteins. In vivo experiments suggest that there is correlation, but not complete alignment between expressing in cell free and in vivo. Refactoring promoters and/or coding sequences via CFE can be a valuable strategy to rapidly screen for catalytically functional production of enzymes from BCGs, which advances CFE as a tool for natural product research.

59 BASIC BIOLOGICAL SCIENCES↗

Efficient smoothed particle radiation hydrodynamics I: Thermal radiative transfer

This work presents efficient solution techniques for radiative transfer in the smoothed particle hydrodynamics discretization. Two choices that impact efficiency are how the material and radiation energy are coupled, which determines the number of iterations needed to converge the emission source, and how the radiation diffusion equation is solved, which must be done in each iteration. The coupled material and radiation energy equations are solved using an inexact Newton iteration scheme based on nonlinear elimination, which reduces the number of Newton iterations needed to converge within each time step. During each Newton iteration, the radiation diffusion equation is solved using Krylov iterative methods with a multigrid preconditioner, which abstracts and optimizes much of the communication when running in parallel. The code is verified for an infinite medium problem, a one-dimensional Marshak wave, and a two and three-dimensional manufactured problem, and exhibits first-order convergence in time and second-order convergence in space. For these problems, the number of iterations needed to converge the inexact Newton scheme and the diffusion equation is independent of the number of spatial points and the number of processors.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Fuel performance evaluation of annular metallic fuels for an advanced fast reactor concept

The annular metallic fuel design has been considered as a promising solution to relieve the fuel-cladding mechanical interaction (FCMI) caused by significant swelling of metallic fuels at high burnup. In this paper, the fuel performance of annular metallic fuel with HT9 cladding in a novel advanced fast reactor design optimized for high-burnup performance was evaluated. The BISON code was utilized to perform fuel performance simulations using a modified fuel swelling correlation for conservative evaluation. Three representative fuel pins, which feature highest peak burnup (26.8 % FIMA, fission per initial metal atom), highest fuel temperature (645 degrees C), and highest fast neutron flux (2.68 x 10 15 n/cm 2 ∙s), were investigated. A series of key fuel performance parameters, such as peak fuel temperature, reduction of fuel central void, and cumulative damage fraction (CDF) of the cladding, were predicted for both upper and lower plenum configurations. It is evident that annular fuel design with a lower smeared density is capable of accommodating the significant swelling of metallic fuel at high burnup. Finally, the adoption of a lower plenum configuration effectively lowers the gas pressure inside the rod and reduces the creep damage accumulation in the HT9 cladding.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Structure resolution of Ba{sub 5}Al{sub 3}F{sub 19} and Iivestigation of fluorine ion dynamics by synchrotron powder diffraction, variable-temperature solid-state NMR, and quantum computations.

The room temperature structure of Ba{sub 5}Al{sub 3}F{sub 19} has been solved using electron microscopy and synchrotron powder diffraction data. One-dimensional (1D) {sup 27}Al and ultrafast magic-angle-spinning (MAS) {sup 19}F NMR spectra have been recorded and are in agreement with the proposed structural model for Ba{sub 5}Al{sub 3}F{sub 19}. The {sup 19}F isotropic chemical shift and {sup 27}Al quadrupolar parameters have been calculated using the CASTEP code from the experimental and density functional theory geometry-optimized structures. After optimization, the calculated NMR parameters of both the {sup 19}F and {sup 27}Al nuclei show improved consistency with the experimental values, demonstrating that the geometry optimization step is necessary to obtain more accurate and reliable structural data. This also enables a complete and unambiguous assignment of the {sup 19}F MAS NMR spectrum of Ba{sub 5}Al{sub 3}F{sub 19}. Variable-temperature 1D MAS {sup 19}F NMR experiments have been carried out, showing the occurrence of fluorine ion mobility. Complementary insights were obtained from both two-dimensional (2D) exchange and 2D double-quantum dipolar recoupling NMR experiments, and a detailed analysis of the anionic motion in Ba{sub 5}Al{sub 3}F{sub 19} is proposed, including the distinction between reorientational processes and chemical exchange involving bond breaking and re-formation.

74 ATOMIC AND MOLECULAR PHYSICS↗

Transversal and longitudinal mode selections in double-corrugation coaxial slow-wave devices

To reduce the dimensions of relativistic backward wave oscillators (RBWOs) operating in the low frequency regime of less than 2 GHz, the theory of transversal and longitudinal mode selections are introduced in this paper. The transversal mode selection is achieved using the property of ''surface wave'' of the coaxial slow-wave structure (SWS) to excite the quasi transverse electromagnetic (quasi-TEM) mode without the higher transverse magnetic (TM) modes and it is proved that the coaxial SWS may decrease the transversal dimension of the SWS sections. In addition, the S-parameter method is employed to investigate the longitudinal resonant characteristic of the finite-length SWS, and the scheme of longitudinal mode selection is put forward. It is proposed that the introduction of a well-designed coaxial extractor to slow-wave devices can help to achieve the longitudinal mode selection and reduce the period number of the SWS, which not only can make the devices more compact, but also can avoid the destructive competition between various longitudinal modes, therefore can enhance the efficiency and stabilize the frequency. To sum up, the physical mechanisms of transversal and longitudinal mode selections ensure that the microwave is produced with a single mode and a narrow band. Based on the above discussion, a compact L-band coaxial RBWO is investigated and optimized in detail with the particle-in-cell KARAT code (V. P. Tarakanov, Berkeley Research Associates, Inc., 1992). In simulation, the L-band coaxial RBWO, driven by a 700 kV, 11 kA electron beam, comes to a nonlinear steady state in 20 ns. High-power microwave of quasi-TEM mode is generated with an average power of 2.66 GW, a frequency of 1.6 GHz, and power conversion efficiency of 34.5% in durations of 30-60 ns.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Design and development of an in-line sputtering system and process development of thin film multilayer neutron supermirrors

Neutron supermirrors and supermirror polarizers are thin film multilayer based devices which are used for reflecting and polarizing neutrons in various neutron based experiments. In the present communication, the in-house development of a 9 m long in-line dc sputtering system has been described which is suitable for deposition of neutron supermirrors on large size (1500 mm × 150 mm) substrates and in large numbers. The optimisation process of deposition of Co and Ti thin film, Co/Ti periodic multilayers, and a-periodic supermirrors have also been described. The system has been used to deposit thin film multilayer supermirror polarizers which show high reflectivity up to a reasonably large critical wavevector transfer of ∼0.06 Å{sup −1} (corresponding to m = 2.5, i.e., 2.5 times critical wavevector transfer of natural Ni). The computer code for designing these supermirrors has also been developed in-house.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗