ConceptioArchivearXiv CS
arXiv CSopen access

Bridging the Gap on AI-Assisted Scientific Software Development Through Transparency and Traceability

Unknown · 2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
softwarearchitecturesoftwareengineeringtesting
software engineering, software architecture, testing

Bridging the Gap on AI-Assisted Scientific Software Development Through Transparency and Traceability

arXiv:2605.17675v1 [cs.SE] 17 May 2026

Chaitanya Bhave, Pierre-Clément A. Simon, Casey Icenhour, Lin Yang, Cody J. Permann, Daniel Schwen Abstract The widespread adoption of AI-assisted development in scientific software is not a future concern—it is a present reality. Researchers are already using large language models to write code, generate test cases, and draft documentation, yet this practice remains largely unacknowledged and unguided in formal workflows and published work. This ad hoc, ungoverned use of AI represents a systemic risk to scientific software quality, particularly in safety-relevant modeling and simulation tools subject to strict Software Quality Assurance (SQA), or even Nuclear Quality Assurance Level 1 (NQA-1) standards, for which traceability, independent verification, and documented procedures are paramount. The question facing the scientific software community is, therefore, not whether to permit AI-assisted development, but how to govern it responsibly. This paper proposes guidance for AI-assisted code development in the context of strict software quality assurance. Using TMAP8—an open-source tritium migration code for fusion energy—as a demonstration platform, we propose a structured framework for AI-assisted verification and validation (V&V) case development. V&V case development represents the ideal proving ground for establishing that governance: because validation cases have known solutions, correctness is objectively measurable, errors are identifiable by design, and the artifacts are fully auditable. The proposed guidance, developed based on practical experience described herein, operates within NQA-1 requirements, preserves human accountability, and establishes the disclosure and review standards that responsible AI-assisted scientific software development demands.

1 Main The accelerating pace of scientific discovery offered by artificial intelligence (AI) represents an immense opportunity. Many of today’s most pressing technological challenges outstrip the capacity of traditional, sequential research models. AI, and, especially, 1

emerging agentic AI systems, offers a powerful means to accelerate scientific discovery and technological breakthroughs through increased productivity, unparalleled large data analysis, and more creative problem-solving. Yet such acceleration must be matched by uncompromising standards of quality, validation, and governance; without them, increased speed risks undermining reliability, reproducibility, and safety. Ensuring that AI-enabled scientific and technological advances maintain the highest levels of rigor is, therefore, essential to realizing scientific and technology breakthroughs at the pace and scale envisioned. This unprecedented context, and the rise of large language models (LLMs) in particular, has enabled a new paradigm in software development, where code is written by LLM “agents” instead of human developers, and the human role has shifted from code development to interacting with the agents for software engineering, planning, and code review [1, 2]. Modern AI systems can do far more than convert plain-language instructions into lines of code. They can interpret what a task actually demands, work with development tools directly, and continuously improve their output until the result is genuinely complex, functional, tested, and documented software. This has been enabled by giving LLMs access to a set of tools — functions they can invoke to read, write, build, and run code directly in the development environment [3]. As a result, software engineering now accounts for nearly half of all observed agentic AI activity [4], and the duration of autonomous AI operation before human intervention has nearly doubled over a span of months [4]. The scientific community has not been insulated from this transition. Researchers are increasingly using LLMs to both write scientific code [5, 6], as well as directly using LLMs as part of, or even the entirety of, the scientific process [7–12]. Despite the increasing use of agentic tools to write code, write documentation, and generate tests, these practices have remained largely unacknowledged and without a clear understanding of strengths and limitations in formal workflows and published work [5]. The consequences of this silence and lack of quality control are already visible. An analysis of papers accepted to the Thirty-Ninth Annual Conference on Neural Information Processing Systems (NeurIPS 2025) found more than 100 hallucinated citations across 53 papers, each missed by authors and multiple peer reviewers [13]. In scientific software development, the analogous failure is not a fabricated reference but a subtly incorrect implementation: incorrect unit conversions, flawed formulae, or logically inconsistent code that appears plausible. Recent work has shown that LLMs frequently generate code containing “hallucinations,” which are outputs that appear correct but contain semantic or logical errors [14, 15]. Empirical studies further indicate that AI-generated code introduces significantly more defects, vulnerabilities, and maintenance issues than human-written code [16]. These new AI-assisted development workflows challenge core assumptions underlying traditional software quality assurance (SQA). In many cases, both implementation and testing may be produced by similar agentic models, raising concerns about correlated failure modes rather than independent verification. At the same time, AI-assisted development can increase code volume and complexity, increasing the burden of thorough reviews [17].

2

Despite these risks, there is currently no standardized framework for applying SQA principles to agentic AI-generated code. This gap is particularly significant in safetycritical scientific domains, where existing assurance practices were developed under the assumption of human authorship and independent verification. The instinct to respond with prohibition is understandable but counterproductive. Restricting AI use in scientific workflows will not eliminate the practice; it will drive it underground, producing the ad hoc, ungoverned, undisclosed use that poses great risk to trust in the quality of code development and, accordingly, its potential output [5, 18]. The productive question is not whether to permit AI-assisted development but how to govern it responsibly: how to make AI involvement visible, traceable, and subject to appropriate quality controls without impeding the genuine productivity gains that motivate its adoption [19]. Standards bodies in safety-critical domains have already developed guidance to ensure high software quality for human developers. In the nuclear fission energy space, the American Society for Mechanical Engineers (ASME) has developed the Nuclear Quality Assurance Level 1 (NQA-1) standard [20]. This standard establishes requirements for quality assurance programs across the nuclear industry and defines frameworks for planning, controlling, and executing activities related to nuclear facilities in order to ensure safety and reliability. The NQA-1 standard contains SQA requirements for software used in the nuclear fission industry. In this set of requirements (around 150 in total to be “compliant”), a graded approach is followed (i.e., more rigorous controls for safety-critical software and lower, or no, requirements for non-safety software). NQA-1-derived SQA focuses on the development process itself and checks that the process is documented; that the objectives of the code are tracked with requirements, documentation, and testing; that the people implementing and maintaining the code are qualified; and that all components of this process are traceable, among many other things. Note that while not every scientific field relies on the NQA standard, it is used here as a reference for the AI-governance consideration. Within this frame of reference, we can explore AI-in-the-loop SQA that is also standards compliant in a field that, by necessity, must embrace high levels of quality. Verification and validation (V&V) case development offers a natural proving ground for experimenting with AI-appropriate software quality control. V&V cases exercise a simulation code against problems with known analytical solutions (verification) or experimental measurements (validation) and are the established mechanism by which computational science standards demonstrate software correctness [21–23]. Unlike general production code, V&V cases possess objective, measurable correctness criteria: a V&V case either reproduces its reference solution within specified tolerances or it does not. This makes errors detectable by construction, regardless of whether they were introduced by a human or an AI agent. In contrast, “correctness” within NQA-1 is defined a little differently. Independent evidence-based review is used to establish acceptance against the defined criteria, where “correctness” is judged through the lens of the end use. Common to both systems, however, is a structured approach to the end goal. Well-defined and well-executed V&V cases provide high levels of documentation and implementation quality to allow for good reproducibility. Thus, the same properties that make V&V cases effective for catching human coding errors (e.g.,

3

requirements, documentation, testing) make them well suited for evaluating and governing AI-generated code, a connection that has not yet been systematically explored. The Tritium Analysis Migration Program, version 8 (TMAP8) [24], a leading opensource NQA-1-compliant fusion energy simulation tool (even if fusion industry tools are not required to be NQA-1 compliant) based on the Multiphysics Object Oriented Simulation Environment (MOOSE) [25], provides the concrete domain in which this connection is developed. Most fusion power plant conceptual designs rely on the fusion of deuterium (D) and tritium (T) to generate energy [26, 27]. While deuterium is naturally abundant in seawater, tritium is scarce and radioactive, with a half-life of approximately 12.3 years [28]. The current global, available tritium inventory, which is primarily produced as a byproduct of heavy-water CANDU reactors, is estimated to be only approximately 25–30 kg [29, 30]. However, a single 1 GW fusion power plant is expected to consume on the order of 55 kg of tritium per year [30, 31], a demand that far exceeds available supplies. This stark imbalance forces fusion energy systems to breed and process tritium on site primarily through the interaction of fusion-produced neutrons with lithium in the tritium breeding blanket [31, 32]. Unfortunately, tritium permeates through surrounding structural materials, leading to tritium retention and losses, as well as undesirable local radioactivity, leading to safety concerns. Managing tritium inventory and predicting transport through complex, often irradiated material systems is, therefore, one of the central challenges to the deployment of safe and economically viable fusion energy [30, 33–38]. TMAP8 addresses this challenge by enabling multiscale, multiphysics simulations of tritium transport [24, 39–42] in fusion energy, where the opportunities and risks described above are particularly pronounced. It has been developed to be NQA-1 compliant and proposes a growing open-source list of more than 38 V&V cases to demonstrate its accuracy [24, 39]. This library of V&V cases makes TMAP8 the ideal proving ground for AI governance frameworks. This paper presents a governance framework for AI-assisted development in rigorous SQA (NQA-1)-governed open-source scientific software, demonstrated through the development of two new validation cases for TMAP8. The promise of abundant, reliable energy promotes accelerated timelines set by the United States and other nations. These timelines demand concurrent, unprecedentedly rapid scientific breakthroughs and technological advancements, in part through scientific computing. Meeting these ambitions while ensuring software quality requires a clear, deployable, and adaptable governance framework for AI-assisted code development. The framework specifies how AI involvement should be disclosed and recorded in commit metadata, how review requirements should scale with the degree of AI involvement, how automated quality gates can be designed to detect silent AI errors in V&V contexts, and how human accountability is preserved throughout. These requirements are encoded in a lightweight, repository-level AGENTS.md specification [43], enabling practical adoption within NQA-1-governed (or any high SQA-conscious) open-source projects. In addition to providing a governance framework, in this paper we detail the thought process that went into designing the framework and how it was tested through the development of two validation cases, and we reflect on future improvements to the

4

governance process identified during the process. Thus, we attempt to provide an iterative approach to developing governance frameworks for AI-assisted code development systems that are constantly evolving. The framework rests on a straightforward premise: the transition to agentic development is already here [4]. The relevant choice is therefore not between AI-assisted and human-only development, but between governed and ungoverned AI assistance. V&V cases, with their objective correctness criteria and bounded scope, provide a low-risk, high-signal environment in which to establish governance practices that can later extend to broader scientific software development.

2 Identified best practices The use of agentic AI systems in scientific software development introduces failure modes that are not explicitly addressed by existing SQA practices. In particular, LLMs can produce outputs that are syntactically correct and contextually plausible but semantically incorrect. These errors are often difficult to detect through informal review alone and may propagate if not systematically constrained. To address this, we adopt a set of design principles that preserve the core objectives of SQA. These objectives include verifiability, traceability, independence of review, and accountability. At the same time, the principles accommodate the capabilities and limitations of AI-assisted workflows. In this work, AI assistance refers specifically to agentic code generation systems operating within development workflows rather than passive or advisory use. Verifiability is anchored in V&V cases, which provide known analytical or experimental reference solutions against which all intermediate and final outputs are evaluated. We distinguish two uses of the term throughout: in the V&V sense, verification confirms that a computational model accurately represents its underlying mathematical formulation; in the SQA sense, it refers to confirming that a software artifact meets its specified requirements. Both apply here. All contributions, regardless of origin, are exercised against the full V&V suite through automated CI pipelines. Because LLMs exhibit non-deterministic behavior, they require bounded operating conditions. AI systems are constrained to well-defined task scopes with explicit expectations for acceptable outputs, and human intervention is required when outputs fall outside predefined criteria or when verification results are inconclusive. The context provided to the model is deliberately controlled: too little risk degenerates outputs; too much increases hallucinations. As we work through the remainder of this section, we will highlight specific requirements from the ASME NQA-1 specification [20], where those requirements are addressed in the Software Quality Assurance Plan that governs software development practices for MOOSE and MOOSE-based applications (PLN-4005 [44]), and how we are approaching those requirements and governance practices within our agent-focused development activities. Table 1 summarizes these governance practices alongside the specific NQA-1 sub-clauses and PLN-4005 sections each practice satisfies, making the compliance argument explicit and auditable. 5

Consistent with NQA-1 SP 2.7-402.1 and as implemented through the Software Quality Assurance Plan that governs software development practices for MOOSE and MOOSE-based applications, PLN-4005 Sections 6.2.1 and 9.4.1, software verification must be performed by an independent human reviewer. No agentic system, including adversarial review agents, is considered sufficient to satisfy this requirement. The role of AI-assisted checks is therefore limited to improving the quality and consistency of submitted artifacts prior to human review, rather than replacing it. The work presented here reinforces that principle in the context of AI-assisted workflows. All contributions must carry metadata documenting the degree and nature of AI involvement, and they must be linked to a corresponding issue describing the intent, design rationale, and expected impact of the change. This practice satisfies the formal documentation requirements of NQA-1 SP 2.7-203.2(c) and SP 2.7-401, which are reflected in PLN-4005 Section 9.8.2.1. These attributes must be recorded at the commit level including an associated human-readable log of AI interactions. This practice ensures traceability across requirements, implementation, and validation within the version control system. These records are maintained within the repository, enabling stochastic reconstruction of the development process from repository artifacts in concert with current versions of AI tools. Pre-commit checks enforce formatting, metadata completeness, and adherence to contribution guidelines at the point of submission, consistent with the configuration management requirements of NQA-1 SP 2.7-203 and the standards documentation requirements of SP 2.7-500 and PLN-4005 Section 9.8.2.3, reducing the likelihood that invalid or incomplete contributions will enter the review process. Contributions that fail V&V or do not satisfy established provenance requirements are rejected and must be revised prior to review or integration, consistent with NQA-1 SP 2.7-202 and SP 2.7-404.4 and PLN-4005 Sections 9.4.1 and 9.8.2.4. While adversarial review agents may be employed to critically assess generated outputs and may provide a supplementary quality layer, they were not required in this work and do not serve as substitutes for required human oversight. Contributions are evaluated not just for correctness but for genuine utility. Code that increases volume without improving functionality, clarity, or testability is treated as a defect and subject to revision or rejection. These constraints are particularly important in AI-assisted workflows, where code can be generated at a rate that exceeds human review capacity. These practices are encoded as enforceable repository-level policy through a governance specification file (AGENTS.md), which defines requirements for task execution, validation, documentation, and review and is version-controlled alongside the codebase. By embedding compliance requirements directly in the development infrastructure rather than relying on developer discretion, the framework ensures that AI-assisted contributions are held to the same standards as human-authored code. This approach extends, rather than replaces, existing SQA processes, ensuring alignment with established requirements for traceability, reproducibility, and independent verification. The following section describes how this framework was applied in practice.

6

Table 1: Mapping of AI-assisted development governance practices to NQA-1 subclauses and PLN-4005 Rev. 10 sections. Governance Practice

NQA-1 Sub-clause

Commit-level AI disclosure metadata (degree and nature of involvement) Issue-linked commits (intent, design rationale, CI impact) Session logs in version control

SP 2.7-203.2(c)

PLN-4005 Section §9.8.2.1

SP 2.7-401

§9.8.2.1

SP 2.7-402.1; SP 2.7404.3 SP 2.7-402.1

§5.3 §6.2.1; §9.4.1

SP 2.7-500

§10.1

SP 2.7-203; SP 2.7-500

§9.8.2.3

SP 2.7-404; SP 2.7404.4 SP 2.7-202

§9.5.2; §9.4.1

Part I R3-401

§9.4.1

Human independent reviewer required; no agentic system is sufficient AGENTS.md specification version-controlled with codebase Pre-commit hooks enforcing non-negotiable provenance requirements Full V&V test suite executed for all contributions via CI pipeline Rejection of contributions failing V&V or provenance checks Human developer as author bearing full accountability

§9.4.1; §9.8.2.4

3 Demonstration of validation case development with agents In this section, we discuss using the guidance provided in Section 2 to implement two new validation cases in TMAP8 using coding agents. The two cases are based on previously published experimental papers that were carefully selected using the following criteria: 1. The experimental studies were selected from external institutions to reflect realistic development conditions, where both the developer and the agent rely solely on published information. 2. The validation cases were required to be distinct from existing TMAP8 V&V cases, ensuring that each case introduced at least one novel modeling component. 3. One case was selected from a study that provides an established model that accurately captures the experimental data, representing an implementation challenge focused on correct translation into TMAP8. 4. The other case was selected from a study without a published model and thus required hypothesis-driven model construction. This represents a scientific reasoning challenge involving the identification of relevant mechanisms, formulation of candidate models, and iterative refinement against experimental data. Based on these criteria, we selected a publication by Kobayashi et al. on tritium release from neutron-irradiated Li2 TiO3 [45] as the first case. TMAP8 previously 7

offered no validation cases on irradiated lithium-based ceramics nor cases involving the annealing of irradiation-induced defects. Critically, Kobayashi et al. proposed an analytical model in the same paper to capture the experimental tritium release behavior, providing a clear modeling target that the agent could implement and compare against (criterion n◦ 3). The second case was drawn from a paper by Kremer et al. [46], which reports experimental results of deuterium release from self-irradiated tungsten with thin native oxide films (5 to 100 nm). Similarly, no prior TMAP8 validation case has modeled the influence of surface oxide layers on hydrogen isotope retention and release. To the best of the authors’ knowledge, no published model has been proposed to reproduce the reported experimental data. This case constitutes a scientific reasoning challenge that requires hypothesis-driven model construction rather than direct implementation (criterion n◦ 4). The agent must (i) identify relevant physical mechanisms and hypothesize how they interact, (ii) draw on analogous TMAP8 cases to inform the model structure while recognizing that the oxide-layer physics fall outside TMAP8’s established V&V envelope, and (iii) systematically compare competing model formulations against the experimental data to identify the most physically consistent and predictive description. This iterative, hypothesis-driven development process represents a qualitatively different and higher challenge than faithful re-implementation of a known model. Together, these two cases provide complementary testbeds for evaluating AIassisted development across distinct cognitive regimes.

3.1 Validation case 1 The first validation case models tritium thermal desorption spectroscopy (TDS) from neutron-irradiated Li2 TiO3 [45]. The experimental data exhibit temperaturedependent release behavior influenced by trapping at irradiation-induced defects and defect annihilation at higher temperatures. A published mechanistic model is available for this system, providing a well-defined target for implementation within TMAP8. This case therefore represents an implementation challenge, where the agent is tasked with translating and verifying an existing model. The details of the model formulation and parameters are provided in the Supplementary Materials. This validation case was developed using a Claude-code agent-assisted workflow with an Opus 4.6 LLM backend and was focused on reproducing an existing published model. At session initialization, the agent was provided with the repositorylevel AGENTS.md specification, which defines requirements for task execution, testing, documentation, and provenance [47]. The developer prompted the agent to read the experimental paper and respond to a structured set of questions to guide the implementation process:

• What experimental observations and data are reported? • What physical mechanisms are likely to govern the observed behavior? • How could these mechanisms be represented within the TMAP8 modeling framework? • Propose a concrete plan (/plan) to implement and evaluate candidate models. 8

These prompts were intended to ensure that the agent correctly interpreted the published model before generating implementation artifacts. As required by the AGENTS.md workflow, the agent requested an issue number before proceeding, ensuring that the resulting changes were linked to the corresponding development record. The agent then supported two stages of development. In the first stage, it extracted the governing equations and parameters from the source paper, mapped the model formulation onto existing TMAP8 constructs, generated input files and test artifacts, and drafted documentation consistent with project conventions. In the second stage, after preliminary comparison with the experimental TDS spectrum, the agent assisted in configuring and executing a Bayesian calibration workflow using the MOOSE stochastic tools module, which was not part of the original paper by Kobayashi et al. [45]. This included preparing parameter ranges, formatting optimization input files, generating scripts for post-processing and plotting, and updating comparison figures after optimization. The generated input files and session file logs (.jsonl) were committed and merged into the TMAP8 codebase [48].

Fig. 1: Comparison of TMAP8 calculation with the experimental TDS data for Sample E (high defect density). Experimental data from Kobayashi et al. [45]. The preliminary model has a root mean square percent error (RMSPE) of 23.1%. Bayesianoptimization of parameters against the experimental TDS data reduces this RMSPE to 9.2%.

As shown in Fig. 1, the resulting implementation reproduces the experimentally measured normalized tritium release rate, demonstrating that the agent-assisted workflow can correctly translate established physical models into executable code. 9

Further details of the model formulation and parameterization are provided in the Supplementary Materials. The workflow accelerated several routine but time-consuming tasks, including input-file formatting, test generation, gold-file updates, plotting, and MooseDocs documentation. However, it also exposed characteristic failure modes. For example, the agent initially omitted the defect-annihilation term in the trapping equation, mirroring an ambiguity in the original publication. This omission led to an overestimation of trapped tritium and an incorrect sensitivity to defect annealing and was identified only through human review and testing. The agent also occasionally proposed unnecessarily complex implementation paths, such as a custom C++ post-processor output class (i.e., a MOOSE object that computes and outputs scalar quantities from a simulation) for the Bayesian objective function, when a simpler input-file-level solution was sufficient. Overall, this case demonstrates that agent-assisted workflows can accelerate both the implementation of established models and subsequent calibration workflows, but only when bounded by explicit repository-level guidance and coupled to a human review capable of identifying physically plausible but incorrect implementations.

3.2 Validation case 2 The second validation case is based on thermal desorption spectroscopy measurements of deuterium release from self-irradiated tungsten with thin oxide layers [46]. These experiments probe the impact of oxide layers on hydrogen isotope retention and release, a key factor in interpreting laboratory measurements and relating them to fusion-relevant conditions. The details of the validation case are provided in the Supplementary Materials. This validation case was developed using the Codex tool with a ChatGPT 5.4 LLM backend. In contrast to the first case, no published model was available to reproduce the experimental data, so the agent had to engage in hypothesis-driven model development rather than direct implementation. At session initialization, the agent was provided with the repository-level AGENTS.md specification [47], which defines constraints on task execution, documentation, testing, and provenance requirements. The developer then prompted the agent to read the experimental paper and answer a structured set of questions designed to guide its reasoning process:

• What experimental observations and data are reported? • What physical mechanisms are likely to govern the observed behavior? • How could these mechanisms be represented within the TMAP8 modeling framework? • Propose a concrete plan (/plan) to implement and evaluate candidate models. Unlike the first validation case, these prompts were intended not only to verify comprehension of the experimental system but also to elicit hypotheses regarding the underlying physics and possible modeling strategies. The agent was encouraged to identify multiple plausible mechanisms (e.g., trapping, diffusion barriers, surface reactions) and to propose corresponding model formulations. 10

As required by the AGENTS.md workflow, the agent requested an issue number before proceeding, ensuring traceability of all subsequent work. Once the agent had been provided an issue identifier, it performed the following steps:

• Extract key experimental features and constraints from the source paper; • Identify relevant existing TMAP8 validation cases to inform model structure; • Propose two candidate model formulations that incorporate the hypothesized physical mechanisms for the more novel part of the model; • Generate input files, scripts, and tests to implement these formulations; • Iteratively refine the model by comparing simulation outputs against experimental data. A key aspect of this workflow was the ability to rapidly prototype and compare alternative modeling approaches. For example, multiple representations of the oxide layer (the main novelty of this model) were explored and evaluated within a single development cycle, allowing the developer to assess their relative performance and physical consistency. This iterative, hypothesis-driven loop—comprising model proposal, implementation, evaluation, and refinement—was central to the development of this validation case. Being able to quickly implement new model formulations is key to scientific discoveries. Hypotheses can be quickly formulated, models can be rapidly deployed to test these hypotheses, and conclusions can be drawn on an accelerated timescale. In this case, for example, the oxide layer was first represented as a separate domain from the tungsten, with an interface between the two regions. This was the approach recommended by the model, but it complicated the model formulation more than necessary, which was quickly identified after the agent’s initial development. A continuous approach, described in more detail in the Supplementary Materials, reduces complexity while capturing the main phenomena required for this case. The shift from the first approach to the second one was very rapid thanks to the agent and quickly delivered encouraging results. Throughout this process, all agent interactions were logged in machine-readable .jsonl session files and linked to version-controlled commits, ensuring full traceability of the development history. These session files are linked in the pull request [49]. This iterative process resulted in approximately 70 commits (some generated by humans only and others the result of collaboration between developer and agent), during which multiple candidate formulations were explored and refined within short iteration cycles. The details of the final model formulation and model parameter values are provided in the Supplementary Materials. Fig. 2 compares the final model’s deuterium release predictions for all four oxide-layer configurations against the digitized HD + D2 and HDO + D2 O desorption data from Fig. 6 of [46]. The figure also overlays the digitized temperature history from the TDS experiment. In all release figures, the experimental curves come from digitized grouped measurements in the paper, while the simulation curves come from the present calibrated model and are reported as deuterium-atom release rates to match the plotted grouped signals. The model reproduces the primary experimental trends across oxide thicknesses, demonstrating that the agent-assisted workflow can generate physically plausible and

11

(a) Natural oxide (1 nm)

(b) 5 nm oxide

(c) 10 nm oxide

(d) 15 nm oxide

Fig. 2: Comparison of the D2 and D2 O release simulation predictions against TDS experimental measurements from Ref. [46] for different oxide thicknesses (1 [natural oxide], 5, 10, and 15 nm).

testable models in the absence of a predefined formulation. While discrepancies remain in specific peak shapes and magnitudes, the agreement is sufficient to validate the proposed development workflow and derive physical insight from a phenomenological model, rather than to establish a definitive mechanistic model.

4 Lessons learned, updated best practices, and discussion The two validation cases developed in this work offer a concrete basis for evaluating the governance framework proposed in Section 2, and for identifying practical refinements needed as AI-assisted workflows mature in safety-critical scientific software development. Several cross-cutting lessons emerged from this experience that extend and update the best practices described above. 12

4.1 AI agents as accelerators, not autonomous developers Across both validation cases, AI agents dramatically accelerated mechanical development tasks — formatting input files, generating plots, writing documentation, producing test scaffolding, and writing documentation in MooseDocs format — while freeing the human developer to focus on physical reasoning, model formulation, and quality judgment. This division of labor proved most productive when the developer maintained active ownership of the scientific direction. As an illustrative measure of the impact of agent-assisted development, we note that a comparable validation case previously required approximately 4–5 days of development effort by an experienced contributor. Using the agent-assisted workflow described here, the same class of task was completed in approximately 6 hours by a developer with limited prior familiarity with the specific physical model. While this comparison is not controlled and should not be interpreted as a rigorous benchmark, it provides a practical indication of the potential reduction in development time for well-defined implementation tasks. In the first validation case, the agent accelerated the Bayesian optimization process by automating parameter formatting, generating gold files for tests, and producing comparison plots with consistent styling. In the second, it was particularly effective at leveraging existing TMAP8 validation cases — specifically val-2f [39, 50] — reusing established formulations where appropriate while spontaneously identifying and implementing features not previously developed in TMAP8, such as the introduction of an explicit tungsten oxygen layer to model D2 O surface release. The second validation case also illustrates a qualitatively different and underappreciated benefit of AI assistance: not just faster execution of known tasks, but the practical ability to explore a broader hypothesis space within realistic development timelines. Where no published model existed, the agent enabled rapid prototyping of competing model formulations for the oxide layer, allowing a direct performance comparison that would have carried substantial cost in a purely human workflow. The ability to try a wider range of approaches is transformative to scientific software development where exploration is a necessity. This productivity gain, however, comes with a corresponding responsibility. When agents generate large volumes of code, inputs, and documentation quickly, the burden of review grows proportionally — for both the developer and independent reviewers. The agent’s tendency to drift toward overcomplicated solutions — introducing unnecessary duplication and structure — was observed in both cases and limits model interpretability. To be as valuable as possible, a validation model should be as simple as it can be while capturing the main experimental behavior. When prompted to review and simplify its outputs, the agent was able to identify opportunities to do so, but this required deliberate developer intervention and could not be assumed to occur naturally. The agent’s tendency to overcomplicate things and drift into unproductive lines of exploration, even when a plan was first defined, placed a greater burden on the developer to actively track the status of the case using their subject-matter expertise and to define next steps. Thorough sanity checks are therefore essential to ensure the relevance of the generated results.

13

More broadly, this shift in the developer’s role — from direct code and script authorship toward prompt engineering and output review — demands that greater attention be paid to model complexity, performance, and accuracy. The cognitive cost of many individual tasks is reduced; the cognitive cost of maintaining scientific oversight of the overall development process is not.

4.2 Hallucination as a persistent and structurally important risk LLM hallucinations in this context did not manifest as obviously implausible outputs, but as syntactically valid, contextually plausible, and semantically wrong implementations — the most dangerous category of failure in scientific software. In the first validation case, the agent reproduced an omission from the original reference paper [45], failing to include the defect annihilation term −kdp-da CT in the trapped concentration equation (Eq. 5). This term describes tritium release from annealing defects; its absence led to an overestimation of trapped tritium and a lack of sensitivity to annealing effects. This error was only identified through adversarial human review and extensive testing, not through automated checks alone. In the second validation case, the agent was asked to digitize the figure containing the experimental measurements and hallucinated part of the data. While some complex trends were identified, other data points were either ignored or made up. The agent, however, did not express doubt regarding its accuracy in this task. The figure digitization eventually had to be made by hand. This finding underscores a structural limitation of AI-assisted workflows: when an agent is asked to implement an existing model from a published description, it tends to faithfully reproduce both the correct and incorrect features of that description. Independent human review capable of reasoning beyond the source document is therefore not merely a procedural requirement but an epistemic necessity. In both cases, the structured constraints imposed by AGENTS.md reduced hallucination frequency by limiting the agent’s operational degrees of freedom through explicit coding standards, testing requirements, and commit procedures. However, hallucination was not eliminated. When instructions were insufficiently specific, the agent occasionally produced plausible but incorrect outputs — for example, proposing a custom C++ post-processor to simplify the Bayesian objective function and a Python script to calculate annihilation effects where simpler input-file-level solutions were sufficient. Continued refinement of the AGENTS.md specification — particularly the addition of critical but previously undocumented requirements, such as TMAP8’s distinction between light tests (that which runs in ∼2 seconds or less) and heavy tests (that which takes longer than ∼2 seconds) — is therefore an ongoing process. AGENTS.md must be treated as a living artifact of the development infrastructure that is updated iteratively as new failure modes are identified. In this work, areas for improvement identified during development were documented in a GitHub issue [51]. 14

4.3 Context limitations require structural countermeasures A recurring practical failure mode was the agent neglecting instructions that were explicitly documented in AGENTS.md, not because the instructions were absent, but because they fell outside the effective attention window during extended development sessions. This is a known limitation of current LLM architectures [17], and the framework must account for it structurally rather than relying on developer vigilance alone. For example, the agent encountered more difficulty running tests in validation case 2 as the discussion size increased. Several mitigations are worth pursuing. First, AGENTS.md should be structured to distinguish instructions by criticality, so that the most consequential requirements appear prominently and are less likely to be de-prioritized under context pressure. Second, complex tasks should be decomposed across agent teams to reduce the context load on any single agent. Third — and most reliably — automated pre-commit hooks should be used to enforce non-negotiable requirements at the point of submission rather than relying on the agent to remember them. The distinction between agent-level instructions and repository-level pre-commit hooks is important here. Git pre-commit hooks operate outside the agent’s decision loop entirely; for requirements such as committing the machine-readable .jsonl session log in every pull request, a hook that auto-copies and git adds the file before commit is more reliable than an instruction the agent may overlook. Agent-level hooks and AGENTS.md instructions remain valuable for guiding agent behavior, but nonoptional provenance requirements are better enforced at the infrastructure level. A related concern is agent scope: branch protection rules and access controls provide an important safeguard against agents taking destructive actions — such as merging to protected branches or modifying tracked artifacts outside their intended scope — and their configuration should be treated as a required component of any governance deployment. As a validation case reaches a stable intermediate stage, condensing the agent’s context and explicitly prompting it to critically review the current model and documentation was found to be a valuable practice: it helps clean up loose ends, identify inconsistencies, and establish a coherent base — both a model base and a context base — before continuing development. Unrelated or ongoing work in the repository may otherwise be inadvertently picked up and overanalyzed by the agent, so it is important to maintain a clean and well-scoped working environment throughout.

4.4 Provenance, authorship, and log management A principle that emerged clearly from this work is that the human directing the development activity is the author of the resulting contribution, regardless of what fraction of the code was mechanically produced by an AI agent. The person driving the change is responsible for the changes submitted for review. Under PLN-4005 Section 9.4.1, the contributor is responsible for change request content and the independent reviewer controls its disposition — an accountability structure this framing preserves directly. Simultaneously, NQA-1 SP 2.7-402.1 requires that verification be 15

performed by an individual other than the originator. The human-as-author principle provides exactly that definition and preserves the accountability chain on which independent verification depends. Recording this provenance at the commit level through human-readable session logs linked to the corresponding development issue ensures that the development history is stochastically reconstructable from repository artifacts, without a reliance on external documentation. In practice, however, AI-generated human-readable summaries of these logs were observed to abbreviate or obscure the agent’s actual decision-making in notable ways. However, additional instructions can be placed into the AGENTS.md file to preserve critical decision-making points and other key prompts to create a more reliable audit record. This traceability requirement also has practical implications for repository hygiene. Raw log files accumulate quickly and can impose meaningful storage overhead on both local and remote repositories without some limitation or retention policy. A practical approach is to preserve full logs for recent development activity while storing simplified or compressed versions of older logs, balancing long-term traceability against maintainability.

4.5 Implications for SQA, NQA-1 compliance, future governance, and ecosystem integrity The experience described in this work suggests that existing SQA processes and NQA1 SQA requirements, while developed under the assumption of human authorship, are largely compatible with AI-assisted development when interpreted appropriately. The core requirements — traceability, independent verification, documented procedures, and accountability — map naturally onto the governance framework proposed here. What this experience clarifies is where those requirements must be enforced structurally rather than procedurally, and where human judgment remains not just preferable but irreplaceable. One question that this work surfaced was whether AI coding agents should themselves be treated as configuration items or support libraries within the NQA-1 framework and be subject to the same qualification, versioning, and change-control requirements that are applied to other software components that influence the development process. As agentic tools become more deeply embedded in development infrastructure, this question may continue to show up in standards bodies discussions and project governance teams. However, it should be noted that current AI tools have stochastic output characteristics. Even with version-controlled inputs, there are no assurances that you can reproduce the identical output even with the same version of a given AI model. From this perspective, it is the opinion of these authors that there is little added value in attempting to version control these models. However, it could be useful to at least document the version used in a particular commit in case post-analysis is useful in the future. Beyond the immediate development cycle, the provenance framework developed here also addresses a longer-term systemic risk. Research on model collapse has demonstrated that generative AI systems trained on AI-generated outputs rather than human-generated data experience progressive quality degradation [52, 53]. In code 16

generation, the analogous failure mode is the gradual amplification of systematic error patterns as described in Section 4.2. These defaults manifest as subtly defective AIgenerated code enters widely-indexed open-source repositories and is subsequently scraped into future training corpora. This risk is particularly acute in scientific software, where domain-specific idioms and numerical implementation patterns are less well-represented in general training data, which makes it harder for future models to distinguish correct from plausible-but-wrong code. By ensuring that AI-generated contributions are explicitly labeled and traceable within the version control history, the framework proposed here enables downstream dataset curators to track provenance and filter synthetic contributions where appropriate. Traceability is therefore not only a present-day quality assurance requirement, but a contribution to the long-term integrity of the scientific software ecosystem. Taken together, the lessons documented in this section do not undermine the framework proposed in Section 2, they refine and extend it. The core premise holds: V&V cases, with their objective correctness criteria and bounded scope, provide an effective proving ground for establishing and iterating on AI governance practices that can later extend to broader scientific software development. The framework’s emphasis on traceability, human accountability, and structured constraints on agent behavior was validated in practice. What this experience adds is a clearer picture of where those constraints must be enforced at the infrastructure level, how the developer’s role evolves under agentic workflows, and why the governance of AI-assisted scientific software development is a concern not only for the quality of today’s code, but for the integrity of the AI systems that will assist in writing tomorrow’s.

5 Conclusion The transition to AI-assisted scientific software development is not approaching — it has arrived. Researchers and engineers are already using LLMs to write code, generate tests, and draft documentation, often without formal acknowledgment or governance. In safety-critical domains governed by rigorous SQA standards (e.g., NQA-1), where traceability, independent verification, and documented procedures are foundational requirements, this ad hoc practice represents a systemic and unacceptable risk. This paper proposed a governance framework for AI-assisted development in NQA-1-governed (or any high SQA-conscious) open-source scientific software and demonstrated it through the development of two new validation cases for TMAP8, an advanced tritium transport code for fusion energy. The framework encodes disclosure, provenance, and review requirements in a lightweight repository-level AGENTS.md specification, enforces non-negotiable requirements through automated pre-commit hooks, and preserves human accountability throughout. By embedding these requirements directly in the development infrastructure rather than relying on developer discretion, the framework ensures that AI-assisted contributions are subject to the same standards as human-authored code — and that the degree of AI involvement is visible, auditable, and linked to the version control history. 17

The two validation (i.e., model predictions compared against experimental measurements) cases demonstrated both the practical productivity gains and the characteristic failure modes of governed AI-assisted development. In the first case, for which a published model existed, the agent significantly accelerated the mechanical aspects of implementation and Bayesian parameter optimization, while also reproducing an omission from the source publication that was only caught through adversarial human review. In the second case, for which no published model existed, the agent enabled rapid prototyping of competing physical formulations, expanding the hypothesis space explored within a realistic development timeline — a qualitatively different and particularly valuable form of AI assistance for exploratory scientific work. In both cases, structured guidance in AGENTS.md reduced hallucination frequency, while thorough human review remained indispensable for ensuring correctness, interpretability, lack of unnecessary complexity, and scientific fidelity. Several cross-cutting lessons emerged from this experience. Hallucination is a persistent feature of AI-assisted workflows that does not disappear with better prompting alone; it requires structural countermeasures, including well-scoped task definitions, automated quality gates, and human reviewers capable of reasoning beyond the source material the agent was given. Context limitations cause agents to overlook explicitly documented requirements, making infrastructure-level enforcement — through precommit hooks rather than agent instructions alone — more reliable for non-optional provenance requirements. The developer’s role shifts meaningfully under agentic workflows, from direct code authorship toward prompt engineering, output review, and active scientific oversight; the cognitive savings on individual tasks do not reduce the overall burden of maintaining quality. And the human directing the work remains the author and bears full responsibility for what is submitted for review, regardless of how much of the artifact was mechanically produced by an agent. Looking ahead, the provenance framework developed here carries implications beyond the immediate development cycle. As AI-generated code enters public repositories and is scraped into future training corpora, unreviewed or mislabeled synthetic contributions risk degrading the quality of the very models that future developers will rely on. Explicit, machine-readable provenance records are therefore not only a presentday quality assurance requirement, but a contribution to the long-term integrity of the scientific software ecosystem. V&V cases, with their objective correctness criteria, bounded scope, and full auditability, proved to be the right proving ground for establishing these governance practices. The same properties that make V&V cases effective for catching human coding errors — known reference solutions, measurable tolerances, and structured documentation requirements — make them well suited for evaluating and governing AI-generated code. The relevant choice facing the scientific software community is not between AIassisted and human-only development. It is between governed and ungoverned AI assistance. The framework presented here demonstrates that responsible governance of AI-assisted scientific software development is achievable today, within existing quality assurance standards, without sacrificing the productivity gains that motivate AI adoption in the first place. The framework proposed here is designed to be iterative:

18

AGENTS.md is a living specification, updated as new failure modes are identified, and the governance practices it encodes are expected to evolve alongside the agentic tools they govern and our understanding of their advantages and risks.

Data availability The TMAP8 code is open source and available at https://github.com/idaholab/TMAP8. It contains the AGENTS.md file and all the input files and python scripts used to generate the simulation results and figures in this manuscript. The complete TMAP8 documentation, including instructions on how to get started, the validation cases cases described above, and descriptions of TMAP8’s capabilities, is available at https://mooseframework.inl.gov/TMAP8/index.html.

Acknowledgements This work was supported through INL’s Laboratory Directed Research & Development (LDRD) Program under DOE Idaho Operations Office Contract DE-AC07-05ID14517. The United States Government retains, and the publisher, by accepting the article for publication, acknowledges that the United States Government retains a nonexclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this manuscript, or allow others to do so, for United States Government purposes. This research made use of Idaho National Laboratory’s High Performance Computing systems located at the Collaborative Computing Center and supported by the Office of Nuclear Energy of the U.S. Department of Energy and the Nuclear Science User Facilities under Contract No. DE-AC07-05ID14517.

References [1] Sapkota, R., Roumeliotis, K.I., Karkee, M.: Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AI (2025). https://arxiv.org/ abs/2505.19443 [2] Robbes, R., Matricon, T., Degueule, T., Hora, A., Zacchiroli, S.: Agentic Much? Adoption of Coding Agents on GitHub (2026). https://arxiv.org/abs/2601.18341 [3] Masterman, T., Besen, S., Sawtell, M., Chao, A.: The landscape of emerging ai agent architectures for reasoning, planning, and tool calling: A survey. arXiv preprint arXiv:2404.11584 (2024) [4] McCain, M., Millar, T., Huang, S., Eaton, J., Handa, K., Stern, M., Tamkin, A., Kearney, M., Durmus, E., Shen, J., Hong, J., Calvert, B., Chan, J.S., Mosconi, F., Saunders, D., Neylon, T., Nicholas, G., Pollack, S., Clark, J., Ganguli, D.: Measuring AI Agent Autonomy in Practice. https://anthropic.com/research/ measuring-agent-autonomy 19

[5] Ciriello, R.: On the troubling rise of generative ai suspicion in academic publishing. Nature Machine Intelligence 8(2), 136–137 (2026) https://doi.org/10.1038/ s42256-026-01178-z [6] Kousha, K.: How is chatgpt acknowledged in academic publications? Scientometrics 129(12), 7959–7969 (2024) https://doi.org/10.1007/s11192-024-05193-y [7] Zhang, Y., Khan, S.A., Mahmud, A., Yang, H., Lavin, A., Levin, M., Frey, J., Dunnmon, J., Evans, J., Bundy, A., et al.: Exploring the role of large language models in the scientific method: from hypothesis to discovery. npj Artificial Intelligence 1(1), 14 (2025) [8] Wang, W., Gu, L., Zhang, L., Luo, Y., Dai, Y., Shen, C., Xie, L., Lin, B., He, X., Ye, J.: Scipip: An llm-based scientific paper idea proposer. arXiv preprint arXiv:2410.23166 (2024) [9] Xie, Q., Weng, Y., Zhu, M., Shen, F., Huang, S., Lin, Z., Zhou, J., Mao, Z., Yang, Z., Yang, L., et al.: How far are ai scientists from changing the world? arXiv preprint arXiv:2507.23276 (2025) [10] Yamada, Y., Lange, R.T., Lu, C., Hu, S., Lu, C., Foerster, J., Clune, J., Ha, D.: The ai scientist-v2: Workshop-level automated scientific discovery via agentic tree search. arXiv preprint arXiv:2504.08066 (2025) [11] Weng, Y., Zhu, M., Xie, Q., Sun, Q., Lin, Z., Liu, S., Zhang, Y.: Deepscientist: Advancing frontier-pushing scientific findings progressively. arXiv preprint arXiv:2509.26603 (2025) [12] Lyu, Y., Zhang, X., Yi, X., Zhao, Y., Guo, S., Hu, W., Piotrowski, J., Kaliski, J., Urbani, J., Meng, Z., et al.: Evoscientist: Towards multi-agent evolving ai scientists for end-to-end scientific discovery. arXiv preprint arXiv:2603.08127 (2026) [13] Shmatko, N.: GPTZero finds 100 new hallucinations in NeurIPS 2025 accepted papers (2026). https://gptzero.me/news/neurips/ [14] Lee, Y., Song, J.Y., Kim, D., Kim, J., Kim, M., Nam, J.: Hallucination by Code Generation LLMs: Taxonomy, Benchmarks, Mitigation, and Challenges (2025). https://arxiv.org/abs/2504.20799 [15] Zhang, Z., Wang, Y., Wang, C., Chen, J., Zheng, Z.: LLM Hallucinations in Practical Code Generation: Phenomena, Mechanism, and Mitigation (2025). https://arxiv.org/abs/2409.20550 [16] Cotroneo, D., Improta, C., Liguori, P.: Human-Written vs. AI-Generated Code: A Large-Scale Study of Defects, Vulnerabilities, and Complexity (2025). https: //arxiv.org/abs/2508.21634

20

[17] Huang, T., Ren, Z., Huang, Y., Chen, X., Liu, Y., Zheng, Z.: Hallucination detection in llm code generation: A sampling-based consensus verification approach. Automated Software Engineering 33(2), 70 (2026) [18] Tang, X., Jin, Q., Zhu, K., Yuan, T., Zhang, Y., Zhou, W., Qu, M., Zhao, Y., Tang, J., Zhang, Z., Cohan, A., Greenbaum, D., Lu, Z., Gerstein, M.: Risks of ai scientists: prioritizing safeguarding over autonomy. Nature Communications 16(1) (2025) https://doi.org/10.1038/s41467-025-63913-1 [19] Roychoudhury, A., Pasareanu, C., Pradel, M., Ray, B.: Agentic AI Software Engineers: Programming with Trust (2025). https://arxiv.org/abs/2502.13767 [20] American Society of Mechanical Engineers: Quality assurance requirements for nuclear facility applications. Standard ASME NQA-1-2017, American Society of Mechanical Engineers, New York, NY (January 2017). https://www.asme.org/codes-standards/find-codes-standards/ quality-assurance-requirements-for-nuclear-facility-applications [21] Oberkampf, W.L., Roy, C.J.: Verification and Validation in Scientific Computing. Cambridge University Press, Cambridge (2010) [22] IEEE Standard for System, Software, and Hardware Verification and Validation. https://doi.org/10.1109/IEEESTD.2017.7916712 . IEEE. Revision of IEEE Std 1012-2012 [23] Jakeman, J.D., Barba, L.A., Martins, J.R.R.A., O’Leary-Roseberry, T.: Verification and Validation for Trustworthy Scientific Machine Learning. arXiv (2025). https://doi.org/10.48550/ARXIV.2502.15496 . https://arxiv.org/abs/ 2502.15496 [24] Simon, P.-C.A., Icenhour, C.T., Singh, G., Lindsay, A.D., Bhave, C.V., Yang, L., Riet, A.A., Che, Y., Humrickhouse, P., Shimada, M., Calderoni, P.: MOOSEbased tritium migration analysis program, version 8 (TMAP8) for advanced opensource tritium transport and fuel cycle modeling. Fusion Engineering and Design 214, 114874 (2025) https://doi.org/10.1016/j.fusengdes.2025.114874 [25] Harbour, L., Giudicelli, G., Lindsay, A.D., German, P., Hansel, J., Icenhour, C., Li, M., Miller, J.M., Stogner, R.H., Behne, P., Yankura, D., Prince, Z.M., DeChant, C., Schwen, D., Spencer, B.W., Tano, M., Choi, N., Wang, Y., Nezdyur, M., Miao, Y., Hu, T., Kumar, S., Matthews, C., Langley, B., Nobre, N., Blair, A., MacMackin, C., Rocha, H.B., Palmer, E., Carter, J., Meier, J., Slaughter, A.E., Andrš, D., Carlsen, R.W., Kong, F., Gaston, D.R., Permann, C.J.: 4.0 MOOSE: Enabling massively parallel multiphysics simulation. SoftwareX 31, 102264 (2025) https://doi.org/10.1016/j.softx.2025.102264 [26] Freidberg, J.P.: Plasma Physics and Fusion Energy. Cambridge University Press, Cambridge, UK (2007)

21

[27] Ongena, J., Koch, R., Wolf, R., Zohm, H.: Magnetic-confinement fusion. Nature Physics 12, 398–410 (2016) https://doi.org/10.1038/nphys3745 [28] Lucas, L.L., Unterweger, M.P.: Comprehensive review and critical evaluation of the half-life of tritium. Journal of Research of the National Institute of Standards and Technology 105(4), 541–549 (2000) https://doi.org/10.6028/jres.105.043 [29] Pearson, R.J., Antoniazzi, A.B., Nuttall, W.J.: Tritium supply and use: a key issue for the development of nuclear fusion energy. Fusion Engineering and Design 136, 1140–1148 (2018) https://doi.org/10.1016/j.fusengdes.2018.04.090 . Special Issue: Proceedings of the 13th International Symposium on Fusion Nuclear Technology (ISFNT-13) [30] National Academies of Sciences, Engineering, and Medicine: Bringing Fusion to the U.S. Grid. The National Academies Press, Washington, DC (2021). https: //doi.org/10.17226/25991 [31] Abdou, M., Riva, M., Ying, A., Day, C., Loarte, A., Baylor, L., Humrickhouse, P., Fuerst, T.F., Cho, S.-K.: Physics and technology considerations for the deuterium–tritium fuel cycle and conditions for tritium fuel self sufficiency. Nuclear Fusion 61(1), 013001 (2021) https://doi.org/10.1088/1741-4326/abbf35 [32] Kovari, M., Coleman, M., Cristescu, I., Smith, R.: Tritium resources available for fusion reactors. Nuclear Fusion 58(2), 026010 (2018) https://doi.org/10.1088/ 1741-4326/aa9d25 [33] Causey, R.A.: Hydrogen isotope retention and recycling in fusion reactor plasmafacing components. Journal of Nuclear Materials 300(2–3), 91–117 (2002) https: //doi.org/10.1016/S0022-3115(01)00732-2 [34] Shimada, M.: 6.08 - tritium transport in fusion reactor materials. In: Konings, R.J.M., Stoller, R.E. (eds.) Comprehensive Nuclear Materials (Second Edition), Second edition edn., pp. 251–273. Elsevier, Oxford (2020). https://doi.org/10.1016/B978-0-12-803581-8.11754-0 . https://www.sciencedirect.com/science/article/pii/B9780128035818117540 [35] Fusion Energy Sciences Advisory Committee: Transformative enabling capabilities for efficient advance toward fusion energy. Technical report, U.S. Department of Energy, Office of Science, Office of Fusion Energy Sciences (February 2018). https://science.osti.gov/-/media/fes/fesac/pdf/2018/TEC Report Final.pdf [36] Fusion Energy Sciences Advisory Committee: Powering the future: Fusion & plasmas. Technical report, U.S. Department of Energy, Office of Science, Office of Fusion Energy Sciences (December 2020). https://science.osti.gov/-/media/fes/ fesac/pdf/2020/202012/FESAC Report 2020 Powering the Future.pdf [37] U.S. Department of Energy, Office of Science: Fusion energy sciences:

22

A ten-year perspective (2015–2025). Technical report, U.S. Department of Energy (2015). https://science.osti.gov/-/media/fes/pdf/2015/FES A Ten-Year Perspective 2015-2025.pdf [38] U.S. Department of Energy, Office of Science: Fusion energy sciences: Science and technology roadmap. Technical report, U.S. Department of Energy, Office of Science, Office of Fusion Energy Sciences (October 2025). Released October 16, 2025. https://www.energy.gov/sites/default/files/2025-10/fusion-s% 26t-roadmap-101625.pdf [39] Simon, P.-C.A., Icenhour, C.T., Singh, G., Lindsay, A.D., Bhave, C.V., Yang, L., Riet, A.A., Che, Y., Humrickhouse, P., Shimada, M., Calderoni, P.: Advanced tritium transport modeling and verification, validation, and benchmarking from component level to fuel cycle scale using TMAP8. Nuclear Fusion. Submitted (2026) [40] Franklin, T., Icenhour, C., Simon, P.-C.A., Humrickhouse, P., Kong, F., Carasik, L.B.: New developments and verification of fusion blanket simulation capabilities in the MOOSE framework. Fusion Engineering and Design 218, 115128 (2025) https://doi.org/10.1016/j.fusengdes.2025.115128 [41] Shimada, M., Simon, P.-C.A., Icenhour, C.T., Singh, G.: Toward a high-fidelity tritium transport modeling for retention and permeation experiments. Fusion Engineering and Design 203, 114438 (2024) https://doi.org/10.1016/j.fusengdes. 2024.114438 [42] Yang, L., Simon, P.-C.A., Tang, W., Li, M., Zhao, Z., Ding, D., Fuerst, T.: Elucidating hydrogen isotope transport mechanisms in proton-conducting ceramics with trapping effects using TMAP8. International Journal of Hydrogen Energy 210, 153551 (2026) https://doi.org/10.1016/j.ijhydene.2026.153551 [43] Gloaguen, T., Mündler, N., Müller, M., Raychev, V., Vechev, M.: Evaluating agents. md: Are repository-level context files helpful for coding agents? arXiv preprint arXiv:2602.11988 (2026) [44] Battelle Energy Alliance, LLC: Software Quality Assurance Plan (SQAP) for MOOSE and MOOSE-Based Applications. Technical Report PLN-4005, Idaho National Laboratory, Idaho Falls, ID (March 2025). Available to authorized users via the INL Electronic Document Management System (EDMS) [45] Kobayashi, M., Oya, Y., Munakata, K., Okuno, K.: Developing a tritium release model for Li2 TiO3 with irradiation-induced defects. Journal of Nuclear Materials 458, 22–28 (2015) https://doi.org/10.1016/j.jnucmat.2014.11.047 [46] Kremer, K., Brucker, M., Jacob, W., Schwarz-Selinger, T.: Influence of thin surface oxide films on hydrogen isotope release from ion-irradiated tungsten. Nuclear Materials and Energy 30, 101137 (2022) https://doi.org/10.1016/j.nme.2022.

23

101137 [47] Bhave, C.: Add HIT format pre-commit check and agentic workflow docs. GitHub pull request #397, idaholab/TMAP8. Merged 2026-03-20 by P.-C. Simon (simopier). Accessed: 2026-05-08 (2026). https://github.com/idaholab/TMAP8/ pull/397 [48] Yang, L.: Add validation case val-2j: Tritium TDS from Li2 TiO3 solid breeder. GitHub pull request #402, idaholab/TMAP8. Merged 2026-04-14 by P.-C. Simon (simopier); closes issue #400. Accessed: 2026-05-08 (2026). https://github.com/ idaholab/TMAP8/pull/402 [49] Simon, P.-C.: Add val-2k: deuterium desorption from self-irradiated tungsten with thin film oxide. GitHub pull request #409, idaholab/TMAP8. Merged 2026-0507; closes issue #399. Accessed: 2026-05-08 (2026). https://github.com/idaholab/ TMAP8/pull/409 [50] Kadz, L., Yang, L., Dhulipala, S.L.N., Shimada, M., Simon, P.-C.A.: Investigating the critical role of surface effects on deuterium transport in self-damaged tungsten using TMAP8. TBD (2026. In preparation) [51] Idaho National Laboratory: Improve AGENTS.md and agent workflow. GitHub issue #408, idaholab/TMAP8. Accessed: 2026-05-08 (2025). https://github.com/ idaholab/TMAP8/issues/408 [52] Shumailov, I., Shumaylov, Z., Zhao, Y., Papernot, N., Anderson, R., Gal, Y.: Ai models collapse when trained on recursively generated data. Nature 631(8022), 755–759 (2024) [53] Gibney, E.: Has your paper been used to train an ai model? almost certainly. Nature 632(8026), 715–716 (2024) [54] Dhulipala, S.L.N., German, P., Che, Y., Prince, Z.M., Xie, X., Simon, P.-C.A., Labouré, V.M., Yan, H.: MOOSE ProbML: Parallelized probabilistic machine learning and uncertainty quantification for computational energy applications. Journal of Computational Science 94, 102776 (2026) https://doi.org/10.1016/j. jocs.2025.102776 [55] Dark, J., Delaporte-Mathurin, R., Schwarz-Selinger, T., Hodille, E.A., Mougenot, J., Charles, Y., Grisolia, C.: Modelling neutron damage effects on tritium transport in tungsten. Nuclear Fusion 64(8), 086026 (2024) [56] Jiang, D.-e., Carter, E.A.: First-principles investigation on dissolution and diffusion of oxygen in tungsten. Journal of Nuclear Materials 393(3), 508–512 (2009) https://doi.org/10.1016/j.jnucmat.2009.07.012 [57] Kremer, K., Schwarz-Selinger, T., Jacob, W.: Influence of thin tungsten oxide

24

films on hydrogen isotope uptake and retention in tungsten – evidence for permeation barrier effect. Nuclear Materials and Energy 27, 100991 (2021) https: //doi.org/10.1016/j.nme.2021.100991 [58] Simon, P.-C.A., Humrickhouse, P.W., Lindsay, A.D.: Tritium Transport Modeling at the Pore Scale in Ceramic Breeder Materials Using TMAP8. IEEE Transactions on Plasma Science, 1–7 (2022) https://doi.org/10.1109/TPS.2022.3183525 [59] Dhulipala, S.L.N., Simon, P.-C.A., Demkowicz, P.A., Hirschhorn, J.A., Novascone, S.R.: Unpacking model inadequacy: The quantification of silver release from TRISO fuel by considering empirical and mechanistic approaches. Journal of Nuclear Materials 610, 155795 (2025) https://doi.org/10.1016/j.jnucmat.2025. 155795 [60] Slaughter, A.E., Prince, Z.M., German, P., Halvic, I., Jiang, W., Spencer, B.W., Dhulipala, S.L., Gaston, D.R.: Moose stochastic tools: A module for performing parallel, memory-efficient in situ stochastic simulations. SoftwareX 22, 101345 (2023)

25

Supplementary material Validation case 1: Tritium release from neutron-irradiated Li2 TiO3 This validation case models tritium thermal desorption spectroscopy (TDS) from neutron-irradiated Li2 TiO3 (lithium titanate) crystalline grains, a candidate solid tritium breeding material for D-T fusion energy systems since lithium generates tritium when hit by fusion neutrons. The Li2 TiO3 samples were irradiated at the Kyoto University Reactor at various neutron fluences [45]. After irradiation, the tritium release behavior was measured by TDS with a heating rate of 5 K/min starting from 300 K using pure helium as the purge gas. The average grain radius was 1.5 µm. Irradiation has a significant effect on tritium transport. Tritium atoms tend to interact with defects in their host materials. These defects (e.g., interstitial sites, vacancies, dislocations, grain boundaries, pores) can trap tritium atoms and slow down tritium transport. By creating defects in materials, irradiation can significantly affect tritium transport in solid materials. Sample E from Kobayashi et al. [45], which contains a high defect density (Did = 3.384 × 1026 at/m3 ), is modeled. Tritium release is significantly influenced by trapping at O− -centers and defect annihilation at higher temperature.

Model description In this section, we present the governing equations for tritium transport in a spherical sample, including mobile tritium diffusion, trapping defect annihilation, trapping and detrapping, as well as the boundary and initial conditions and model parameters.

Diffusion of mobile species TMAP8 simulates tritium diffusion and trapping in a single spherical grain of Li2 TiO3 using one-dimensional spherical coordinates. The governing equation for mobile tritium concentration C is [45]: ∂C =D ∂t



∂2C 2 ∂C + ∂r2 r ∂r

 −

∂CT , ∂t

(1)

where CT is the concentration of trapped tritium in O− -centers and D is the temperature-dependent diffusivity following the Arrhenius law:

  Ed D = D0 exp − , kB T

(2)

where D0 is the pre-exponential factor, Ed is the activation energy, kB is the Boltzmann constant, and T is the temperature. 26

Defect annihilation During TDS heating, radiation-induced defect sites undergo first-order annihilation [45]: dDid = −kdp-da Did , (3) dt where Did is the defect density and kdp-da is the annihilation rate coefficient. The trap site fraction χ is related to Did ; however, the exact relationship is not clearly indicated in [45]. Therefore, the initial trap site density is assumed to equal the defect density, i.e., χ(0)N = Did , where N is the lattice site density. The annihilation rate coefficient is described as:   Edp-da , (4) kdp-da = kdp-da,0 exp − kB T where kdp-da,0 and Edp-da are the annihilation prefactor and energy, respectively. Raising the temperature reduces the available trap sites: the trap site fraction χ decays over time following Eq. (3), preventing retrapping into annihilated sites.

Trapping and detrapping Only O− -center (hydroxyl group) trapping is included in this model. As noted by Kobayashi et al. [45], tritium release controlled by detrapping from F+ -centers (oxygen vacancies) occurs near 580 K, which corresponds to the release temperature controlled by the diffusion process itself. Because F+ -center detrapping is not rate-limiting relative to diffusion, it does not produce a distinct feature (i.e., peak) in the TDS spectrum and is therefore excluded from the model. The trapped concentration CT evolves according to: C empty C ∂CT = αt T − αr CT − kdp-da CT , ∂t N

(5)

where CTempty = χN − CT is the empty trap concentration. The trapping and detrapping rate coefficients follow Arrhenius relationships:   ϵt αt = αt0 exp − , (6) kB T



 ϵr αr = αr0 exp − , (7) kB T where αt0 and αr0 are the pre-exponential factors for the trapping and release rate coefficients, and ϵt and ϵr are the trapping and release energies. The last term in Eq. (5), kdp-da CT , accounts for the release of trapped tritium when defect sites are annealed. Boundary and initial conditions The boundary conditions are ∂C/∂r = 0 at r = 0 due to the symmetry at grain center and C = 0 at r = rg due to the fast surface release. The mobile and trapped tritium 27

concentrations are initialized at their local trapping/detrapping equilibrium values at the starting temperature Tstart = 300 K. The equilibrium mobile concentration is computed from the balance of trapping and detrapping rates, avoiding an initial transient from any imbalance. Since the TDS output is normalized to arbitrary units, only the shape of the release curve matters, not the absolute concentrations.

Case and model parameters All model parameters are taken from Kobayashi et al. [45] and summarized in Table 2.

Table 2: Values of model parameters for validation case 1. Parameter

Description

rg D0 Ed αt0 ϵt αr0 ϵr kdp-da,0 Edp-da N β Did,E

Grain radius Diffusivity pre-exponential Diffusion activation energy Trapping prefactor Trapping energy Detrapping prefactor Detrapping energy Annihilation prefactor Annihilation energy Lattice density TDS heating rate Defect density (Sample E)

Value

Units

1.5 6.9 × 10−7 1.07 4.2 × 108 1.04 4.1 × 106 1.19 1.0 × 102 0.9 1.88 × 1028 5 3.384 × 1026

µm m2 /s eV s−1 eV s−1 eV s−1 eV at/m3 K/min at/m3

Results In this section, we discuss the TDS tritium release spectrum using both the initial parameters from Kobayashi et al. [45] and the parameters optimized by Bayesian optimization.

Results before optimization Figure 3 compares TMAP8 and the experimental TDS spectrum for Sample E. The O− -center trapping model with defect annihilation captures the broad release profile. The high detrapping energy of O− -centers (1.19 eV) produces a release peak above 650 K that is distinct from the diffusion-controlled release. The defect annihilation mechanism reduces the effective trap density at high temperatures, suppressing retrapping and allowing tritium to escape more efficiently. Results after optimization The agreement between the TMAP8 simulation and experimental data can be improved by optimizing the model parameters using the MOOSE stochastic tools module. A Bayesian optimization approach [54] was applied to optimize eight key 28

Fig. 3: Comparison of TMAP8 calculation with the experimental TDS data for Sample E (high defect density). Experimental data from Kobayashi et al. [45].

parameters (i.e., four Arrhenius pre-exponential factors in log10 space and four activation energies for the diffusivity, trapping, releasing, and defect annealing) to better match the experimental TDS curve for Sample E. As shown in Fig. 4, the normalized defect density with the reference annihilation prefactor (αanneal = 102 s−1 ) remains close to unity throughout the main release region (below ∼750 K) and only decreases significantly at higher temperatures where the tritium release flux is decreasing. Larger annihilation prefactors would shift the defect annihilation and the associated tritium release to lower temperatures, but the optimization consistently finds values near the reference. The optimization used Gaussian Process active learning with Expected Improvement acquisition, running 40 iterations with 5 parallel proposals per iteration. The objective function evaluates the root mean square percentage error (RMSPE) between the simulated and experimental normalized release rates using a continuous comparison at every simulation timestep. The experimental TDS curve is represented as a piecewise-linear interpolation function, and the RMSPE is accumulated over the full temperature ramp. Low-temperature constraint points (300 K to 475 K) with a small target value penalize parameter sets that produce spurious early release peaks. Table 3 compares the reference values from Kobayashi et al. [45] with the Bayesianoptimized parameters, along with the parameter ranges used in the optimization. Figure 5 compares the reference parameter values from Kobayashi et al. [45] (blue dashed lines) with the Bayesian-optimized values (red solid lines) for each of the eight fitted parameters. The green curves show the kernel density estimate of the top 20% scoring evaluations from the Bayesian optimization, providing insight into which parameter regions produce good fits to the experimental data. The optimized values fall within the high-density regions of the distributions, confirming consistency with the near-optimal parameter space. 29

Fig. 4: Evolution of the normalized defect density, Did /Did,0 , during the TDS temperature ramp. As expected, the annihilation temperature strongly depends on αanneal .

Table 3: Reference and Bayesian-optimized parameter values for validation case 1. Parameter

Reference

Optimized

Range

Units

D0 Ed αt0 ϵt αr0 ϵr kdp-da,0 Edp-da

6.9 × 10−7 1.07 4.2 × 108 1.04 4.1 × 106 1.19 1.0 × 102 0.9

4.50 × 10−6 1.01 2.21 × 107 0.82 2.14 × 105 1.08 8.26 × 101 1.27

10−8 –10−4 0.8–1.4 107 –1010 0.8–1.3 105 –108 0.9–1.5 100 –105 0.5–1.5

m2 /s eV s−1 eV s−1 eV s−1 eV

Figure 6 compares the Arrhenius-law temperature dependence of the diffusivity D(T ), trapping rate coefficient αt (T ), detrapping rate coefficient αr (T ), and annihilation rate coefficient kdp-da (T ) between the reference and optimized parameter sets over the 300 K to 900 K TDS temperature range. The diffusivity pre-exponential factor increases by roughly one order of magnitude while the activation energy remains close to the reference (1.07 to 1.01 eV). The trapping prefactor decreases by about one order of magnitude with a reduced activation energy (1.04 to 0.82 eV), while the detrapping prefactor decreases by about one order of magnitude with a slightly reduced activation energy (1.19 to 1.08 eV). The optimized annihilation prefactor (∼83 s−1 ) remains close to the reference value (100 s−1 ), with the annihilation activation energy increasing from 0.9 to 1.27 eV, further suppressing annihilation effects during TDS. Figure 7 compares TMAP8 with the optimized parameters and the experimental data. The optimized parameters significantly reduce the RMSPE compared to the 30

(a) D0

(b) Ed

(c) αt0

(d) ϵt

(e) αr0

(f) ϵr

(g) kdp-da,0

(h) Edp-da

Fig. 5: Comparison of reference (blue dashed) and Bayesian-optimized (red solid) parameter values for (a) diffusivity pre-exponential D0 , (b) diffusion activation energy Ed , (c) trapping prefactor αt0 , (d) trapping energy ϵt , (e) detrapping prefactor αr0 , (f) detrapping energy ϵr , (g) annihilation prefactor kdp-da,0 , and (h) annihilation energy Edp-da . Green curves show 31 the kernel density estimate of the top 20% scoring evaluations. The gray shaded region indicates the search range.

(a) D(T )

(b) αt (T )

(c) αr (T )

(d) kdp-da (T )

Fig. 6: Comparison of Arrhenius temperature dependence between reference and Bayesian-optimized parameter sets for (a) diffusivity D(T ), (b) trapping rate coefficient αt (T ), (c) detrapping rate coefficient αr (T ), and (d) annihilation rate coefficient kdp-da (T ).

reference parameters, demonstrating improved agreement with the experimental TDS spectrum.

Validation case 2: Modeling the influence of thin surface oxide films on hydrogen isotope release from ion-irradiated tungsten Overall case description This validation case is based on the natural-oxide and thin-oxide experiments reported by Kremer et al. [46]. The experimental study performs thermal desorption spectroscopy (TDS) and measures deuterium release from self-irradiated tungsten samples 32

Fig. 7: Comparison of TMAP8 calculation with Bayesian-optimized parameters against the experimental TDS data for Sample E (high defect density) [45].

with a natural oxide layer and with electrochemically grown oxide layers between 5 nm and 100 nm. This case uses the same overarching model (e.g., tungsten diffusion, trapping, and surface-release formulation) to capture the deuterium release behavior of four self-irradiated tungsten samples with distinct oxygen-field configurations: natural oxide and thin oxide films of 5 nm, 10 nm, and 15 nm. The effect of the thin oxide films on the release is discussed, with the model providing key mechanistic insights into the observed experimental behavior. The release behavior is compared against the time-dependent experimental HD + D2 and HDO + D2 O signals as the temperature increases. In the present implementation, those grouped measurements are represented phenomenologically through an explicit D2 release and an oxygen-gated D2 O release rather than through separate explicit HD and HDO transport species. The aim of this study is to understand the effect of the presence of an oxide layer on deuterium retention and release from tungsten samples. While tungsten oxidation is expected to be limited in fusion power plant conditions, it does take place in laboratory environments, which can affect laboratory observations. Understanding oxide effects can thus help better tie laboratory experiments to performance in fusion-relevant environments, thus increasing the impact of laboratory experiments and accelerating fusion energy deployment. Since the original paper from Kremer et al. does not propose a model to capture deuterium behavior [46], the developer and the agent are in a different situation than they were for the validation case presented in Section 5, as a model has to be developed from scratch for this case.

Sample history and dimensions The reference sample history is taken from Ref. [46]. In the experiment, the 0.8 mm tungsten specimens are first self-irradiated, which generates a 2.3 µm thick selfdamaged near-surface region. The samples are then loaded with deuterium so that 33

the retained inventory is concentrated in the first few micrometers of the sample. The loading is performed at 370 K to enable deuterium mobility while minimizing defect annealing in the self-damaged region. Once loaded, a thin oxide layer is deposited using an electrochemical process at low temperature. The advantage of this approach compared to thermal oxidation is that the temperature remains low (e.g., room temperature), which limits deuterium transport and defect annealing. Kremer et al. noted that electrochemically grown tungsten oxide has an amorphous structure and, therefore, differs from thermally grown oxide or natural oxide, which might affect the release behavior. While Ref. [46] offers a wide range of data and observations for oxide-layer thicknesses reaching up to 100 nm, the current study focuses on the thinner oxide films discussed in the paper, namely a sample with a natural oxide layer and samples with oxide films that are 5 nm, 10 nm, and 15 nm thick. The paper describes the natural oxide as being 1–2 nm thick, and the present model uses 1 nm as a representative natural-oxide value for that case. All four desorption calculations start from the same preloaded tungsten state and follow the digitized temperature history from Fig. 6 in Ref. [46], which shows the sample heated from approximately 296 K to approximately 1000 K over roughly 4.17 h. The initial deuterium profile used at the start of desorption is shown in Fig. 8 for the 15 nm configuration (the same approach is used for the other samples). The shaded regions identify the oxide, damaged tungsten, and bulk tungsten sections in the plotted depth range. In this configuration, most of the retained inventory is placed in the irradiation-induced traps inside the damaged region, while the mobile deuterium concentration remains comparatively negligible.

Model description To capture the deuterium release behavior from self-irradiated tungsten with a thin oxide film, the model includes the following features: (1) A one-dimensional geometry with an oxide layer, a self-damaged region, and the tungsten bulk, as illustrated in Fig. 8. (2) Deuterium transport involves Fickian diffusion, trapping and resolution, and surface reactions. (3) Trapping and resolution are governed by six trap families, one intrinsic trap family and five irradiation-induced trap families. This is directly inspired by the TMAP8 validation case val-2f, which builds on the model first published by Dark et al. in Ref. [55]. The adapted model in val-2f validates TMAP8 based on deuterium release from self-irradiated tungsten [50]. The full set of trap site densities is adapted from val-2f so the initial areal inventory matches the prescribed preload of the current study. (4) The density of the intrinsic trap, since it is independent of irradiation, is homogeneous in the sample. The densities of irradiation-induced traps, however, are homogeneous in the 2.3 µm thick self-damaged region, and then quickly decrease to 0 in the bulk of the sample with a transition length of 0.05 µm. Irradiationinduced trap densities also decrease to 0 in the oxide layer with a transition length of 0.25 nm (see Fig. 8). (5) Deuterium release takes place either as D2 or as D2 O by combining with an oxygen atom at the surface. The surface recombination rates of these reactions are different. (6) The oxide layer is modeled as an additional layer on top of the self-damaged region. The transport properties of deuterium in the oxide 34

Fig. 8: Initial deuterium concentration profile for the desorption calculation from the 15 nm thick oxide sample. The profile shows the mobile deuterium concentration (negligible), the six trapped populations, their total, and the oxide, damaged tungsten, and bulk tungsten sections.

layer remain equal to those in tungsten (e.g., same diffusivity), except that no trapping sites are present in the oxide layer. Note that the thickness of the oxygen layer does not evolve in time, even as oxygen atoms are released as D2 O. These simplifications are considered reasonable as the oxide layer represents only a small volume and thickness in these cases. (7) The oxide layer is initialized with a given oxygen concentration (consistent across all cases), which is null everywhere else. The diffusivity of oxygen in the oxide layer is accounted for, but the diffusion of oxygen deeper into the tungsten sample is suppressed. (8) The mesh is refined near the exposed surface. This is to resolve the oxide-to-damaged-tungsten and damaged-to-bulk-tungsten transition and to accurately capture the surface reactions, oxygen transport, and behavior in the selfdamaged region. Deeper into the sample, the mesh is coarser to reduce computational size. The only difference between the four configurations of interest (e.g., natural oxide and 5, 10, and 15 nm thick oxide films) is the thickness of the oxide layer and the mesh refinement area. The model formulation, other initial conditions, and all the model parameters are consistent across all cases. 35

The implementation is solved internally in dimensionless form, but the physical governing equations are written first here for clarity. The mobile deuterium balance is

∂CM = ∇ · (DD ∇CM ) − ∂t

X i∈{intr,1,...,5}

∂CTi , ∂t

(8)

with one trapped-species evolution equation for each trap family: empty

C CM ∂CTi = αt,i Ti − αr,i CTi , ∂t N

(9)

CTempty = CTi ,0 N − CTi , (10) i where CM is the mobile deuterium concentration, t is the time, CTi is the concentration trapped in family i, CTempty is the remaining empty trap capacity, CTi ,0 is the fraction i of host sites that can act as trap family i, and N is the tungsten host density. DD is the deuterium diffusivity in tungsten (and tungsten oxide in this model), and αt,i and αr,i are the trapping and resolution rates for trapping family i, respectively. The oxygen field evolves according to ∂CO = ∇ · (DO ∇CO ) , ∂t

(11)

where CO is the oxygen concentration and DO is the oxygen diffusivity in the oxide layer. In the current model, oxygen diffusion is masked so that it is active only inside the oxide layer. The temperature-dependent diffusivities and trapping/detrapping rates follow Arrhenius forms:   ED DD = DD,0 exp − (12) kB T and   ED,O DO = DO,0 exp − (13) kB T for the diffusivities, and   ED αt,i = αt,i,0 exp − (14) kB T and   ET,i αr,i = αr,i,0 exp − (15) kB T for the trapping and detrapping rates. The surface reactions represented in the model are 2D → D2

(16)

2D + O → D2 O,

(17)

and

36

which give the corresponding surface fluxes (D at)

JD2

2 = −2Kr,D2 CM ,

(18)

(D at)

2 = −2Kr,D2 O CO CM ,

(19)

1 (D at) J , 2 D2 O

(20)

JD2 O and

JO = (D at)

(D at)

where JD2 and JD2 O are deuterium-atom fluxes leaving the mobile-deuterium balance from D2 and D2 O reactions, with units of D atoms m−2 s−1 . Equivalently, (D at) (mol) the molecular heavy-water flux is JD2 O = 12 JD2 O , so the oxygen loss flux satisfies (mol)

JO = JD2 O because one oxygen atom is consumed per released D2 O molecule. While the reverse reactions, e.g., molecular dissociation at the surface, are possible, they are neglected here for simplicity due to the low partial pressure of deuterium in the gas surrounding the sample. The surface reaction rates are defined as   Er,D2 , Kr,D2 = Kr,D2 ,0 exp − kB T

(21)

  Er,D2 O Kr,D2 O = Kr,D2 O,0 exp − . kB T

(22)

and

For numerical stability, the input files rewrite these equations in dimensionless form using the reference ratios

CO , tref CO,ref (23) with Lref = 1 µm and tref = 1 s. The corresponding dimensionless groups used in the input files are CM,ref α̂t,i = tref αt,i , (24) N α̂r,i = tref αr,i , (25) x̂ =

x , Lref

t̂ =

t

,

ĈM =

CM , CM,ref

ĈTi =

CTi , CTi ,ref

ĈO =

D̂D = DD

tref , L2ref

(26)

D̂O = DO

tref , L2ref

(27)

CM,ref tref , Lref

(28)

CM,ref tref . Lref

(29)

K̂r,D2 = Kr,D2 and

K̂r,D2 O = Kr,D2 O

37

Case and model parameters The literature-based and calibrated model parameters, geometry, and sample history conditions are listed in Table 4. The initial oxygen concentration is derived from the reported removal of 100 × 1019 O/m2 from the first 13.5 nm of oxide in Ref. [46] and is reduced by an additional factor of 1.5 in the current calibrated model, which yields about 4.94 × 1028 O/m3 .

Table 4: Literature-based and calibrated model parameters, geometry, and sample history conditions used to investigate the effect of oxide on deuterium release. Parameter

Description

Value

Units

Reference

lW lox wox ld T0 Tf tf DD,0 ED D0,O ED,O CO,0 wd Lref tref CM,ref intr CT ,ref 1−5 CT ,ref sT ET ,intr ET ,1 ET ,2 ET ,3 ET ,4 ET ,5 CT ,intr,0 N CT1 ,0 N CT2 ,0 N CT3 ,0 N CT4 ,0 N CT5 ,0 N Kr,D2 Er,D2 Kr,D2 O Er,D2 O

Tungsten thickness Oxide thickness Oxide-to-W transition width Self-damaged depth Initial desorption temperature Final desorption temperature Final desorption time Deuterium diffusivity prefactor Deuterium diffusion activation energy Oxygen diffusivity prefactor Oxygen diffusion activation energy Initial oxygen concentration Damaged-to-bulk W transition width Reference length Reference time Mobile reference concentration Intrinsic-trap reference concentration Irradiation trap reference concentration Uniform trap-density scale factor Intrinsic detrapping energy Trap 1 detrapping energy Trap 2 detrapping energy Trap 3 detrapping energy Trap 4 detrapping energy Trap 5 detrapping energy Intrinsic trap site density Trap 1 site density Trap 2 site density Trap 3 site density Trap 4 site density Trap 5 site density Recombination prefactor Recombination activation energy D2 O surface-release prefactor D2 O surface-release activation energy

0.8 1, 5, 10, 15 0.25 2.3 ≈ 295.775 ≈ 1001.408 4.166 1.6 ×10−7 0.28 2.0 ×10−17 0.45 4.94 ×1028 0.05 1 1 6.3222 ×1016 6.3222 ×1017 6.3222 ×1020 6.644848 1.08 1.20 1.38 1.65 1.85 2.05 1.595 ×1023 3.076 ×1026 1.910 ×1026 1.304 ×1026 2.392 ×1026 7.330 ×1025 3.8 ×10−16 0.34 3.8 ×101 2.10

mm nm nm µm K K h m2 /s eV m2 /s eV at/m3 µm µm s at/m3 at/m3 at/m3 eV eV eV eV eV eV at/m3 at/m3 at/m3 at/m3 at/m3 at/m3 m4 /at/s eV m4 /at/s eV

[46] [46] Numerical resolution choice [46] Fig. 6 in [46] Fig. 6 in [46] Fig. 6 in [46] From [val-2f](val-2f.md) [50] Calibrated from Ref. [56] Calibrated from Ref. [56] Adapted from Ref. [57] Numerical resolution choice Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Adapted from Ref. [50] Calibrated Calibrated

38

Results The main interpretation from Ref. [46] is that the oxide film acts both as a deuterium reservoir and as a transport barrier, delaying release as the oxide gets thicker. The paper also reports that chemical interaction between outgassing deuterium and the oxide begins above about 475 K, and that heavy-water release dominates above about 700 K while enough oxide remains available. The calibrated model developed here is evaluated against those trends as well as against the digitized TDS curves. In the case of the natural oxide shown in Fig. 2a, the deuterium release is dominated by D2 release with two main peaks dictated by the trapping energies. This is consistent with the results discussed in TMAP8’s val-2f case [50, 55]. The low release in D2 O form is attributed to the lower availability of oxygen, since the 1 nm natural-oxide inventory is quickly depleted, as shown in Fig. 9. The model qualitatively captures the main trends observed experimentally. The position and magnitude of the two peaks for D2 release are predicted, as well as the ratio of D2 to D2 O release. The main difference in trends is the short peak in D2 O instead of the wider peak observed experimentally. This could be attributed to an overestimation of the oxygen availability or D2 O surface reaction rate at lower temperatures.

Fig. 9: Total oxygen inventory remaining in the sample over time.

Fig. 10 shows the evolution of the deuterium inventory as a mobile species and in each trap over time. The deuterium release is dominated by the trapping populations, while the mobile deuterium inventory remains much smaller throughout the desorption ramp, as mobile deuterium quickly reacts at the surface of the sample. The lowerenergy traps begin to empty first as the temperature rises, followed by the deeper trap populations later in the ramp, as expected. This behavior is found to be common 39

to all four cases, with no significant effect of the oxide thickness on the detrapping behavior. This was expected since the traps description is common across all cases.

Fig. 10: Evolution of the mobile and trapped deuterium inventories during desorption for the 1 nm natural-oxide sample. This behavior is common to all four cases.

As the oxide film thickness increases, the following trends are observable experimentally in Fig. 2:

• The ratio of D2 O release over D2 increases as oxygen availability increases. • The low-temperature D2 peak maintains its position, but its magnitude decreases consistently. • The high-temperature peak shifts to higher temperatures and its magnitude decreases, even disappearing when the oxide thickness increases from 10 nm to 15 nm. • The D2 O release increases, with a first peak aligned with the first D2 peak, then a stable region, and then either a decrease in the case of the 5 nm thick oxide or another peak aligned with the second D2 peak for thicker oxides. This secondary D2 O peak for the 10 nm oxide decreases sooner than for the 15 nm oxide. These trends are all qualitatively captured by the calibrated model. Furthermore, even if the model lacks a purely mechanistic description of the deuterium and oxide behavior, the simulations offer some physical insights to explain these observed trends. Oxygen availability was found to be a key parameter during model calibration. As the oxide thickness increases and the oxygen inventory increases (see Fig. 9), the ratio of D2 to D2 O release decreases. Then, as the oxygen inventory gets depleted, 40

D2 O release naturally decreases. This helps explain the lack of a secondary peak in D2 O release for the 5 nm oxide sample, as well as the thinner secondary D2 O peak for the 10 nm oxide sample compared with the 15 nm oxide sample. As described in Ref. [46], the oxide layer disappears during TDS for most cases, but some remains for the 15 nm thick oxide film case (see Fig. 9). Note that while no oxide was observed after TDS for the 10 nm sample, the simulation predicts some remaining inventory, albeit only a small fraction of the initial amount. The oxide is completely gone for the natural oxide and 5 nm thickness cases in both experiments and simulations. For oxygen to be effectively used for D2 O release, however, the ratio of the D2 and D2 O surface reaction rates must be advantageous, and the oxygen diffusion in the oxide layer needs to be sufficient. The slight delay in the onset in D2 O release at low temperature compared to D2 release is captured by a lower D2 O surface reaction rate at low temperature. However, at high temperature, the surface reaction rate of D2 O needs to surpass that of D2 for the suppression of the secondary D2 peak in favor of the secondary D2 O peak to be observed. Fig. 11 shows the two phenomenological surface-release coefficients over the experimental desorption temperature window. In the calibrated parameter set, the D2 O release is strongly suppressed at low temperature by its larger activation energy, then rises more steeply and overtakes the D2 coefficient at about 520 K, enabling the behavior discussed above.

Fig. 11: Arrhenius-form surface recombination coefficients used for the D2 and D2 O release reactions.

41

In the case of the 15 nm thick oxide, the secondary D2 peak is not completely suppressed in the current model. However, this might be resolved with further model calibration.

Discussion and future work The model proposed herein uses a general formulation and consistent parameters for all four samples with different oxide thicknesses, and it qualitatively captures the main experimentally observed trends and differences between all configurations published in Ref. [46]. By doing so, it provides key physical insights into the experimental measurements and observations. These insights are valuable for tying laboratory observations, where tungsten oxidation often takes place, to performance in fusion power plant environments. Using this novel model, the laboratory deuterium TDS data can be analyzed, and the effect of the oxide layer can be isolated, hence providing a model applicable to fusion energy system conditions. This model, however, has limitations that should be addressed in future work. The limitations discussed in Ref. [46] (e.g., electrochemically grown oxide being different from thermally grown oxide) still apply to this study. A more thorough characterization of the oxide and a general analysis that includes different oxide structures would help generalize the current model, which currently does not differentiate between different oxide types. In addition, the model includes other key assumptions and simplifications that could be challenged in the future to confirm the interpretation proposed in this study. For example, the model does not capture the increased surface diffusion of deuterium, which was discussed in the original paper [46] as a key release mechanism, as deuterium atoms diffuse along the sample surface to find remaining pockets of oxygen to be released as D2 O. To model this, the geometry should be expanded to a two- or three-dimensional model, which is possible in TMAP8 [24, 40, 41, 58]. The current study implemented the model and performed an ad hoc calibration of the model parameters based on the potential driving mechanisms of oxide evolution and deuterium detrapping, diffusion, and surface reactions. While the experimentally observed trends are qualitatively captured by the model, the simulation results are quantitatively different from the experimental measurements. Using Bayesian inference across all sets of experimental data would make it possible to calibrate the model to the experimental data while quantifying uncertainties and sources of error from model inadequacy, experimental error, and model-parameter uncertainty [54, 59, 60]. The current oxygen diffusivity and D2 and D2 O release parameters are, therefore, best interpreted as calibrated effective kinetics for matching the observed TDS trends rather than as a mechanistic description, which will be the goal of future work.

42

Related documents

Record · ID 200554 · SHA-256 32cf342423b4da53
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.