Search NASA⌕ Search

SEARCH · Search NASA

Results for “multiphysics modeling”

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 1,135 records · Page 63

VUSAT - A VERA-CS Uncertainty and Sensitivity Analysis Toolkit

VERA-CS (the Virtual Environment for Reactor Applications, Core Simulator) is a high-fidelity multiphysics core simulator under development by the Consortium for Advanced Simulation of Light Water Reactors (CASL). VERA-CS includes three main components: MPACT for reactor physics and neutron transport, COBRA-TF for thermal-hydraulics, and ORIGEN for isotopic depletion. VERA-CS has been applied to an array of problems including core physics analysis, and the modeling for all of the fuel cycles of Watts Bar Nuclear Unit 1 (WBN1). MPACT is a 3D pin-resolved reactor transport code developed by Oak Ridge National Laboratory (ORNL) and the University of Michigan. COBRA-TF (CTF) is a three-field two-phase flow subchannel analysis code developed by ORNL and North Carolina State University. CTF solves the mass, momentum, and energy equations for the liquid, vapor, and droplet phases for each subchannel in the core and captures the axial flow within each channel as well as cross-flow between channels. Direct coupling between neutronics (MPACT) and thermal-hydraulics (CTF) in VERA-CS provides temperature and density feedback. CTF includes a number of models important for LWR safety and design analysis including flow regime dependent two-phase wall heat transfer, inter-phase heat transfer and drag, droplet breakup, and quench-front tracking. ORIGEN is developed by ORNL and released through the SCALE package. ORIGEN is directly integrated in MPACT through its API to calculate the changes in nuclides for every depletable cross-section region. Uncertainties exist in safety calculations with computer codes for nuclear reactor modeling and simulation, and they come from code limitations, scaling inaccuracies embedded in the experimental data, and uncertainties associated with the state of the reactor at the initiation of the transient. Consequently, for applications of high fidelity calculations using VERA-CS, proper uncertainty quantification (UQ) and sensitivity analysis (SA) of the computing models of reactor neutronics and thermal-hydraulics are important to comprehensively understand the results. New methods in UQ and SA have to be developed in multi-physics calculations using VERA-CS. Toward this end, a software package called VUSAT which stands for VERA-CS Uncertainty and Sensitivity Analysis Toolkit has been developed to facilitate the applications of VERA-CS within the context of best estimate plus uncertainty (BEPU) analysis framework. In this work, the VUSAT application to analyze departure from nucleate boiling (DNB) is presented.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Light Water Reactor Sustainability Program: Grizzly Year-End Progress Report

The Grizzly software application is being developed under the Light Water Reactor Sustainability (LWRS) program to address aging and material degradation issues that could potentially become an obstacle to life extension of nuclear power plants beyond 60 years of operation. Grizzly is based on INL’s MOOSE multiphysics simulation environment, and can simultaneously solve a variety of tightly coupled physics equations, and is thus a very powerful and flexible tool with a wide range of potential applications. Grizzly, the development of which was begun during fiscal year (FY) 2012, is intended to address degradation in a variety of critical structures. The reactor pressure vessel (RPV) was chosen for an initial application of this software. Because it fulfills the critical roles of housing the reactor core and providing a barrier to the release of coolant, the RPV is clearly one of the most safety-critical components of a nuclear power plant. In addition, because of its cost, size and location in the plant, replacement of this component would be prohibitively expensive, so failure of the RPV to meet acceptance criteria would likely result in the shutting down of a nuclear power plant. The current practice used to perform engineering evaluations of the susceptibility of RPVs to fracture is to use the ASME Master Fracture Toughness Curve (ASME Code Case N-631 Section III). This is used in conjunction with empirically based models that describe the evolution of this curve due to embrittlement in terms of a transition temperature shift. These models are based on an extensive database of surveillance coupons that have been irradiated in operating nuclear power plants, but this data is limited to the lifetime of the current reactor fleet. This is an important limitation when considering life extension beyond 60 years. The currently available data cannot be extrapolated with confidence further out in time because there is a potential for additional damage mechanisms (i.e. late blooming phases) to become active later in life beyond the current operational experience. To develop a tool that can eventually serve a role in decision-making, it is clear that research and development must be perfomed at multiple scales. At the engineering scale, a multiphysics analysis code that can capture the thermomechanical response of the RPV under accident conditions, including detailed fracture mechanics evaluations of flaws with arbitrary geometry and orientation, is needed to assess whether the fracture toughness, as defined by the master curve, including the effects of embrittlement, is exceeded. At the atomistic scale, the fundamental mechanisms of degradation need to be understood, including the effects of that degradation on the relevant material properties. In addition, there is a need to better understand the mechanisms leading to the transition from ductile to brittle fracture through improved continuum mechanics modeling at the fracture coupon scale. Work is currently being conducted at all of these levels with the goal of creating a usable engineering tool informed by lower length-scale modeling. This report summarizes progress made in these efforts during FY 2013.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

FAST.Farm Response to Varying Wind Inflow and Discretization

FAST.Farm is a newly developed multiphysics, midfidelity engineering tool that can be used to predict turbine power and structural loads of wind turbines in a wind farm. Previous studies have shown the similarities and differences between FAST.Farm and large-eddy simulations (LES) using the same LES-precursor-generated ambient wind inflow. The ability to generate ambient wind inflow using a synthetic turbulence engineering model (e.g., TurbSim or the Mann model) has recently been integrated into FAST.Farm to potentially enable more computationally efficient usage of the tool. This work aims to: 1) compare FAST.Farm simulations using LES-generated inflow to those using synthetically generated inflow from TurbSim, and 2) establish guidelines by which TurbSim-generated inflow should be generated for wind farm analysis. It was found that properly setting spatial coherence parameters for the transverse wind velocity components is necessary to accurately predict wake meandering. It is shown that TurbSim-generated inflow can be used in FAST.Farm to accurately predict thrust, power, speed, and torque for waked and unwaked turbines; wake meandering behavior across different atmospheric conditions; and averaged wake-deficit advection and evolution effects.

17 WIND ENERGY↗

FAST.Farm Response to Varying Wind Inflow Techniques: Preprint

FAST.Farm is a newly developed multiphysics, midfidelity engineering tool that can be used to predict turbine power and structural loads of wind turbines in a wind farm. Previous studies have shown the similarities and differences between FAST.Farm and large-eddy simulations (LES) using the same LES-precursor-generated ambient wind inflow. The ability to generate ambient wind inflow using a synthetic turbulence engineering model (e.g., TurbSim or the Mann model) has recently been integrated into FAST.Farm to potentially enable more computationally efficient usage of the tool. This work aims to: 1) compare FAST.Farm simulations using LES-generated inflow to those using synthetically generated inflow from TurbSim, and 2) establish guidelines by which TurbSim-generated inflow should be generated for wind farm analysis. It was found that properly setting spatial coherence parameters for the transverse wind velocity components is necessary to accurately predict wake meandering. It is shown that TurbSim-generated inflow can be used in FAST.Farm to accurately predict thrust, power, speed, and torque for waked and unwaked turbines; wake meandering behavior across different atmospheric conditions; and averaged wake-deficit advection and evolution effects.

17 WIND ENERGY↗

Multiphysics simulation of recent experiments on alkali‐silica reaction expansion in reinforced concrete members

Alkali‐silica reaction (ASR) is an important degradation process that causes volumetric expansion and damage in concrete, and is affected significantly by the local temperature, moisture and stress conditions that often vary across the regions of a structure. Numerical simulation is essential to predict the progression and effects of ASR on the performance of structures. Because of the interactions between thermal and moisture transport and mechanical deformation, it is important for numerical models to represent all these physical phenomena and the coupling between them. Simulations of ASR in reinforced concrete (RC) structures are further complicated by the need to capture interactions between concrete and embedded reinforcing bars. Here, this paper describes the implementation of a scalable, coupled‐physics ASR model for simulating RC structures and assesses the ability of that model to predict ASR‐induced expansion in recent laboratory tests on RC block and beam specimens. These laboratory tests and the simulation approach were selected because of their applicability to RC structural‐scale simulations. This validation study helps builds confidence the ability of this approach to model ASR expansion in large, complex RC structures, which is a current high‐priority need.

36 MATERIALS SCIENCE↗

BlueCRAB Domain Overlapping Coupling: Theory & Verification

Coupling low- and high-fidelity codes is a useful way to model complex engineering systems. Thanks to the high-fidelity code, complex phenomena can be resolved in areas of the system where this is required, yet the efficiency of the lower-fidelity code is still retained in modeling the rest of the system. This document details the theory and implementation of coupling two different thermal-hydraulic codes: the system thermal-hydraulics (STH) code System Analysis Module (SAM) and the coarse-mesh computational fluid dynamics (CFD) code Pronghorn. Both applications are included in the Comprehensive Reactor Analysis Bundle (BlueCRAB) code suite and are based on the Multiphysics Object-Oriented Simulation Environment (MOOSE) framework. The domain overlapping (DO) coupling approach was adopted, as it offers proven advantages over more conventional domain decomposition methods. In the DO coupling, SAM provides Pronghorn with boundary conditions that depend on the system-level simulation of the entire plant. In return, the overlapping coupled SAM components–termed “surrogate components”–receive friction factors and source terms computed online based on the Pronghorn simulation. The framework is designed to be generic and enable coupling regardless of geometry and the number of inlet/outlet boundaries in the DO coupled domain. The developed method leads to consistent pressure drops, enthalpies, and scalar concentrations when comparing the coupled SAM and Pronghorn simulations. This document presents the DO coupling approach, along with two verification and two demonstration cases. The proposed problems explore different physical aspects relevant to nuclear reactor analysis, including buoyancy-driven flows, complex flow patterns, and multiple inlets and outlets. Periodically, new versions of this “BlueCRAB Domain Overlapping Coupling: Theory & Verification” report will be issued to reflect future developments and verification tests.

22 - GENERAL STUDIES OF NUCLEAR REACTORS↗

Verification of the BISON fuel performance code

BISON is a modern finite element-based nuclear fuel performance code that has been under development at Idaho National Labo- ratory (USA) since 2009. The code is applicable to both steady and transient fuel behavior and is used to analyze 1D spherical, 2D axisymmetric, or 3D geometries. BISON has been applied to a variety of fuel forms including LWR fuel rods, TRISO-coated fuel particles, and metallic fuel in both rod and plate geometries. Code validation is currently in progress, principally by comparison to instrumented LWR fuel rods and other well known fuel performance codes. Results from several assessment cases are reported, with emphasis on fuel centerline temperatures at various stages of fuel life, fission gas release, and clad deformation during pellet clad mechanical interaction (PCMI). BISON comparisons to fuel centerline temperature measurements are very good at beginning of life and reasonable at high burnup. Although limited to date, fission gas release comparisons are very good. Comparisons of rod diameter following significant power ramping are also good and demonstrate BISON’s unique ability to model discrete pellet behavior and accurately predict clad ridging from PCMI.

99 GENERAL AND MISCELLANEOUS↗

Assessment of MARMOT: A Mesoscale Fuel Performance Code

MARMOT is the mesoscale fuel performance code under development as part of the US DOE Nuclear Energy Advanced Modeling and Simulation Program. In this report, we provide a high level summary of MARMOT, its capabilities, and its current state of validation. The purpose of MARMOT is to predict the coevolution of microstructure and material properties of nuclear fuel and cladding. It accomplished this using the phase field method coupled to solid mechanics and heat conduction. MARMOT is based on the Multiphysics Object-Oriented Simulation Environment (MOOSE), and much of its basic capability in the areas of the phase field method, mechanics, and heat conduction come directly from MOOSE modules. However, additional capability specific to fuel and cladding is available in MARMOT. While some validation of MARMOT has been completed in the areas of fission gas behavior and grain growth, much more validation needs to be conducted. However, new mesoscale data needs to be obtained in order to complete this validation.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Berkeley Lab Finite Element Framework (BELFEM) v0.1

The software program, referred to as BELFEM, is a specialized finite element code designed for the magnetodynamic modeling of high-temperature superconducting (HTS) tapes. It incorporates novel mixed finite element formulations, particularly the h-ϕ-formulation with thin-shell simplification, to efficiently simulate larger geometries. This methodology is extremely promising for predicting the electrodynamic performance of HTS tapes used in superconducting cables and magnets, offering the benefit of reduced computational cost. Compared to similar technologies like COMSOL Multiphysics and GetDP, BELFEM's performance benchmarking indicates superior efficiency in its thin-shell implementation. In the future, it will also support features like thermal coupling and inter-tape current sharing, enhancing its utility in research and development, particularly in nuclear fusion applications. The intent is to develop BELFEM as a robust and efficient tool for the HTS community, contributing to the analysis and design of superconducting cables and magnets.

Messe, Christian↗

FY2021 Improvements to the New CTH Code Verification & Validation Test Suite

Over the past few years, the CTH multiphysics hydrocode has overhauled its software quality and testing processes, implementing current best practices in software quality and building a robust V&V test suite comprised of traditional hydrocode verification problems, including ASC Tri-Lab Test Suite and Enhanced Tri-Lab Test Suite problems, as well as validation problems for some of CTH’s most frequently used equations of state, materials models, and other key capabilities. Substantial progress towards building this new test suite was made in FY19 and FY20. In FY21, the test suite has been expanded to include verification and validation tests of the Steinberg-Guinan-Lund (ST) viscoplastic model and the Johnson Cook (JFRAC) fracture model. Additionally, two new verification tests were added, covering hydrodynamics and high explosive (HE) modeling capabilities: the Kidder Gaussian density problem and the Escape of HE Products (EHEP) problem from the Tri-Lab Test Suite. This report discusses each of these test problems in detail. Verification test results are compared to analytic solutions. Validation test results are compared to experimental data. Wherever possible, convergence or mesh refinement studies are included. Additionally, while implementing the Kidder verification problem, a bug was identified that affects the use of tables to initialize pressure or density in 1D or 2D calculations. A brief discussion of the bug and its fix is included. CTH demonstrates good performance overall on the new test suite problems. Simulation results showed good agreement with analytic solutions for the Kidder problem, with convergence rates ranging between 1.8 and sub-linear, and relatively good agreement for the EHEP problem, though convergence rates for pressure and density were nearly 0. The ST and JFRAC strain rate loading verification tests show good agreement with analytic solutions. Likewise, CTH simulation results show good agreement with experimental validation data, including Taylor rod impact testing, for the materials tested. Future V&V work will focus on adding 2D and 3D versions of existing verification tests as well as adding validation tests of other frequently used capabilities such as other fracture models.

42 ENGINEERING↗

Building a new multiphysics workflow in MOOSE: application to tritium migration, trapping and advection in TMAP8

Fusion devices are anticipated to produce and consume several kilograms of tritium per year. This rare fuel resource is both highly mobile and radioactive, making tracking inventories a priority for operation and safety. The fusion safety program at the Idaho National Laboratory has been developing the Tritium Migration and Analysis Program (TMAP), of which the latest version is a MOOSE-based application. TMAP8 is verified against its predecessors and possesses additional multi-dimensional tritium migration modeling capabilities. As we extend its capabilities towards both whole device (in multiple dimensions) and whole plant (with multiple components) simulations, the syntax of inputs must become compact, descriptive, compatible with quality assurance processes, and as error-proof as achievable. The new Physics system developed MOOSE can set up equations and instantiating them on plant components. The system permits the automatic definition of complex discretization with a consistency between object parameters achieved programmatically. The Physics system can currently instantiate the equations for heat conduction and Navier Stokes weakly compressible flow. In MOOSE-terms, it automates the definition of kernels, boundary conditions, and several core and helper materials and fields. As part of this effort, Physics classes were developed for tritium migration, trapping and advection within either a multi-dimensional Navier Stokes fluid dynamics simulation, or a 1D thermal hydraulics piping system. In this presentation, we will showcase the new syntax, its application to several verification and validation cases which were already studied using the classical TMAP8 syntax, and a demonstration of the new coupling capabilities for the migration of tritium into blanket coolant channels and the subsequent advection into the coolant loop.

70 - PLASMA PHYSICS AND FUSION TECHNOLOGY↗

VERA BWR progression problems

During the first phase of the Consortium for Advanced Simulation of Light Water Reactors (CASL) program, the Virtual Environment for Reactor Applications (VERA) was developed with a focus on capabilities for high-fidelity, multiphysics simulation of pressurized water reactors (PWRs). During this development effort, a set of progression problems was created ranging from smaller pin cell calculations to larger 3D full-core calculations. These progression problems helped to guide the development of the software and served as benchmarks against which to test VERA. Since 2019, efforts have been made to extend the capabilities of VERA to model boiling water reactors (BWRs). Because BWR simulations come with many unique challenges, a set of BWR progression problems was developed to aid in this new effort. The BWR progression problems range from 2D lattice calculations to 3D mini-core problems, and reference neutronic solutions were computed using continuous-energy Monte Carlo codes. MPACT, one of the neutronics code in VERA, was benchmarked using the BWR progression problems. The code is capable of computing solutions to all problems. The eigenvalues computed by MPACT agree well with the Monte Carlo reference solutions. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

NEAMS Workbench MOOSE Integration Update

The Nuclear Energy Advanced Modeling and Simulation (NEAMS) Workbench is a graphical user interface (GUI) that provides a common analysis environment for the accelerated use of the NEAMS toolkit. To improve design and analysis of current and future nuclear energy systems, the NEAMS Workbench provides an integrated development environment for model creation, review, execution, output review, and visualization for integrated tools. In addition to a GUI, the NEAMS Workbench provides the Workbench Analysis Sequence Processor, an open-source tool set that facilitates input-content assistance for supported domain-specific input languages and user-friendly syntaxes. These supported syntaxes enable accelerated development and deployment of enhanced user inputs and workflows. The Multiphysics Object-Oriented Simulation Environment (MOOSE) has been supported in the NEAMS Workbench since 2016 and receives continuous updates. Efforts to improve MOOSE-based tool integration in the NEAMS Workbench are ongoing. This document details the current and planned enhancements of the NEAMS Workbench and the MOOSE framework to improve integration and usability of MOOSE-based applications within the NEAMS Workbench.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

MOSCATO Development and Integration in Fiscal Year 2024

MOSCATO (Molten Salt Chemistry and Transport) is a multiphysics code that provides high-fidelity, coupled simulations of fluid flow, heat transfer, mass transfer, chemistry, electrochemical phenomena, and alloy evolution for molten salt equipment. In FY24, significant developments were made to the code package, enhancing its capabilities in many aspects. The improvements and advancements can be summarized as follows: 1. Implementation of tritium transport capabilities and validation with experimental data: To enable modeling of tritium and other fission gases within MSRs, we implemented gas transport within MOSCATO via inclusion of couple mass transport equations within the salt and structural alloys. Comparisons to experimental data from literature showed good agreement with respect to tritium release rates. 2. Preliminary implementation of two-phase flow models in MOSCATO: To model tritium and other gases above their solubility limits, we implemented preliminary two-phase flow models within MOSCATO to account for bubble transport. The first model adopted was the Level-Set approach, which can handle the high void fraction regime, but with a requirement for high mesh resolution thus high computational expense. In this report, we present a verification of the Level-Set method using a simple benchmark case. We also performed a demonstration of the code as applied to an experimental case involving cover gas flow through salt in an experimental vessel. The second model adopted was the Eulerian-Eulerian dispersed flow model, which is computationally cheaper but limited to low void fraction regimes, such as bubbly flow. Validation and verification have not yet been performed for the Eulerian-Eulerian approach, but a preliminary implementation was completed. 3. Validation with static corrosion experiments: Static corrosion experimental data for stainless steel coupons within molten salts was used to further validate the corrosion model in MOSCATO. To do so, we leveraged the existing models in MOSCATO and simulated the sample mass loss and mass gain phenomena. Several ion species, including Cr 2+ , Fe 2+ and H + , were simulated in salt using the PNP solver, while Cr 0 and Fe 0 were simulated with a diffusion solver in stainless steel. The mass loss of the samples was compared with experimental data, and good agreement was achieved. These combined activities served to further expand the capabilities of MOSCATO and make it more generally applicable to the full range of phenomena that can control chemistry and corrosion in molten salt reactors.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

SU-F-I-50: Finite Element-Based Deformable Image Registration of Lung and Heart

Purpose: Photodynamic therapy (PDT) is used after surgical resection to treat the microscopic disease for malignant pleural mesothelioma and to increase survival rates. Although accurate light delivery is imperative to PDT efficacy, the deformation of the pleural volume during the surgery impacts the delivered light dose. To facilitate treatment planning, we use a finite-element-based (FEM) deformable image registration to quantify the anatomical variation of lung and heart volumes between CT pre-(or post-) surgery and surface contours obtained during PDT using an infrared camera-based navigation system (NDI). Methods: NDI is used during PDT to obtain the information of the cumulative light fluence on every cavity surface point that is being treated. A wand, comprised of a modified endotrachial tube filled with Intralipid and an optical fiber inside the tube, is used to deliver the light during PDT. The position of the treatment is tracked using an attachment with nine reflective passive markers that are seen by the NDI system. Then, the position points are plotted as three-dimensional volume of the pleural cavity using Matlab and Meshlab. A series of computed tomography (CT) scans of the lungs and heart, in the same patient, are also acquired before and after the surgery. The NDI and CT contours are imported into COMSOL Multiphysics, where the FEM-based deformable image registration is obtained. The NDI and CT contours acquired during and post-PDT are considered as the reference, and the Pre-PDT CT contours are used as the target, which will be deformed. Results: Anatomical variation of the lung and heart volumes, taken at different times from different imaging devices, was determined by using our model. The resulting three-dimensional deformation map along x, y and z-axes was obtained. Conclusion: Our model fuses images acquired by different modalities and provides insights into the variation in anatomical structures over time.

60 APPLIED LIFE SCIENCES↗

Computational Mechanics Support to National Highway Traffic Safety Administration (NHTSA), Progress Report, August 2012

The Transportation Research and Analysis Computing Center (TRACC) with the National Highway Safety Administration (NHTSA) Vehicle Safety Research has established an interagency agreement between the U.S. Department of Transportation and the U.S Department of Energy to provide assistance to NHTSA’s ongoing projects. The work will be performed in FY 2013 by the Transportation Research and Analysis Computing Center at Argonne National Laboratory. The project will be performed under the “Work for Others” (WFO) clause of the prime contract between the operator of Argonne National Laboratory (UChicago Argonne LLC) and the U.S Department of Energy. For the past five years, NHTSA has been using TRACC’s HPC computer and participating in computational structural mechanics training classes. NHTSA mainly used the LS-DYNA software package including: LS-DYNA (multiphysics solvers), LS-OPT (optimization tool) and LS-PrePost (pre- and post-processing tool). NHTSA crash analysis researchers were early users of the TRACC cluster and have become the most active users of TRACC’s 500 core LS-DYNA software license. The large core-license-pool allows NHTSA to minimize the time needed to obtain simulation results and, thus, expand modeling variations that must be considered to ensure credible treatment of crash events while meeting critical project deadlines. The purposes of this project are (1) to enhance future cooperation between NHTSA and TRACC and (2) to secure NHTSA’s access to TRACC’s high performance cluster, LS-DYNA and TRACC’s staff expertise.

Ley, H.↗

Numerical and Analytical Modeling of the Effect of Cracks on the Self-Inductance of a COTS YJ-41003-TC Toroid

COTS inductors and transformers often contain partial cracks whose effect on inductance, a key performance parameter, have not been carefully studied. In this report, the effects of both partial and complete cracks on the self-inductance of a 100 turn square cross section COTS YJ-41003-TC toroid comprised of J Material was comprehensively investigated using both analytically derived closed form expressions and 3D computational techniques employing commercial codes. Both partial (half-penny) and complete (air gap) cracks of 10 and 25 μm were investigated. The crack is defined as the physical distance between two faces of the toroid's magnetic core, such that the surface normal of either face is along the Φ-direction, in alignment with the B-field. For the purposes of validation, two different approaches were incorporated for both the analytical and numerical models. The two analytical methods are comprised of a first principles approach based on the physics of electromagnetics, as well as linear circuit theory. The former directly utilizes the integral form of Maxwell's equations while the latter exploits the interchangeable relationship between electric and magnetic circuits. Validation within the computational scheme is realized through a code-to-code comparison between commercial solvers, COMSOL Multiphysics and CST, with the former employing the Finite Element Method (FEM) and the latter the Finite Difference Time Domain (FDTD) technique. Sound agreement between all four methods (ie., two analytical and two numerical) is observed, with results indicating that only a perturbation in self-inductance occurs for the half-penny cracks, while a substantial reduction takes place for the case of complete cracks. It is important to note that even though a static μ r is applied, representing the linear region of the BH curve (based on manufacturer specifications), the complete crack results still place a lower conservative bound on the inductance. This follows from the fact that even in the case of a half-penny crack, if the magnetic core portion of the crack approaches saturation, the crack begins to behave like an air gap, or complete crack. When an air gap is introduced into a magnetic core, a substantial reduction in inductance can occur due to the significant difference in permeabilities between the two mediums (ie., μ core >> μ air ). The once intact bulk magnetic core of the toroid essentially begins to behave like an air core.

36 MATERIALS SCIENCE↗

RAG for FLAG: AI Assistance for a Physics Code

Artificial intelligence (AI) has quickly become an important tool in scientific research, where significant efforts are underway to develop tools that will expedite the research process. One area of particular impact is scientific software, which can be particularly complex, and therefore time consuming to learn and use effectively. AI assistants are increasingly helping to streamline the process by performing tasks such as interactively answering user questions or suggesting solutions. Los Alamos National Laboratory (LANL) develops several advanced scientific codes, such as FLAG, which can be used to run multiphysics simulations. With this study, our goal was to develop an AI assistant for FLAG that could help make the process of understanding the software and running physics simulations more efficient. To develop an AI assistant for FLAG, we used a method called retrieval-augmented generation (RAG), which is a technique that uses information from relevant data sources to enhance the accuracy of large language models (LLMs). We used the FLAG user manual and other FLAG documentation as the knowledge base for the RAG system. When a user provides a query, RAG retrieves relevant sections from the knowledge base in response, then uses those excerpts to generate grounded and contextually rich answers. We found that our AI assistant was able to provide context aware answers and source references to user queries. To evaluate performance, we developed a set of 40 benchmark questions and compared the accuracy of the responses to those of two standard LLMs without retrieval. Our AI assistant significantly outperformed the standard LLMs at answering FLAG-related questions, with an 82.5% accuracy rate, compared to 47.5% for both of the standard LLMs. This has the potential to make the process of learning and using FLAG much easier, especially for new users. Ultimately, it supports LANL’s broader mission by empowering scientists and engineers to focus more on discovery and analysis rather than on navigating complex software systems.

97 MATHEMATICS AND COMPUTING↗