Engineering Papers⌕ Search

SEARCH · Engineering Papers

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,585 records · Page 88

Transport and spatial energy deposition of relativistic electrons in copper-doped fast ignition plasmas

Fast electron transport and spatial energy deposition are investigated in integrated cone-guided Fast Ignition experiments by measuring fast electron induced copper K-shell emission using a copper tracer added to deuterated plastic shells with a geometrically reentrant gold cone. Experiments were carried out at the Laboratory for Laser Energetics on the OMEGA/OMEGA-EP Laser where the plastic shells were imploded using 54 of the 60 OMEGA60 beams (3ω, 20 kJ), while the high intensity OMEGA-EP (BL2) beam (1 ω, 10 ps, 500 J, I peak > 10 19 W/cm 2 ) was focused onto the inner cone tip. Here, a retrograde analysis using the hybrid-PIC electron transport code, ZUMA, is performed to examine the sensitivity of the copper Kα spatial profile on the laser-produced fast electrons, facilitating the optimization of new target point designs and laser configurations to improve the compressed core areal density by a factor of 4 and the fast electron energy coupling by a factor of 3.5.

42 ENGINEERING↗

STATISTICAL MECHANICS OF COLLISIONLESS ORBITS. II. STRUCTURE OF HALOS

In this paper, we present the density, {rho}, velocity dispersion, {sigma}, and {rho}/{sigma}{sup 3} profiles of isotropic systems which have the energy distribution, N({epsilon}) {proportional_to} [exp({phi}{sub 0} - {epsilon}) - 1], derived in Paper I. This distribution, dubbed {sup D}ARKexp{sup ,} is the most probable final state of a collisionless self-gravitating system, which is relaxed in terms of particle energies, but not necessarily in terms of angular momentum. We compare the DARKexp predictions with the results obtained using the extended secondary infall model (ESIM). The ESIM numerical scheme is optimally suited for this purpose because (1) it relaxes only through energy redistribution, leaving shell/particle angular momenta unaltered and (2) being a shell code with radially increasing shell thickness, it has very good mass resolution in the inner halo, where the various theoretical treatments give different predictions. The ESIM halo properties, and especially their energy distributions, are very well fit by DARKexp, implying that the techniques of statistical mechanics can be used to explain the structure of relaxed self-gravitating systems.

79 ASTRONOMY AND ASTROPHYSICS↗

ExaSat: An Exascale Static Analysis Tool (ExaSat) v1.0

The ExaSAT framework automates the extraction of parameterized performance models directly from source code using compiler analysis. Its parameterized analytic model enables quantitative evaluation of a broad range of hardware design trade-offs and software optimizations on a variety of different performance metrics, with a primary focus on data movement as a metric. ExaSAT analysis provides insights in the hardware and software tradeoffs and lays the groundwork for exploring a more targeted set of design points using cycle-accurate architectural simulators and emulators.

Chan, Cy↗

Enabling Advanced Modeling and Simulations for Fuel-Flexible Combustors

The overall goal of the present project is to enable advanced modeling and simulations for the design and optimization of fuel-flexible turbine combustors. For this purpose we use a high fidelity, extensively-tested large-eddy simulation (LES) code and state-of-the-art models for premixed/partially-premixed turbulent combustion developed in the PI's group. In the frame of the present project, these techniques are applied, assessed, and improved for hydrogen enriched premixed and partially premixed gas-turbine combustion. Our innovative approaches include a completely consistent description of flame propagation; a coupled progress variable/level set method to resolve the detailed flame structure, and incorporation of thermal-diffusion (non-unity Lewis number) effects. In addition, we have developed a general flamelet-type transformation holding in the limits of both non-premixed and premixed burning. As a result, a model for partially premixed combustion has been derived. The coupled progress variable/level method and the general flamelet transformation were validated by LES of a lean-premixed low-swirl burner that has been studied experimentally at Lawrence Berkeley National Laboratory. The model is extended to include the non-unity Lewis number effects, which play a critical role in fuel-flexible combustor with high hydrogen content fuel. More specifically, a two-scalar model for lean hydrogen and hydrogen-enriched combustion is developed and validated against experimental and direct numerical simulation (DNS) data. Results are presented to emphasize the importance of non-unity Lewis number effects in the lean-premixed low-swirl burner of interest in this project. The proposed model gives improved results, which shows that the inclusion of the non-unity Lewis number effects is essential for accurate prediction of the lean-premixed low-swirl flame.

01 COAL, LIGNITE, AND PEAT↗

Optimal focusing for a linac-based hard x-ray source

In spite of having a small average beam current limit, a linac can have features that make it attractive as an x-ray source: high energy, ultralow emittance and energy spread, and flexible beamline optics. Unlike a storage ring, in which an (undulator) radiation source is necessarily short and positioned at an electron beam waist, in a linac the undulator can be long and the electron beam can be adjusted to have a (virtual) waist far downstream toward the x-ray target. Using a planned CEBAF beamline as an example, this paper shows that a factor of 2000 in beam current can be overcome to produce a monochromatic hard x-ray source comparable with, or even exceeding, the performance of an x-ray line at a third generation storage ring. Optimal electron beam focusing conditions for x-ray flux density and brilliance are derived, and are verified by simulations using the SRW code.

43 PARTICLE ACCELERATORS↗

Review of multi-dimensional large-scale kinetic simulation and physics validation of ion acceleration in relativistic laser-matter interaction

Two new experimental technologies enabled realization of Break-out afterburner (BOA) - High quality Trident laser and free-standing C nm-targets. VPIC is an powerful tool for fundamental research of relativistic laser-matter interaction. Predictions from VPIC are validated - Novel BOA and Solitary ion acceleration mechanisms. VPIC is a fully explicit Particle In Cell (PIC) code: models plasma as billions of macro-particles moving on a computational mesh. VPIC particle advance (which typically dominates computation) has been optimized extensively for many different supercomputers. Laser-driven ions lead to realization promising applications - Ion-based fast ignition; active interrogation, hadron therapy.

ACCELERATION↗

MICROX-2 cross section library based on ENDF/B-VII

New cross section libraries of a neutron transport code MICROX-2 have been generated for advanced reactor design and fuel cycle analyses. A total of 386 nuclides were processed, including 10 thermal scattering nuclides, which are available in ENDF/B-VII release 0 nuclear data. The NJOY system and MICROR code were used to process nuclear data and convert them into MICROX-2 format. The energy group structure of the new library was optimized for both the thermal and fast neutron spectrum reactors based on Contributon and Point-wise Cross Section Driven (CPXSD) method, resulting in a total of 1173 energy groups. A series of lattice cell level benchmark calculations have been performed against both experimental measurements and Monte Carlo calculations for the effective/infinite multiplication factor and reaction rate ratios. The results of MICROX-2 calculation with the new library were consistent with those of 15 reference cases. The average errors of the infinite multiplication factor and reaction rate ratio were 0.31% {delta}k and 1.9%, respectively. The maximum error of reaction rate ratio was 8% for {sup 238}U-to-{sup 235}U fission of ZEBRA lattice against the reference calculation done by MCNP5. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Secondary neutron yields from thick-target GCR accelerator experiments - 25434

This work overviews recent experiments conducted at the NASA Space Radiation Laboratory which sought to experimentally verify model predictions of an optimal spacecraft shielding thickness and provide data which can be used to quantify uncertainties in the physics models within the standard particle transport codes which presently, in some places, poorly predict data and whose results can vary significantly from code to code. Now that the multi-year experiment campaign is complete, some of the overarching trends in the data can be studied; though this work only provides a cursory look at these overarching trends. A small set of the neutron yields measured in these experiments are showcased here. The experiment employed two thick targets along a beamline to emulate the walls of a spacecraft being bombarded by galactic cosmic rays. Time-of-flight techniques were used to characterize neutrons produced in the upstream target while a novel pulse height deconvolution methodology was developed and implemented to characterize neutrons produced in the downstream target. (authors)

43 PARTICLE ACCELERATORS↗

High- and Mid-Fidelity Modeling Comparison for a Floating Marine Turbine System: Preprint

There is a lack of suitable numerical tools, particularly open-source tools, that can be used for designing and optimizing marine turbine systems. The National Renewable Energy Laboratory (NREL) has added features to their widely used mid-fidelity wind turbine modeling code, OpenFAST, to enable modeling of axial flow marine turbines. This necessitated the addition of several physical effects relevant to marine turbines that can be neglected for wind turbines. These include buoyant loads, added mass and inertia loads, wave-current superposition, and changes to the coordinate systems. This updated version of OpenFAST allows for the modeling of both fixed and floating marine turbine systems at a speed comparable to real time. While efficient for long simulations, large sets of load cases, and design studies, mid-fidelity codes cannot capture all of the potentially important physical phenomenon impacting marine turbine systems. High-fidelity computational fluid dynamics (CFD) simulations can capture more flow effects with fewer assumptions and provide detailed body pressure mapping and flow-field information. It is important to compare predictions between mid-fidelity and high-fidelity codes, both to verify the models and to understand the limitations. A floating marine turbine system designed by NREL was modeled both with OpenFAST and with the commercial CFD code, STARCCM+. The CFD model used a 3-D unsteady Reynolds-averaged Navier-Stokes solver for a volume-of-fluid numerical wave and current tank. The blade-resolved simulations used the sliding-interface technique for the spinning rotor and an overset grid to accommodate the rigid-body motion of the floating system. The mooring system was modelled with a custom coupling of the CFD solver with the open-source code, MoorDyn. This improves upon the existing quasi-static catenary solver in STARCCM+, which lacks seabed contact or line-to-line connections. Spatial and temporal convergence studies were conducted. The simulation results for a combined current and wave condition are compared between OpenFAST and CFD, highlighting the capabilities of the mid-fidelity code and identifying the areas where a high-fidelity approach is needed.

CFD↗

Event reconstruction for line source releases

The goal of source inversion, also called event reconstruction, is the calculation of source parameters from information obtained by network of concentration (or dosage) and meteorological sensors. Source parameters include source location and strength, but in certain cases there could be more than one source so the inversion procedure could deal with determination of number of sources, as well. In a case of limited time period pollutant emission events, as for example during accidents or intentional releases, it is of great use to estimate starting and ending times of the event. This kind of research is very useful for estimating the source parameters of industrial pollutants since it provides important information for regulation purposes. Also it provides information to fast responders in a case of accidental pollutant releases or for homeland security needs when chemical, biological or radiological agent is deliberately released. Development of faster and more accurate algorithms is very important since it could help reduce the populace's exposure to dangerous airborne contaminants, plan evacuation routes, and help assess the magnitude of clean up. During the last decade, the large number of research papers in area of source inversion was published where many different approaches were used. Most of the source inversion work publish to date apply to point source releases. The forward dispersion models used range from fast Gaussian plume and puff codes that enable almost instantaneous calculations of concentrations and dosages to Computational Fluid Dynamics (CFD) codes that provide more detailed and precise calculation but at the same time are expensive with respect to time and computer resources. The optimization methods were often used and examples are simulated annealing and genetic algorithms.

45 MILITARY TECHNOLOGY, WEAPONRY, AND NATIONAL DEF↗

Automated Hybrid Variance Reduction on Advanced Architectures in the Shift Monte Carlo Code

Monte Carlo transport methods are the most accurate schemes for solving problems with complex energy and spatial features, but they come with a high computational cost. Although hybrid methods have enabled the use of Monte Carlo transport for a large class of problems, they still require significant computing resources. Modern multicore CPUs with large numbers of compute cores and graphical processing units (GPUs) provide opportunities to optimize the memory and run-time costs of hybrid Monte Carlo methods. This paper documents the development and analysis of three Monte Carlo transport algorithms that support hybrid transport using the consistent adjoint-driven importance sampling (CADIS) and forward-weighted CADIS methods in the Shift Monte Carlo code: history-based transport using static and dynamic threading on multicore CPUs and event-based transport enabling weight window tracking on GPUs. The results are shown for two challenging hybrid problems on the Frontier supercomputer at the Oak Ridge Leadership Computing Facility. The results show that all three methods yield good performance and enable solutions of difficult fixed-source transport problems in less than 2 min on 20 nodes of Frontier. Dynamic threading was observed to give up to 20% better scaling behavior than static threading. Moreover, the AMD Instinct 250X GPU was found to give 9 to 11 times greater throughput per graphics compute die than the best CPU performance. In conclusion, additional opportunities for optimization of hybrid transport on GPUs are discussed.

Denovo↗

Simulation of Intense Beams and Targets for Heavy-Ion-Fusion Science (HEDLP / Inertial Fusion Energy)

Our principal goals, and activities in support of those goals, over the next five years are as follows: (1) Optimize the properties of the NDCX-II beam for each class of target experiments; achieve quantitative agreement with measurements; develop improved machine configurations and operating points. To accomplish these goals, we plan to use Warp to simulate NDCX-II from source to target, in full kinetic detail, including first-principles modeling of beam neutralization by plasma. The output from an ensemble of Warp runs (representing shot-to-shot variations) will be used as input to target simulations using ALE-AMR on NERSC, and other codes. (2) Develop enhanced versions of NDCX-II (the machine is designed to be extensible and reconfigurable), and carry out studies to define a next-step ion beam facility. To accomplish these goals, much of the work will involve iterative optimization employing Warp runs that assume ideal beam neutralization downstream of the accelerator. (3) Carry out detailed target simulations in the Warm Dense Matter regime using the ALE-AMR code, including surface tension effects, liquid-vapor coexistence, and accurate models of both the driving beam and the target geometry. For this we will need to make multiple runs (to capture shot-to-shot variations), and to both develop and employ synthetic diagnostics (to enable comparison with experiments). The new science that will be revealed is the physics of the transition from the liquid to vapor state of a volumetrically superheated material, wherein droplets are formed, and wherein phase transitions, surface tension and hydrodynamics all play significant roles in the dynamics. These simulations will enable calculations of equation of state and other material properties, and will also be of interest for their illumination of the science of droplet formation.

43 PARTICLE ACCELERATORS↗

Phantom study to evaluate contrast-medium-enhanced digital subtraction mammography with a full-field indirect-detection system

This phantom study simulates contrast-medium-enhanced digital subtraction mammography (CEDM) and compares subtracted image quality and total mean glandular dose for two alternative spectral combinations available in a GE Senographe DS mammography unit. The first choice takes advantage of large iodine attenuation at low photon energies and uses traditionally available spectra (anode/filter combinations Mo/Mo at 25 kV and Rh/Rh at 40 kV, ''Mo25-Rh40''). The second choice, selected from a previous analytical optimization, includes harder spectra obtained by adding external filtration to traditional beams (Rh/Rh at 34 kV and Rh/Rh+5 mm of Al at 45 kV, ''Rh34-Rh45H''). Individual images of a custom-made phantom containing tubes of various diameters filled with water- or iodine-based contrast agent were acquired with both spectral combinations. The total breast entrance air kerma, considering subtraction of two images, was limited to 8.76 mGy (1 R). The results were compared to predictions obtained through an analytical formalism that assumes noise of stochastic origin. Individual images were evaluated and subtracted under five combinations of temporal and dual-energy modalities. Signal variance analysis in individual raw images showed important contributions of nonstochastic origin, associated with the software applied to raw images, the curved geometry, and strong attenuation of the phantom cylindrical iodine-filled tubes, causing experimental SNR to vary from 2.2 to 0.8 times the predictions from low to high values of SNR. Iodine contrast in the subtracted images was found to be mainly defined by the spectra, independent of exposure, and linearly dependent on the iodine mass thickness. The highest contrast was obtained with the combined dual-energy temporal subtraction with Rh34-Rh45H, its value was 7% larger than the highest value measured with Mo25-Rh40. As expected, temporal modalities (single and dual energy, any spectral choice) led to higher contrast-over-noise ratio (CNR) than nontemporal dual-energy subtraction, the latter being negligibly small with Mo25-Rh40. CNR for 4 mg iodine/cm{sup 2} imaged temporally in a dual-energy fashion with Rh34-Rh45H (iodine imaged at high energy) is about 1.7 times the optimum for Mo25-Rh40 (iodine imaged at low energy). Iodine thicknesses needed to fulfill Rose's criterion were 0.78{+-}0.02 mg iodine/cm{sup 2} for Mo25-Rh40 and 0.54{+-}0.17 mg iodine/cm{sup 2} for Rh34-Rh45H, both lower than the proposed biological concentration of iodine in breast tumors after contrast medium administration. Although similar dose levels were obtained with both spectral choices under dual-energy (temporal and nontemporal) subtraction, the dose obtained in single-energy temporal subtraction with the Mo25 spectrum was 1.2 mGy lower than the dose from the modality offering the highest CNR. In all results considered, the spectral choice Mo25-Rh40 was found to represent an interesting alternative to the use of high-energy hardened spectra for CEDM, particularly when performing dynamic studies of the contrast-agent uptake in breast lesions.

61 RADIATION PROTECTION AND DOSIMETRY↗

An Advanced N -body Model for Interacting Multiple Stellar Systems

We construct an advanced model for interacting multiple stellar systems in which we compute all trajectories with a numerical N -body integrator, namely the Bulirsch–Stoer from the SWIFT package. We can then derive various observables: astrometric positions, radial velocities, minima timings (TTVs), eclipse durations, interferometric visibilities, closure phases, synthetic spectra, spectral energy distribution, and even complete light curves. We use a modified version of the Wilson–Devinney code for the latter, in which the instantaneous true phase and inclination of the eclipsing binary are governed by the N -body integration. If all of these types of observations are at one’s disposal, a joint χ {sup 2} metric and an optimization algorithm (a simplex or simulated annealing) allow one to search for a global minimum and construct very robust models of stellar systems. At the same time, our N -body model is free from artifacts that may arise if mutual gravitational interactions among all components are not self-consistently accounted for. Finally, we present a number of examples showing dynamical effects that can be studied with our code and we discuss how systematic errors may affect the results (and how to prevent this from happening).

79 ASTRONOMY AND ASTROPHYSICS↗

Python for Development of OpenMP and CUDA Kernels for Multidimensional Data

Design of data structures for high performance computing (HPC) is one of the principal challenges facing researchers looking to utilize heterogeneous computing machinery. Heterogeneous systems derive cost, power, and speed efficiency by being composed of the appropriate hardware for the task. Yet, each type of processor requires a specific organization of the application state in order to achieve peak performance. Discovering this and refactoring the code can be a challenging and time-consuming task for the researcher, as the data structures and the computational model must be co-designed. We present a methodology that uses Python as the environment for which to explore tradeoffs in both the data structure design as well as the code executing on the computation accelerator. Our method enables multi-dimensional arrays to be used effectively in any target environment. We have chosen to focus on OpenMP and CUDA environments, thus exploring the development of optimized kernels for the two most common classes of computing hardware available today: multi-core CPU and GPU. Python s large palette of file and network access routines, its associative indexing syntax and support for common HPC environments makes it relevant for diverse hardware ranging from laptops through computing clusters to the highest performance supercomputers. Our work enables researchers to accelerate the development of their codes on the computing hardware of their choice.

43 PARTICLE ACCELERATORS↗

Model predictive control of KSTAR equilibrium parameters enabled by TRANSP

Due to the complex behavior of tokamak plasmas and the importance of optimizing performance while avoiding instabilities and machine limits, plasma control algorithms are becoming increasingly dependent on sophisticated model-based control approaches. It is anticipated that the use of integrated modeling codes in the model-based control design process will reduce the amount of experimental time needed to implement new control algorithms by facilitating development of control-oriented models and enabling higher-fidelity closed-loop simulations. In this work, a reduced model is developed from a series of TRANSP simulations and is used to develop a model predictive control (MPC) algorithm for controlling important equilibrium parameters in KSTAR [1] discharges. The control algorithm uses the KSTAR neutral beam injection system and the target plasma current and plasma boundary as actuators, and optimizes the plasma stored energy, loop voltage, and internal inductance while avoiding constraints that could lead to disruptions. Higher fidelity testing of the control algorithm is performed using a flexible framework for enabling external processes to actively control plasma parameters in TRANSP simulations. Furthermore, closed-loop simulations demonstrate the ability of the control algorithm to respond to disturbances in density and confinement, handle actuator failures, and move the discharge to high non-inductive fraction conditions.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Optimization Algorithm for Criticality Experiment Design Using Whisper

Many criticality experiments performed to aid in nuclear data evaluation are designed to maximize the sensitivity of the system’s effective neutron multiplication factor to a certain nuclide reaction pair over an energy region of interest. This is typically done by evaluating possible designs in a transport code such as MCNP and selecting the one with the highest desired sensitivity. A designer has many tools to try to maximize this sensitivity such as different moderators, reflectors, fuels, and geometries. This balancing act of identifying a critical and maximally sensitive system become very computationally expensive as more variables are added and higher precisions are desired. In order to identify these optimal configurations more efficiently a Particle Swarm Optimization (PSO) algorithm coupled with MCNP has been developed by Los Alamos National Laboratory (LANL). This algorithm has been used to design two upcoming criticality experiments that will be performed at the National Criticality Experiments Research Center (NCERC), located at the Nevada National Security Site, and operated by LANL, the only general-purpose critical experiments laboratory in the United States. PSO uses a population (swarm) of candidate solutions (particles) on a search space of dimensions such as moderator and reflector thicknesses or enrichments and concentrations. These particles move around the search space from generation to generation according to simple rules. Eventually, the swarm converges on the configuration that is both critical and maximally sensitive to a piece of nuclear data. PSO is well suited for criticality experiments as the algorithm is agnostic to the underlying physics, meaning it is effective on many different experimental setups. This algorithm has been modified to maximize the nuclear data similarity coefficient between an application case and an experiment aimed at replicating the application case using WHISPER, a nuclear criticality safety analysis tool. This allows for the efficient design of critical experiments informed by nuclear data sensitives.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Spanning the Core Design Space with Binary Perturbations - A Mathematical Investigation

A reactor core design engineer, even one with many years of experience or one using advanced fuel pattern optimization software, will likely fine tune the pattern before finalizing the design. Fine tuning can further minimize local enthalpy peaks, optimize reactivity to extend burnup, and add additional margin to limits on reactivity coefficients or heat flux. For reactors that have reached an equilibrium fuel cycle, the number of feeds each cycle is typically the similar to previous cycles as is their placement in the core. It is then the engineer's responsibly to efficiently select the placement of burned assemblies to ensure optimal fuel utilization, satisfy safety limits, and meet cycle energy requirements. One of the engineer's most commonly used tools in this fine tuning investigation is to swap the positions of two assemblies, most likely two previously irradiated ('burned') assemblies since their reactivity is lower than fresh fuel. Such an operation is referred to in this work as a binary perturbation or a 'swap'. If quarter core symmetry is maintained, the perturbation translates to the other three quadrants. Likewise if eighth core symmetry is maintained, the perturbation translates to other seven octants. The question is then, how much of the core design space can binary perturbations possibly span? This work seeks to quantitatively define the space spanned by m number of binary perturbations as a function of variable size through combinatorial principles and computer simulation. The results of this study are useful in understanding the in-core fuel management problem faced by both professionals who employ hand manipulations and those who attempt stochastic solutions of the problem.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗