Search NASA⌕ Search

SEARCH · Search NASA

Results for “Structured Programming”

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

High Gradient Accelerator Research

The goal of the MIT program of research on high gradient acceleration is the development of advanced acceleration concepts that lead to a practical and affordable next generation linear collider at the TeV energy level. Other applications, which are more near-term, include accelerators for materials processing; medicine; defense; mining; security; and inspection. The specific goals of the MIT program are: • Pioneering theoretical research on advanced structures for high gradient acceleration, including photonic structures and metamaterial structures; evaluation of the wakefields in these advanced structures • Experimental research to demonstrate the properties of advanced structures both in low-power microwave cold test and high-power, high-gradient test at megawatt power levels • Experimental research on microwave breakdown at high gradient including studies of breakdown phenomena induced by RF electric fields and RF magnetic fields; development of new diagnostics of the breakdown process • Theoretical research on the physics and engineering features of RF vacuum breakdown • Maintaining and improving the Haimson / MIT 17 GHz accelerator, the highest frequency operational accelerator in the world, a unique facility for accelerator research • Providing the Haimson / MIT 17 GHz accelerator facility as a facility for outside users • Active participation in the US DOE program of High Gradient Collaboration, including joint work with SLAC and with Los Alamos National Laboratory; participation of MIT students in research at the national laboratories • Training the next generation of Ph. D. students in the field of accelerator physics.

43 PARTICLE ACCELERATORS↗

The ezSpectra suite: An easy‐to‐use toolkit for spectroscopy modeling

Abstract A molecule's spectrum encodes information about its structure and electronic properties. It is a unique fingerprint that can serve as a molecular ID. Quantum chemistry calculations provide key ingredients for interpreting spectra, but modeling the spectra rarely ends there; it requires additional steps that entail combined treatments of electronic and nuclear degrees of freedom and account for specifics of the experimental setup (light energy, polarization, averaging over molecular orientations, temperature, etc.). This Software Focus article describes the ezSpectra suite, which currently comprises two stand‐alone open‐source codes: ezFCF and ezDyson . ezFCF calculates Franck–Condon factors, which yield vibrational progressions for polyatomic molecules, within the double‐harmonic approximation. ezDyson calculates absolute cross‐sections for photodetachment/photoionization processes and photoelectron angular distributions using Dyson orbitals computed by a quantum chemistry program. This article is categorized under: Electronic Structure Theory > Ab Initio Electronic Structure Methods Theoretical and Physical Chemistry > Spectroscopy Software > Simulation Methods

Gozem, Samer↗

The MuCool Test Area and RF Program

The MuCool RF Program focuses on the study of normal conducting RF structures operating in high magnetic field for applications in muon ionization cooling for Neutrino Factories and Muon Colliders. Here we give an overview of the program, which includes a description of the test facility and its capabilities, the current test program, and the status of a cavity that can be rotated in the magnetic field, which allows for a detailed study of the maximum stable operating gradient vs. magnetic field strength and angle.

43 PARTICLE ACCELERATORS↗

Diffractive Physics Program at the Electron–Ion Collider’s (EIC) 2 nd Detector

The Electron–Ion Collider (EIC) will be a novel experimental facility to explore the properties of gluons in nucleons and nuclei, shedding light on their structure and dynamics. The EIC community outlined the physics program of the EIC in a White Paper, and the demanding detector re quirements and potential technologies to deploy at an EIC detector were published in a comprehensive Yellow Report. The general-purpose detector resulting from these efforts, ePIC, is designed to perform a broad physics program. At the same time, the wider EIC community is strongly in favor of a second detector at the EIC. Having two general-purpose collider detec tors to support the EIC science program allows us to have cross-checks and control of systematic uncertainties for potential scientific discoveries. The second detector should feature complementary technologies where possible. It can also focus on specific measurements that are less well-addressed by ePIC. The second interaction region provides potentially improved forward detector acceptance at low pT and a secondary beam focus that enables to enhance the exclusive, tagging, and diffractive physics program. Hereby, I will present the potential capabilities of the second detector and discuss studies related to its diffractive physics program.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

FRAMEWORK FOR STRUCTURAL ONLINE HEALTH MONITORING OF AGING AND DEGRADATION OF SECONDARY PIPING SYSTEMS DUE TO SOME ASPECTS OF EROSION

This paper describes the current state of research related to critical aspects of erosion and selected aspects of degradation of secondary components in nuclear power plants (NPPs). The paper also proposes a framework for online health monitoring of aging and degradation of secondary components. The framework consists of an integrated multi-sensor modality system, which can be used to monitor different piping configurations under different degradation conditions. The report analyses the currently known degradation mechanisms and available predictive models. Based on this analysis, the structural health monitoring framework is proposed. The Light Water Reactor Sustainability Program began to evaluate technologies that could be used to perform online monitoring of piping and other secondary system structural components in commercial NPPs. These online monitoring systems have the potential to identify when a more detailed inspection is needed using real time measurements, rather than at a pre-determined inspection interval. This transition to condition-based, risk-informed automated maintenance will contribute to a significant reduction of operations and maintenance costs that account for the majority of nuclear power generation costs. Furthermore, of the operations and maintenance costs in U.S. plants, approximately 80% are labor costs. To address the issue of rising operating costs and economic viability, in 2017, companies that operate the national nuclear energy fleet started the Delivering the Nuclear Promise Initiative, which is a 3 year program aimed at maintaining operational focus, increasing value, and improving efficiency. There is unanimous agreement between industry experts and academic researchers that identifying and prioritizing inspection locations in secondary piping systems (for example, in raw water piping or diesel piping) would eliminate many excessive in-service inspections. The proposed structural health monitoring framework takes aim at answering this challenge by combining long range guided wave technologies with other monitoring techniques, which can significantly increase the inspection length and pinpoint the locations that degraded the most. More widely, the report suggests research efforts aimed at developing, validating, and deploying online corrosion monitoring techniques for complex geometries, which are pervasive in NPPs.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Synthesis and structure of a new layered oxyfluoride Sr{sub 2}ScO{sub 3}F with photocatalytic property

Highlights: • A new oxyfluoride compound Sr{sub 2}ScO{sub 3}F was prepared by a solid state route. • The structure of this compound was determined by GSAS program based on XRD data. • The photocatalytic property was investigated under UV irradiation. - Abstract: A new Ruddlesden–Popper type scandium oxyfluoride, Sr{sub 2}ScO{sub 3}F, was synthesized by a conventional solid state reaction route. The detailed structure of Sr{sub 2}ScO{sub 3}F was investigated using X-ray diffraction (XRD) and selected area electron diffraction (SAED). The disorder distribution pattern of fluorine anions was determined by the {sup 19}F nuclear magnetic resonance (NMR) spectrum. The compound crystallizes in a K{sub 2}NiF{sub 4}-type tetragonal structure (space group I4/mmm) with O/F anions disordered over the apical sites of the perovskite-type Sc(O,F){sub 6} octahedron layers interleaved with strontium cations. Ultraviolet–visible (UV–vis) diffuse reflection spectrum of the prepared Sr{sub 2}ScO{sub 3}F indicates that it has an absorption in the UV–vis region. The photocatalytic activity of Sr{sub 2}ScO{sub 3}F was further investigated, showing an effective photodegradation of Rhodamine-B (RB) within 2 h under UV light irradiation.

36 MATERIALS SCIENCE↗

Next-generation Algorithms for Assessing Infrastructure Vulnerability and Optimizing System Resilience

This report summarizes the work performed under the project project Next-Generation Algorithms for Assessing Infrastructure Vulnerability and Optimizing System Resilience. The goal of the project was to improve mathematical programming-based optimization technology for infrastructure protection. In general, the owner of a network wishes to design a network a network that can perform well when certain transportation channels are inhibited (e.g. destroyed) by an adversary. These are typically bi-level problems where the owner designs a system, an adversary optimally attacks it, and then the owner can recover by optimally using the remaining network. This project funded three years of Deon Burchett's graduate research. Deon's graduate advisor, Professor Jean-Philippe Richard, and his Sandia advisors, Richard Chen and Cynthia Phillips, supported Deon on other funds or volunteer time. This report is, therefore. essentially a replication of the Ph.D. dissertation it funded in a format required for project documentation. The thesis had some general polyhedral research. This is the study of the structure of the feasible region of mathematical programs, such as integer programs. For example, an integer program optimizes a linear objective function subject to linear constraints, and (nonlinear) integrality constraints on the variables. The feasible region without the integrality constraints is a convex polygon. Careful study of additional valid constraints can significantly improve computational performance. Here is the abstract from the dissertation: We perform a polyhedral study of a multi-commodity generalization of variable upper bound flow models. In particular, we establish some relations between facets of single- and multi- commodity models. We then introduce a new family of inequalities, which generalizes traditional flow cover inequalities to the multi-commodity context. We present encouraging numerical results. We also consider the directed edge-failure resilient network design problem (DRNDP). This problem entails the design of a directed multi-commodity flow network that is capable of fulfilling a specified percentage of demands in the event that any G arcs are destroyed, where G is a constant parameter. We present a formulation of DRNDP and solve it in a branch-column-cut framework. We present computational results.

97 MATHEMATICS AND COMPUTING↗

Morris County Improvement Authority, Morris County, New Jersey Renewable Energy Initiative

The Morris County Improvement Authority (Authority), a public body corporate and politic of the State of New Jersey and created and controlled by the County, at the direction of the County and through the Program guaranteed by the County, financed 3.2 MW of solar projects (Solar Projects) at fifteen (15) sites for seven (7) local government units (Local Units) in and including the County. The Program uses a Power Purchase Agreement (PPA) structure, where the Solar Developer constructs, operates and maintains all of the Solar Projects, for the benefit of the Local Units and the Authority, for the maximum State law allowable PPA period of fifteen (15) years. Although all fifteen (15) sites were funded by the Authority, only the Mennen Arena site was considered for the purposes of the required local match funding for this grant. Specifically at the Mennen Arena site, the Authority financed 1.6 MW of solar panels. On October 18, 2013, the DOE Grant was drawn down following completion of the necessary application documents and final execution of an agreement memorializing the contemplated transaction by the Local Units, the County, The Authority and the solar developer. The proceeds of the DOE Grant were then applied to reduce the PPA price to all Local Units across the program and increase the savings from approximately 1/3 to almost half off the existing and forecasted utility pricing over the fifteen (15) year term, without adversely affecting all of the other benefits. With the application of the rate buy down, the price of electricity purchased under the PPA dropped from 10.9 to 7.7 cents/kWh. This made acquisition of renewable energy much more affordable for the Local Units, and it enhanced the success of the program, which will encourage other counties and local units to develop similar programs.

14 SOLAR ENERGY↗

Vertical Axis Wind Turbine (VAWT) with Thermoplastic Composite Blades

Rising concerns about global climate change, planet pollution and increasing use of energy have accelerated wider utilization of renewable energy sources. A recent trend in energy system development is decentralization of power generation systems. The opportunity for individuals or organizations to generate electricity locally decreases losses and part of the electricity price caused by the long-distance power transmission. Vertical axis wind turbines (VAWTs) cannot compete with traditional horizontal axis wind turbines (HAWTs) on the basis of aerodynamic performance or maximum power output generated for a given footprint. However, their ability to perform at a wide range of wind speeds, indifference to wind direction, simplicity of fabrication, transportability and maintainability make them ideal candidates for decentralized installations in urban and residential areas. The project team including Steelhead Composites (SHC), Colorado State University (CSU), National Renewable Energy Laboratory (NREL) and Arkema Inc. designed and fabricated a VAWT rotor assembly with thermoplastic composite blades using novel infusion and fabrication techniques. This full-scale VAWT rotor assembly was designed for a rated power output of 0.5-1 kW, as estimated through analytical computational fluid dynamics (CFD) methods. Those CFD simulations were combined with structural finite element analysis (FEA) to optimize the shape and composite layup of the wind blades. Much of the emphasis of this program was to characterize the recyclable thermoplastic material and composite structural design, in order to take full advantage of the material properties of such composites. Additionally, this project examined the potential of thermoplastic resin systems to transform the way VAWT rotor assemblies are joined both in the factory in in the field, by utilizing thermally welded joints to minimize field failure. The infused composite blades manufactured during this program are an excellent example of these benefits made possible by the Arkema thermoplastic resin system. This prototype blade manufacturing also provided the groundwork to inform decisions for larger scale manufacturing techniques applicable to a commercialization strategy. There is specific commercial interest for small scale VAWT’s that are competitively priced, perform to expectations, and have environmentally conscious end-of-life characteristics. Economic analysis was also conducted to compare designs and material usage, providing an estimated levelized cost of energy (LCOE) for the VAWT. The next steps for commercialization would include testing of the rotor assembly to verify predicted performance, specification of the balance of plant components (generator, inverter, etc.), and identification of a manufacturing partner with capability to scale-up production. This program has showed the potential for a commercially viable product through detailed analysis, material characterization and prototype fabrication.

17 WIND ENERGY↗

Corrosion Control during Closure Activities at the Savannah River Site - 13514

Liquid radioactive wastes from the Savannah River Site (SRS) separation process are stored in large underground carbon steel tanks. Until the waste is removed from storage, transferred, and processed, the materials and structures of the tanks must maintain a confinement function by providing a barrier to the environment and by maintaining acceptable structural stability during normal service and design basis events (e.g., earthquake conditions). A corrosion control program is in place to ensure that degradation of the steel does not impact the structural and leak integrity functions of these waste tanks. The SRS is currently retrieving waste from older waste tanks and processing the waste through the vitrification for long term stabilization. The retrieval processes prepare the tanks for ultimate closure (i.e., grouting) by removing sludge by mechanical and/or sluicing methods, dissolving salt cake by adding water, and chemical cleaning of the residual sludge with oxalic acid. Each of these retrieval methods will result in waste chemistry that does not meet the requirements of the current corrosion control program. Given the short-term exposure and limited remaining service life for the tanks in which retrievals are being performed, an assessment of the need for corrosion controls in these tanks was performed. The assessment reviewed the corrosion rates in the more aggressive environments and the postulated loads on the structure during the closure activities. The assessment concluded that the current corrosion control program may be suspended for a short period of time while final retrieval of the waste is performed. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

The MuCool Test Area and RF Program

The MuCool RF Program focuses on the study of normal conducting RF structures operating in high magnetic field for applications in muon ionization cooling for Neutrino Factories and Muon Colliders. This paper will give an overview of the program, which will include a description of the test facility and its capabilities, the current test program, and the status of a cavity that can be rotated in the magnetic field which allows for a more detailed study of the maximum stable operating gradient vs. magnetic field strength and angle.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Environmental Durability Assessment and Development of Subcomponent Test Methods for Advanced Materials in Marine Energy Applications: Preprint

Marine energy developers are beginning to rely more heavily on advanced composite materials for their load bearing structures. Understanding how these materials respond and degrade in harsh marine environments is a complex problem. Much research has been performed at smaller laboratory scales to understand the fundamental physical and chemical degradation mechanisms, but little structural testing research has been performed at larger scales to understand how these physical and chemical interactions scale and how they should be accounted for in the design process. The Advanced Materials project is a multilaboratory research collaboration that has been addressing these issues with the intention of reducing risks and barriers to marine energy developers wanting to adopt advanced composite materials. The National Laboratory of the Rockies has been playing a leading role in developing larger scale testing infrastructure and test methods to validate complex numerical degradation models and standardize testing procedures to do so. This paper provides a review of past structural testing activities and how they have grown into current research activities and will continue to evolve into the future to directly address industry needs. This paper covers key research areas large-scale water absorption and subsequent structural validation testing, qualification of bolted and adhesive connections, and conducting combined submerged fatigue testing at increasing scales. This paper provides insights into the complex requirements for testing infrastructure and test method development to effectively qualify materials and certify marine energy structures for harsh marine environments. This research program paves the way for better guidance and standardization within the industry when adopting advanced composite materials.

16 TIDAL AND WAVE POWER↗

Mitigation of Hexavalent Chromium in Storm Water Resulting from Demolition of Large Concrete Structure at the East Tennessee Technology Park - 12286

American Recovery and Reinvestment Act (ARRA) funding was provided to supplement the environmental management program at several DOE sites, including the East Tennessee Technology Park (ETTP) in Oak Ridge, Tennessee. Demolition of the ETTP K-33 Building, the largest building to be demolished to date in Oak Ridge, was awarded to LSRS in FY-2010 under the ARRA program. The K-33 building was an 82 foot tall 2-story structure covering approximately 32 acres. Once this massive building was brought down to the ground, the debris was segregated and consolidated into piles of concrete rubble and steel across the remaining pad. The process of demolishing the building, tracking across concrete debris with heavy equipment, and stockpiling the concrete rubble caused it to become pulverized. During and after storm events, hexavalent chromium leached from the residual cement present in the large quantities of concrete. Storm water control measures were present to preclude migration of contaminants off-site, but these control measures were not designed to control hexavalent chromium dissolved in storm water from reaching nearby receiving water. The following was implemented to mitigate hexavalent chromium in storm water: - Steel wool was distributed around K-33 site catch basins and in water pools as an initial step in addressing hexavalent chromium. - Since the piles of concrete were too massive and unsafe to tarp, they were placed into windrows in an effort to reduce total surface area. - A Hach colorimetric field meter was acquired by the K-33 project to provide realtime results of hexavalent chromium in site surface water. - Three hexavalent chromium treatment systems were installed at three separate catch basins that receive integrated storm water flow from the K-33 site. Sodium bisulfite is being used as a reducing agent for the immobilization of hexavalent chromium while also assisting in lowering pH. Concentrations initially were 310 - 474 ppb of hexavalent chromium in surface water at the out-falls that discharge to nearby receiving water. After implementation of the actions described above, concentrations of hexavalent chromium have been effectively reduced to less than 25 ppb at the out-falls. The LSRS team completed demolition of K-33 five months ahead of schedule, and debris removal was completed three months ahead of schedule. A total of 164,000 tons of steel and concrete from the building demolition, accounting for 13,000 shipments, were disposed to the EMWMF. Because of the high toxicity of hexavalent chromium at low concentrations, hexavalent chromium had to be controlled at ppb levels. Hexavalent chromium contaminant concentrations were successfully reduced by over 90% in surface water discharged from the K-33 demolition site into nearby receiving water. Initial efforts of wind-rowing debris piles and obtaining real-time hexavalent chromium measurements to focus initiatives coupled with placement of steel wool in pools or catch basins had some effectiveness. More significant reductions were obtained as the debris piles were removed/disposed in EMWMF, and treatment of surface water with sodium bisulfite in integrated manholes occurred. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Genomes to Structure and Function Workshop Report 2022

The goal of the U.S. Department of Energy (DOE) Biological and Environmental Research (BER) Program is to achieve a predictive understanding of complex biological, earth, and environmental systems with the aim of advancing the nation’s energy and infrastructure security. (https://www.energy.gov/science/ ber/biological-and-environmental-research). To pursue this goal, collaborations among experts in diverse research areas that lead to multidisciplinary projects are indispensable. The roles of DOE’s User Facilities, which offer unique and powerful resources for such research projects, are evolving, and expectations for the facilities are increasing. To respond to Users’ needs, the Joint Genome Institute (JGI) and Environmental Molecular Sciences Laboratory (EMSL) initiated the Facilities Integrating Collaborations for User Science (FICUS) program in 2014. This collaboration has grown into a popular and successful program, advancing more than 100 multidisciplinary projects to date. Similarly, the new interFacility collaborations among the JGI, EMSL, and User resources for BER structural biology and imaging at the Basic Energy Science (BES) Program’s synchrotron and neutron facilities are becoming essential for cutting-edge transdisciplinary science. To further explore the need for the BER research community to combine genomic, functional, and structural approaches to advance their research, an organizing committee was formed to develop and jointly host a 3-part workshop. The committee’s members represented seven DOE National Laboratory User Facilities (Appendix 1 lists the members). The “Genomes to Structure and Function” virtual workshop (see Appendices 2–5) was composed of three sessions. The first session, titled “Molecular Structures” (October 27– 28, 2021), highlighted diverse integrative experimental and computational approaches correlating structural data with sequencing and functional information, as well as predicting protein structures to model complex biological systems. The second session, “Intracellular Organization, and Material Synthesis and Decomposition” (December 15–16, 2021), covered imaging methods for observing, quantifying, and manipulating biosystems. The third session, “Imaging the Rhizosphere and Cellular Organization” (January 26–27, 2022) emphasized advanced and non-invasive imaging techniques applied to plant root-microbe-soil interactions.

59 BASIC BIOLOGICAL SCIENCES↗

Quantifying the Impacts of Timebased Rates, Enabling Technology, and Other Treatments in Consumer Behavior Studies: Protocols and Guidelines

This report offers guidelines and protocols for measuring the effects of time-based rates, enabling technology, and various other treatments on customers’ levels and patterns of electricity usage. Although the focus is on evaluating consumer behavior studies (CBS) that involve field trials and pilots, the methods can be extended to assessing the large-scale programs that may follow. CBSs are undertaken to resolve uncertainties and ambiguities about how consumers respond to inducements to modify their electricity demand. Those inducements include price structures; feedback and information; and enabling technologies embedded in programs such as: critical peak, time-of use, real-time pricing; peak time rebate or critical peak rebate; home energy reports and in-home displays; and all manner of device controls for appliances and plug loads. Although the focus of this report is on consumer studies—where the subjects are households—the behavioral sciences principles discussed and many of the methods recommended apply equally to studying commercial and industrial customer electricity demand.

29 ENERGY PLANNING, POLICY, AND ECONOMY↗

Turbulence in Continental Stratocumulus, Part I: External Forcings and Turbulence Structures

Comprehensive, ground-based observations from the US Department of Energy Atmospheric Radiation Measurements program Southern Great Plains site are used to study the variability of turbulence forcings and cloud-scale turbulence structures in a continental stratocumulus cloud. The turbulence observations are made from an upward facing cloud (35 GHz) Doppler radar. Cloud base and liquid water path are characterized using a lidar at the surface and a microwave radiometer. The turbulence characterizations are compared and contrasted with those observed in marine stratocumulus clouds. During the 16-h observation period used in this study the cloud-base and cloud-top heights evolve with time and changes in liquid water path observed by the radiometer are consistent with variations in cloud depth. Unlike marine stratocumulus clouds, a diurnal cycle of cloud thickness and liquid water path is not observed. The observed surface latent, sensible, and virtual sensible heat fluxes and the radiative fluxes exhibit a diurnal cycle with values increasing from sunrise to afternoon and decreasing afterwards. During the night, the sensible heat, virtual sensible heat and the net radiative fluxes at the surface are slightly negative. Solar radiative heating prevails in the cloud layer during the day and strong radiative cooling exists at cloud top even during the day. Unlike marine stratocumulus, surface heating described by the convective velocity scale W* s and cloud-top cooling described by W* r are both important in driving the in-cloud turbulence during the day, whereas cloud-top cooling is the exclusive contributor during the night. The combined W* s and W* r (the total velocity scale W* t ) provides a useful way to track the evolution of the turbulence structure in the cloud. The variance of the radar-measured radial velocity, which is related to resolved turbulence, follows the diurnal cycle and is consistent with the total velocity scale W* t variations. It is higher during the day and lower during the night, which is contrary to that in marine stratocumulus. The W* t values are lowest around sunset when the radiative cooling is also small due to upper-level clouds observed above the low-level stratus. The vertical distribution of the variance results from the surface heating during the day and cloud-top cooling during the night. The squared spectrum width, which is related to turbulence structures within the radar sampling volume (unresolved turbulence) also follows the diurnal cycle. Its vertical distribution indicates that the unresolved turbulence more closely relates to the processes near cloud top. Turbulence in the cloud requires about an hour to respond to the external forcings of surface heating and cloud-top radiative cooling. Positive skewness prevails during the day and negative skewness prevails at night with a sharp transition around sunset. Resolved turbulence dominates near cloud base whereas unresolved turbulence dominates near cloud top. The turbulence characteristics and variability defined in this study can be used to evaluate the time evolution of turbulence structures in large eddy simulation forced by surface and cloud-top radiative forcings.

Continental stratocumulus↗

CodeScribe Agent

SF-26-086 CodeScribe introduces a structured, multi-stage pipeline that combines deterministic program analysis with LLM-powered translation to enable incremental, testable Fortran-to-C++ migration. First, `code-scribe index` traverses the project directory tree and produces `scribe.yaml` metadata files recording all modules, subroutines, and functions at each level, giving the LLM accurate structural context instead of a hallucinated codebase model. Second, `code-scribe draft` performs the deterministic portion of translation — converting Fortran types to C++ equivalents, replacing `use` statements with `#include` and `using namespace` directives, and detecting constructs requiring special handling — while embedding`scribe-prompt` annotations that guide the LLM through non-trivial cases such as statement-function-to-lambda conversions and `extern "C"` wrapper generation. Third, `code-scribe translate` applies project-specific TOML-based few-shot prompt templates and submits the composed prompt to a pluggable LLM backend (OpenAI, Anthropic, Argonne ARGO, any OpenAI-compatible endpoint, or local Hugging Face checkpoints), producing a C++ source file, a header, and a Fortran-C++ interface file for each translated routine so the codebase compiles and runs correctly throughout the migration. Beyond translation, CodeScribe includes a tool-using coding agent (`code-scribe agent`) with read, bash, edit, and write capabilities, and a bounded loop mode (`code-scribe loop`) that runs repeated stateless agent sessions over a task file with restricted tool access — enabling sustained, auditable software development workflows for broader scientific computing tasks.

Dhruv, Akash [Argonne National Laboratory (ANL), A↗