Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “flow control”

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 91 records · Page 5

CG-Kit: Code Generation Toolkit for performant and maintainable variants of source code applied to Flash-X hydrodynamics simulations

CG-Kit is a new Code Generation tool-Kit that we have developed as a part of the solution for portability and maintainability for multiphysics computing applications. The development of CG-Kit is rooted in the urgent need created by the shifting landscape of high-performance computing platforms and the algorithmic complexities of a particular large-scale multiphysics application: Flash-X. To efficiently use computing resources on a heterogeneous node, an application must have a map of computation to resources and a mechanism to move the data and computation to the resources according to the map. Most existing performance portability solutions are focussed on abstracting the expression of computations so that a unified source code can be specialized to run on different resources. However, such an approach is insufficient for a code like Flash-X, which has a multitude of code components that can be assembled in various permutations and combinations to form different instances of applications. Similar challenges apply to any code that has composability, where a single specified way of apportioning work among devices may not be optimal. Additionally, use cases arise where the optimal control flow of computation may differ for different devices while the underlying numerics remain identical. This combination leads to unique challenges including handling an existing large code base in Fortran and/or C/C++, subdivision of code into a great variety of units supporting a wide range of physics and numerical methods, different parallelization techniques for distributed and shared memory systems and accelerator devices, and heterogeneity of computing platforms requiring coexisting variants of parallel algorithms. All of these challenges demand that scientific software developers apply existing knowledge about domain applications, algorithms, and computing platforms to determine custom abstractions and granularity for code generation. There is a critical lack of tools to tackle those problems. CG-Kit is designed to fill this gap by providing a user with the ability to express their desired control flow and computation-to-resource map in the form a pseudocode-like recipe. It consists of standalone tools that can be combined into highly specific and, we argue, highly effective portability and maintainability toolchains. Here we present the design of our new tools: parametrized source trees, control flow graphs, and recipes. The tools are implemented in Python. They are agnostic to the programming language of the source code targeted for code generation. In conclusion, we demonstrate the capabilities of the toolkit with two examples, first, multithreaded variants of the basic AXPY operation, and second, variants of parallel algorithms within a hydrodynamics solver, called Spark, from Flash-X that operates on block-structured adaptive meshes.

Algorithmic portability↗

Can Large Language Models Understand Intermediate Representations?

Intermediate Representations (IRs) are essential in compiler design and program analysis, yet their comprehension by Large Language Models (LLMs) remains underexplored. This paper presents a pioneering empirical study to investigate the capabilities of LLMs, including GPT-4, GPT-3, Gemma 2, LLaMA 3.1, and Code Llama, in understanding IRs. We analyze their performance across four tasks: Control Flow Graph (CFG) reconstruction, decompilation, code summarization, and execution reasoning. Our results indicate that while LLMs demonstrate competence in parsing IR syntax and recognizing high-level structures, they struggle with control flow reasoning, execution semantics, and loop handling. Specifically, they often misinterpret branching instructions, omit critical IR operations, and rely on heuristic-based reasoning, leading to errors in CFG reconstruction, IR decompilation, and execution reasoning. The study underscores the necessity for IR-specific enhancements in LLMs, recommending fine-tuning on structured IR datasets and integration of explicit control flow models to augment their comprehension and handling of IR-related tasks.

Jiang, Hailong↗

Hydrologic Evaluation of Smallmouth Bass Spawning Sites in the Upper Green River Using LiDAR

The smallmouth bass has been considered one of the most problematic invasive species in the upper Colorado River basin. As a predator of larval fish and juveniles, this nonnative species is an impediment to conservation efforts for endangered fish species of the Colorado River basin including Colorado pikeminnow (Ptychocheilus lucius), razorback sucker (Xyrauchen texanus), humpback chub (Gila cypha), and bonytail chub (Gila elegans). Several measures have been recommended to control smallmouth bass populations to conserve the endangered fish species. Among these measures are efforts to control flows during the spawning season to disrupt smallmouth bass reproduction. Previous work has suggested that smallmouth bass spawning in areas of the Green River could be inhibited during higher flows from the Flaming Gorge Dam due to lack of suitable habitat. Little research has been conducted to evaluate an optimal range of flow increases (“flow spikes”) needed to disrupt smallmouth bass reproduction in the Green River. Current research proposals to evaluate the effectiveness of flow spikes on controlling smallmouth bass reproduction target post-spawning flows of 4,500 cfs, maintained for three days, to inundate side-channel spawning habitats. In this report, we present results of a topographic study of smallmouth bass spawning sites in the upper Green River to characterize flow levels needed to inundate spawning habitats. This study used remotely sensed Light Detection and Ranging (LiDAR) data collected along the entire Green River, including channel margins and floodplain areas, to model water surface elevations and flow spikes needed to connect and inundate smallmouth bass spawning sites.

59 BASIC BIOLOGICAL SCIENCES↗

System and method for rapid, high throughput, high pressure synthesis of materials from a liquid precursor

The present disclosure relates to a system and method for synthesis of condensed, nano-carbon materials to create nanoparticles. In one embodiment the system may have a source of liquid precursor, a flow control element and a shock wave generating subsystem. The flow control element is in communication with the source of the liquid precursor and creates a jet of liquid precursor. The shock wave generating subsystem drives a shock wave through at least a substantial portion of a thickness of the jet of liquid precursor to sufficiently compress the jet of liquid precursor, and to increase a pressure and a temperature of the jet of liquid precursor, to create solid state nanoparticles.

Armstrong, Mike↗

Medium Voltage Energy Hub Based on Multilevel Cascaded H Bridge-Dual Active Bridge Back-to-Back Converter for Power Distribution Feeders Interconnection and Multiple Simultaneous Grid Services

This paper presents a medium voltage energy hub based on a modular design of a multilevel cascaded H bridge (CHB)-dual active bridge (DAB) converter. The energy hub composed of the two CHB-DAB modules with a back-to-back topology can be utilized as a grid interconnection component between distribution feeders. The energy hub can provide multiple simultaneous grid services such as voltage regulation, power factor correction, as well as active power flow control between the connected feeders, contributing to grid flexibility, efficiency, reliability, and resilience. Circuit structure and control schemes for the energy hub including both local controllers for each converter and outer loop controllers are proposed to enable simultaneous grid services with coordination to prevent the overloading of the hub. To validate the performance of the hub, the hub system is interconnected between two IEEE 4-bus feeders and provides voltage regulation for both feeders, while controlling active power flow between them. The system and the feeders are implemented in Real-Time Digital Simulator (RTDS) for real-time simulation verification.

Choi, Jongchan↗

System and method for rapid, high throughput, high pressure synthesis of materials from a liquid precursor

The present disclosure relates to a system and method for synthesis of condensed nano-materials to at least one of create nanoparticles or modify existing nanoparticles. In one embodiment the system may have a source of liquid precursor, with the liquid precursor including a compound therein. A flow control element and a compression wave generating subsystem are also included. The flow control element is in communication with the source of the liquid precursor and creates a jet of liquid precursor. The compression wave generating subsystem drives a compression wave through at least a substantial portion of a thickness of the jet of liquid precursor to sufficiently compress the jet of liquid precursor, and to increase pressure and temperature of the jet of liquid precursor, to at least one of create nanoparticles or modify existing nanoparticles.

77 NANOSCIENCE AND NANOTECHNOLOGY↗

Development of an Advanced Hydrogen Energy Storage System using Aerogel in a Cryogenic Flux Capacitor

The Cryogenic Flux Capacitor (CFC) is a cold, dense fluid storage core with integrated design features that afford the designer flexibility and provide new possibilities for the storage and discharge of energy. The stored energy, in this case, is represented by hydrogen physically bonded within the nanoscale pores within the aerogel composite blanket material, and the process of bonding or debonding is governed by the principles of physical adsorption (physisorption) and thermodynamics. The large surface area afforded by the nanoporous aerogel (~1,000 m 2 /g) allows for storage densities close to, or in some cases exceeding, that of normal boiling point liquids. Its performance easily exceeds what can be achieved via ambient temperature and high-pressure gas storage for an equivalent volume. CFC storage is predicted to be easily scalable, constructed from readily available commercial materials, and lends itself to a range of pressure applications. The project team designed and manufactured the CFC, integrating it into a set of temperature-controlled flow loops. The CFC test setup was validated against existing data from previous NASA work. Tests used bottled hydrogen gas for test validation. A cryogenic fluid, nitrogen, flowed through a metered control system. Hydrogen temperature, pressure, and flow rates, as well as the temperature control targets, provided all necessary control targets. The team analyzed the recorded data and updated the Technology Maturation Plan based on the results of the test, making recommendations for a follow-up test, scale-up, and maturation pathway. For the engineering development and maturation of CFC hydrogen storage technology, a Techno-Economic Assessment (TEA) and Commercialization Plan for the integration of this technology with various power generation assets were produced. A companion analytical model was developed, experimentally validated, compared against performance metric, and used to tune the model and scale up the technology.

08 HYDROGEN↗

Wcomp (Wind Farm Wake Comparison Framework) [SWR-23-72]

The Wind Farm Wake Comparison Framework (Wcomp) is a software tool to facilitate the comparison of a specific collection of wind farm wake modeling tools: Python-based, steady-state, analytical wake modeling utilities. Wcomp integrates another software project, windIO, to create a consistent method for describing a wind farm flow control problem. Additionally, a data structure is included to represent the outputs a wind farm flow control simulation. Well-described interfaces allow existing wake modeling tools to plug into this framework.

Mudafort, Rafael↗

Morphological controls on flow conductivity and viscosity of bentonite–polymer composites

In this study, the authors investigate the morphological organisation of polymers in bentonite–polymer composites (BPCs) used in geosynthetic clay liners and controls on hydraulic conductivity and viscosity. A limited understanding of the relationship between the microstructure of BPCs and their macroscopic engineering behaviour motivates this study. The polymer resides in the inter-granular pores of bentonite based on synchrotron-based small-angle X-ray scattering measurements, scanning electron microscopy imaging and pore size analyses. On wetting, the polymer swells to produce a swollen hydrogel residing in the inter-granular pores. Enhanced tortuosity arising from hydrogel formation reduces the hydraulic conductivity of BPCs. The higher viscosity of the BPC slurry is attributed to the higher shear resistance emerging from swelling of the polymer fraction on wetting. These findings link the morphological features of BPCs to the observed hydraulic conductivity and viscosity of these materials.

Engineering↗

Investigating Resilience of Loops in HPC Programs: A Semantic Approach with LLMs

Soft errors have become one of the major concerns for the error resilience of the HPC applications as those errors may cause HPC applications to generate serious outcomes such as silent data corruptions (SDCs). Protecting the applications from soft errors is an essential while challenging task. Among different approaches, obtaining a profound understanding of the resilience proneness of an application is very important to devise efficient error detection and recovery strategies. Given the scale of the HPC applications both in the code size and execution time, there are often cases that the error propagation analysis on such applications would produce a massive volume of unstructured data, which requires a significant amount of efforts, to process and to obtain indicating actions towards error protection. In this paper, we present a control-flow based visual analysis framework to help the users conduct error propagation analysis and identify the critical sections of a program that may have a higher likelihood of leading to erroneous outcomes when affected by the control flow related errors. We also design and implement the scalable visualization framework - ResilienceVis that efficiently and effectively visualizes the affected program states under errors and the propagation traces for an application in a user-friendly manner, and eventually, we combine the analysis and visualization to exhibit the error-proneness of the different sections of applications.

Jiang, Hailong↗

Modular DC circuit breaker with integrated energy storage for future DC networks

A T-breaker is an all-in-one solution for dc microgrid fault protection, power flow control, and power quality improvement. A T-breaker features a modular multilevel “T” structure with integrated energy storage devices. The two horizontal arms of the T-breaker realize fault current breaking, load voltage compensation, and power flow control; and the vertical arm of the T-breaker realizes shunt compensation. The configuration provides excellent voltage scalability and relaxes the requirements on the switching signal synchronization during fault transients. The local energy storage in sub-modules eases the fault energy dissipation requirement placed on the traditionally-adopted surge arrestors. The modular multilevel structure also offers immense control flexibility for all types of targeted functions of the provided T-breaker.

Wang, Jin↗

Vulnerability Detection Methodology for a Digital Signal Processor Micro-Controller at Edge Level Distributed Energy Resource Controller

Integration of renewable energy and energy storage based Distributed Energy Resource (DER) assets to the grid has seen an upsurge over the past few decades. Traditionally, energy would be generated at a thermal or nuclear power plant and then transmitted over long distance through the transmission grid and then supply to the customers at the distribution grid. Modern renewable energy based DER assets have brought energy production at the edge of distribution grid, which has made the grid vulnerable to cyber intrusion as the power flow controllers for such DER assets are now distributed across the grid from distribution level to transmission level. This paper discusses the vulnerability posed by such power flow controllers of DER assets and demonstrates a detection methodology for unauthorized access and manipulation of system configuration for Digital Signal Processor based Microcontrollers. Experimental results proving efficacy of the methodology have been shown in paper.

Bhowmik, Pankaj↗

Two-Phase Flow Mechanisms Controlling CO2 Intrusion into Shaly Caprock

Abstract Geologic carbon storage in deep saline aquifers has emerged as a promising technique to mitigate climate change. CO 2 is buoyant at the storage conditions and tends to float over the resident brine jeopardizing long-term containment goals. Therefore, the caprock sealing capacity is of great importance and requires detailed assessment. We perform supercritical CO 2 injection experiments on shaly caprock samples (intact caprock and fault zone) under representative subsurface conditions. We numerically simulate the experiments, satisfactorily reproducing the observed evolution trends. Simulation results highlight the dynamics of CO 2 flow through the specimens with implications to CO 2 leakage risk assessment in field practices. The large injection-induced overpressure drives CO 2 in free phase into the caprock specimens. However, the relative permeability increase following the drainage path is insufficient to provoke an effective advancement of the free-phase CO 2 . As a result, the bulk CO 2 front becomes almost immobile. This implies that the caprock sealing capacity is unlikely to be compromised by a rapid capillary breakthrough and the injected CO 2 does not penetrate deep into the caprock. In the long term, the intrinsically slow molecular diffusion appears to dominate the migration of CO 2 dissolved into brine. Nonetheless, the inherently tortuous nature of shaly caprock further holds back the diffusive flow, favoring safe underground storage of CO 2 over geological time scales.

58 GEOSCIENCES↗

Iron precipitation under controlled oxygen flow: Mineralogical implications for BIF precursors in the Archean ocean

Banded iron formation (BIF) deposition in the Archean ocean is thought to have been initiated by the oxidation of dissolved iron into ferric primary precursor phases that descended through the water column and were deposited on the seafloor. Effective interpretation of the trace element and isotopic composition of BIFs in the geologic record requires an understanding of the identity and longevity of those precursor phases. Temporal and spatial variation in oxidant concentration and ocean chemistry may have driven precursor mineralogy. Furthermore, precursor phases may undergo transitions during descent and burial. This experimental study follows the evolution of iron mineralogy, speciation, and redox state during the precipitation of iron under variable oxygen fluxes and in fluids containing different iron-complexing anions (chloride, sulfate, and phosphate). Additionally, suspensions collected after incomplete oxidation were anoxically aged to simulate changes to precursor mineralogy during descent below the seawater redoxcline. Results from X-ray diffraction, sequential dissolution, colorimetric determination of Fe redox state, and Fe K-edge X-ray absorption fine structure spectroscopy showed that under all experimental conditions, intermediate precipitates collected before complete iron uptake contained mineralized ferrous iron. Purely ferric mineral assemblages were not observed until iron was removed from solution. In low-oxygen experiments, intermediate precipitates contained phases with stoichiometric Fe 2+ , including magnetite, vivianite, and green rust (GR). Chloride green rust (GR1) had more ferric iron than sulfate green rust (GR2) and more readily transitioned to magnetite via disproportionation. GR2 was stable over a broader range of iron uptake; magnetite appeared mainly as an additional oxidation product in sulfate solution. In high oxygen experiments, mineralized ferrous iron occurred in amorphous phases or as a non-stoichiometric component in ferric oxides; final ferric assemblages were less crystalline than in low-oxygen equivalents. Low concentrations of phosphate increased the total iron oxidation rate, but also increased the ferrous content of intermediate precipitates. The incorporation of phosphate stabilized GR2 and facilitated GR2 precipitation over a larger range of iron uptake. In higher concentrations of phosphate, vivianite and poorly crystalline ferric hydroxides formed in place of GR. Here, these findings suggest that over a range of possible ocean chemistries, mixed-valence phases may have been short lived but relevant precursors to BIF. Additionally, anionic chemistry and oxidant concentration are shown to influence the crystallinity and chemical resistivity of final ferric assemblages, affecting their reactivity during later anoxic burial.

58 GEOSCIENCES↗

Field and Model Data Associated with the Manuscript “Drivers of Streamflow Intermittency in Humid Regions: 2. Evaluating Controls on Flow Persistence in an Urbanized Catchment”

This package contains field data, modeling files, and scripts supporting the investigation of the drivers of streamflow intermittency in an urbanized catchment. It includes the field data collected from electrical resistivity tomography (ERT) surveys, distributed temperature sensing (DTS), continuous self-potential (SP) monitoring, groundwater and stilling well. In addition, it contains the data and results of the coupled water- and electrical-flow model developed using the COMSOL Multiphysics and Advanced Terrestrial Simulator (ATS), as well as software files and Jupyter notebooks used to process the data and generate figures in the manuscript submitted for peer review. The data archive is organized in the following directories: 1) Climate Includes hourly precipitation and daily evapotranspiration time series (2024 – 2025) provided as CSV files, alongside a text file detailing dataset units. 2) Coupled_model Field_Application subfolder contains the ATS XML input scripts, data files, output data for the SP site. It also contains the Jupyter notebook (Plot_final_calib.ipynb) to visualize the results of the modeled SP, stream-groundwater exchange and moisture content. The flow model simulation is executed using the ATS XML scripts and the included Python script (generate_data_set.py) to convert ATS output to COMSOL-ready input. COMSOL Multiphysics template (.m can only be used with COMSOL with MATLAB) is executed using the ATS output data to simulate the potential field. 3) Discharge Includes the electrical conductivity (EC) time series (provided as CSV files) from salt slug injections. It also includes the Jupyter notebook (Discharge_process.ipynyb) used to estimate discharge. All discharge measurements collated into rating_curve_processed.csv 4) DTS Contains collated DTS data including raw Stokes and anti-Stokes measurement (provided as .h5 file). It also includes DTS processing.ipynb, a Jupyter notebook for calibrating the DTS data using dts_calibration Python package. cooler_calibration.csv is the DTS calibration CSV used in the calibration sequence. 5) ERT Contains raw resistivity data (provided as CSV files), spatial location of each of the electrodes (provided as CSV files), and files used for the resistivity inversion. 6) Slug_test Includes the slug test data at all the groundwater wells provided as CSV files, as well as the Jupyter notebook (Slug_test.ipynb) for calculating hydraulic conductivity. 7) SP Contains the SP data collected in field at the SP sites (provided as CSV files). 8) Well_data Contains two subfolders: 1) Raw, which provides unprocessed pressure, electrical conductivity and temperature timeseries downloaded from the loggers in all the groundwater and stilling wells, and 2) Processed, which contains sorted, QA/QC timeseries data for each well. The data archive also contains data_process.ipynb, a Jupyter notebook used for field data analysis and generating figures (plotting well, SP, climate, and discharge data, as well as calculating head gradient at sites with nested groundwater wells). Note: Code files (.ipynb, .py, .xml) can be opened in any standard code editor, .exo file can be viewed using Paraview, .h5 files can be opened using HDFView software and h5py Python package, and .resipy file can be opened with the open-source ResIPy software.

ATS↗

Field and Model Data Associated with the Manuscript “Drivers of Streamflow Intermittency in Humid Regions: 1. Evaluating Above- and Below-ground Controls of Flow Persistence in a Forested Catchment”

This package contains field data, modeling files, and scripts supporting the investigation of the drivers of streamflow intermittency in a forested catchment. It includes the field data collected from electrical resistivity tomography (ERT) surveys, ground penetrating radar (GPR), continuous self-potential (SP) monitoring, electromagnetic (EM) imaging, groundwater and stilling well. In addition, it contains the data and results of the coupled water- and electrical-flow model developed using the COMSOL Multiphysics and Advanced Terrestrial Simulator (ATS), as well as software files and Jupyter notebooks used to process the data and generate figures in the manuscript submitted for peer review. The data archive is organized in the following directories: 1) Climate Includes hourly precipitation and daily evapotranspiration time series (2024 – 2025) provided as CSV files, alongside a text file detailing dataset units. 2) Coupled_model Contains two subfolders: Synthetic and Field_Application subfolder. Synthetic subfolder contains the ATS XML input script (can be opened using any code editor) for the four synthetic hydrological cases tested (Connected and gaining, Connected and losing, Disconnected and losing, and dry stream). It also includes other experimental cases to test the influence of precipitation and concentration gradient. For each synthetic case, the flow model simulation is executed using the ATS XML scripts and the included Python script (generate_data_set.py) to convert ATS output to COMSOL-ready input. COMSOL Multiphysics template (.mph can be opened with the commercial software COMSOL and requires a license) is executed using the ATS output data to simulate the potential field. It also includes the Synthetic_model_plot.ipynb (can be opened using any code editor) to visualize the SP result and generate manuscript figures. The data subfolder contains mesh files to run both the ATS (.exo and .stl files can be viewed using Paraview; .h5 files can be opened using HDFView software and h5py Python package) and COMSOL models. Field_Application subfolder contains two subfolders: ES_MDA_inversion and Final_Model. ES_MDA_inversion contains the Python script (.py can be opened using any code editor) and SP observation data used to run the Ensemble Smoother with Multiple Data Assimilation (ES-MDA) inversion sequence to get the optimal model parameters. The Final_model subfolder contains the ATS XML input scripts, data files, output data for the two SP sites. The same workflow steps outlined for the Synthetic subfolder apply here. It also contains the Jupyter notebook (Plot_final_calib.ipynb) to visualize the results of the modeled SP, stream-groundwater exchange and moisture content. 3) Discharge Includes the electrical conductivity (EC) time series (provided as CSV files) from salt slug injections. It also includes the Jupyter notebook (Discharge_process.ipynyb) used to estimate discharge. All discharge measurements collated into rating_curve_processed.csv 4) EM Contains the CSV file of the EM data from the DUALEM-42, including spatial coordinates (x, y, z), apparent conductivity, and in-phase measurements at 2 m coil separations for horizontal coplanar (HCP) and perpendicular (PRP) geometries. 5) ERT Contains raw resistivity data (provided as CSV files), spatial location of each of the electrodes (provided as CSV files), and files used for the resistivity inversion (.resipy can be opened with the open-source ResIPy software). 6) GPR Includes GPR field datasets collected at 100 MHz and 250 MHz antenna frequencies, along with the processing/interpretation project file (GPR_process.gpz can be viewed using EKKO_Project 6, a commercial software by Sensors & Software that requires a license). 7) Slug_test Includes the slug test data at all the groundwater wells provided as CSV files, as well as the Jupyter notebook (Slug_test.ipynb) for calculating hydraulic conductivity. 8) SP Contains the SP data collected in field at the two SP sites (one in the perennial reach and the other in the intermittent reach), provided as DAT files. 9) Well_data Contains two subfolders: 1) Raw, which provides unprocessed pressure, electrical conductivity and temperature timeseries downloaded from the loggers in all the groundwater and stilling wells, and 2) Processed, which contains sorted, QA/QC timeseries data for each well. The data archive also contains data_process.ipynb, a Jupyter notebook used for field data analysis and generating figures (plotting well, SP, climate, and discharge data, as well as calculating head gradient at sites with nested groundwater wells). It also includes DTW.ipynb, a Jupyter notebook containing the code for the dynamic time warping (DTW) with sliding window to evaluate SP signal synchronicity.

ATS↗