Search NASA⌕ Search

SEARCH · Search NASA

Results for “scripting”

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 685 records · Page 38

Implementation and verification of a user-defined element (UEL) for coupled thermal-hydraulic-mechanical-chemical (THMC) processes in saturated geological media

Efficient and accurate modeling of the coupled thermal-hydraulic-mechanical-chemical (THMC) processes in various rock formations is indispensable for designing energy geo-structures such as underground repositories for high-level nuclear wastes. Here, this work focuses on developing and verifying an implicit finite element solver for generic coupled THMC problems in geological settings. Starting from the mass, momentum, and energy balance laws, a specialized set of governing equations and a thermoporoelastic constitutive model is derived. This system is then solved by an implicit finite element (FE) scheme. Specifically, the residuals and the Jacobians are scripted in a user-defined element (UEL) subroutine which is then combined with the general-purpose FE software Abaqus Standard to solve initial-boundary value problems. Considering the complexity of the system, the UEL development follows a stepwise manner by first solving the coupled hydraulic-mechanical (HM) and thermal-hydraulic-mechanical (THM) equations before moving on to the full THMC problem. Each implementation step consists of at least one verification test by comparing computed results with closed-form analytical solutions to ensure that the various coupling effects are correctly realized. To demonstrate the robustness of the algorithm and to validate the UEL, a three-dimensional case study is performed with reference to the in-situ heating test of ATLAS at Belgium in 1980s. A hypothetical radionuclide leakage event is then simulated by activating the chemical-concentration degree of freedom and prescribing a constant high concentration at the heater's surface. The model predicts a limited contaminated regime after six years considering both diffusion and advection effects on species transport.

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

High‐throughput profiling and analysis of plant responses over time to abiotic stress

Abstract Sorghum ( Sorghum bicolor (L.) Moench) is a rapidly growing, high‐biomass crop prized for abiotic stress tolerance. However, measuring genotype‐by‐environment (G x E) interactions remains a progress bottleneck. We subjected a panel of 30 genetically diverse sorghum genotypes to a spectrum of nitrogen deprivation and measured responses using high‐throughput phenotyping technology followed by ionomic profiling. Responses were quantified using shape (16 measurable outputs), color (hue and intensity), and ionome (18 elements). We measured the speed at which specific genotypes respond to environmental conditions, in terms of both biomass and color changes, and identified individual genotypes that perform most favorably. With this analysis, we present a novel approach to quantifying color‐based stress indicators over time. Additionally, ionomic profiling was conducted as an independent, low‐cost, and high‐throughput option for characterizing G x E, identifying the elements most affected by either genotype or treatment and suggesting signaling that occurs in response to the environment. This entire dataset and associated scripts are made available through an open‐access, user‐friendly, web‐based interface. In summary, this work provides analysis tools for visualizing and quantifying plant abiotic stress responses over time. These methods can be deployed as a time‐efficient method of dissecting the genetic mechanisms used by sorghum to respond to the environment to accelerate crop improvement.

59 BASIC BIOLOGICAL SCIENCES↗

AEcroscopy: A Software–Hardware Framework Empowering Microscopy Toward Automated and Autonomous Experimentation

Microscopy has been pivotal in improving the understanding of structure-function relationships at the nanoscale and is by now ubiquitous in most characterization labs. However, traditional microscopy operations are still limited largely by a human-centric click-and-go paradigm utilizing vendor-provided software, which limits the scope, utility, efficiency, effectiveness, and at times reproducibility of microscopy experiments. Here, in this work, a coupled software–hardware platform is developed that consists of a software package termed AEcroscopy (short for Automated Experiments in Microscopy), along with a field-programmable-gate-array device with LabView-built customized acquisition scripts, which overcome these limitations and provide the necessary abstractions toward full automation of microscopy platforms. The platform works across multiple vendor devices on scanning probe microscopes and electron microscopes. It enables customized scan trajectories, processing functions that can be triggered locally or remotely on processing servers, user-defined excitation waveforms, standardization of data models, and completely seamless operation through simple Python commands to enable a plethora of microscopy experiments to be performed in a reproducible, automated manner. This platform can be readily coupled with existing machine-learning libraries and simulations, to provide automated decision-making and active theory-experiment optimization to turn microscopes from characterization tools to instruments capable of autonomous model refinement and physics discovery.

47 OTHER INSTRUMENTATION↗

Psi4: an open-source ab initio electronic structure program

The Psi4 program is a new approach to modern quantum chemistry, encompassing Hartree–Fock and density-functional theory to configuration interaction and coupled cluster. The program is written entirely in C++ and relies on a new infrastructure that has been designed to permit high-efficiency computations of both standard and emerging electronic structure methods on conventional and high-performance parallel computer architectures. Psi4 offers flexible user input built on the Python scripting language that enables both new and experienced users to make full use of the program's capabilities, and even to implement new functionality with moderate effort. To maximize its impact and usefulness, Psi4 is available through an open-source license to the entire scientific community. © 2011 John Wiley & Sons, Ltd.

Chemistry↗

The Data Mine model for accessible partnerships in data science

Abstract The Data Mine at Purdue University is a pioneering experiential learning community for undergraduate and graduate students of any background to learn data science. The first data‐intensive experience embedded in a large learning community, The Data Mine had nearly 1300 students in academic year (AY) 2022–2023 and nearly 1700 students for AY 2023–2024. The Data Mine embodies data‐infused education, research, and collaboration. Students learn Python, R, SQL, and shell‐scripting, while working on weekly projects within a high‐performance computing (HPC) cluster. In the Corporate Partners cohort, students work on teams of 5–15 students, led by a paid student team leader. Each cohort follows an Agile approach, working on data‐intensive projects provided by industry partners and mentored by company employees. Students develop professional and data skills throughout the academic year, from August through April. Many students return in subsequent years to the program, increasing their tenure with a Corporate Partner. Student teams are inherently interdisciplinary; students from 133 different majors are involved in the program, ranging from new incoming students through PhD level students. These interdisciplinary teams of students bring new perspectives to challenging problems in which data science is a key part of the solution. The interdisciplinary teams foster an environment of synthesis with ideas and solutions. Students come together with different life experiences, different levels of technical skill, but also varying ways they navigate paths to solutions because of the variety of majors represented, resulting in a more creative and robust solution than a traditional data science program. This article is categorized under: Applications of Computational Statistics > Education in Computational Statistics

Betz, Margaret A.↗

Developing Ultrahigh-Resolution E3SM Land Model for GPU Systems

Designing and refactoring complex scientific code, such as the E3SM land model (ELM), for new computing architectures is challenging. This paper presents design strategies and technical approaches to develop a data-oriented, GPU-ready ELM model using compiler directives (OpenACC/OpenMP). We first analyze the datatypes and processes in the original ELM code. Then we present design considerations for ultrahigh-resolution ELM (uELM) development for massive GPU systems. These techniques include the global data-oriented simulation workflow, domain partition, code porting and data copy, memory reduction, parallel loop restructure and flattening, and race condition detection. We implemented the first version of uELM using OpenACC targeting the NVidia GPUs in the Summit supercomputer at Oak Ridge National Laboratory. During the implementation, we developed a software tool (named SPEL) to facilitate code generation, verification, and performance tuning using these techniques. The first uELM implementation for Nvidia GPUs on Summit delivered promising results: 1) over 98% of the ELM code was automatically generated and tuned by scripts. Most ELM modules had better computational performances than the original ELM code for CPUs. The GPU-ready uELM is more scalable than the CPU code on fully-loaded Summit nodes. Example profiling results from several modules are also presented to illustrate the performance improvements and race condition detection. The lessons learned and toolkit developed in the study are also suitable for further uELM deployment using OpenMP on the first US exascale computer, Frontier, equipped with AMD CPUs and GPUs.

Schwartz, Peter↗

Engineering High Performance Service-Oriented Pipeline Applications with MeDICi

The pipeline software architecture pattern is commonly used in many application domains to structure a software system. A pipeline comprises a sequence of processing steps that progressively transform data to some desired outputs. As pipeline-based systems are required to handle increasingly large volumes of data and provide high throughput services, simple scripting-based technologies that have traditionally been used for constructing pipelines do not scale. In this paper we describe the MeDICI Integration Framework (MIF), which is specifically designed for building flexible, efficient and scalable pipelines that exploit distributed services as elements of the pipeline. We explain the core runtime and development infrastructures that MIF provides, and demonstrate how MIF has been used in two complex applications to improve performance and modifiability.

99 GENERAL AND MISCELLANEOUS↗

Data Acquisition System of Nobeyama MKID Camera

We are developing a superconducting camera based on microwave kinetic inductance detectors (MKIDs) to observe 100-GHz continuum with the Nobeyama 45-m telescope. A data acquisition (DAQ) system for the camera has been designed to operate the MKIDs with the telescope. This system is required to connect the telescope control system (COSMOS) to the readout system of the MKIDs (MKID DAQ) which employs the frequency-sweeping probe scheme. The DAQ system is also required to record the reference signal of the beam switching for the demodulation by the analysis pipeline in order to suppress the sky fluctuation. The system has to be able to merge and save all data acquired both by the camera and by the telescope, including the cryostat temperature and pressure and the telescope pointing. A collection of software which implements these functions and works as a TCP/IP server on a workstation was developed. The server accepts commands and observation scripts from COSMOS and then issues commands to MKID DAQ to configure and start data acquisition. We made a commissioning of the MKID camera on the Nobeyama 45-m telescope and obtained successful scan signals of the atmosphere and of the Moon.

42 ENGINEERING↗

chatHPC: Empowering HPC users with large language models

The ever-growing number of pre-trained large language models (LLMs) across scientific domains presents a challenge for application developers. While these models offer vast potential, fine-tuning them with custom data, aligning them for specific tasks, and evaluating their performance remain crucial steps for effective utilization. However, applying these techniques to models with tens of billions of parameters can take days or even weeks on modern workstations, making the cumulative cost of model comparison and evaluation a significant barrier to LLM-based application development. To address this challenge, we introduce an end-to-end pipeline specifically designed for building conversational and programmable AI agents on high performance computing (HPC) platforms. Our comprehensive pipeline encompasses: model pre-training, fine-tuning, web and API service deployment, along with crucial evaluations for lexical coherence, semantic accuracy, hallucination detection, and privacy considerations. Here, we demonstrate our pipeline through the development of chatHPC, a chatbot for HPC question answering and script generation. Leveraging our scalable pipeline, we achieve end-to-end LLM alignment in under an hour on the Frontier supercomputer. We propose a novel self-improved, self-instruction method for instruction set generation, investigate scaling and fine-tuning strategies, and conduct a systematic evaluation of model performance. The established practices within chatHPC will serve as a valuable guidance for future LLM-based application development on HPC platforms.

97 MATHEMATICS AND COMPUTING↗

Determination of Material Constitutive Laws for Inconel 718 Superalloy Under Different Strain Rates and Working Temperatures

In this paper, a special procedure for the prediction of parameters of the Johnson–Cook constitutive material models is proposed based on the experimental data and specially developed MATLAB scripts which allow advanced modeling of complex 3D response surfaces. Experimental investigations concern two various strain rates of 10{sup −3} and 10{sup 1} 1/s and the testing temperature ranging from the ambient up to 700 °C. As a result, a set of mathematical equations which fit the experimental data is determined. The applicability of the experimentally derived constitutive models to the FEM modeling of real machining processes of Inconel 718 alloy is verified.

36 MATERIALS SCIENCE↗

Thermal Treatment, Sliding Wear and Saline Corrosion of Al In Situ Reinforced with Mg{sub 2}Si and Ex Situ Reinforced with TiC Particles

The main objective of this work is to produce a composite consisting of (a) a cast heat-treatable Al-Mg-Si alloy with high contents of Mg for corrosion resistance and Si to offset the Mg-due poor castability (in situ hypoeutectic Mg{sub 2}Si/Al composite) and (b) TiC particles at high enough volume fractions (≤ 15%), in order to achieve a satisfactory combination of wear and corrosion performance. TiCp/Al-7Mg-5Si (wt.%) composites were produced by flux-assisted casting followed by solution and aging heat treatment. Solution treatment led to a relatively uniform dispersion and shape rounding of Mg{sub 2}Si precipitates and Si particles. TiC particle addition resulted in refinement of primary Al, modification of the Mg{sub 2}Si Chinese script morphology and refinement/spheroidization of primary Mg{sub 2}Si. Heat treatment combined with TiC addition notably improved the sliding wear resistance of Al-7Mg-5Si. A wear mechanism has been proposed. The TiC/Al interfaces remained intact of corrosion during potentiodynamic polarization of the heat-treated materials in 3.5 wt.% NaCl. Different main forms of localized corrosion in 3.5 wt.% NaCl were identified for each TiC content (0, 5, 15 vol.%), depending on specific degradation favoring microstructural features (topology/size/interface wetting) at each composition.

36 MATERIALS SCIENCE↗

Investigation of the Tribological Properties of AlxSi-1.2Fe(Mn) (x = 5-13 wt.%) Alloys

The effect of Fe-impurity and Mn modification on the sliding wear behavior of Al-xSi-1.2Fe(Mn) (x = 5-13 wt.%) alloys was investigated in dry sliding against AISI 52100 steel. According to the results, in the Si range of 5-9 wt.%, Fe-impurity promotes the formation of finely distributed β-Al{sub 5}FeSi intermetallics in the matrix increasing its hardness and potential to support the tribolayer leading to the improved wear characteristics. The presence of Fe in the composition of Al-(9-13)Si alloys, however, leads to the formation of primary β-platelets that their sizes and volume fractions increase with Si concentration. The formation of primary compounds increases the hardness, but makes the alloys less ductile and more vulnerable to microcracking and wear. Manganese modification converts the β-Fe platelets to the α-Al{sub 15}(Fe,Mn){sub 3}Si{sub 2} compounds with different morphologies. The substitution of fine β-platelets by α-Chinese scripts in Al-(5-9)Si-1.2FeMn alloys reduces the wear resistance, but the formation of primary α-compounds with star-like or polyhedral morphologies in Al-(9-13)Si-1.2FeMn alloys improves their wear characteristics. Moreover, it was found that the formation of Fe(Mn)-rich compounds affects the friction coefficient which is likely due to the fracture of particles in the subsurface region, their interaction with contacting surfaces, and their effect on the stability of the tribolayer.

36 MATERIALS SCIENCE↗

Effect of Tempering and Rolling on Fatigue Crack Growth Behavior of Modified 9Cr-1Mo Steel

In the present work, fatigue crack growth (FCG) behavior of modified 9Cr-1Mo steel has been investigated near fatigue threshold and Paris regime at room temperature (RT) and 650 °C. The modified 9Cr-1Mo steel was subjected to normalizing at 1050 °C followed by tempering (650-750 °C) and warm rolling at 550 °C followed by tempering in order to improve its precipitation state and refine microstructure. The microstructural parameters such as grain size, block size, lath width and precipitate size were examined and correlated with FCG and tensile properties of investigated samples. The results showed that decreasing tempering temperature significantly reduces the fatigue threshold at RT while increases the yield strength at elevated temperature (i.e., 650 °C). Increase in fatigue threshold is found to increase with the increase in block size, whereas high density of fine precipitates contributed the high temperature strength. The FCG rate in Paris regime was less affected by heat treatment and rolling process at RT. However, rolled sample tested at 650 °C shows a decrease in FCG rate as compared to heat-treated samples. In terms of higher FCG resistance and yield strength, warm rolling followed by tempering at low temperature (i.e., 700 °C) can be considered optimum. For the numerical simulation of FCG behavior, extended finite element method (XFEM) along with Paris law has been implemented in ABAQUS using python script. The simulated FCG behavior is found in good agreement with the experimental results.

36 MATERIALS SCIENCE↗

Effects of Vanadium on Modification of Iron-Rich Intermetallics and Mechanical Properties in A356 Cast Alloys with 1.5 wt.% Fe

Formation of Fe-rich intermetallics and mechanical properties of vanadium-modified A356 cast alloys with 1.5 wt.% Fe were investigated using image analysis, scanning electron microscopy, differential scanning calorimetry, and a tensile test. The results showed that V content has no apparent influence on α-Al grain size in A356 alloys with high Fe content. Also, 0.8 wt.% V is beneficial for improving mechanical properties in A356 cast alloys with high Fe content. Specifically, these results can be attributed to the formation of Chinese script or block α-Fe phases, refined needle-like β-Fe (Al{sub 5}FeSi), and decreased porosities. An excessive amount of V deteriorates mechanical properties of alloys because it leads to VSi{sub 2} formation, large sized iron-rich intermetallics, and increased porosities.

36 MATERIALS SCIENCE↗

Microstructural and Mechanical Characterization of Directionally Solidified Conventional and Nb-Modified Mar-M247 Superalloy

This study analyzes the effects of replacing Ta by Nb (at.% basis) in the phase transformation temperatures, Scheil solidification behavior, and microstructural mechanical features of a Nb-modified as well as conventional Mar-M247 superalloys. Both alloys were directionally solidified at a withdrawal rate of 18 cm/h under a thermal gradient of about 80 °C/cm. DSC results were compared to thermodynamic simulations of phase transformation temperatures and showed a good correlation. The replacement of Ta by Nb has not altered the solidification path of Mar-M247, keeping the sequence L → L + γ → L + γ + MC → L + γ + MC + γ/γ′ eutectic. Due to the segregation of Hf and Zr to the very last liquid to solidify, a low melting point γ/Ni{sub 5}(Hf,Zr) constituent was observed. The as-solidified microstructures of both Mar-M247(Nb) and Mar-M247 were constituted of columnar dendrites of gamma matrix (γ) phase with cuboidal gamma-prime (γ′) precipitates. In addition, γ/γ′-eutectic was observed in the interdendritic region along with MC carbides in blocky, script (blocky dendritic), needle-like and fine nodular morphologies. Both alloys contained about 1.5 vol.% of MC carbides. The MC carbides in Mar-M247(Nb) and Mar-M247 are, respectively, Nb-rich and Ta-rich, with only a limited amount of Hf being detected in the MC phase. The yield stress of Nb-modified Mar-M247 showed higher values up to 750 °C. For higher temperatures, above 800 °C, a conventional Mar-M247 presented a higher value of yield stress.

36 MATERIALS SCIENCE↗

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↗