Search NASA⌕ Search

SEARCH · Search NASA

Results for “Code Generation”

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 685 records · Page 38

NGNP Component Test Capability Design Code of Record

The Next Generation Nuclear Plant Project is conducting a trade study to select a preferred approach for establishing a capability whereby NGNP technology development testing—through large-scale, integrated tests—can be performed for critical HTGR structures, systems, and components (SSCs). The mission of this capability includes enabling the validation of interfaces, interactions, and performance for critical systems and components prior to installation in the NGNP prototype.

42 ENGINEERING↗

GAMSOR: Gamma Source Preparation and DIF3D Flux Solution

Nuclear reactors that rely upon the fission reaction have two modes of thermal energy deposition in the reactor system: neutron absorption and gamma absorption. The gamma rays are typically generated by neutron absorption reactions or during the fission process which means the primary driver of energy production is of course the neutron interaction. In conventional reactor physics methods, the gamma heating component is ignored such that the gamma absorption is forced to occur at the gamma emission site. For experimental reactor systems like EBR-II and FFTF, the placement of structural pins and assemblies internal to the core leads to problems with power heating predictions because there is no fission power source internal to the assembly to dictate a spatial distribution of the power. As part of the EBR-II support work in the 1980s, the GAMSOR code was developed to assist analysts in calculating the gamma heating. The GAMSOR code is a modified version of DIF3D and actually functions within a sequence of DIF3D calculations. The gamma flux in a conventional fission reactor system does not perturb the neutron flux and thus the gamma flux calculation can be cast as a fixed source problem given a solution to the steady state neutron flux equation. This leads to a sequence of DIF3D calculations, called the GAMSOR sequence, which involves solving the neutron flux, then the gamma flux, then combining the results to do a summary edit. In this manuscript, we go over the GAMSOR code and detail how it is put together and functions. We also discuss how to setup the GAMSOR sequence and input for each DIF3D calculation in the GAMSOR sequence. With the GAMSOR capability, users can take any valid steady state DIF3D calculation and compute the power distribution due to neutron and gamma heating. The MC2-3 code is the preferable companion code to use for generating neutron and gamma cross section data, but the GAMSOR code can accept cross section data from other sources. To further this aspect, an additional utility code was created which demonstrates how to merge the neutron and gamma cross section data together to carry out a simultaneous solve of the two systems.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Resonance Region Covariance Analysis Method and New Covariance Data for {sup 232}Th, {sup 233}U, {sup 235}U, {sup 238}U, and {sup 239}Pu

Resonance-parameter covariance matrix (RPCM) evaluations in the resolved resonance region were done for {sup 232}Th, {sup 233}U, {sup 235}U, {sup 238}U, and {sup 239}Pu using the computer code SAMMY. The retroactive approach of the code SAMMY was used to generate the RPCMs for {sup 233}U and {sup 235}U. RPCMs for {sup 232}Th, {sup 238}U and {sup 239}Pu were generated together with the resonance parameter evaluations. The RPCMs were then converted in the ENDF format using the File32 representation. Alternatively, for computer storage reasons, the File32 was converted in the File33 cross section covariance matrix (CSCM). Both representations were processed using the computer code PUFF-IV. This paper describes the procedures used to generate the RPCM with SAMMY.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Simulations of single- and two-phase shock tubes and gravity-driven wave problems with the RELAP-7 nuclear reactor system analysis code

Propagation of pressure waves in single and two-phase flows is of key interest for nuclear safety analyses, reactor design, construction and life extension of nuclear reactors. In this work, we assess the capabilities of RELAP-7, the next-generation nuclear reactor system code, to solve single- and two-phase flows developing pressure waves. RELAP-7 is based on a 7-equation, two-phase flow model, with distinct phasic pressures. It is well established that these hyperbolic conservation laws can develop shocks and discontinuities and thus, require a stabilization numerical method. The all-Mach flow Entropy Viscosity Method (EVM) is now employed in RELAP-7 as a viscous stabilization approach. In this paper, we briefly describe the implementation of the EVM and use open-literature test cases that exhibit pressure waves to show that the entropy viscosity method performs adequately for these single- and two-phase cases.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Monte Carlo ICRH simulations in fully shaped anisotropic plasmas

In order to numerically study the effects of Ion Cyclotron Resonant Heating (ICRH) on the fast particle distribution function in general plasma geometries, three codes have been coupled: VMEC generates a general (2D or 3D) MHD equilibrium including full shaping and pressure anisotropy. This equilibrium is then mapped into Boozer coordinates. The full-wave code LEMan then calculates the power deposition and electromagnetic field strength of a wave field generated by a chosen antenna using a warm model. Finally, the single particle Hamiltonian code VENUS combines the outputs of the two previous codes in order to calculate the evolution of the distribution function. Within VENUS, Monte Carlo operators for Coulomb collisions of the fast particles with the background plasma have been implemented, accounting for pitch angle and energy scattering. Also, ICRH is simulated using Monte Carlo operators on the Doppler shifted resonant layer. The latter operators act in velocity space and induce a change of perpendicular and parallel velocity depending on the electric field strength and the corresponding wave vector. Eventually, the change in the distribution function will then be fed into VMEC for generating a new equilibrium and thus a self-consistent solution can be found. This model is an enhancement of previous studies in that it is able to include full 3D effects such as magnetic ripple, treat the effects of non-zero orbit width consistently and include the generation and effects of pressure anisotropy. Here, first results of coupling the three codes will be shown in 2D tokamak geometries.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Improving the efficiency of configurational-bias Monte Carlo: A density-guided method for generating bending angle trials for linear and branched molecules

A new method has been developed to generate bending angle trials to improve the acceptance rate and the speed of configurational-bias Monte Carlo. Whereas traditionally the trial geometries are generated from a uniform distribution, in this method we attempt to use the exact probability density function so that each geometry generated is likely to be accepted. In actual practice, due to the complexity of this probability density function, a numerical representation of this distribution function would be required. This numerical table can be generated a priori from the distribution function. This method has been tested on a united-atom model of alkanes including propane, 2-methylpropane, and 2,2-dimethylpropane, that are good representatives of both linear and branched molecules. It has been shown from these test cases that reasonable approximations can be made especially for the highly branched molecules to reduce drastically the dimensionality and correspondingly the amount of the tabulated data that is needed to be stored. Despite these approximations, the dependencies between the various geometrical variables can be still well considered, as evident from a nearly perfect acceptance rate achieved. For all cases, the bending angles were shown to be sampled correctly by this method with an acceptance rate of at least 96% for 2,2-dimethylpropane to more than 99% for propane. Since only one trial is required to be generated for each bending angle (instead of thousands of trials required by the conventional algorithm), this method can dramatically reduce the simulation time. The profiling results of our Monte Carlo simulation code show that trial generation, which used to be the most time consuming process, is no longer the time dominating component of the simulation.

2-2-DIMETHYLPROPANE↗

SCALE MG Cross Section Processing for High Void BWR Using the AMPX 1,597-group Library

The CASL VERA neutronic simulator MPACT has been developed by Oak Ridge National Laboratory (ORNL) and University of Michigan for the pressurized water reactor applications. The MPACT capability is being extended for the boiling water reactor (BWR) analysis. Recent investigation showed that the MPACT multigroup (MG) library has limitations for high void BWR fuels because of the very coarse group structure. Since the MPACT MG library is generated with the AMPX/SCALE code package developed at ORNL, enhancement of the AMPX/SCALE code package and its MG library must be preceded to improve the accuracy of the MPACT MG library. Therefore, a new 1597-group structure was developed and an AMPX 1597-group library was generated. This ultra-fine group (UFG) library resulted in significant improvements in accuracy for fast spectrum systems compared to the AMPX 252-group results. However, the use of the AMPX 1597-group library requires significantly increased burden on memory and computing time.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

SU-E-T-238: Monte Carlo Estimation of Cerenkov Dose for Photo-Dynamic Radiotherapy

Purpose: Estimation of Cerenkov dose from high-energy megavoltage photon and electron beams in tissue and its impact on the radiosensitization using Protoporphyrine IX (PpIX) for tumor targeting enhancement in radiotherapy. Methods: The GEPTS Monte Carlo code is used to generate dose distributions from 18MV Varian photon beam and generic high-energy (45-MV) photon and (45-MeV) electron beams in a voxel-based tissueequivalent phantom. In addition to calculating the ionization dose, the code scores Cerenkov energy released in the wavelength range 375–425 nm corresponding to the pick of the PpIX absorption spectrum (Fig. 1) using the Frank-Tamm formula. Results: The simulations shows that the produced Cerenkov dose suitable for activating PpIX is 4000 to 5500 times lower than the overall radiation dose for all considered beams (18MV, 45 MV and 45 MeV). These results were contradictory to the recent experimental studies by Axelsson et al. (Med. Phys. 38 (2011) p 4127), where Cerenkov dose was reported to be only two orders of magnitude lower than the radiation dose. Note that our simulation results can be corroborated by a simple model where the Frank and Tamm formula is applied for electrons with 2 MeV/cm stopping power generating Cerenkov photons in the 375–425 nm range and assuming these photons have less than 1mm penetration in tissue. Conclusion: The Cerenkov dose generated by high-energy photon and electron beams may produce minimal clinical effect in comparison with the photon fluence (or dose) commonly used for photo-dynamic therapy. At the present time, it is unclear whether Cerenkov radiation is a significant contributor to the recently observed tumor regression for patients receiving radiotherapy and PpIX versus patients receiving radiotherapy only. The ongoing study will include animal experimentation and investigation of dose rate effects on PpIX response.

60 APPLIED LIFE SCIENCES↗

Self-Generated Magnetic and Electric Fields at a Mach-6 Shock Front in a Low Density Helium Gas by Dual-Angle Proton Radiography

Shocks are abundant both in astrophysical and laboratory systems. While the electric fields generated at shock fronts have recently attracted great attention, the associated self-generated magnetic field is rarely studied, despite its ability to significantly affect the shock profile in the nonideal geometry where density and temperature gradients are not parallel. We report here the observation of a magnetic field at the front of a Mach ~6 shock propagating in a low-density helium gas system. Proton radiography from different projection angles not only confirms the magnetic field’s existence, but also provides a quantitative measurement of the field strength in the range ~5 to 7 T. X-ray spectrometry allowed inference of the density and temperature at the shock front, constraining the plasma conditions under which the magnetic and electric fields are generated. Furthermore, simulations with the particle-in-cell code lsp attribute the self-generation of the magnetic field to the Biermann battery effect (∇n e × ∇T e ).

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Development of an Advanced Computational Fluid Dynamics Technology for the Next-Generation Nuclear Reactor System Analysis and Safety Margin Characterization Code

This report describes the research activities we have conducted at NCSU for our NEUP project. The work toward achieving the objectives of the project is reported. The significant achievements and accomplishments are presented. A number of numerical experiments are conducted to demonstrate that the goal of the proposed work has been successfully achieved. Issues, recommendations, and future work are discussed.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Verification of AZTRAN v1.2 code with a PWR-MOX benchmark problem

The AZTLAN platform project is an effort focused on developing a modeling Mexican platform to design and analyze nuclear reactors. It is a national initiative lead by the National Institute of Nuclear Research (ININ), in collaboration with the main Mexico's public universities: the National Polytechnic Institute (IPN), the National Autonomous University of Mexico (UNAM) and the Autonomous Metropolitan University (UAM). The AZTRAN code is a module of AZTLAN that solves the 3D neutron transport equation using the discrete ordinates (SN) method and the nodal scheme RTN-0 on steady state and Cartesian geometry. AZTRAN works with cross sections generated externally by other code. It provides a solution to the eigenvalue problem and determine the neutron distribution for a specific medium at desired conditions. On the other hand, it is important to mention that the Working Group 4 (users group) of AZTLAN platform is responsible of verify and validate the codes development, in order to give feedback to the group of developers: neutronics and thermal-hydraulics. In this work, the AZTRAN v1.2 performance was studied for a PWR-MOX lattice, using as example the Yamamoto's benchmark for LWR fuels, comparing AZTRAN v1.2 results again those obtained with the well-known neutronic code SERPENT-2 (v1.27), and some results from an article presented at PHYSOR-2002. Results from AZTRAN for a BWR fuel lattice is presented in a companion paper in this meeting.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Simulating cosmologies beyond ΛCDM with PINOCCHIO

We present a method that extends the capabilities of the PINpointing Orbit-Crossing Collapsed HIerarchical Objects (PINOCCHIO) code, allowing it to generate accurate dark matter halo mock catalogues in cosmological models where the linear growth factor and the growth rate depend on scale. Such cosmologies comprise, among others, models with massive neutrinos and some classes of modified gravity theories. We validate the code by comparing the halo properties from PINOCCHIO against N-body simulations, focusing on cosmologies with massive neutrinos: νΛCDM. We analyse the halo mass function, halo two-point correlation function and halo power spectrum, showing that PINOCCHIO reproduces the results from simulations with the same level of precision as the original code (∼ 5–10%). We demonstrate that the abundance of halos in cosmologies with massless and massive neutrinos from PINOCCHIO matches very well the outcome of simulations, and point out that PINOCCHIO can reproduce the Ω{sub ν}–σ{sub 8} degeneracy that affects the halo mass function. We finally show that the clustering properties of the halos from PINOCCHIO matches accurately those from simulations both in real and redshift-space, in the latter case up to k = 0.3 h Mpc{sup −1}. We emphasize that the computational time required by PINOCCHIO to generate mock halo catalogues is orders of magnitude lower than the one needed for N-body simulations. This makes this tool ideal for applications like covariance matrix studies within the standard ΛCDM model but also in cosmologies with massive neutrinos or some modified gravity theories.

79 ASTRONOMY AND ASTROPHYSICS↗

Program to Operate Waveform Generator

This poster is about the project that I did this year as a CCI intern. The project is code to control a waveform generator as well as send custom waveform types.

Manzo, D'Angelo↗

PFLOTRAN: Reactive Flow & Transport Code for Use on Laptops to Leadership-Class Supercomputers. In: Groundwater Reactive Transport Models

PFLOTRAN, a next-generation reactive flow and transport code for modeling subsurface processes, has been designed from the ground up to run efficiently on machines ranging from leadership-class supercomputers to laptops. Based on an object-oriented design, the code is easily extensible to incorporate additional processes. It can interface seamlessly with Fortran 9X, C and C++ codes. Domain decomposition parallelism is employed, with the PETSc parallel framework used to manage parallel solvers, data structures and communication. Features of the code include a modular input file, implementation of high-performance I/O using parallel HDF5, ability to perform multiple realization simulations with multiple processors per realization in a seamless manner, and multiple modes for multiphase flow and multicomponent geochemical transport. Chemical reactions currently implemented in the code include homogeneous aqueous complexing reactions and heterogeneous mineral precipitation/dissolution, ion exchange, surface complexation and a multirate kinetic sorption model. PFLOTRAN has demonstrated petascale performance using 217 processor cores on problems composed of over 2 billion degrees of freedom. The code is currently being applied to simulate uranium transport at the Hanford 300 Area and CO2 sequestration in deep geologic formations.

carbon sequestration↗

Emulating aerosol optics with randomly generated neural networks

Abstract. Atmospheric aerosols have a substantial impact on climate and remain one of the largest sources of uncertainty in climate prediction. Accurate representation of their direct radiative effects is a crucial component of modern climate models. However, direct computation of the radiative properties of aerosol populations is far too computationally expensive to perform in a climate model, so optical properties are typically approximated using a parameterization. This work develops artificial neural networks (ANNs) capable of replacing the current aerosol optics parameterization used in the Energy Exascale Earth System Model (E3SM). A large training dataset is generated by using Mie code to directly compute the optical properties of a range of atmospheric aerosol populations given a large variety of particle sizes, wavelengths, and refractive indices. Optimal neural architectures for shortwave and longwave bands are identified by evaluating ANNs with randomly generated wirings. Randomly generated deep ANNs are able to outperform conventional multilayer-perceptron-style architectures with comparable parameter counts. Finally, the ANN-based parameterization produces significantly more accurate bulk aerosol optical properties than the current parameterization when compared with direct Mie calculations using mean absolute error. The success of this approach makes possible the future inclusion of much more sophisticated representations of aerosol optics in climate models that cannot be captured by extension of the existing parameterization scheme and also demonstrates the potential of random-wiring-based neural architecture search in future applications in the Earth sciences.

54 ENVIRONMENTAL SCIENCES↗

An Approach for Detecting Inconsistencies between Behavioral Models of the Software Architecture and the Code

In practice, inconsistencies between architectural documentation and the code might arise due to improper implementation of the architecture or the separate, uncontrolled evolution of the code. Several approaches have been proposed to detect the inconsistencies between the architecture and the code but these tend to be limited for capturing inconsistencies that might occur at runtime. We present a runtime verification approach for detecting inconsistencies between the dynamic behavior of the architecture and the actual code. The approach is supported by a set of tools that implement the architecture and the code patterns in Prolog, and support the automatic generation of runtime monitors for detecting inconsistencies. We illustrate the approach and the toolset for a Crisis Management System case study.

Code generation↗

SU-E-T-329: Tissue-Equivalent Phantom Materials for Neutron Dosimetry in Proton Therapy

Purpose: To characterize tissue equivalence of phantom materials in terms of secondary neutron production and dose deposition from neutrons produced in radiation therapy phantom materials in the context of proton therapy using Monte Carlo simulations and measurements. Methods: In order to study the influence of material choice on neutron production in therapeutic proton beams, Monte Carlo simulations using the Geant4 and MCNPX-PoliMi transport codes were performed to generate the neutron fields produced by protons of 155 and 200 MeV. A simple irradiation geometry was used to investigate the effect of different materials. The proton beams were stopped in slab phantoms to study the production of secondary neutrons. The investigated materials were water, Lucite, and tissue-equivalent phantom materials (CIRS Inc., Norfolk, VA). Neutron energy spectra and absorbed dose by neutrons and their secondary particles were scored. In addition, simulations were performed for reference tissues (ICRP/ICRU) to assess tissue equivalence with respect to neutron generation and transport. In order to benchmark the simulation results, measurements were performed with a system developed at the University of Michigan; organic liquid scintillators were used to detect the neutron emissions from the irradiation of tissue-equivalent materials. Additionally, the MPPost code was used to calculate the scintillator response from the MCNPX-PoliMi output. Results: The simulated energy spectra and depth dose curves of the neutrons produced in different phantom materials showed similar shape. The differences of spectra and fluences between all studied materials and reference tissues were well within the achievable precision of neutron dosimetry. The shape of the simulated detector response of the liquid scintillators agreed well with measurements on the proton beamline. Conclusion: Based on Geant4 and MCNPX-PoliMi simulations, the investigated materials appear to be suitable to study the production of neutrons in proton therapy. MC simulations were verified with neutron measurements in therapeutic proton beams. This work was funded in part by the ANDANTE grant of the European Commission in the 7th Framework Program.

07 ISOTOPE AND RADIATION SOURCES↗

BEYONDPLANCK IV. On end-to-end simulations in CMB analysis — Bayesian versus frequentist statistics

End-to-end simulations play a key role in the analysis of any high-sensitivity cosmic microwave background (CMB) experiment, providing high-fidelity systematic error propagation capabilities that are unmatched by any other means. In this paper, we address an important issue regarding such simulations, namely, how to define the inputs in terms of sky model and instrument parameters. These may either be taken as a constrained realization derived from the data or as a random realization independent from the data. We refer to these as posterior and prior simulations, respectively. We show that the two options lead to significantly different correlation structures, as prior simulations (contrary to posterior simulations) effectively include cosmic variance, but they exclude realization-specific correlations from non-linear degeneracies. Consequently, they quantify fundamentally different types of uncertainties. We argue that as a result, they also have different and complementary scientific uses, even if this dichotomy is not absolute. In particular, posterior simulations are in general more convenient for parameter estimation studies, while prior simulations are generally more convenient for model testing. Before BEYONDPLANCK, most pipelines used a mix of constrained and random inputs and applied the same hybrid simulations for all applications, even though the statistical justification for this is not always evident. BEYONDPLANCK represents the first end-to-end CMB simulation framework that is able to generate both types of simulations and these new capabilities have brought this topic to the forefront. The BEYONDPLANCK posterior simulations and their uses are described extensively in a suite of companion papers. In this work, we consider one important applications of the corresponding prior simulations, namely, code validation. Specifically, we generated a set of one-year LFI 30 GHz prior simulations with known inputs and we used these to validate the core low-level BEYONDPLANCK algorithms dealing with gain estimation, correlated noise estimation, and mapmaking.

79 ASTRONOMY AND ASTROPHYSICS↗