Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “Source Code”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 1,513 records · Page 84

Analysis of main steam isolation valve leakage in design basis accidents using MELCOR 1.8.6 and RADTRAD.

Analyses were performed using MELCOR and RADTRAD to investigate main steam isolation valve (MSIV) leakage behavior under design basis accident (DBA) loss-of-coolant (LOCA) conditions that are presumed to have led to a significant core melt accident. Dose to the control room, site boundary and LPZ are examined using both approaches described in current regulatory guidelines as well as analyses based on best estimate source term and system response. At issue is the current practice of using containment airborne aerosol concentrations as a surrogate for the in-vessel aerosol concentration that exists in the near vicinity of the MSIVs. This study finds current practice using the AST-based containment aerosol concentrations for assessing MSIV leakage is non-conservative and conceptually in error. A methodology is proposed that scales the containment aerosol concentration to the expected vessel concentration in order to preserve the simplified use of the AST in assessing containment performance under assumed DBA conditions. This correction is required during the first two hours of the accident while the gap and early in-vessel source terms are present. It is general practice to assume that at {approx}2hrs, recovery actions to reflood the core will have been successful and that further core damage can be avoided. The analyses performed in this study determine that, after two hours, assuming vessel reflooding has taken place, the containment aerosol concentration can then conservatively be used as the effective source to the leaking MSIV's. Recommendations are provided concerning typical aerosol removal coefficients that can be used in the RADTRAD code to predict source attenuation in the steam lines, and on robust methods of predicting MSIV leakage flows based on measured MSIV leakage performance.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Recent Advances in the Use of TRIPOLI-4 Monte Carlo Code for Radiation Protection and Shielding Calculations - Paper 47

TRIPOLI-4 is a general purpose radiation transport code. It uses the continuous-energy Monte Carlo method to simulate neutron, photon, electron and positron transport in three-dimensional geometries. The main application areas of TRIPOLI-4 code include radiation protection and shielding, fission reactor physics, nuclear criticality safety, fusion reactor design, and nuclear instrumentation. For the radiation protection and shielding calculations with TRIPOLI-4 code, miscellaneous radiation sources options, various variance reduction options, and many useful tally options are available. Perturbation calculations on material densities and nuclide concentrations are routinely used in radiation protection applications. Parallel calculations with TRIPOLI-4 are also easy to perform with a PC under the linux/unix OS. To help the users to get the feedback from their test runs during the input data preparation and adjustment and to analyze the intermediate and final results from their production runs, several user-interface tools have been introduced. By using some application cases in the fields of radiation shielding, radiation dosimetry, and gamma spectrometry, this paper summarizes and demonstrates some essential improvements and possibilities in the use of TRIPOLI-4 code on fixed source calculations. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Tokamak profile prediction using direct gyrokinetic and neoclassical simulation

Tokamak transport modeling scenarios, including ITER [ITER Physics Basis Editors, Nucl. Fusion 39, 2137 (1999)] performance predictions, are based exclusively on reduced models for core thermal and particle transport. The reason for this is simple: computational cost. A typical modeling scenario may require the evaluation of thousands of individual transport fluxes (local transport models calculate the energy and particle fluxes across a specified flux surface given fixed profiles). Despite continuous advances in direct gyrokinetic simulation, the cost of an individual simulation remains so high that direct gyrokinetic transport calculations have been avoided. By developing a steady-state iteration scheme suitable for direct gyrokinetic and neoclassical simulations, we can now compute steady-state temperature profiles for DIII-D [J. L. Luxon, Nucl. Fusion 42, 614 (2002)] plasmas given known plasma sources. The new code, TGYRO, encapsulates the GYRO[J. Candy and R. E. Waltz, J. Comput. Phys. 186, 545 (2003)] code, for turbulent transport, and the NEO[E. A. Belli and J. Candy, Plasma Phys. Controlled Fusion 50, 095010 (2008)] code, for kinetic neoclassical transport. Results for DIII-D L-mode discharge 128913 are given, with computational and experimental results consistent in the region 0{<=}r/a{<=}0.8.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Traceability Through Automatic Program Generation

Program synthesis is a technique for automatically deriving programs from specifications of their behavior. One of the arguments made in favour of program synthesis is that it allows one to trace from the specification to the program. One way in which traceability information can be derived is to augment the program synthesis system so that manipulations and calculations it carries out during the synthesis process are annotated with information on what the manipulations and calculations were and why they were made. This information is then accumulated throughout the synthesis process, at the end of which, every artifact produced by the synthesis is annotated with a complete history relating it to every other artifact (including the source specification) which influenced its construction. This approach requires modification of the entire synthesis system - which is labor-intensive and hard to do without influencing its behavior. In this paper, we introduce a novel, lightweight technique for deriving traceability from a program specification to the corresponding synthesized code. Once a program has been successfully synthesized from a specification, small changes are systematically made to the specification and the effects on the synthesized program observed. We have partially automated the technique and applied it in an experiment to one of our program synthesis systems, AUTOFILTER, and to the GNU C compiler, GCC. The results are promising: 1. Manual inspection of the results indicates that most of the connections derived from the source (a specification in the case of AUTOFILTER, C source code in the case of GCC) to its generated target (C source code in the case of AUTOFILTER, assembly language code in the case of GCC) are correct. 2. Around half of the lines in the target can be traced to at least one line of the source. 3. Small changes in the source often induce only small changes in the target.

Richardson, Julian↗

A Finite Element Model for Simulation of Carbon Dioxide Sequestration

We present a hydro-mechanical model, followed by stress, deformation, and shear-slip failure analysis for geological sequestration of carbon dioxide (CO2). The model considers the poroelastic effects by taking into account of the two-way coupling between the geomechanical response and the fluid flow process. Analytical solutions for pressure and deformation fields were derived for a typical geological sequestration scenario in our previous work. A finite element approach is introduced here for numerically solving the hydro-mechanical model with arbitrary boundary conditions. The numerical approach was built on an open-source finite element code Elmer, and results were compared to the analytical solutions. The shear-slip failure analysis was presented based on the numerical results, where the potential failure zone is identified. Information is relevant to the prediction of the maximum sustainable injection rate or pressure. The effects of caprock permeability on the fluid pressure, deformation, stress, and the shear-slip failure zone were also quantitatively studied. It was shown that a larger permeability in caprock and base rock leads to a larger uplift but a smaller shear-slip failure zone.

54 ENVIRONMENTAL SCIENCES↗

Rule-Based Flight Software Cost Estimation

This paper discusses the fundamental process for the computation of Flight Software (FSW) cost estimates. This process has been incorporated in a rule-based expert system [1] that can be used for Independent Cost Estimates (ICEs), Proposals, and for the validation of Cost Analysis Data Requirements (CADRe) submissions. A high-level directed graph (referred to here as a decision graph) illustrates the steps taken in the production of these estimated costs and serves as a basis of design for the expert system described in this paper. Detailed discussions are subsequently given elaborating upon the methodology, tools, charts, and caveats related to the various nodes of the graph. We present general principles for the estimation of FSW using SEER-SEM as an illustration of these principles when appropriate. Since Source Lines of Code (SLOC) is a major cost driver, a discussion of various SLOC data sources for the preparation of the estimates is given together with an explanation of how contractor SLOC estimates compare with the SLOC estimates used by JPL. Obtaining consistency in code counting will be presented as well as factors used in reconciling SLOC estimates from different code counters. When sufficient data is obtained, a mapping into the JPL Work Breakdown Structure (WBS) from the SEER-SEM output is illustrated. For across the board FSW estimates, as was done for the NASA Discovery Mission proposal estimates performed at JPL, a comparative high-level summary sheet for all missions with the SLOC, data description, brief mission description and the most relevant SEER-SEM parameter values is given to illustrate an encapsulation of the used and calculated data involved in the estimates. The rule-based expert system described provides the user with inputs useful or sufficient to run generic cost estimation programs. This system's incarnation is achieved via the C Language Integrated Production System (CLIPS) and will be addressed at the end of this paper.

computational intelligence↗

The use of particle-in-cell codes for designing electron cyclotron resonance ion sources (invited) (abstract)

We illustrate how particle-in-cell simulation techniques have been useful in past design and modeling of electron cyclotron resonance (ECR) ion sources, and discuss advances that will benefit how they can continue to be useful in the future. Electromagnetic particle-in-cell codes excel in situations of interesting geometry and magnetic field nonuniformity. We review early particle-in-cell design work leading up to the validation of volume heating effects in carefully tailored flat-field-type ECR sources. Modern computing power now favors fully three-dimensional simulation, with more realistic rf injection and accessibility modeling, and confinement field representation, for more optimal design capability, and more thorough investigation of electromagnetic transport in novel, more efficient ECR heating concepts. We also demonstrate algorithm advances, including particle-fluid hybrid methods that promise relief from computational restrictions of earlier simulations, specifically the scaling requirements associated with the small Debye length of the ECR plasma relative to its total size. Particle-in-cell codes also offer the potential for accurate modeling of particle creation, destruction, and transport dynamics. We will illustrate these capabilities from recent work incorporating neutral transport, ionization, and recombination physics, aimed at optimization of ion current in heavy ion sources. This work involves accurate modeling of geometrically localized sources, and points toward future integrated models covering the full range of physics from ion production to extraction.

43 PARTICLE ACCELERATORS↗

Delayed Gamma Signature Accounting for Field Line Transport of Debris Ions after a Nuclear Explosion

Delayed gammas (DGs) are produced by the decay of radioactive fission fragments after a nuclear explosion. Currently, the time and energy profile of the delayed gamma signal is propagated in DIORAMA to the GEO satellite sensors by assuming a point source at the burst location for the production of the delayed gammas. However, in reality the production of delayed gammas is spread over some spatial extent. First, the debris ions are confined within an expanding region by the magnetic field and/or surrounding plasma. This expanding confinement bubble eventually collapses, at which point the debris ions can be trapped on magnetic field lines and transported away from the original burst location. In this work the effects of debris ion transport on the associated time profile of delayed gammas at a GEO satellite is presented. The first step was the development of the Delayed Gamma Source Model (DGSM), which is based on the analytical Electron Source Model (ESM) code developed at LANL that models the spatial distribution of energetic electrons produced after a high-altitude nuclear explosion (HANE) for use as a source term in LANL artificial belt diffusion code. This model creates a spatial grid in latitude, longitude, and altitude of the distribution of radioactive debris ions. The output of this code is combined with a separate analysis code also described, which produces the DG time profile signature at a GEO sensor faceplate when accounting for the spatial spread of delayed gamma production during field line transport. Some simple case studies are presented to show how the DG signature at GEO calculated with this higher-fidelity model and a simple point-source model, as is currently assumed in DIORAMA, compare.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

A Study on Establishment of Scenario Considering to Location and Treatment for Waste Tracking System

Radioactive waste of domestic generated KAERI, KHNP and KNFC etc. Agency of radioactive waste generation have each waste tracking system and waste streaming. We need to establish integrated waste classification for waste tracking and management efficiency. This study main point is the integration of radioactive waste classification and the cording of domestic generators, waste disposal site, etc. We also created a scenario through this coding. First, This study was able to identify the status of domestic radioactive Waste Tracking System. Second, through this study, WTS scenarios were prepared by analyzing each waste management agency and transportation report. If WTS scenario establish from integration of waste streaming, it will be possible tracking, back tracking and management of radioactive waste more efficiency. Third, This study coded all the sources of radioactive waste generators, acceptor agency, waste classification and treatment. Using this code, we tracking the scenario from generator to acceptor and display it as bar-code. Also, if we later convert this bar-code to a Qr-code, it thought that it will be easier tracking radioactive waste.

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

PRELIMINARY COUPLING OF THE MONTE CARLO CODE OPENMC AND THE MULTIPHYSICS OBJECT-ORIENTED SIMULATION ENVIRONMENT (MOOSE) FOR ANALYZING DOPPLER FEEDBACK IN MONTE CARLO SIMULATIONS

In recent years the use of Monte Carlo methods for modeling reactors has become feasible due to the increasing availability of massively parallel computer systems. One of the primary challenges yet to be fully resolved, however, is the efficient and accurate inclusion of multiphysics feedback in Monte Carlo simulations. The research in this paper presents a preliminary coupling of the open source Monte Carlo code OpenMC with the open source Multiphysics Object-Oriented Simulation Environment (MOOSE). The coupling of OpenMC and MOOSE will be used to investigate efficient and accurate numerical methods needed to include multiphysics feedback in Monte Carlo codes. An investigation into the sensitivity of Doppler feedback to fuel temperature approximations using a two dimensional 17x17 PWR fuel assembly is presented in this paper. The results show a functioning multiphysics coupling between OpenMC and MOOSE. The coupling utilizes Functional Expansion Tallies to accurately and efficiently transfer pin power distributions tallied in OpenMC to unstructured finite element meshes used in MOOSE. The two dimensional PWR fuel assembly case also demonstrates that for a simplified model the pin-by-pin doppler feedback can be adequately replicated by scaling a representative pin based on pin relative powers.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

ThinCurr: An open-source 3D thin-wall eddy current modeling code for the analysis of large-scale systems of conducting structures

In this paper we present a new thin-wall eddy current modeling code, ThinCurr, for studying inductively-coupled currents in 3D conducting structures -- with primary application focused on the interaction between currents flowing in coils, plasma, and conducting structures of magnetically-confined plasma devices. The code utilizes a boundary finite element method on an unstructured, triangular grid to accurately capture device structures. The new code, part of the broader Open FUSION Toolkit, is open-source and designed for ease of use without sacrificing capability and speed through a combination of Python, Fortran, and C/C++ components. Scalability to large models is enabled through use of hierarchical off-diagonal low-rank compression of the inductance matrix, which is otherwise dense. Ease of handling large models of complicated geometry is further supported by automatic determination of supplemental elements through a greedy homology approach. Here, a detailed description of the numerical methods of the code and verification of the implementation of those methods using cross-code comparisons against the VALEN code and Ansys commercial analysis software is shown.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Evaluation of simulated HPGe detector efficiencies in OpenMC compared to MCNP

In late 2023, the open-source radiation transport code OpenMC introduced a pulse-height tally (PHT) feature, enabling users to track the total energy deposited by individual photons in OpenMC cells. This function represents an important improvement of the OpenMC code because it allows users to simulate the response function of a gamma detector without relying on closed-source alternatives. Despite this, limited work has been published evaluating OpenMC as a radiation transport code for simulating gamma spectroscopy experiments. This study attempts to demonstrate the usefulness of OpenMC in this space by directly comparing its PHT output to MCNP (a trusted industry-standard Monte Carlo code). In the first half of this study, a radiation transport experiment is described in which a detector with a complex internal geometry is exposed to various gamma-emitting isotopes ( 133 Ba, 137 Cs, and 60 Co) over a range of distances. The setup of this experiment was modeled in MCNP with sufficient detail to capture the efficiency characteristics of a high purity germanium (HPGe) detector for the primary gammas of each isotope. After good agreement between the MCNP model and experiment was achieved, an identical model was produced in OpenMC to allow direct comparison between the full energy peak (FEP) values produced in OpenMC and MCNP. The results show strong agreement between OpenMC and MCNP across the full range of tested energies, with each model’s FEP values typically within 2% of each other and most FEP areas within 4% of experimental data. Worse agreement was seen between the Monte Carlo codes and experiment below 300 keV (an expected result). For the 662 keV line of 137 Cs, both codes were found in poor agreement with experiment and each other over the full range of distances tested (possibly indicating an error with the 137 Cs experimental data). Ignoring the anomalous results of the 662 keV line, all other data show good qualitative and quantitative agreement between MCNP and OpenMC. This result demonstrates the accuracy of OpenMC’s PHT feature for spectroscopic applications in which detector efficiency is a primary concern.

07 - ISOTOPES AND RADIATION SOURCES↗

Fan Noise Prediction System Development: Source/Radiation Field Coupling and Workstation Conversion for the Acoustic Radiation Code

The Acoustic Radiation Code (ARC) is a finite element program used on the IBM mainframe to predict far-field acoustic radiation from a turbofan engine inlet. In this report, requirements for developers of internal aerodynamic codes regarding use of their program output an input for the ARC are discussed. More specifically, the particular input needed from the Bolt, Beranek and Newman/Pratt and Whitney (turbofan source noise generation) Code (BBN/PWC) is described. In a separate analysis, a method of coupling the source and radiation models, that recognizes waves crossing the interface in both directions, has been derived. A preliminary version of the coupled code has been developed and used for initial evaluation of coupling issues. Results thus far have shown that reflection from the inlet is sufficient to indicate that full coupling of the source and radiation fields is needed for accurate noise predictions ' Also, for this contract, the ARC has been modified for use on the Sun and Silicon Graphics Iris UNIX workstations. Changes and additions involved in this effort are described in an appendix.

Meyer, H. D.↗

SU-E-T-278: Realization of Dose Verification Tool for IMRT Plan Based On DPM

Purpose: To build a Monte Carlo dose verification tool for IMRT Plan by implementing a irradiation source model into DPM code. Extend the ability of DPM to calculate any incident angles and irregular-inhomogeneous fields. Methods: With the virtual source and the energy spectrum which unfolded from the accelerator measurement data,combined with optimized intensity maps to calculate the dose distribution of the irradiation irregular-inhomogeneous field. The irradiation source model of accelerator was substituted by a grid-based surface source. The contour and the intensity distribution of the surface source were optimized by ARTS (Accurate/Advanced Radiotherapy System) optimization module based on the tumor configuration. The weight of the emitter was decided by the grid intensity. The direction of the emitter was decided by the combination of the virtual source and the emitter emitting position. The photon energy spectrum unfolded from the accelerator measurement data was adjusted by compensating the contaminated electron source. For verification, measured data and realistic clinical IMRT plan were compared with DPM dose calculation. Results: The regular field was verified by comparing with the measured data. It was illustrated that the differences were acceptable (<2% inside the field, 2–3mm in the penumbra). The dose calculation of irregular field by DPM simulation was also compared with that of FSPB (Finite Size Pencil Beam) and the passing rate of gamma analysis was 95.1% for peripheral lung cancer. The regular field and the irregular rotational field were all within the range of permitting error. The computing time of regular fields were less than 2h, and the test of peripheral lung cancer was 160min. Through parallel processing, the adapted DPM could complete the calculation of IMRT plan within half an hour. Conclusion: The adapted parallelized DPM code with irradiation source model is faster than classic Monte Carlo codes. Its computational accuracy and speed satisfy the clinical requirement, and it is expectable to be a Monte Carlo dose verification tool for IMRT Plan. Strategic Priority Research Program of the China Academy of Science(XDA03040000); National Natural Science Foundation of China (81101132)

60 APPLIED LIFE SCIENCES↗

MONTE CARLO CROSS SECTION LOOKUP KERNEL FOR THE CEREBRAS WSE-2 IN CSL

This is a small kernel that was used to collect data for an upcoming paper. We would like to have the code be open source so that the reviewers (and then readers) of the paper can see the whole code, and can reproduce/verify our results. This is not a fully featured application, it cannot produce any useful simulation results, it just executes a small abstracted kernel using synthetic data. The purpose of the kernel is to understand the basic performance characteristics of an HPC kernel on novel AI accelerator architectures. The main kernel is written in the CSL coding language for use with the Cerebras WSE-2 AI accelerator. The kernel represented is the Monte Carlo cross section lookup kernel, which is a small kernel used by the Monte Carlo neutral particle transport algorithm. There is also a baseline kernel written in CUDA that we will include in the repository to form a basis for comparing the WSE-2 to GPU.

Tramm, John↗

A time-division multiplexing system for asynchronous high-rate telemetry.

A time-division multiplexing system has been developed that is significantly different from commercially available equipments. Multiplexing is achieved by interleaving blocks of data from each source, preceded by a short coded bit pattern specifying the source of that particular block of data. Data blocks are transmitted as they become available from each particular source. Hence, synchronism of the input and output rates is not required. The prototype system can accommodate input rates as high as 461 kbit/sec on a single input channel, and output rates as high as 953 kbit/sec. The system makes possible use of an excess of 90% of channel capacity for information transmittal.

Appel, R. L.↗

WE-AB-BRB-07: Alanine and Monte Carlo Determined Beam Quality Corrections for Nonstandard Fields of the Varian TrueBeam Accelerator

Purpose: To determine beam quality correction factors for flattened and unflattened beams of the Varian TrueBeam™ accelerator using alanine measurements and Monte Carlo calculations. Methods: Measurements were performed using L-α-alanine pellets encased in Virtual Water™ paddles. These were irradiated in liquid water using various field sizes of the 6MV and 10MV beam energies of the TrueBeam™, with both flattening-filter-free (FFF) and flattened beam modes. Measurements were also performed in a 10×10 cm{sup 2} {sup 60}Co field. Pellets were read out by the National Physical Laboratory (NPL, Teddington, UK) using electron paramagnetic resonance (EPR) spectrometry, and results were corrected for energy dependence using graphite calorimetry. Beam quality correction factors (k{sub Q}, k{sub Q}msr,Q, and k{sub Q}clin,Q{sub msr}) were determined for three ionization chambers: an Exradin A12 Farmer-type chamber, an Exradin A1SL scanning chamber, and an Exradin A26 microchamber. All chambers were modeled in the egs-chamber user code of EGSnrc. Sources were created using Varian-supplied IAEA-compliant phase spaces and the BEAMnrc user code, and were validated by comparing measured and simulated dose profiles. Results: Measured and calculated k{sub Q} values agreed within uncertainties, showing the chamber models to be reliable. A comparison of measured and calculated k{sub Q}msr,Q results with TG-51-based values showed that TG-51 adequately accounts for variations in beam quality between flattened and unflattened 10×10 cm{sup 2} fields. Small field corrections, k{sub Q}clin,Q{sub msr}, were determined to be up to 5%, referenced to a 10×10 cm{sup 2} field of the same energy and mode. Conclusion: Beam quality corrections were determined for several beam energies of the TrueBeam™ accelerator using Monte Carlo calculations and were validated using measurements with alanine. Values of k{sub Q} determined using TG-51 were found to be adequate for FFF reference fields. However, small field corrections are necessary for both flattened and unflattened beams to ensure greater treatment planning accuracy.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Highly Extensible X-ray Diffraction Toolkit

This code has been previous released as open source under LLNL-CODE-529294. The HEXRD program comprises a library of X-ray diffraction analysis tools and a stand-alone GUI application. While there are many software packages that provide similar capabilities, HEXRD was designed to provide an extremely flexible and extensible basis for describing a broad array of X-ray diffraction instruments; this includes both mono- and poly-chromatic modalities as well as poly- and single-crystal samples. The high-level objects include Material: an abstraction for defining crystalline materials, including unit cell parameters and anisotropic elastic moduli Imageseries: an interface for series of diffraction images containing one or more frames, including provisions for metadata. Instrument: an abstraction of an X-ray diffraction instrument including support for the definition of multiple detector elements as well as powder, Laue, and mono-chromatic single/multi-grain diffraction analysis modalities (including attendant calibration routines). The hexrdgui package is a standalone PySide2/Qt5 GUI built on top of hexrd. The 0.8.1 release includes various bug fixes as well as some new functionality in the GUI, including: o Enhancements to the import tools for LLNL diffraction instruemtns (PXRDIP and TARDIS) o The ability to save 1-d LeBail fits of integrated diffraction spectra.

Barton, NathanR.↗