Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “source code”

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 757 records · Page 42

Advanced capabilities for materials modelling with Quantum ESPRESSO

Quantum ESPRESSO is an integrated suite of open-source computer codes for quantum simulations of materials using state-of-the-art electronic-structure techniques, based on density-functional theory, density-functional perturbation theory, and many-body perturbation theory, within the plane-wave pseudopotential and projector-augmented-wave approaches. Quantum ESPRESSO owes its popularity to the wide variety of properties and processes it allows to simulate, to its performance on an increasingly broad array of hardware architectures, and to a community of researchers that rely on its capabilities as a core open-source development platform to implement their ideas. In this paper we describe recent extensions and improvements, covering new methodologies and property calculators, improved parallelization, code modularization, and extended interoperability both within the distribution and with external software.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗

Modeling Z-Pinches with the FLASH code

Z-Pinches occur when large amounts of current are run axially through a cylindrical conducting material, and the magnetic pressure causes said material to implode radially to its z-axis. They are useful concepts in a large range of physics and fields like fusion. Simulating these experiments are important to not only national laboratories but also in the private sector as well. FLASH is an open source MHD code that is a useful option for modeling these experiments. However, the physics needed to be verified against an actual theory. Using a paper written by S.A Slutz, Z-Pinch experiments were run with FLASH based on the parameters described in the paper, and then results were validated against the theory presented. This verified that FLASH, although has some discrepancies in the theory due to a difference in physics calculations, remains a powerful tool for modeling Z-Pinch experiments not only on the scale of the Z-Machine from Sandia National Laboratory, but also at the scale of the proposed Next Generation Pulsed Power (NGPP) machine.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

The Homogeneous Cooling State as a Verification Test for Kinetic Theory-Based Continuum Models of Gas–Solid Flows

Granular and multiphase (gas–solids) kinetic theory-based models have emerged a leading modeling strategy for the simulation of particle flows. Similar to the Navier–Stokes equations of single-phase flow, although substantially more complex, kinetic theory-based continuum models are typically solved with computational fluid dynamic (CFD) codes. Under the assumptions of the so-called homogeneous cooling state (HCS), the governing equations simplify to an analytical solution describing the “cooling” of fluctuating particle velocity, or granular temperature. The HCS is used here to verify the implementation of a recent multiphase kinetic theory-based model in the open source mfix code. In this work, results from the partial verification test show that the available implicit (backward) Euler time integration scheme converges to the analytical solution with the expected first-order rate. A second-order accurate backward differentiation formula (BDF) is also implemented and observed to converge at a rate consistent with its formal accuracy.

Computational fluid dynamics↗

A code-independent generalized actuator line model for wind farm aerodynamics over simple and complex terrain

Actuator line model representations of wind turbines reduce the simulation cost of wind farm aerodynamics relative to blade geometry resolving simulations. However, most implementations are code specific and may not have proper load balancing when run in parallel. Here, a generalized actuator line model (GALM) is developed to overcome this implementation drawback of existing approaches. The GALM can be coupled to any existing microscale solver with minimal or no modifications. The coupling of our GALM model with the open-source microscale code CgWind is used to demonstrate both its ease of use and fidelity. The results obtained from the coupled-model simulations are validated for both isolated turbine in wind tunnel experiments and measurements in offshore wind farm. Finally, an operational wind farm over complex terrain is demonstrated. The simulations show that wake meandering and power production are strongly influenced by terrain impacts. Access information for obtaining the code is provided.

17 WIND ENERGY↗

Underwater Mapping Results for Seabotix vLBV300 Vehicle with Tritech Gemini 720i Imaging Sonar near Newport, OR

This document presents results from tests to demonstrate underwater mapping capabilities of an underwater vehicle in conditions typically found in marine renewable energy arrays. These tests were performed with a tethered Seabotix vLBV300 underwater vehicle. The vehicle is equipped with an inertial navigation system (INS) based on a Gladiator Landmark 40 IMU and Teledyne Explorer Doppler Velocity Log, as well as a Gemini 720i scanning sonar acquired from Tritech. The results presented include both indoor pool and offshore deployments. The indoor pool deployments were performed on October 7, 2016 and February 3, 2017 in Corvallis, OR. The offshore deployment was performed on April 20, 2016 off the coast of Newport, OR (44.678 degrees N, 124.109 degrees W). During the mission period, the sea state varied between 3 and 4, with an average significant wave height of 1.6 m. Data was recorded from both the INS and the sonar.

16 TIDAL AND WAVE POWER↗

Virtual Flow Solver - Geophysics: A 3D Incompressible Navier-Stokes Solver

Virtual Flow Solver - Geophysics (VFS-Geophysics) is a three-dimensional (3D) incompressible Navier-Stokes solver based on the Curvilinear Immersed Boundary (CURVIB) method. The CURVIB is a sharp interface type of immersed boundary (IB) method that enables the simulation of fluid flows in the presence of geometrically complex moving bodies. The CURVIB method can be applied to wind/MHK turbine simulations and energy applications. VFS-Geophysics is the result of many years of research work by several graduate students, post-docs, and research associates that have been involved in the Computational Hydrodynamics and Biofluids Laboratory directed by Professor Fotis Sotiropoulos. The preparation of the present manual has been supported by the U.S. Department of Energy (DE-EE 0005482).

16 TIDAL AND WAVE POWER↗

A Comparison of GPU-Accelerated Multiphase CFD Solvers on the Polaris Supercomputer: Part 1

This report is in support of the Innovative and Novel Computational Impact on Theory and Experiment (INCITE) program sponsored by the U.S. Department of Energy (USDOE). With INCITE-level resources, one project, titled BubblyFlow, was granted computational resources for the 2025 calendar year on the Polaris supercomputer at the Argonne Leadership Computing Facility (ALCF). The project aims to conduct simulations to understand the fundamental characteristics of turbulent bubbly flow phenomena in nature. Staff at the ALCF and Argonne’s Computational Science division, along with collaborators at the City College of New York and University of Illinois at Chicago, helped a summer student to assess the accuracy and performance of two high performance computing (HPC) codes. Both codes, ImExLBM and FluTAS, are fundamentally different in their mathematical and numerical modeling. However, both may be used to solve the same physical problem. The collaboration sought to better understand the differences between both codes in terms of accuracy and efficiency. This would ultimately help the BubblyFlow project better utilize resources and establish a knowledge-base of code capabilities in future simulation campaigns. We compare ImExLBM and FluTAS, two high-performance multiphase computational fluid dynamics (CFD) solvers, in terms of physical fidelity, time-to-solution, and parallel efficiency. We validate ImExLBM (Implicit-Explicit Lattice Boltzmann Method) against a canonical benchmark and assess it’s performance relative to FluTAS (Fluid Transport Accelerated Solver), a well-established open-source CFD code.

97 MATHEMATICS AND COMPUTING↗

Hybrid-VPIC: An open-source kinetic/fluid hybrid particle-in-cell code

Hybrid-VPIC is an extension of the open-source high-performance particle-in-cell (PIC) code VPIC incorporating hybrid kinetic ion/fluid electron solvers. This paper describes the models that are available in the code and gives an overview of applications of the code to space and laboratory plasma physics problems. Particular choices in how the hybrid solvers were implemented are documented for reference by users. A few solutions for handling numerical complications particular to hybrid codes are also described. Finally, special emphasis is given to the computationally taxing problem of modeling mix in collisional high-energy-density regimes, for which more accurate electron fluid transport coefficients have been implemented for the first time in a hybrid PIC code.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Development and Validation of Physics-Based Sub-Models of High-Pressure Supercritical Fuel Injection at Diesel Conditions Insert

The project sought to develop and validate accurate, physics-based, numerical submodels and implement them in computational fluid dynamics (CFD) software codes to enable accurate predictions of diesel sprays at pressures higher than the current systems. The combined experimental-computational effort has four main objectives: (1) acquire spatially and temporally resolved scalar measurements of fuel-oxidizer mixing in the near field of the fuel jet, (2) develop software modules to calculate thermo-physical properties of diesel surrogates and their mixtures with oxidizer of interest in real-gas operating regime, (3) integrate the real-fluid model into a commercial and an open-source CFD code to simulate fuel-air mixing in high-pressure diesel sprays, and (4) assess the robustness, accuracy, and uncertainty of the integrated CFD solvers in computing diesel sprays. Project accomplishments are consistent with the original goals of the project. Although we acquired spatially and temporally resolved scalar measurements, they were limited to refractive index difference and not to thermodynamic properties such as temperature and equivalence ratio. However, we successfully developed the theoretical background needed to acquire such measurements at diesel conditions and demonstrated the capability of the RSD for scalar measurements in a canonical turbulent jet flow replicating features of the diesel jet. Additional work will be needed to implement these procedures at high-pressure, high-temperature engine-like conditions of the CPFR. Mainly, we did not anticipate the need to find the liquid boundary and its statistical features or the state relationships between refractive index and thermodynamic properties, assuming the widely known Dale-Gladstone equation would suffice. Still, efforts devoted to these tasks were essential to fulfil the goals of the project and serves as the foundation on which many of the conclusions and key contributions of this project are based. Further assessment and application of the developed CFD codes is recommended to fully realize the benefits of this research.

33 ADVANCED PROPULSION SYSTEMS↗

A Procedure for Evaluating Modified Pulsed-Neutron- Source Experiments in Subcritical Nuclear Reactors

A theoretical interpretation of the modified pulsed-neutron-source experiments of Sjöstrand, Gozani, and Garelis and Russell is given using exact steady-state Boltzmann equations. Here, interpretation is based on a phenomenological description of the experiments and is patterned after work done on the Garelis-Russell method by Corngold. The basic approximation made is that the fundamental prompt-mode decay constant is much larger than any delayed-neutron precursor decay constant. The theoretical interpretation allows the reactivities measured by the above three modified pulsed-source techniques to be easily calculated and compared to more conventional definitions of reactivity. The calculations can be performed by any standard source-iteration code that has been modified to solve the inhomogeneous problem. Experiments were performed on the Cornell University Critical Assembly and interpreted with the aid of the above theory. Calculations and experiments agree to within 20%. Sjöstrand's method is found to give the best result for this reactor.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

KiteFAST

KiteFAST is a simulator for airborne wind energy systems based on NREL's OpenFAST whole turbine simulator. KiteFAST is a multi-physics engineering tool for modeling the coupled aero-servo-elastic dynamics of airborne wind energy systems i.e. a wind-energy kite. The engineering model is like NREL's OpenFAST tool for land-based or offshore horizontal-axis wind turbines atop towers, in that KiteFAST models the important physical phenomena and system couplings, including the wind/aerodynamic excitation and full-system dynamics response (fuselage, wings, tail, stabilizers, pylons, nacelles, rotors, tether, ground station, control surfaces, and controller) under both normal (for fatigue) and extreme (for ultimate) loading conditions. The configuration of the wind-energy kite is assumed to have one fuselage; two wings (starboard, port) attached to the fuselage; one vertical stabilizer attached the fuselage; two horizontal stabilizers (starboard, port) attached to the vertical stabilizer; one or more pylons per wing, each with two rotors (top, bottom); one ground-station-fixed tether with a bridal connection to the wings, and nominal circular motion of the energy kite in the port (left) direction. The general configuration of the control surfaces assumes one or more flaps per wing, two rudders on the vertical stabilizer, two elevators per horizontal stabilizer, and rotors with variable speed and rotor-collective blade pitch. KiteFAST was developed from (1) the existing MBDyn open-source multi-body dynamics code; (2) the existing/modified OpenFAST modules NWTC Subroutine Library, AirfoilInfo, InflowWind, MoorDyn, and TurbSim; and (3) new source code for a) generating MBDyn models of the energy kite (KiteMBDyn Preprocessor), b) computing quasi-steady energy-kite aerodynamics (KiteAeroDyn, KiteAeroDyn Driver, KiteVSM, ActuatorDisk), c) interfacing an energy-kite controller, and d) coupling the various KiteFAST modules together (KiteFASTMBD).

Jonkman, Jason↗

A Data Analysis Framework for Earth System Simulation within an In-Situ Infrastructure

This paper presents a generic procedure to implement a scalable and high performance data analysis framework for large-scale scientific simulation within an in-situ infrastructure. It demonstrates a unique capability for global Earth system simulations using advanced computing technologies (i.e ., automated code analysis and instrumentation), in-situ infrastructure (i.e ., ADIOS) and big data analysis engines (i.e ., SciKit-learn). This paper also includes a useful case that analyzes a globe Earth System simulations with the integration of scalable in-situ infrastructure and advanced data processing package. Finally, the in-situ data analysis framework can provides new insights on scientific discoveries in multiscale modeling paradigms.

97 MATHEMATICS AND COMPUTING↗

SALT3: An Improved Type Ia Supernova Model for Measuring Cosmic Distances

Abstract A spectral-energy distribution (SED) model for Type Ia supernovae (SNe Ia) is a critical tool for measuring precise and accurate distances across a large redshift range and constraining cosmological parameters. We present an improved model framework, SALT3, which has several advantages over current models—including the leading SALT2 model (SALT2.4). While SALT3 has a similar philosophy, it differs from SALT2 by having improved estimation of uncertainties, better separation of color and light-curve stretch, and a publicly available training code. We present the application of our training method on a cross-calibrated compilation of 1083 SNe with 1207 spectra. Our compilation is 2.5× larger than the SALT2 training sample and has greatly reduced calibration uncertainties. The resulting trained SALT3.K21 model has an extended wavelength range 2000–11,000 Å (1800 Å redder) and reduced uncertainties compared to SALT2, enabling accurate use of low- z I and iz photometric bands. Including these previously discarded bands, SALT3.K21 reduces the Hubble scatter of the low- z Foundation and CfA3 samples by 15% and 10%, respectively. To check for potential systematic uncertainties, we compare distances of low (0.01 < z < 0.2) and high (0.4 < z < 0.6) redshift SNe in the training compilation, finding an insignificant 3 ± 14 mmag shift between SALT2.4 and SALT3.K21. While the SALT3.K21 model was trained on optical data, our method can be used to build a model for rest-frame NIR samples from the Roman Space Telescope. Our open-source training code, public training data, model, and documentation are available at https://saltshaker.readthedocs.io/en/latest/ , and the model is integrated into the sncosmo and SNANA software packages.

79 ASTRONOMY AND ASTROPHYSICS↗

Evaluating wind speed and power forecasts for wind energy applications using an open-source and systematic validation framework

Building on the verification and validation work developed under the Second Wind Forecast Improvement Project, this work exhibits the value of a consistent procedure to evaluate wind power forecasts. We established an open-source Python code base tailored for wind speed and wind power forecast validation, WE-Validate. The code base can evaluate model forecasts with observations in a coherent manner. To demonstrate the systematic validation framework of WE-Validate, we designed and hosted a forecast evaluation benchmark exercise. We invited forecast providers in industry and academia to participate and submit forecasts for two case studies. We then evaluated the submissions with WE-Validate. Our findings suggest that ensemble means have reasonable skills in time series forecasting, whereas they are often inferior to single ensemble members in wind ramp forecasting. Adopting a voting scheme in ramp forecasting that allows ensemble members to detect ramps independently leads to satisfactory skill scores. Throughout this document, we also emphasize the importance of using statistically robust and resistant metrics as well as equitable skill scores in forecast evaluation.

17 WIND ENERGY↗

Development of the MCNP-ORIGEN activation automation tool

This paper introduces the MCNP-ORIGEN activation automation tool for streamlining the calculation of experiment source terms. This tool couples the Monte-Carlo radiation-transport solver, MCNP to the depletion tool, ORIGEN-S. To showcase its current capabilities, this paper presents an activation analysis exercise, which is conducted with Serpent, and the results are com- pared. The experiment consists in a 90%-enriched uranium sphere surrounded by light water. A non-fissile cylinder is placed in the water, representing an irradiation experiment. We conducted simulations for 2 different cylinder materials: iron and cobalt at two different temperatures: 300 K and 900 K. The exercise consists of an irradiation of 50 days at a constant power of 5 MW, followed by a decay of 50 days. These studies highlight the discrepancies between how the different tools handle nuclear data. Finally, the results underscore multiple areas of possible improvement.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

The Particle Accelerator Simulation Code PyORBIT

The particle accelerator simulation code PyORBIT is presented. The structure, implementation, history, parallel and simulation capabilities, and future development of the code are discussed. The PyORBIT code is a new implementation and extension of algorithms of the original ORBIT code that was developed for the Spallation Neutron Source accelerator at the Oak Ridge National Laboratory. The PyORBIT code has a two level structure. The upper level uses the Python programming language to control the flow of intensive calculations performed by the lower level code implemented in the C++ language. The parallel capabilities are based on MPI communications. The PyORBIT is an open source code accessible to the public through the Google Open Source Projects Hosting service.

Accelerator Simulation↗

An independent analysis of bias sources and variability in wind plant pre-construction energy yield estimation methods

The wind resource assessment community has long had the goal of reducing the bias between wind plant pre-construction energy yield assessment (EYA) and the observed annual energy production (AEP). This comparison is typically made between the 50% probability of exceedance (P50) value of the EYA and the long-term corrected operational AEP (hereafter OA P50), and is known as the P50 bias. The industry has critically lacked an independent analysis of bias reduction investigated across multiple consultants to identify the greatest sources of uncertainty and variance in the EYA process and the best opportunities for uncertainty reduction. The present study addresses this gap by benchmarking consultant methodologies against each other and against operational data at a scale not seen before in industry collaborations. We consider data from 10 wind plants and evaluate discrepancies between eight consultancies in the steps taken from estimates of gross to net energy. Consultants tend to overestimate the gross energy produced at the turbines and then compensate by further overestimating downstream losses, leading to a mean P50 bias near zero, still with significant variability among the individual wind plants. Within our data sample, we find that consultant estimates of all loss categories, except environmental losses, tend to reduce the project-to-project variability of the P50 bias. The disagreement between consultants, however, remains flat throughout the addition of losses. Finally, we find that differences in consultants’ estimates of project performance can lead to differences up to $10/MWh in the levelized cost of energy for a wind plant.

Todd, Austin C.↗