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 829 records · Page 46

Wrapper for the optimization of cross-section generation in OpenMC

The "Wrapper for the optimization of cross-section generation in OpenMC" is Python-based software that runs the open-source Monte Carlo code OpenMC (https://docs.openmc.org/en/stable/ ) to generate cross-sections for any reactor geometry. The wrapper then optimizes those cross sections. The optimization aims to choose an energy group structure and a scattering representation that maximize accuracy with respect to continuous-energy results while avoiding significant computational expense. It then outputs these cross-sections in an ISOXML format readable by the Idaho National Lab code suite MOOSE (Olin William Calvin, Mark D DeHart, “Architecture for the Performance of Nuclear Fuel Depletion Calculations”, Idaho National Laboratory report, November 2019). The expected use-cases of this software include: -finding the best group structure and scattering representation for a specific reactor -testing the appropriateness of energy group structures for different reactor types -comparing energy group structures and scattering representations to each other -generating cross sections for use in deterministic codes, including ones found in the MOOSE suite The example reactor geometry included in this release is a generic reactor design, not based on any reactor in existence or in development. It was fabricated for the sole purpose of being a “testbed-geometry” upon which to develop this tool. Since the tool is designed to be generic, the nature of the test geometry is not very important, however, it is valuable to include as an example for users who are unfamiliar with developing reactor geometries for OpenMC.

Kreher, Miriam↗

Fundamental Path Optimization Strategies for Extrusion-based Additive Manufacturing

Extrusion-based additive manufacturing processes begin with a software program, called a slicer, that generates layer geometry and fits toolpaths to each layer to define where material is to be extruded or deposited. Before the toolpaths are output as g-code for the additive manufacturing system to execute, the toolpaths should be optimized. Many complex optimization approaches using graph theory, Chinese postman problem, and other complex mathematical models exist, but these approaches are rarely used in daily printing operations and are not available through common slicing programs such as Cura and PrusaSlicer. Instead, path planning and optimization typically revolves around simpler, fully automated approaches such as inside out and next closest. This paper will explore the fundamental optimization strategies for toolpath planning and document a new implementation, available via open-source slicing software, that allows for greater control of the path planning process.

Roschli, Alex [ORNL] (ORCID:0000000213084632)↗

GlobiPack v. 1.0

GlobiPack contains a small collection of optimization globalization algorithms. These algorithms are used by optimization and various nonlinear equation solver algorithms.Used as the line-search procedure with Newton and Quasi-Newton optimization and nonlinear equation solver methods. These are standard published 1-D line search algorithms such as are described in the book Nocedal and Wright Numerical Optimization: 2nd edition, 2006. One set of algorithms were copied and refactored from the existing open-source Trilinos package MOOCHO where the linear search code is used to globalize SQP methods. This software is generic to any mathematical optimization problem where smooth derivatives exist. There is no specific connection or mention whatsoever to any specific application, period. You cannot find more general mathematical software.

Bartlett, Roscoe↗

GlobiPack v. 1.0

GlobiPack contains a small collection of optimization globalization algorithms. These algorithms are used by optimization and various nonlinear equation solver algorithms.Used as the line-search procedure with Newton and Quasi-Newton optimization and nonlinear equation solver methods. These are standard published 1-D line search algorithms such as are described in the book Nocedal and Wright Numerical Optimization: 2nd edition, 2006. One set of algorithms were copied and refactored from the existing open-source Trilinos package MOOCHO where the linear search code is used to globalize SQP methods. This software is generic to any mathematical optimization problem where smooth derivatives exist. There is no specific connection or mention whatsoever to any specific application, period. You cannot find more general mathematical software.

Bartlett, Roscoe↗

The strip method for shape derivatives

Abstract A major challenge in shape optimization is the coupling of finite element method (FEM) codes in a way that facilitates efficient computation of shape derivatives. This is particularly difficult with multiphysics problems involving legacy codes, where the costs of implementing and maintaining shape derivative capabilities are prohibitive. The volume and boundary methods are two approaches to computing shape derivatives. Each has a major drawback: the boundary method is less accurate, while the volume method is more invasive to the FEM code. We introduce the strip method , which computes shape derivatives on a strip adjacent to the boundary. The strip method makes code coupling simple. Like the boundary method, it queries the state and adjoint solutions at quadrature nodes, but requires no knowledge of the FEM code implementations. At the same time, it exhibits the higher accuracy of the volume method. As an added benefit, its computational complexity is comparable to that of the boundary method, that is, it is faster than the volume method. We illustrate the benefits of the strip method with numerical examples.

Hardesty, Sean↗

Coupled Lattice Boltzmann Modeling Framework for Pore-Scale Fluid Flow and Reactive Transport

In this paper, we propose a modeling framework for pore-scale fluid flow and reactive transport based on a coupled lattice Boltzmann model (LBM). We develop a modeling interface to integrate the LBM modeling code parallel lattice Boltzmann solver and the PHREEQC reaction solver using multiple flow and reaction cell mapping schemes. The major advantage of the proposed workflow is the high modeling flexibility obtained by coupling the geochemical model with the LBM fluid flow model. Consequently, the model is capable of executing one or more complex reactions within desired cells while preserving the high data communication efficiency between the two codes. Meanwhile, the developed mapping mechanism enables the flow, diffusion, and reactions in complex pore-scale geometries. We validate the coupled code in a series of benchmark numerical experiments, including 2D single-phase Poiseuille flow and diffusion, 2D reactive transport with calcite dissolution, as well as surface complexation reactions. The simulation results show good agreement with analytical solutions, experimental data, and multiple other simulation codes. In addition, we design an AI-based optimization workflow and implement it on the surface complexation model to enable increased capacity of the coupled modeling framework. Compared to the manual tuning results proposed in the literature, our workflow demonstrates fast and reliable model optimization results without incorporating pre-existing domain knowledge.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

A DEMO relevant fast wave current drive high harmonic antenna exploiting the high impedance technique

Ion Cyclotron (IC) antennas are routinely adopted in most of the existing nuclear fusion experiments, even though their main goal, i.e. to couple high power to the plasma (MW), is often limited by rather severe drawbacks due to high fields on the antenna itself and on the unmatched part of the feeding lines. In addition to the well exploited auxiliary ion heating during the start-up phase, some non-ohmic current drive (CD) at the IC range of frequencies may be explored in view of the DEMO reactor. In this work, we suggest and describe a compact high frequency DEMO relevant antenna, based on the high impedance surfaces concept. High-impedance surfaces are periodic metallic structures (patches) usually displaced on top of a dielectric substrate and grounded by means of vertical posts embedded inside the dielectric, in a mushroom-like shape. These structures present a high impedance, within a given frequency band, such that the image currents are in-phase with the currents of the antenna itself, thus determining a significant efficiency increase. After a general introduction on the properties of high impedance surfaces, we analyze, by means of numerical codes, a dielectric based and a full metal solution optimized to be tested and benchmarked on the FTU experiment fed with generators at 433MHz.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Fundamental cosmology from ANDES precision spectroscopy

ABSTRACT Fundamental cosmology observations, such as the detection of the redshift drift and tests of the universality of physical laws, are key science and design drivers of the ArmazoNes high Dispersion Echelle Spectrograph (ANDES), an Extremely Large Telescope instrument. While separate forecasts for each of them have been reported, we have developed Fisher matrix based forecast tools combining both of these observables. We demonstrate the synergies between the two ANDES data sets, quantifying the improvements in cosmology and fundamental physics parameter constraints for two separate theoretical paradigms. We publicly release this forecast code, which is one of the tools for the optimization of the ANDES observing strategy.

Marques, C. M. J.↗

G4beamline

G4beamline is a single-particle-tracking simulation code based on the Geant4 toolkit. It is specifically optimized for the realistic evaluation of beam lines. It is especially useful for evaluating future muon facilities.

Source record↗

PDC VOL Connector (PDCVOL) v0.1

PDCVOL is an extension software originated from the Proactive Data Containers (PDC) software (LBNL Track Code 2017-098), it is an HDF5 VOL connector that allows HDF5 applications to store and access data with the PDC system without the need to modify their code. The application can take advantage of the PDC optimization features and achieve better I/O performance.

Byna, Suren↗

hiposa v0.1.0

Fast construction of hierarchical N-dimensional experimental design. The software allows construction of sampling strategies that are self-avoiding, tunable in resolution in N dimensions. This code is a drop-in replacement for seeding optimization runs often performed using uniform random sampling. The hierarchical approach allows for a rapid, top down method for construction the most effective design that drives towards a global optimum.

Zwart, PetrusH [Lawrence Berkeley National Laborat↗

Laser Intertial Fusion Energy: Neutronic Design Aspects of a Hybrid Fusion-Fission Nuclear Energy System

This study investigates the neutronics design aspects of a hybrid fusion-fission energy system called the Laser Fusion-Fission Hybrid (LFFH). A LFFH combines current Laser Inertial Confinement fusion technology with that of advanced fission reactor technology to produce a system that eliminates many of the negative aspects of pure fusion or pure fission systems. When examining the LFFH energy mission, a significant portion of the United States and world energy production could be supplied by LFFH plants. The LFFH engine described utilizes a central fusion chamber surrounded by multiple layers of multiplying and moderating media. These layers, or blankets, include coolant plenums, a beryllium (Be) multiplier layer, a fertile fission blanket and a graphite-pebble reflector. Each layer is separated by perforated oxide dispersion strengthened (ODS) ferritic steel walls. The central fusion chamber is surrounded by an ODS ferritic steel first wall. The first wall is coated with 250-500 μm of tungsten to mitigate x-ray damage. The first wall is cooled by Li 17 Pb 83 eutectic, chosen for its neutron multiplication and good heat transfer properties. The Li 17 Pb 83 flows in a jacket around the first wall to an extraction plenum. The main coolant injection plenum is immediately behind the Li 17 Pb 83 , separated from the Li 17 Pb 83 by a solid ODS wall. This main system coolant is the molten salt flibe (2LiF-BeF 2 ), chosen for beneficial neutronics and heat transfer properties. The use of flibe enables both fusion fuel production (tritium) and neutron moderation and multiplication for the fission blanket. A Be pebble (1 cm diameter) multiplier layer surrounds the coolant injection plenum and the coolant flows radially through perforated walls across the bed. Outside the Be layer, a fission fuel layer comprised of depleted uranium contained in Tristructural-isotropic (TRISO) fuel particles having a packing fraction of 20% in 2 cm diameter fuel pebbles. The fission blanket is cooled by the same radial flibe flow that travels through perforated ODS walls to the reflector blanket. This reflector blanket is 75 cm thick comprised of 2 cm diameter graphite pebbles cooled by flibe. The flibe extraction plenum surrounds the reflector bed. Detailed neutronics designs studies are performed to arrive at the described design. The LFFH engine thermal power is controlled using a technique of adjusting the 6 Li/ 7 Li enrichment in the primary and secondary coolants. The enrichment adjusts system thermal power in the design by increasing tritium production while reducing fission. To perform the simulations and design of the LFFH engine, a new software program named LFFH Nuclear Control (LNC) was developed in C++ to extend the functionality of existing neutron transport and depletion software programs. Neutron transport calculations are performed with MCNP5. Depletion calculations are performed using Monteburns 2.0, which utilizes ORIGEN 2.0 and MCNP5 to perform a burnup calculation. LNC supports many design parameters and is capable of performing a full 3D system simulation from initial startup to full burnup. It is able to iteratively search for coolant 6Li enrichments and resulting material compositions that meet user defined performance criteria. LNC is utilized throughout this study for time dependent simulation of the LFFH engine. Two additional methods were developed to improve the computation efficiency of LNC calculations. These methods, termed adaptive time stepping and adaptive mesh refinement were incorporated into a separate stand alone C++ library name the Adaptive Burnup Library (ABL). The ABL allows for other client codes to call and utilize its functionality. Adaptive time stepping is useful for automatically maximizing the size of the depletion time step while maintaining a desired level of accuracy. Adaptive meshing allows for analysis of fixed fuel configurations that would normally require a computationally burdensome number of depletion zones. Alternatively, Adaptive Mesh Refinement (AMR) adjusts the depletion zone size according to the variation in flux across the zone or fractional contribution to total absorption or fission. A parametric analysis on a fully mixed fuel core was performed using the LNC and ABL code suites. The resulting system parameters are found to optimize performance metrics using a 20 MT DU fuel load with a 20% TRISO packing and a 300 μm kernel radius operated with a fusion input power of 500 MW and a fission blanket gain of 4.0. LFFH potentially offers a proliferation resistant technology relative to other nuclear energy systems primarily because of no need for fuel enrichment or reprocessing. A figure of merit of the material attractiveness is examined and it is found that the fuel is effectively contaminated to an unattractive level shortly after the system is started due to fission product and minor actinide build up.

42 ENGINEERING↗

DARMA-MPI Interoperability WBS 2.3.1.04 Milestone 15 (ECP Milestone Report)

DARMA (Distributed Asynchronous Resilient Models for Applications) is a runtime library developed as part of the the Sandia ATDM (Advanced Technology Development and Mitigation) program. DARMA supports applications within 2.2.5.03 ADNN03-ASC ATDM SNL Application, which includes a number of applications featuring dynamic physics which requires load balancing and asynchronous communication for high performance. We have implemented a modern C++ programming model that can enable dynamic, asynchronous communication on top of existing data structures from a serial or MPI code. DARMA development has occurred in parallel with a verification milestone for ATDM in FY18. For FY19, DARMA will impact ATDM by enabling the performance benefits of a dynamic runtime through only incremental changes to existing verified MPI codes. The results presented here demonstrate the DARMA development process for an MPI mini-app, showing a 3-4x improvement in performance for a challenging problem relative to the parent MPI code and coming within 25 percent of the theoretically optimal performance achievable from a perfect, fine-grained load balancer for most cases.

97 MATHEMATICS AND COMPUTING↗

Measurement of CH{sub 3}D on Titan at Submillimeter Wavelengths

We present the first radio/submillimeter detection of monodeuterated methane (CH{sub 3}D) in Titan’s atmosphere, using archival data from of the Atacama Large Millimeter/submillimeter Array (ALMA). The J {sub K} = 2{sub 1}−1{sub 1} and J {sub K} = 2{sub 0}−1{sub 0} transitions at 465.235 and 465.250 GHz (∼0.644 mm) were measured at significance levels of 4.6σ and 5.7σ, respectively. These two lines were modeled using the Non-linear optimal Estimator for MultivariatE spectral analySIS (NEMESIS) radiative transfer code to determine the disk-averaged CH{sub 3}D volume mixing ratio = 6.157 × 10{sup −6} in Titan’s stratosphere (at altitudes >130 km). By comparison with the CH{sub 4} vertical abundance profile measured by Cassini–Huygens mass spectrometry, the resulting value for D/H in CH{sub 4} is (1.033 ± 0.081) × 10{sup −4}. This is consistent with previous ground-based and in situ measurements from the Cassini–Huygens mission, though slightly lower than the average of the previous values. Additional CH{sub 3}D observations at higher spatial resolution will be required to determine a value truly comparable with the Cassini–Huygens CH{sub 4} measurements, by measuring CH{sub 3}D with ALMA close to Titan’s equator. In the post-Cassini era, spatially resolved observations of CH{sub 3}D with ALMA will enable the latitudinal distribution of methane to be determined, making this an important molecule for further studies.

79 ASTRONOMY AND ASTROPHYSICS↗

G4beamline

G4beamline is a single-particle-tracking simulation code based on the Geant4 toolkit. It is specifically optimized for the realistic evaluation of beam lines. It is especially useful for evaluating future muon facilities.

Source record↗

TORCHE - Toolbox for Reactor Cross-Flow Heat Exchangers

As interest within the scientific community for the development of small modular reactors (SMRs) grows, utilizing compact and cross-flow heat exchangers present many design advantages. Cross-flow configurations of tube bundles allow water, liquid metal, or a molten salt to be contained within the tube side or shell side in an efficient spatial arrangement. The goal of this project is to provide the user with an easy-to-use set of tools for cross-flow heat exchanger design. The tools are intended to require little to no geometric set-up like meshing in a CFD code in order to enable rapid preliminary design and optimization. With this set of simple Python scripts, the user can determine the necessary quantities and correctional factors in order to assess the heat exchanger characteristics. The two characteristics used in designing novel and efficient heat exchangers incorporated into this work currently are pressure drop and heat transfer coefficients. In support of these efforts, the literature has been scoured for sources of experimental data and proposed methods for calculating pressure drop and heat transfer in cross-flow tube banks. Several empirical correlations and methodologies for calculating pressure drop and heat transfer incorporated into the Toolbox for Reactor Cross-Flow Heat Exchangers (TORCHE). TORCHE is an expansion on the cross-flow pressure drop scripts reported by Haefner et al.. Presented in this summary is a synopsis of the empirical correlations and methodologies of pressure drops and heat transfer coefficient. A validation effort of these models is also presented to provide confidence in the implementation. For this validation of TORCHE, experimental data has been gathered and extracted from graphs in the literature. Error bars were not reported in the experimental data used in this summary and therefore is not included in the analysis.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

SU-E-J-53: Dosimetric Evaluation at Volumetric Modulated Arc Therapy for Treatment of Prostate Cancer Using Single Or Double Arcs

Purpose: Evaluate and compare retrospective prostate treatment plan using Volumetric Modulated Arc Therapy (RapidArc™ - Varian) technique with single or double arcs at COI Group. Methods: Ten patients with present prostate and seminal vesicle neoplasia were replanned as a target treatment volume and a prescribed dose of 78 Gy. A baseline planning, using single arc, was developed for each case reaching for the best result on PTV, in order to minimize the dose on organs at risk (OAR). Maintaining the same optimization objectives used on baseline plan, two copies for optimizing single and double arcs, have been developed. The plans were performed with 10 MV photon beam energy on Eclipse software, version 11.0, making use of Trilogy linear accelerator with Millenium HD120 multileaf collimator. Comparisons on PTV have been performed, such as: maximum, minimum and mean dose, gradient dose, as well as the quantity of monitor units, treatment time and homogeneity and conformity index. OARs constrains dose have been evaluated, comparing both optimizations. Results: Regarding PTV coverage, the difference of the minimum, maximum and mean dose were 1.28%, 0.7% and 0.2% respectively higher for single arc. When analyzed the index of homogeneity found a difference of 0.99% higher when compared with double arcs. However homogeneity index was 0.97% lower on average by using single arc. The doses on the OARs, in both cases, were in compliance to the recommended limits RTOG 0415. With the use of single arc, the quantity of monitor units was 10,1% lower, as well as the Beam-On time, 41,78%, when comparing double arcs, respectively. Conclusion: Concerning the optimization of patients with present prostate and seminal vesicle neoplasia, the use of single arc reaches similar objectives, when compared to double arcs, in order to decrease the treatment time and the quantity of monitor units.

60 APPLIED LIFE SCIENCES↗

Computing the shape gradient of stellarator coil complexity with respect to the plasma boundary

Coil complexity is a critical consideration in stellarator design. The traditional two-step optimization approach, in which the plasma boundary is optimized for physics properties and the coils are subsequently optimized to be consistent with this boundary, can result in plasma shapes which cannot be produced with sufficiently simple coils. To address this challenge, we propose a method to incorporate considerations of coil complexity in the optimization of the plasma boundary. Coil complexity metrics are computed from the current potential solution obtained with the REGCOIL code (Landreman, Nucl. Fusion , vol. 57, 2017, 046003). While such metrics have previously been included in derivative-free fixed-boundary optimization (Drevlak et al. , Nucl. Fusion , vol. 59, 2018, 016010), we compute the local sensitivity of these metrics with respect to perturbations of the plasma boundary using the shape gradient (Landreman & Paul, Nucl. Fusion , vol. 58, 2018, 076023). We extend REGCOIL to compute derivatives of these metrics with respect to parameters describing the plasma boundary. In keeping with previous research on winding surface optimization (Paul et al. , Nucl. Fusion , vol. 58, 2018, 076015), the shape derivatives are computed with a discrete adjoint method. In contrast with the previous work, derivatives are computed with respect to the plasma surface parameters rather than the winding surface parameters. To further reduce the resolution required to compute the shape gradient, we present a more efficient representation of the plasma surface which uses a single Fourier series to describe the radial distance from a coordinate axis and a spectrally condensed poloidal angle. This representation is advantageous over the standard cylindrical representation used in the VMEC code (Hirshman & Whitson, Phys. Fluids , vol. 26, 1983, pp. 3553–3568), as it provides a uniquely defined poloidal angle, eliminating a null space in the optimization of the plasma surface. In comparison with previous spectral condensation methods (Hirshman & Breslau, Phys. Plasmas , vol. 5, 1998, p. 2664), the modified poloidal angle is obtained algebraically rather than through the solution of a nonlinear optimization problem. The resulting shape gradient highlights features of the plasma boundary that are consistent with simple coils and can be used to couple coil and fixed-boundary optimization.

Physics↗