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 1,729 records · Page 96

Center for Extended Magnetohydrodynamic Modeling (CEMM), Final Technical Report for UW-Madison Engineering Physics

The Center for Extended Magnetohydrodynamic Modeling (CEMM) focused on the further development, verification, validation, and application of two scientific computation programs, the NIMROD and M3D-C1 codes, for modeling macroscopic dynamics in magnetized plasma. Both NIMROD and M3D-C1 solve the mathematical equations that model two-fluid 3D magnetohydrodynamic (MHD). They are designed and optimized to be efficient and accurate for toroidal confinement physics calculations. The effort improved the fidelity of the physics models, the realism of the treatment of the surrounding vessel, coils, and other structures, the accuracy and efficiency of the algorithms, and the ability to scale calculations to thousands of processors in order to take advantage of leading-edge computers. The primary application areas of Resonant Magnetic Perturbations (RMP), Edge Harmonic Oscillations (EHO), Edge Localized Modes (ELMs), Disruption Studies, Sawteeth and Stationary States, and Kinetic MHD and Neoclassical Tearing Modes (NTM) are of concern for the international ITER experiment, which is under construction in France. The effort by the UW-Madison Engineering Physics component of CEMM improved the numerical methods in the NIMROD code with respect to modeling MHD interchange and two-fluid effects. It also improved the algorithm for solving large algebraic systems to enhance NIMROD's computational performance when running the code in parallel on increasing numbers of processor cores. The modeling efforts included a study of the nonlinear evolution of ballooning, and the findings were supported by analytical theory and computation. Numerical MHD modeling also examined the influences of two-fluid effects on ELMs and RMPs, where "two-fluid" refers to separation of electron dynamics from ion dynamics. Another related aspect considered the effects of a localized layer of electrical current density near the edge of the plasma confinement region. Two-fluid effects on resonant reconnecting instabilities were verified and applied to computations of sawtooth and drift-tearing dynamics.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Structural Loads Analysis for Wave Energy Converters: Preprint

This study explores and verifies the generalized body-modes method for evaluating the structural loads on a wave energy converter (WEC). Historically, WEC design methodologies have focused primarily on accurately evaluating hydrodynamic loads, while methodologies for evaluating structural loads have yet to be fully considered and incorporated into the WEC design process. As wave energy technologies continue to advance, however, it has become increasingly evident that an accurate evaluation of the structural loads will enable an optimized structural design, as well as the potential utilization of composites and flexible materials, and hence reduce WEC costs. Although there are many computational fluid dynamics, structural analyses and fluid-structure-interaction (FSI) codes available, the application of these codes is typically too computationally intensive to be practical in the early stages of the WEC design process. The generalized body-modes method, however, is a reduced order, linearized, frequency-domain FSI approach, performed in conjunction with the linear hydrodynamic analysis, with computation times that could realistically be incorporated into the WEC design process. The objective of this study is to verify the generalized body-modes approach in comparison to high-fidelity FSI simulations to accurately predict structural deflections and stress loads in a WEC. Two verification cases are considered, a free-floating barge and a fixed-bottom column. Details for both the generalized body-modes models and FSI models are first provided. Results for each of the models are then compared and discussed. Finally, based on the verification results obtained, future plans for incorporating the generalized body-modes method into the WEC simulation tool, WEC-Sim, and the overall WEC design process are discussed.

17 WIND ENERGY↗

Hybrid Particle Swarm-Interpolation Algorithm for Improved Critical Experiment Design

The typical goal of designing a critical experiment is twofold: a system that is both critical and optimized for some other value. This value could be an energy-integrated sensitivity, percent fissions in a certain energy range, or some other value that can be calculated by a transport code. By simulating different combinations of reflector, moderator, and fuel thicknesses a designer can identify such a desirable configuration. The domain of all possible combinations of these thicknesses is referred to as the experiment search space. As more dimensions are added, the search space increases in size exponentially. For a three-dimensional case, which includes three thickness values between zero and ten centimeters to the nearest tenth of a millimeter, a total of 1,000 3 , configurations exists. Rather than check each configuration individually, which would be extremely computationally expensive, it has been shown to be more efficient to use a conventional particle swarm optimization (PSO) algorithm to identify critical and optimal configurations. This work presents the theory and implementation of a novel hybrid PSO interpolation algorithm to perform these optimizations faster than a conventional PSO algorithm. To demonstrate this, an example optimization will be carried out by the conventional and hybrid PSO algorithms and their performances will be compared.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Development of Fuel Shuffling Module for PHISICS

PHISICS (Parallel and Highly Innovative Simulation for the INL Code System) [4] code toolkit has been in development at the Idaho National Laboratory. This package is intended to provide a modern analysis tool for reactor physics investigation. It is designed with the mindset to maximize accuracy for a given availability of computational resources and to give state of the art tools to the modern nuclear engineer. This is obtained by implementing several different algorithms and meshing approaches among which the user will be able to choose, in order to optimize his computational resources and accuracy needs. The software is completely modular in order to simplify the independent development of modules by different teams and future maintenance. The package is coupled with the thermo-hydraulic code RELAP5-3D [3]. In the following the structure of the different PHISICS modules is briefly recalled, focusing on the new shuffling module (SHUFFLE), object of this paper.

97 MATHEMATICS AND COMPUTING↗

Particle-in-cell/accelerator code for space-charge dominated beam simulation

Warp is a multidimensional discrete-particle beam simulation program designed to be applicable where the beam space-charge is non-negligible or dominant. It is being developed in a collaboration among LLNL, LBNL and the University of Maryland. It was originally designed and optimized for heave ion fusion accelerator physics studies, but has received use in a broader range of applications, including for example laser wakefield accelerators, e-cloud studies in high enery accelerators, particle traps and other areas. At present it incorporates 3-D, axisymmetric (r,z) planar (x-z) and transverse slice (x,y) descriptions, with both electrostatic and electro-magnetic fields, and a beam envelope model. The code is guilt atop the Python interpreter language.

Grote, D. P.↗

The optimal beam-loading in two-bunch nonlinear plasma wakefield accelerators

Abstract Due to the highly nonlinear nature of the beam-loading, it is currently not possible to analytically determine the beam parameters needed in a two-bunch plasma wakefield accelerator for maintaining a low energy spread. Therefore in this paper, by using the Broyden–Fletcher–Goldfarb–Shanno algorithm for the parameter scanning with the code QuickPIC and the polynomial regression together with k -fold cross-validation method, we obtain two fitting formulas for calculating the parameters of tri-Gaussian electron beams when minimizing the energy spread based on the beam-loading effect in a nonlinear plasma wakefield accelerator. One formula allows the optimization of the normalized charge per unit length of a trailing beam to achieve the minimal energy spread, i.e. the optimal beam-loading. The other one directly gives the transformer ratio when the trailing beam achieves the optimal beam-loading. A simple scaling law for charges of drive beams and trailing beams is obtained from the fitting formula, which indicates that the optimal beam-loading is always achieved for a given charge ratio of the two beams when the length and separation of two beams and the plasma density are fixed. The formulas can also help obtain the optimal plasma densities for the maximum accelerated charge and the maximum acceleration efficiency under the optimal beam-loading respectively. These two fitting formulas will significantly enhance the efficiency for designing and optimizing a two-bunch plasma wakefield acceleration stage.

Physics↗

The use of particle-in-cell codes for designing electron cyclotron resonance ion sources (invited) (abstract)

We illustrate how particle-in-cell simulation techniques have been useful in past design and modeling of electron cyclotron resonance (ECR) ion sources, and discuss advances that will benefit how they can continue to be useful in the future. Electromagnetic particle-in-cell codes excel in situations of interesting geometry and magnetic field nonuniformity. We review early particle-in-cell design work leading up to the validation of volume heating effects in carefully tailored flat-field-type ECR sources. Modern computing power now favors fully three-dimensional simulation, with more realistic rf injection and accessibility modeling, and confinement field representation, for more optimal design capability, and more thorough investigation of electromagnetic transport in novel, more efficient ECR heating concepts. We also demonstrate algorithm advances, including particle-fluid hybrid methods that promise relief from computational restrictions of earlier simulations, specifically the scaling requirements associated with the small Debye length of the ECR plasma relative to its total size. Particle-in-cell codes also offer the potential for accurate modeling of particle creation, destruction, and transport dynamics. We will illustrate these capabilities from recent work incorporating neutral transport, ionization, and recombination physics, aimed at optimization of ion current in heavy ion sources. This work involves accurate modeling of geometrically localized sources, and points toward future integrated models covering the full range of physics from ion production to extraction.

43 PARTICLE ACCELERATORS↗

Optimization Of A Mass Spectrometry Process

In this paper we present and discuss a system developed in order to optimize the mass spectrometry process of an ion implanter. The system uses a PC to control and display the mass spectrum. The operator interacts with the I/O board, that interfaces with the computer and the ion implanter by a LabVIEW code. Experimental results are shown and the capabilities of the system are discussed.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗

A GROUND-BASED 21 cm BARYON ACOUSTIC OSCILLATION SURVEY

Baryon acoustic oscillations (BAO) provide a robust standard ruler with which to measure the acceleration of the universe. The BAO feature has so far been detected in optical galaxy surveys. Intensity mapping of neutral hydrogen emission with a ground-based radio telescope provides another promising window for measuring BAO at redshifts of order unity for relatively low cost. While the cylindrical radio telescope (CRT) proposed for these measurements will have excellent redshift resolution, it will suffer from poor angular resolution (arcminutes at best). We investigate the effect of angular resolution on the standard ruler test with BAO, using the Dark Energy Task Force Figure of Merit (FoM) as a benchmark. We then extend the analysis to include variations in the parameters characterizing the telescope and the underlying physics. Finally, we optimize the survey parameters (holding total cost fixed) and present an example of a CRT BAO survey that is competitive with Stage III dark energy experiments. The tools developed here form the backbone of a publicly available code that can be used to obtain estimates of cost and FoM for any set of survey parameters.

79 ASTRONOMY AND ASTROPHYSICS↗

A scalable framework for the solution of stochastic inverse problems using a sparse grid collocation approach

Experimental evidence suggests that the dynamics of many physical phenomena are significantly affected by the underlying uncertainties associated with variations in properties and fluctuations in operating conditions. Recent developments in stochastic analysis have opened the possibility of realistic modeling of such systems in the presence of multiple sources of uncertainties. These advances raise the possibility of solving the corresponding stochastic inverse problem: the problem of designing/estimating the evolution of a system in the presence of multiple sources of uncertainty given limited information. A scalable, parallel methodology for stochastic inverse/design problems is developed in this article. The representation of the underlying uncertainties and the resultant stochastic dependant variables is performed using a sparse grid collocation methodology. A novel stochastic sensitivity method is introduced based on multiple solutions to deterministic sensitivity problems. The stochastic inverse/design problem is transformed to a deterministic optimization problem in a larger-dimensional space that is subsequently solved using deterministic optimization algorithms. The design framework relies entirely on deterministic direct and sensitivity analysis of the continuum systems, thereby significantly enhancing the range of applicability of the framework for the design in the presence of uncertainty of many other systems usually analyzed with legacy codes. Various illustrative examples with multiple sources of uncertainty including inverse heat conduction problems in random heterogeneous media are provided to showcase the developed framework.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Convective Heating of the LIFE Engine Target During Injection

Target survival in the hostile, high temperature xenon environment of the proposed Laser Inertial Fusion Energy (LIFE) engine is critical. This work focuses on the flow properties and convective heat load imposed upon the surface of the indirect drive target while traveling through the xenon gas. While this rarefied flow is traditionally characterized as being within the continuum regime, it is approaching transition where conventional CFD codes reach their bounds of operation. Thus ANSYS, specifically the Navier-Stokes module CFX, will be used in parallel with direct simulation Monte Carlo code DS2V and analytically and empirically derived expressions for heat transfer to the hohlraum for validation. Comparison of the viscous and thermal boundary layers of ANSYS and DS2V were shown to be nearly identical, with the surface heat flux varying less than 8% on average. From the results herein, external baffles have been shown to reduce this heat transfer to the sensitive laser entrance hole (LEH) windows and optimize target survival independent of other reactor parameters.

42 ENGINEERING↗

Modeling CANDU-6 liquid zone controllers for effects of thorium-based fuels

We use the DRAGON code to model the CANDU-6 liquid zone controllers and evaluate the effects of thorium-based fuels on their incremental cross sections and reactivity worth. We optimize both the numerical quadrature and spatial discretization for 2D cell models in order to provide accurate fuel properties for 3D liquid zone controller supercell models. We propose a low computer cost parameterized pseudo-exact 3D cluster geometries modeling approach that avoids tracking issues on small external surfaces. This methodology provides consistent incremental cross sections and reactivity worths when the thickness of the buffer region is reduced. When compared with an approximate annular geometry representation of the fuel and coolant region, we observe that the cluster description of fuel bundles in the supercell models does not increase considerably the precision of the results while increasing substantially the CPU time. In addition, this comparison shows that it is imperative to finely describe the liquid zone controller geometry since it has a strong impact of the incremental cross sections. This paper also shows that liquid zone controller reactivity worth is greatly decreased in presence of thorium-based fuels compared to the reference natural uranium fuel, since the fission and the fast to thermal scattering incremental cross sections are higher for the new fuels. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Early experiences on the OLCF Frontier system with AthenaPK and Parthenon–Hydro

The Oak Ridge Leadership Computing Facility (OLCF) has been preparing the nation's first exascale system, Frontier, for production and end users. Frontier is based on HPE Cray's new EX architecture and Slingshot interconnect and features 74 cabinets of optimized 3rd Gen AMD EPYC CPUs for HPC and AI and AMD Instinct 250X accelerators. As a part of this preparation, “real-world” user codes have been selected to help assess the functionality, performance, and usability of the system. This article describes early experiences using the system in collaboration with the Hamburg Observatory for two selected codes, which have since been adopted in the OLCF test harness. Experiences discussed include efforts to resolve performance variability and per-cycle slowdowns. Results are shown for a performance portable astrophysical magnetohydronamics code, AthenaPK, and a mini-application stressing the core functionality of a performance portable block-structured adaptive mesh refinement framework, Parthenon-Hydro. Here, these results show good scaling characteristics to the full system. At the largest scale, the Parthenon-Hydro miniapp reaches a total of $1.7$ $\times$ $10^{13}$ zone-cycles/s on 9216 nodes (73,728 logical GPUs) at ≈92% weak scaling parallel efficiency (starting from a single node using a second-order, finite-volume method).

97 MATHEMATICS AND COMPUTING↗

Monte Carlo investigation of a high-efficiency, two-plane Compton camera for long-range localization of radioactive materials

Compton cameras have become an instrument of interest for long-range localization of radioactive materials in nuclear-nonproliferation applications. In this work, a specialized simulation tool was developed for the optimization of a Compton camera through realistic Monte Carlo simulations. This tool can be used for Compton cameras with different geometries. The MCNPX-PoliMi code was used to simulate Compton scatters and photoelectric absorptions in the camera's detectors. The imaging capability is derived from the physics of Compton scattering and the full-energy information obtained in photoelectric absorptions. The simulated system is a 1 1 m2 Compton camera consisting of two planar arrays of photon detectors. Several scintillators were evaluated: LaBr3, CaF2, and NaI(Tl) (all inorganic scintillators), and C9H10 (plastic organic scintillator). The investigation was carried out with a 137Cs source. A minimum detectable activity (MDA) was defined and used to assess the performance of cameras based on different detectors. The simulation results show that C9H10 is a reliable, low-cost, scatter-plane material, increasing the MDA by ~0.2 mCi when compared to a CaF2 scatter plane. On the other hand, the intrinsic background of LaBr3 undermines its above-average energy resolution as the MDA increased by ~0.5 mCi when compared to a NaI(Tl) absorption plane.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Theory of an Automatic Seepage Meter and Ramifications for Applications

A new approach for measuring fluxes across surface water—groundwater interfaces was recently proposed. The Automatic Seepage Meter (ASM) is equipped with a precise water level sensor and digital memory that analyzes water level time series in a vertical tube inserted into a streambed. The ability to infer flux values with high temporal resolution relies on an accurate interpretation of water level dynamics inside the tube. Here, we reduce the three-dimensional hydrodynamic problem that describes the ASM water level in a variety of field conditions to a single ordinary differential equation. This novel general analytical solution for estimating ASM responses is more comprehensive and flexible than previous approaches and is applicable to the entire range of field conditions, including steady or transient stream stages, evaporation, rainfall, and noise. For example, our analysis determines the timing of the nonmonotonic ASM response to a monotonic linear stream stage variation and explains previously used empirical parabolic approximation for estimating fluxes. We present algorithms for simultaneous inference of vertical interface flux and hydraulic conductivity values together with an example code. We quantify how the accuracy of parameter estimation depends on test duration and noise amplitude and propose how our analysis can be used to optimize field test protocols. On this basis, changing the ASM geometry by increasing the radius and decreasing tube insertion depth may enable ASM field test protocols that estimate interface flux and hydraulic conductivity faster while maintaining desired accuracy. Potential applications of joint parameter estimation are suggested.

47 OTHER INSTRUMENTATION↗

Charge carrier motion and effect of fixed oxide charge in a microstructured silicon radiation detector

Signal formation in a microstructured semiconductor neutron detector is more complex than in planar diode geometry. Three-dimensional microstructures are laterally smaller than the ionization cloud length, and the electric fields may be weak enough to exhibit plasma time effects. This work is the first detailed treatment of charge carrier motion in these complex semiconductor devices to replicate the time profile and signal magnitude. Simulations were performed using COMSOL Multiphysics to investigate various parameters that affect the propagation of the charge cloud. It was observed that the size of the simulated three-dimensional structure had an impact on the induced current pulse, indicating the importance of simulation geometry optimization to accurately simulate charge cloud expansion. COMSOL Multiphysics was used to replicate accurate charge creation profiles using energy deposition information imported from radiation transport codes. A detailed simulation methodology is presented to benchmark preamplifier event pulses along with complexities in modeling the charge carrier motion along the etched microstructured trenches with Si–SiO 2 boundary conditions, including fixed oxide charge and interface trapping.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Block2 : A comprehensive open source framework to develop and apply state-of-the-art DMRG algorithms in electronic structure and beyond

block2 is an open source framework to implement and perform density matrix renormalization group and matrix product state algorithms. Out-of-the-box it supports the eigenstate, time-dependent, response, and finite-temperature algorithms. In addition, it carries special optimizations for ab initio electronic structure Hamiltonians and implements many quantum chemistry extensions to the density matrix renormalization group, such as dynamical correlation theories. The code is designed with an emphasis on flexibility, extensibility, and efficiency and to support integration with external numerical packages. Here, we explain the design principles and currently supported features and present numerical examples in a range of applications.

Chemistry↗

Design and study of a high-current 5-cell superconducting rf cavity.

The Advanced Photon Source (APS) at Argonne National Laboratory is considering the development of a superconducting linac-based fourth-generation hard X-ray source to meet future scientific needs of the hard X-ray user community. This work specifically focuses on the design of an optimized 5-cell superconducting radio-frequency structure well suited for a high-energy, high-beam-current energy recovery linac. The cavity design parameters are based on the APS storage ring nominal 7 GeV and 100 mA beam operation. A high-current 5-cell cw superconducting cavity operating at 1.4 GHz has been designed. In order to achieve a high current, the accelerating cavity shape has been optimized and large end-cell beam pipes have been adopted. The beam break-up threshold of the cavity has been estimated using the code TDBBU, which predicts a high threshold beam current for a 7 GeV energy recovery linac model. A copper prototype cavity has been fabricated that uses half-cell modules, initially assembled by clamping the cells together.

43 PARTICLE ACCELERATORS↗