Search NASA⌕ Search

SEARCH · Search NASA

Results for “Code Cases”

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,369 records · Page 76

MetaboTools: A comprehensive toolbox for analysis of genome-scale metabolic models

Metabolomic data sets provide a direct read-out of cellular phenotypes and are increasingly generated to study biological questions. Previous work, by us and others, revealed the potential of analyzing extracellular metabolomic data in the context of the metabolic model using constraint-based modeling. With the MetaboTools, we make our methods available to the broader scientific community. The MetaboTools consist of a protocol, a toolbox, and tutorials of two use cases. The protocol describes, in a step-wise manner, the workflow of data integration, and computational analysis. The MetaboTools comprise the Matlab code required to complete the workflow described in the protocol. Tutorials explain the computational steps for integration of two different data sets and demonstrate a comprehensive set of methods for the computational analysis of metabolic models and stratification thereof into different phenotypes. The presented workflow supports integrative analysis of multiple omics data sets. Importantly, all analysis tools can be applied to metabolic models without performing the entire workflow. Taken together, the MetaboTools constitute a comprehensive guide to the intra-model analysis of extracellular metabolomic data from microbial, plant, or human cells. In conclusion, this computational modeling resource offers a broad set of computational analysis tools for a wide biomedical and non-biomedical research community.

59 BASIC BIOLOGICAL SCIENCES↗

We underestimate uncertainties in our predictions.

Prediction is defined in the American Heritage Dictionary as follows: 'To state, tell about, or make known in advance, especially on the basis of special knowledge.' What special knowledge do we demand of modeling and simulation to assert that we have a predictive capability for high consequence applications? The 'special knowledge' question can be answered in two dimensions: the process and rigor by which modeling and simulation is executed and assessment results for the specific application. Here we focus on the process and rigor dimension and address predictive capability in terms of six attributes: (1) geometric and representational fidelity, (2) physics and material model fidelity, (3) code verification, (4) solution verification, (5) validation, and (6) uncertainty quantification. This presentation will demonstrate through mini-tutorials, simple examples, and numerous case studies how each attribute creates opportunities for errors, biases, or uncertainties to enter into simulation results. The demonstrations will motivate a set of practices that minimize the risk in using modeling and simulation for high-consequence applications while defining important research directions. It is recognized that there are cultural, technical, infrastructure, and resource barriers that prevent analysts from performing all analyses at the highest levels of rigor. Consequently, the audience for this talk is (1) analysts, so they can know what is expected of them, (2) decision makers, so they can know what to expect from modeling and simulation, and (3) the R&D community, so they can address the technical and infrastructure issues that prevent analysts from executing analyses in a practical, timely, and quality manner.

97 MATHEMATICS AND COMPUTING↗

Automatic building information model query generation

Energy efficient building design and construction calls for extensive collaboration between different subfields of the Architecture, Engineering and Construction (AEC) community. Performing building design and construction engineering raises challenges on data integration and software interoperability. Using Building Information Modeling (BIM) data hub to host and integrate building models is a promising solution to address those challenges, which can ease building design information management. However, the partial model query mechanism of current BIM data hub collaboration model has several limitations, which prevents designers and engineers to take advantage of BIM. To address this problem, we propose a general and effective approach to generate query code based on a Model View Definition (MVD). This approach is demonstrated through a software prototype called QueryGenerator. In conclusion, by demonstrating a case study using multi-zone air flow analysis, we show how our approach and tool can help domain experts to use BIM to drive building design with less labour and lower overhead cost.

97 MATHEMATICS AND COMPUTING↗

DEVELOPMENT OF A VERIFICATION BENCHMARK SUITE FOR THE ATR REACTOR PHYSICS UPGRADE

The result of a numerical algorithm is only as good as the effort made toward its verification. Comprehensive computer codes, especially for application to nuclear reactors, require in-depth assessment of the numerical methods used and their computational implementation. This presentation describes a suite of semi-analytical benchmarks for the ATR Reactor Physics Upgrade as part of the ATR Life Extension Project (LEP). Several neutron transport codes including deterministic codes HELIOS, NEWT and probabilistic codes MCNP6, SERPANT and MC21 are upgrade candidates. To properly evaluate code performance capabilities, code verification is an essential element. A credible verification program requires education to guide proper application, training in proper input preparation and output expectation and verification to instill confidence in the coded numerical procedures. The subset of the benchmark suite to be described here is primarily of the 1D transport variety (however, a 2D case does indeed exist) with the intent to provide unquestionably high order accurate semi-analytical numerical solutions to the transport equation. We base the analytical solutions on analytical Fourier series and discrete ordinates representations. Here we present two 1D benchmarks based on Fourier series.

99 GENERAL AND MISCELLANEOUS↗

Modeling resonance interference by 0-D slowing-down solution with embedded self-shielding method

The resonance integral table based methods employing conventional multigroup structure for the resonance self-shielding calculation have a common difficulty on treating the resonance interference. The problem arises due to the lack of sufficient energy dependence of the resonance cross sections when the calculation is performed in the multigroup structure. To address this, a resonance interference factor model has been proposed to account for the interference effect by comparing the interfered and non-interfered effective cross sections obtained from 0-D homogeneous slowing-down solutions by continuous-energy cross sections. A rigorous homogeneous slowing-down solver is developed with two important features for reducing the calculation time and memory requirement for practical applications. The embedded self-shielding method (ESSM) is chosen as the multigroup resonance self-shielding solver as an integral component of the interference method. The interference method is implemented in the DeCART transport code. Verification results show that the code system provides more accurate effective cross sections and multiplication factors than the conventional interference method for UO{sub 2} and MOX fuel cases. The additional computing time and memory for the interference correction is acceptable for the test problems including a depletion case with 87 isotopes in the fuel region. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Improved methods of handling massive tallies in reactor Monte Carlo Code RMC

Monte Carlo simulations containing a large number of tallies generally suffer severe performance penalties due to a significant amount of run time spent in searching for and scoring individual tally bins. This paper describes the improved methods of handling large numbers of tallies, which have been implemented in the RMC Monte Carlo code. The calculation results demonstrate that the proposed methods can considerably improve the tally performance when massive tallies are treated. In the calculated case with 6 million of tally regions, only 10% of run time is increased in each active cycle against each inactive cycle. (authors)

97 MATHEMATICS AND COMPUTING↗

Fission matrix-based Monte Carlo criticality analysis of fuel storage pools

Standard Monte Carlo transport procedures experience difficulties in solving criticality problems in fuel storage pools. Because of the strong neutron absorption between fuel assemblies, source convergence can be very slow, leading to incorrect estimates of the eigenvalue and the eigenfunction. This study examines an alternative fission matrix-based Monte Carlo transport method that takes advantage of the geometry of a storage pool to overcome this difficulty. The method uses Monte Carlo transport to build (essentially) a fission matrix, which is then used to calculate the criticality and the critical flux. This method was tested using a test code on a simple problem containing 8 assemblies in a square pool. The standard Monte Carlo method gave the expected eigenfunction in 5 cases out of 10, while the fission matrix method gave the expected eigenfunction in all 10 cases. In addition, the fission matrix method provides an estimate of the error in the eigenvalue and the eigenfunction, and it allows the user to control this error by running an adequate number of cycles. Because of these advantages, the fission matrix method yields a higher confidence in the results than standard Monte Carlo. We also discuss potential improvements of the method, including the potential for variance reduction techniques. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Incredibility of a Postulated Criticality Event for Enriched Uranyl Nitrate Storage

At the H-Canyon outside facilities, highly enriched uranyl nitrate solutions collected from leaks or during deliberate maintenance activities is collected into 5-gallon polyethylene bottles. The current criticality safety evaluation for the facility postulates that a criticality event is possible if the solutions are allowed to concentrate through evaporation, freezing, storing multiple bottles in a geometrically unfavorable array, or any combination of these conditions. Using chemical data on uranyl nitrate freezing from Savannah River National Laboratory, protected limits on concentration and enrichment, and normal operational restrictions, criticality was shown to be incredible under all normal and credible abnormal conditions. A bounding normal solution is analyzed under normal conditions and shown to be substantially subcritical. A bounding credible abnormal solution is defined as 9.2 g U{sup 235}/L and 73 wt. % enriched and 0 M excess nitric acid. The concentration and enrichment are limitations already protected by the facility for other processes. Because acidity is not specifically restricted, the most reactive lower bound is selected. The credible abnormal worst placement is in a concrete basin reflected on three sides. There the bottle(s) would be subject in the worst cases to flooding (full water reflection) and postulated concentration through evaporation or freezing. Computational modeling was performed using KENOVI in the SCALE 6.1 code package. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Verification and Validation of Open-Source Computational Fluid Dynamics Capabilities in MOOSE

The Multiphysics Object Oriented Simulation Environment (MOOSE) advances predictive modeling in nuclear research by simplifying the application design process and making modeling more efficient and accessible to researchers and the broader community. Because of MOOSE’s critical role in the scientific computation field, verification and validation are important to evaluate the reliability and credibility of MOOSE’s code, simulations, and models. To assess MOOSE’s Navier Stokes module and turbulence models, the following verification and validation University of Manchester ERCOFTAC cases were simulated in MOOSE, and the results were compared: Case 032 Turbulent Flow in a 2D Channel Case 079 Natural Convection in an Enclosed Cavity

46 - INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AN↗

Incident IR Bandwidth Effects on Efficiency and Shaping for Third Harmonic Generation of Quasi-Rectangular UV Longitudinal Profiles

The photocathode of the proposed LCLS RF Photoinjector will be irradiated by uv laser light which is generated as the third harmonic of incident fundamental ir laser light. We have investigated quantitatively the effect of input ir spectral bandwidth on the exiting longitudinal intensity profiles, energy conversion efficiencies and spectral bandwidths that characterize the third harmonic generation (THG) process with a pair of crystals. These profiles, efficiencies and bandwidths include the residual fundamental and residual second harmonic light exiting the second crystal. The intrinsic acceptance bandwidth for THG is determined by crystal material and thickness as well as the type of phase matching that is used. For our case of BBO material with type I phase matching these bandwidths are approximately 0.9 nm*cm and 0.1 nm*cm for second and third harmonic generation respectively. Consequently for fixed crystal thicknesses and a fixed input ir longitudinal profile, the specified input ir bandwidth will determine the profiles, efficiencies and bandwidths exiting the second crystal. The results reported here are predictions of the SNLO code that is available as 'freeware' from the Sandia National Laboratories. It has been modified for this work. It is critical to note that this modification has enabled us to generate SNLO predictions of the 'coupled' case in which the output of the first crystal is used as input to the second crystal. Our focus is the dependence of uv longitudinal intensity profile and THG efficiency on the input ir bandwidth and crystal thicknesses. We include here cases that best illustrate input bandwidth effects. The criteria for selection of reported cases are highest efficiency generation of quasi-rectangular uv profiles with proportional intensity ripple less than 5% rms on the plateau of the pulse. Maximizing THG efficiency typically amounts to maximizing the crystal thicknesses with the longitudinal profile constraint. The specified incident ir longitudinal profile is quasi-rectangular (i.e. nonzero risetime and falltime with small intensity variation on the plateau) with a 10 psec pulse duration (FWHM). By assumption, this profile has been established upstream of the crystals at the fundamental ir wavelength. The simplest possible optical configuration is used in this work as shown in figure 1. The first crystal is the site of second harmonic generation (SHG) driven by the incident ir irradiation of central wavelength, 800nm. Downstream of the first crystal, the second crystal is the site of third harmonic generation (THG) which occurs by sum frequency mixing. Inter-crystal optics (such as a half waveplate) are assumed to be lossless at the fundamental and second harmonic wavelengths. As shown in figure 1, a portion of the incident ir irradiation is not sequestered from the first crystal for subsequent THG in the second crystal. Also, quasi-phase matching configurations and other complex compensation schemes have not been investigated at this point. The simplistic geometry better elucidates the intrinsic acceptance bandwidth limitations imposed by the crystals. Our goal in this endeavor has been to conduct a quantitative assessment of incident ir bandwidth effects on the THG process for BBO material of varied thicknesses and not, at this stage, to comply with all uv pulse specifications for the LCLS RF Photoinjector. Nonetheless, our results can be compared with LCLS photoinjector uv pulse requirements which call for a nominal 10 psec FWHM with 1 psec risetime and falltime and a nominally flat plateau (allowing for slope adjustments) with no more than a 5% rms proportional intensity variation. Furthermore, the results of this work can be used to suggest crystal thicknesses that would likely comply with all uv pulse requirements given the appropriate longitudinal profile and bandwidth for an input ir pulse.

43 PARTICLE ACCELERATORS↗

Improving the performance of medical imaging applications using SYCL

As opposed to the Open Computing Language (OpenCL) programming model, in which host and device codes are generally written in different programming languages, SYCL can combine host and device codes for an application in a type-safe way to improve development productivity and performance portability. Hence, this report shows the experimental results of applying the SYCL programming model to medical imaging applications for a study on performance portability and programming productivity between OpenCL and SYCL. Rodinia is a widely used open-source benchmark suite for heterogeneous computing. We choose two medical imaging applications (Heart Wall and Particle Filter) in the benchmark suite, migrate the OpenCL implementations of the applications to the SYCL implementations, and evaluate their performance and productivity on Intel® microprocessors that contain a central processing unit (CPU) and an integrated graphics processing unit (GPU). The maturing SYCL compilers, which are based on a conformant implementation of the SYCL 1.2.1 Khronos specification, have been actively optimized for Intel® computing platforms. The experimental results are promising in terms of the raw performance and productivity. Although the SYCL implementation of the Heart Wall application does not execute successfully on a CPU, the SYCL implementations of the application can achieve comparable or better performance than the OpenCL implementation on Intel® integrated GPUs. For the Particle Filter application, the performance difference between the SYCL and OpenCL implementations is comparable on the GPUs for most cases, but the SYCL implementations are on average 4X faster than the OpenCL implementations on Intel® Xeon® CPUs. For programming productivity, we arguably use lines of code as a way to measure programming productivity in software. The SYCL programs reduce the lines of code of the OpenCL programs by 52% and 38% for the Heart Wall and Particle Filter, respectively. The results indicate that SYCL is a promising programming model for heterogeneous computing with the maturing compilers. We organize the remainder of the report as follows. Section II introduces the SYCL programming model, compares the major differences between an OpenCL program and a SYCL program, and describes the characteristics of the two applications. Section III describes the SYCL programming model in more details, and shows the SYCL implementation of a kernel function in the Particle Filter application as an example. In Section IV, we evaluate the performance of the applications on the CPUs and GPUs. Section V concludes the report.

59 BASIC BIOLOGICAL SCIENCES↗

Modernization and optimization of a legacy open-source CFD code for high-performance computing architectures

Legacy codes remain a crucial element of today's simulation-based engineering ecosystem due to the extensive validation process and investment in such software. The rapid evolution of high-performance computing architectures necessitates the modernization of these codes. One approach to modernization is a complete overhaul of the code. However, this could require extensive investments, such as rewriting in modern languages, new data constructs, etc., which will necessitate systematic verification and validation to re-establish the credibility of the computational models. The current study advocates using a more incremental approach and is a culmination of several modernization efforts of the legacy code MFIX, which is an open-source computational fluid dynamics code that has evolved over several decades, widely used in multiphase flows and still being developed by the National Energy Technology Laboratory. Two different modernization approaches,‘bottom-up’ and ‘top-down’, are illustrated. Here, preliminary results show up to 8.5x improvement at the selected kernel level with the first approach, and up to 50% improvement in total simulated time with the latter were achieved for the demonstration cases and target HPC systems employed.

97 MATHEMATICS AND COMPUTING↗

Linear and nonlinear verification of gyrokinetic microstability codes

Verification of nonlinear microstability codes is a necessary step before comparisons or predictions of turbulent transport in toroidal devices can be justified. By verification we mean demonstrating that a code correctly solves the mathematical model upon which it is based. Some degree of verification can be accomplished indirectly from analytical instability threshold conditions, nonlinear saturation estimates, etc., for relatively simple plasmas. However, verification for experimentally relevant plasma conditions and physics is beyond the realm of analytical treatment and must rely on code-to-code comparisons, i.e., benchmarking. The premise is that the codes are verified for a given problem or set of parameters if they all agree within a specified tolerance. True verification requires comparisons for a number of plasma conditions, e.g., different devices, discharges, times, and radii. Running the codes and keeping track of linear and nonlinear inputs and results for all conditions could be prohibitive unless there was some degree of automation. We have written software to do just this and have formulated a metric for assessing agreement of nonlinear simulations. We present comparisons, both linear and nonlinear, between the gyrokinetic codes GYRO[J. Candy and R. E. Waltz, J. Comput. Phys. 186, 545 (2003)] and GS2[W. Dorland, F. Jenko, M. Kotschenreuther, and B. N. Rogers, Phys. Rev. Lett. 85, 5579 (2000)]. We do so at the mid-radius for the same discharge as in earlier work [C. Holland, A. E. White, G. R. McKee, M. W. Shafer, J. Candy, R. E. Waltz, L. Schmitz, and G. R. Tynan, Phys. Plasmas 16, 052301 (2009)]. The comparisons include electromagnetic fluctuations, passing and trapped electrons, plasma shaping, one kinetic impurity, and finite Debye-length effects. Results neglecting and including electron collisions (Lorentz model) are presented. We find that the linear frequencies with or without collisions agree well between codes, as do the time averages of the nonlinear fluxes without collisions. With collisions, the differences between the time-averaged fluxes are larger than the uncertainties defined as the oscillations of the fluxes, with the GS2 fluxes consistently larger (or more positive) than those from GYRO. However, the electrostatic fluxes are much smaller than those without collisions (the electromagnetic energy flux is negligible in both cases). In fact, except for the electron energy fluxes, the absolute magnitudes of the differences in fluxes with collisions are the same or smaller than those without. None of the fluxes exhibit large absolute differences between codes. Beyond these results, the specific linear and nonlinear benchmarks proposed here, as well as the underlying methodology, provide the basis for a wide variety of future verification efforts.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Monte Carlo Simulation of the Irradiation of Alanine Coated Film Dosimeters with Accelerated Electrons

The Monte Carlo code PENELOPE was used to simulate the irradiation of alanine coated film dosimeters with electron beams of energies from 1 to 5 MeV being produced by a high-current industrial electron accelerator. This code includes a geometry package that defines complex quadratic geometries, such as those of the irradiation of products in an irradiation processing facility. In the present case the energy deposited on a water film at the surface of a wood parallelepiped was calculated using the program PENMAIN, which is a generic main program included in the PENELOPE distribution package. The results from the simulation were then compared with measurements performed by irradiating alanine film dosimeters with electrons using a 150 kW Dynamitron electron accelerator. The alanine films were placed on top of a set of wooden planks using the same geometrical arrangement as the one used for the simulation. The way the results from the simulation can be correlated with the actual measurements, taking into account the irradiation parameters, is described. An estimation of the percentage difference between measurements and calculations is also presented.

61 RADIATION PROTECTION AND DOSIMETRY↗

Uncertainties in secondary angular distributions and their impact on shielding, criticality and kinetics analysis - 25556

The availability of the covariance data improved over the last decades. Use of covariance matrices of different origin (such as JEFF, JENDL, ENDF, TENDL, SCALE, etc.) and types (files MF31, MF33, MF34, MF35) in sensitivity and uncertainty analysis of vast list of cases ranging from fission to fusion and from criticality, kinetics and shielding to adjustment applications was already studied in the past. The present work focuses on the status and the availability of the covariance of the angular distributions of scattered neutrons (secondary angular distributions - SAD covariances). SAD uncertainties are usually neglected in classical uncertainty propagation codes, even though the methods and codes for calculating the sensitivities are available for decades and excellent agreement was demonstrated between different deterministic and Monte Carlo codes. Of particular concern is still the availability, quality and completeness of covariance matrices. Indeed, in most evaluations the SAD covariances are limited to P1 term, if available at all. Furthermore, some differences were observed between different evaluations, e.g. in the case of iron. (author)

61 RADIATION PROTECTION AND DOSIMETRY↗

Computing the energy of a water molecule using multideterminants: A simple, efficient algorithm

Quantum Monte Carlo (QMC) methods such as variational Monte Carlo and fixed node diffusion Monte Carlo depend heavily on the quality of the trial wave function. Although Slater-Jastrow wave functions are the most commonly used variational ansatz in electronic structure, more sophisticated wave functions are critical to ascertaining new physics. One such wave function is the multi-Slater-Jastrow wave function which consists of a Jastrow function multiplied by the sum of Slater determinants. In this paper we describe a method for working with these wave functions in QMC codes that is easy to implement, efficient both in computational speed as well as memory, and easily parallelized. The computational cost scales quadratically with particle number making this scaling no worse than the single determinant case and linear with the total number of excitations. Additionally, we implement this method and use it to compute the ground state energy of a water molecule.

97 MATHEMATICS AND COMPUTING↗

Release of MCNP6.2 and WHISPER-1.1 - Guidance for NCS users

In 2017, a new version of the MCNP6 Monte Carlo code package was released: MCNP6.2. This is the first version of MCNP to include the WHISPER package to support sensitivity-uncertainty based nuclear criticality safety validation. The coding changes to MCNP6.2 physics are relatively insignificant. Corrections to the S(α,β) thermal scattering numerics are generally negligible relative to problem statistics (or, in rare cases, prevent aborts). Similarly, the changes to adjoint-weighting for computing kinetics parameters may result in small differences, generally negligible compared to problem statistics. The change to the MCNP6.2 geometry treatment to correctly handle coincident surfaces in problems with universe/fill features will produce different round-off in the geometry tracking. This will produce differences in results relative to previous versions, but those differences should be small relative to problem statistics, and are not a concern. An immediate benefit of using MCNP6.2 (rather than MCNP6.1) is that the new version is typically 1.5-2 times faster.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Computer Simulation of Blast Waves in a Tunnel with Sudden Decrease in Cross Section

The case of an explosion in a tunnel where the blast wave encounters a sudden decrease in cross section is studied with quasi-one-dimensional (1D) and two-dimensional axisymmetric codes (2D) and the results are compared to experimental data. It is found that the numerical results from both codes are in good agreement until the interface at the change in cross section is encountered. Thereafter, however, the peak pressure derived with the codes is found to be significantly higher than the experimental results although the agreement between the 2D result and the experiment improves with increasing distance down the tunnel. Peak pressure and impulse per unit area obtained downstream of the interface with the 1D analysis are found to be substantially higher than with either the experiment or the 2D results. The reason for this is the time delay for the shock reflecting off the (vertical) rigid wall between the inner and outer tunnel radii to interact with the (supersonic) core flow into the decreased cross section. In the 1D case the reflected and transmitted shocks are formed instantaneously across the entire cross section resulting in higher pressure and increased shock speed downstream of the interface.

42 ENGINEERING↗