Search NASA⌕ Search

SEARCH · Search NASA

Results for “script”

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 613 records · Page 34

An Investigation on Microstructure Evolution, Mechanical Properties, and Strain Aging of Mg-1.8Zn-0.7Si-0.4Ca Biomedical Alloy Processed by Equal Channel Angular Pressing

The influence of equal channel angular pressing (ECAP) on microstructure and mechanical behavior, as well as, strain aging during ECAP and post-ECAP of Mg-1.8Zn-0.7Si-0.4Ca biomedical alloy was examined. The alloy in solid solution heat-treated condition was processed by ECAP with route B{sub C} at 350 and 400 °C. The specimens ECAPed at 350 °C were aged at 125 and 150 °C for different times. The hardness and shear punch test results indicated that performing ECAP at 350 °C for 4 passes increases the hardness and shear strength of the alloy from 48 HV and 110 MPa to 71 HV and 188 MPa, respectively. It was revealed that the average grain size of the alloy decreases from 78 µm to about 3 µm after 4 passes of ECAP. Three precipitates of CaMgSi, Ca{sub 2}Mg{sub 6}Zn{sub 3}, and Mg{sub 2}Si were detected in the solid solution specimen. After 4 passes of ECAP at 350 °C, Ca{sub 2}Mg{sub 6}Zn{sub 3} was completely dissolved and the morphology of Mg{sub 2}Si changed from Chinese script to fiber-shaped particles. Dynamic strain aging occurred at high-temperature ECAP, and the specimens were overaged during post-ECAP aging. Small MgZn particles were detected in the overaged sample.

36 MATERIALS SCIENCE↗

A Comparative Study on Microstructure, Mechanical and Tribological Properties of A4, AE41, AS41 and AJ41 Magnesium Alloys

Microstructure, tensile and wear properties of as-cast A4 (Mg-4Al), AE41 (Mg-4Al-0.5Ce-0.5La), AS41 (Mg-4Al-1Si) and AJ41 (Mg-4Al-1Sr) alloys were investigated, and the results were compared with each other in this study. Microstructures were investigated by XRD, optical and scanning electron microscopes. Tensile tests were conducted at both room and elevated temperatures. Tribological properties were examined by pin-on-disk wear tests under different applied loads. Microstructure characterizations revealed that the volume fraction of second phases considerably increased by alloying additions of 1 wt.% Ce/La, Si and Sr. The microstructure of A4 alloy consisted of α-Mg grains and divorced β-Mg{sub 17}Al{sub 12} phases. After individual alloying additions of 1 wt.% Ce/La, Si and Sr, the secondary phases were primarily replaced by needle-shaped and massive blocky-shaped Al{sub 11}(Ce,La){sub 3} phases in AE41 alloy, Chinese-script-type Mg{sub 2}Si phases in AS41 alloy and divorced globular-like and massive blocky-shaped Al{sub 4}Sr and (Mg,Al){sub 17}Sr{sub 2} phases in AJ41 alloy. The tensile tests showed that at both room and elevated temperatures alloying additions of 1 wt.% Ce/La, Si and Sr resulted in an increase in the strength but a decrease in the ductility. Among the studied alloys, AS41 alloy exhibited the best strength. Wear test results showed that AE41 and AJ41 alloys similarly exhibited the best wear resistance owing to the presence of hard and dense intermetallics. Abrasion was the main wear mechanism under low applied loads while delamination, adhesion and oxidation mechanisms were majorly observed under high applied loads.

36 MATERIALS SCIENCE↗

CALPHAD Uncertainty Quantification and TDBX

CALPHAD uncertainty quantification (UQ) is the foundation of materials design with quantified confidence. We report a framework and software packages to enable CALPHAD UQ assessment and calculation using commercial CALPHAD software (Thermo-Calc). This Bayesian inference framework is coupled with a Markov chain Monte Carlo algorithm to establish uncertainty traces with a given thermodynamic database file (TDB) and corresponding experimental data points. This general framework is demonstrated with the Ni–Cr binary system. The algorithm is firstly validated on synthetic data with known ground truth. Then it is applied to real experimental data to generate posterior traces. We develop a file format named TDBX, which provides a single source of truth by combining the original TDB content and the traces for each assessed Gibbs energy parameter. CALPHAD UQ calculations are performed based on the TDBX file, from which uncertainties for phase boundaries, enthalpy curves, and solidification range are collected as examples of basic design parameters. This TDBX file with corresponding scripts are made open-source. Finally, the combination of CALPHAD UQ assessments and calculations connected by TDBX supports uncertainty-assisted modeling, enabling the integrated application of modern design with uncertainty methodologies to computational materials design.

36 MATERIALS SCIENCE↗

Rapid determination of supercritical CO 2 and brine relative permeability using an unsteady-state flow method

In this study, relative permeability of supercritical CO 2 (scCO 2 ) and brine was determined in reactive and non-reactive rock cores using a combination of unsteady-state methodology and computed tomography. Experiments were conducted using a medical grade CT scanner to determine saturation using a custom Python script. The saturation and differential pressure across the core were then used to derive four empirical constants to calculate relative permeability. This methodology increases temporal efficiency while reducing experimental complexity. Additionally, we show that the method can be used to determine scCO 2 relative permeability in a wide range of lithologies and flow rates, and with the ability to account for matrix dissolution during scCO 2 flooding.

54 ENVIRONMENTAL SCIENCES↗

Molten salt reactor neutronics and fuel cycle modeling and simulation with SCALE

Current interest in advanced nuclear energy and molten salt reactor (MSR) concepts has enhanced interest in building the tools necessary to analyze these systems. A Python script known as ChemTriton has been developed to simulate equilibrium MSR fuel cycle performance by modeling the changing isotopic composition of an irradiated fuel salt using SCALE for neutron transport and depletion calculations. Some capabilities in ChemTriton that have improved, include a generic geometry capable of modeling multi-zone and multi-fluid systems, enhanced time-dependent feed and separations, and a critical concentration search. Although more generally applicable, the capabilities developed to date are illustrated in this paper in three applied problems: (1) simulating the startup of a thorium-based MSR fuel cycle (a likely scenario requires the first of these MSRs to be started without available 233U); (2) determining the effect of the removal of different fission products on MSR operations; and (3) obtaining the equilibrium concentration of a mixed-oxide light-water reactor fuel in a two-stage fuel cycle with a sodium fast reactor. Moreover, the third problem is chosen to demonstrate versatility in an application to analyze the fuel cycle of a non-MSR system. During the first application, the initial fuel salt compositions fueled with different sources of fissile material are made feasible after (1) removing the associated nonfissile actinides after much of the initial fissile isotopes have burned and (2) optimizing the thorium concentration to maintain a critical configuration without significantly reducing breeding capability. In the second application, noble metal, volatile gas, and rare earth element fission products are shown to have a strong negative effect on criticality in a uranium-fueled thermal-spectrum MSR; their removal significantly increases core lifetime (by 30%) and fuel utilization. In the third application, the fuel of a mixed-oxide light-water reactor approaches an equilibrium composition after 20 depletion steps, demonstrating the potential for the longer time scales required to achieve equilibrium for solid-fueled systems over liquid fuel systems. This time to equilibrium can be reduced by starting with an initial fuel composition closer to that of the equilibrium fuel, reducing the need to handle time-dependent fuel compositions.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Development of a Griffin model of the advanced test reactor

In the pursuit of a higher fidelity deterministic simulation capability of the Advanced Test Reactor, it is important to have a fast yet accurate deterministic neutronics model. Here, to achieve this, we employed an advanced two-step method. The first step involves generating homogenized cross sections using OpenMC, a cutting-edge Monte Carlo neutron transport code. OpenMC offers excellent modular capabilities, allowing for easy component integration and flexibility in incorporating new designs into the model. The second step involves deterministic transport calculations, which are performed using Griffin, a reactor physics application based on the Multiphysics Object-Oriented Simulation Environment (MOOSE). To ensure the accurate spatial resolution and assignment of material cross sections, a Cubit-generated mesh for the Advanced Test Reactor is utilized as an intermediate step between the OpenMC and Griffin models; Griffin utilizes the mesh for its finite element solution, while OpenMC material identifications are written to the mesh file to be used in Griffin material assignments. Additionally, a Python-based script converts the cross sections generated by OpenMC into the ISOXML format required by Griffin. Initial comparisons using the Griffin diffusion solver indicated good agreement between the neutron multiplication factors obtained from the standalone OpenMC model and the Griffin model, with differences of less than 10 pcm in the 2D geometry configuration; it was later determined that this agreement was likely due to compensating effect and was more likely on the order of –700 pcm relative to the OpenMC solution. However, in three-dimensional calculations, an unacceptably large error (almost 8,000 pcm) was found in the Griffin solution with the diffusion solver. Subsequent calculations using Griffin’s discrete ordinates solver demonstrated substantially improved agreement, within 116 pcm of the OpenMC solution used to generate the cross sections for Griffin. Building on this capability, future work will seek to perform more detailed validation calculations. The ultimate goal is to evaluate both transient and multiphysics simulations of the reactor.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Reproducible benchmark for the SNAP 8 experimental reactor at operating conditions

This work presents fully reproducible multiphysics benchmark models of the Systems for Nuclear Auxiliary Power (SNAP) 8 Experimental Reactor at operating conditions with coolant flow. Wet experiment (with coolant, at power) validation benchmarks are presented using both deterministic (Serpent-Griffin) and Monte-Carlo (OpenMC-Cardinal) multiphysics frameworks coupled with thermal-hydraulic solvers in MOOSE. Reactivity coefficient measurements including fuel temperature, isothermal temperature, and power coefficients show good agreement with experiments, with discrepancies within experimental uncertainty. Reactivity worth experiments for coolant, samarium, and xenon poisoning are reproduced with differences under 200 pcm. Comparison between Serpent-Griffin and OpenMC-Cardinal frameworks reveal multiphysics coupling introduces positive reactivity effects (100-200 pcm) compared to uniform temperature and density fields at nominal operating conditions. Comparison between Serpent-Griffin and reference Serpent solution shows that power distributions maintain consistent radial and axial peaking behavior. All models, assumptions, thermophysical and thermomechanical properties, and material definitions are thoroughly documented with cited references; model inputs and model generating scripts are stored in the snapReactors GitHub repository.

SNAP↗

astroABC : An Approximate Bayesian Computation Sequential Monte Carlo sampler for cosmological parameter estimation

Given the complexity of modern cosmological parameter inference where we arefaced with non-Gaussian data and noise, correlated systematics and multi-probecorrelated data sets, the Approximate Bayesian Computation (ABC) method is apromising alternative to traditional Markov Chain Monte Carlo approaches in thecase where the Likelihood is intractable or unknown. The ABC method is called"Likelihood free" as it avoids explicit evaluation of the Likelihood by using aforward model simulation of the data which can include systematics. Weintroduce astroABC, an open source ABC Sequential Monte Carlo (SMC) sampler forparameter estimation. A key challenge in astrophysics is the efficient use oflarge multi-probe datasets to constrain high dimensional, possibly correlatedparameter spaces. With this in mind astroABC allows for massive parallelizationusing MPI, a framework that handles spawning of jobs across multiple nodes. Akey new feature of astroABC is the ability to create MPI groups with differentcommunicators, one for the sampler and several others for the forward modelsimulation, which speeds up sampling time considerably. For smaller jobs thePython multiprocessing option is also available. Other key features include: aSequential Monte Carlo sampler, a method for iteratively adapting tolerancelevels, local covariance estimate using scikit-learn's KDTree, modules forspecifying optimal covariance matrix for a component-wise or multivariatenormal perturbation kernel, output and restart files are backed up everyiteration, user defined metric and simulation methods, a module for specifyingheterogeneous parameter priors including non-standard prior PDFs, a module forspecifying a constant, linear, log or exponential tolerance level,well-documented examples and sample scripts. This code is hosted online athttps://github.com/EliseJ/astroABC

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Pollutant concentrations and emission rates from natural gas cooking burners without and with range hood exhaust in nine California homes

Combustion pollutant concentrations were measured during the scripted operation of natural gas cooking burners in nine homes. Boiling and simmering activities were conducted on the stovetop and in the oven with and without range hood exhaust ventilation or air mixing via a forced air system. Time-resolved concentrations of carbon dioxide (CO 2 ), nitric oxide (NO), nitrogen oxides (NO x ), nitrogen dioxide (NO 2 ), particles with diameters of 6 nm or larger (PN), carbon monoxide (CO), and fine particulate matter (PM 2.5 ) were measured in the kitchen and bedroom area of each home. Four of the nine homes had kitchen 1 h NO 2 exceed the national ambient air quality standard (100 ppb). In all homes, the highest 1 h integrated PN exceeded 2 × 10 5 cm -3 -h, and the highest 4 h PN exceeded 3 × 10 5 cm -3 -hr in the kitchen. Range hood performance varied widely, but one with a large capture volume and a measured flow of 108 L/s reduced concentrations 80–95%. Increased awareness of the need to ventilate when cooking, along with building standards for minimum range hood flow rates and volume, could substantially reduce exposures to NO 2 and ultrafine particles in homes.

03 NATURAL GAS↗

BASIN-3D: A brokering framework to integrate diverse environmental data

Diverse observational and simulation datasets are needed to understand and predict complex ecosystem behavior over seasonal to decadal and century time-scales. Integration of these datasets poses a major barrier towards advancing environmental science, particularly due to differences in the structure and formats of data provided by various sources. Here, we describe BASIN-3D (Broker for Assimilation, Synthesis and Integration of eNvironmental Diverse, Distributed Datasets), a data integration framework designed to dynamically retrieve and transform heterogeneous data from different sources into a common format to provide an integrated view. BASIN-3D enables users to adopt a standardized approach for data retrieval and avoid customizations for the data type or source. We demonstrate the value of BASIN-3D with two use cases that require integration of data from regional to watershed spatial scales. The first application uses the BASIN-3D Python library to integrate time-series hydrological and meteorological data to provide standardized inputs to analytical and machine learning codes in order to predict the impacts of hydrological disturbances on large river corridors of the United States. The second application uses the BASIN-3D Django framework to integrate diverse time-series data in a mountainous watershed in East River, Colorado, United States to enable scientific researchers to explore and download data through an interactive web portal. Thus, BASIN-3D can be used to support data integration for both web-based tools, as well as data analytics using Python scripting and extensions like Jupyter notebooks. The framework is expected to be transferable to and useful for many other field and modeling studies.

Varadharajan, C↗

A quantitative method for analyzing glycome profiles of plant cell walls

Glycome profiling allows for the characterization of plant cell wall ultrastructure via sequential extractions and subsequent detection of specific epitopes with a suite of glycan-specific monoclonal antibodies (mAbs). The data are often viewed as the amount of materials recovered and coinciding colored heatmaps of mAb binding are generated. Interpretation of these data can be considered qualitative in nature as it depends on detecting subtle visual differences in antibody binding strength. In this paper we report a mixed model-based quantitative approach for glycome profile analyses, which accounts for the amount of materials recovered and displays the normalized values in revised heatmaps and statistical heatmaps depicting significant differences. The utility of this methodology was demonstrated on a previously published dataset investigating the effects of moisture stress on the roots and needles of Pinus taeda. An annotated R script for the quantitative methodology is included to allow future studies to utilize the same approach.

59 BASIC BIOLOGICAL SCIENCES↗

Machine learning in nuclear materials research

Nuclear materials are often demanded to function for extended time in extreme environments, including high radiation fluxes with associated transmutations, high temperature and temperature gradients, mechanical stresses, and corrosive coolants. They also have a wide range of microstructural and chemical makeups, resulting in multifaceted and often out-of-equilibrium interactions. Machine learning (ML) is increasingly being used to tackle these complex time-dependent interactions and aid researchers in developing models and making predictions, sometimes with better accuracy than traditional modeling that focuses on one or two parameters at a time. Conventional practices of acquiring new experimental data in nuclear materials research are often slow and expensive, limiting the opportunity for data-centric ML, but new methods are changing that paradigm. Here we review high-throughput computational and experimental data approaches, especially robotic experimentation and active learning that is based on Gaussian process and Bayesian optimization. We show ML examples in structural materials (e.g., reactor pressure vessel (RPV) alloys and radiation detecting scintillating materials) and highlight new techniques of high-throughput sample preparation and characterizations, and automated radiation/environmental exposures and real-time online diagnostics. Herein, this review suggests that ML models of material constitutive relations in plasticity, damage, and even electronic and optical responses to radiation are likely to become powerful tools as they develop. Finally, we speculate on how the recent trends of using natural language processing (NLP) to aid the collection and analysis of literature data, interpretable artificial intelligence (AI), and the use of streamlined scripting, database, workflow management, and cloud computing platforms that will soon make the utilization of ML techniques as commonplace as the spreadsheet curve-fitting practices of today.

36 MATERIALS SCIENCE↗

FELIX-1.0: A finite element solver for the time dependent generator coordinate method with the Gaussian overlap approximation

In this study, we describe the software package FELIX that solves the equations of the time-dependent generator coordinate method (TDGCM) in NN-dimensions (N ≥ 1) under the Gaussian overlap approximation. The numerical resolution is based on the Galerkin finite element discretization of the collective space and the Crank–Nicolson scheme for time integration. The TDGCM solver is implemented entirely in C++. Several additional tools written in C++, Python or bash scripting language are also included for convenience. In this paper, the solver is tested with a series of benchmarks calculations. We also demonstrate the ability of our code to handle a realistic calculation of fission dynamics.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

eqtools: Modular, extensible, open-source, cross-machine Python tools for working with magnetic equilibria

As plasma physics research for fusion energy transitions to an increasing emphasis on cross-machine collaboration and numerical simulation, it becomes increasingly important that portable tools be developed to enable data from diverse sources to be analyzed in a consistent manner. This paper presents eqtools, a modular, extensible, open-source toolkit implemented in the Python programming language for handling magnetic equilibria and associated data from tokamaks. eqtools provides a single interface for working with magnetic equilibrium data, both for handling derived quantities and mapping between coordinate systems, extensible to function with data from different experiments, data formats, and magnetic reconstruction codes, replacing the diverse, non-portable solutions currently in use. Moreover, while the open-source Python programming language offers a number of advantages as a scripting language for research purposes, the lack of basic tokamak-specific functionality has impeded the adoption of the language for regular use. Implementing equilibrium-mapping tools in Python removes a substantial barrier to new development in and porting legacy code into Python. In this paper, we introduce the design of the eqtools package and detail the workflow for usage and expansion to additional devices. Additionally, the implementation of a novel three-dimensional spline solution (in two spatial dimensions and in time) is also detailed. Finally, verification and benchmarking for accuracy and speed against existing tools are detailed. Wider deployment of these tools will enable efficient sharing of data and software between institutions and machines as well as self-consistent analysis of the shared data.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

ESPResSo++ 2.0: Advanced methods for multiscale molecular simulation

We report that molecular simulation is a scientific tool used in many fields including material science and biology. This requires constant development and enhancement of algorithms within molecular simulation software packages. Here, we present computational tools for multiscale modeling developed and implemented within the ESPResSo++ package. These include the latest applications of the adaptive resolution scheme, the hydrodynamic interactions through a lattice Boltzmann solvent coupled to particle-based molecular dynamics, the implementation of the hierarchical strategy for equilibrating long-chained polymer melts and a heterogeneous spatial domain decomposition. The software design of ESPResSo++ has kept its highly modular C++ kernel with a Python user interface. Furthermore, it has been enhanced by automatic scripts that parse configurations from other established packages, providing scientists with the ability to rapidly set up their simulations.

97 MATHEMATICS AND COMPUTING↗

A Python Multiscale Thermochemistry Toolbox (pMuTT) for thermochemical and kinetic parameter estimation

Estimating the thermochemical properties of systems is important in many fields such as material science and catalysis. The Python multiscale thermochemistry toolbox (pMuTT) is a Python software library developed to streamline the conversion of ab-initio data to thermochemical properties using statistical mechanics, to perform thermodynamic analysis, and to create input files for kinetic modeling software. Its open-source implementation in Python leverages existing scientific codes, encourages users to write scripts for their needs, and allows the code to be expanded easily. The core classes developed include a statistical mechanical model in which energy modes can be included or excluded to suit the application, empirical models for rapid thermodynamic property estimation, and a reaction model to calculate kinetic parameters or changes in thermodynamic properties. In addition, pMuTT supports other features, such as Brønsted–Evans–Polanyi (BEP) relationships, coverage effects, and ab-initio phase diagrams.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

INGRID: An interactive grid generator for 2D edge plasma modeling

A fusion boundary-plasma domain is defined by axisymmetric magnetic surfaces where the geometry is often complicated by the presence of one or more X-points; and modeling boundary plasmas usually relies on computational grids that account for the magnetic field geometry. The new grid generator INGRID (Interactive Grid Generator) presented in this work is a Python-based code for calculating grids for fusion boundary plasma modeling, for a variety of configurations with one or two X-points in the domain. INGRID first performs partitioning over the domain consisting of a small number of patches conforming to the magnetic field and wall geometry; then it generates a subgrid on each of the patches and joins them into a global grid. This domain partitioning strategy makes possible a uniform treatment of various configurations with one or two X-points in the domain. This includes single-null, double-null, and other configurations with two X-points in the domain. The INGRID design allows generating grids either interactively, via a parameter-file driven GUI, or using a non-interactive script-controlled workflow. Results of testing demonstrate that INGRID is a flexible, robust, and user-friendly grid-generation tool for fusion boundary-plasma modeling.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Dataset describing two reference models for full-spectral lighting and daylight simulations together with implementations for two software systems

A dataset of two spectral lighting simulation reference models - one office and one factory hall - is presented. It aims to demonstrate and support full-spectral daylight and electric lighting simulations and facilitate evaluation of non-visual effects of light. The dataset includes Rhino CAD geometry, comprehensive spectral material and light source data and window system BSDF data. Example implementations in the two software tools, Radiance and OWL, enable reproducible workflows and support adoption in other software. The dataset is openly available on Zenodo. The office model reproduces Room 518 at the University of Innsbruck, including a west-facing façade and interior furnishings. The factory hall model follows the proposed geometry in the European standard 15193 for building energy performance. Interior reflectances in the office were measured in-situ using a handheld spectrometer. Exterior spectra and factory hall materials matching specified reflectances were obtained from an online spectral materials database. Glazing transmittance was derived from IGDB data using LBNL Optics/WINDOW. BSDFs for venetian blinds at various tilt angles, and for a diffusing pane adapted from the Complex Glazing Database, were generated in WINDOW. Luminaires in both models are specified with photometric files (Eulumdat/IES) and lamp spectra (Fluorescent 840, 4000 K LED). The provided example implementations (Radiance, OWL) include prepared input data and scripts to run first spectral simulations; example results are also included. The dataset is prepared to support reuse by researchers, designers and software developers for method validation, software engineering and comparison, and development of spectral metrics and controls.

Geisler-Moroder, David↗