Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “Computer 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,297 records · Page 72

Improving the Capabilities and Computational Efficiency of the RTE+RRTMGP Radiation Code (Final Report)

This report details progress on the RTE+RRTMGP radiation codes made during the period of performance. RTE+RRTMGP is a set of codes for computing radiative fluxes in planetary atmospheres. RRTMGP uses a k-distribution to provide an optical description (absorption and possibly Rayleigh optical depth) of the gaseous atmosphere, along with the relevant source functions, on a pre-determined spectral grid given temperatures, pressures, and gas concentration. RTE computes fluxes given spectrally-resolved optical descriptions and source functions. Spectrally-resolved fluxes are summarized (“reduced”) via a user extensible class. The initial release of the code and the design choices are described in Pincus et al. 2019; the codes are available on Github. Although RRTMGP was based on current (at the time) empirical spectroscopic data, RTE and RRTMGP were developed in large part to modernize software practices. The design focused on flexibility broadly interpreted: by separating code from data and allowing data to drive computation; in coupling to the host model (e.g. the coupling of clouds to radiative fluxes is user-controlled); with respect to programming languages (computational tasks are accessed via widely-compatible C interfaces); and with respect to hardware (the codes run on a range of CPU and GPU architectures). The code also puts an emphasis on modularity and clarity. RTE+RRTMGP v1.0 was released in September 20219. This award supported the evolution of the RTE+RRTMGP code base to support greater flexibility, accuracy, and efficiency.

54 ENVIRONMENTAL SCIENCES↗

H-AMR: A New GPU-accelerated GRMHD Code for Exascale Computing with 3D Adaptive Mesh Refinement and Local Adaptive Time Stepping

General relativistic magnetohydrodynamic (GRMHD) simulations have revolutionized our understanding of black hole accretion. Here, we present a GPU-accelerated GRMHD code H-AMR with multifaceted optimizations that, collectively, accelerate computation by 2–5 orders of magnitude for a wide range of applications. First, it introduces a spherical grid with 3D adaptive mesh refinement that operates in each of the three dimensions independently. This allows us to circumvent the Courant condition near the polar singularity, which otherwise cripples high-resolution computational performance. Second, we demonstrate that local adaptive time stepping on a logarithmic spherical-polar grid accelerates computation by a factor of ≲10 compared to traditional hierarchical time-stepping approaches. Jointly, these unique features lead to an effective speed of ~10 9 zone cycles per second per node on 5400 NVIDIA V100 GPUs (i.e., 900 nodes of the OLCF Summit supercomputer). We illustrate H-AMR's computational performance by presenting the first GRMHD simulation of a tilted thin accretion disk threaded by a toroidal magnetic field around a rapidly spinning black hole. With an effective resolution of 13,440 × 4608 × 8092 cells and a total of ≲22 billion cells and ~0.65 × 10 8 time steps, it is among the largest astrophysical simulations ever performed. We find that frame dragging by the black hole tears up the disk into two independently precessing subdisks. The innermost subdisk rotation axis intermittently aligns with the black hole spin, demonstrating for the first time that such long-sought alignment is possible in the absence of large-scale poloidal magnetic fields.

79 ASTRONOMY AND ASTROPHYSICS↗

LFSC - Linac Feedback Simulation Code

The computer program LFSC (<Linac Feedback Simulation Code>) is a numerical tool for simulation beam based feedback in high performance linacs. The code LFSC is based on the earlier version developed by a collective of authors at SLAC (L.Hendrickson, R. McEwen, T. Himel, H. Shoaee, S. Shah, P. Emma, P. Schultz) during 1990-2005. That code was successively used in simulation of SLC, TESLA, CLIC and NLC projects. It can simulate as pulse-to-pulse feedback on timescale corresponding to 5-100 Hz, as slower feedbacks, operating in the 0.1-1 Hz range in the Main Linac and Beam Delivery System. The code LFSC is running under Matlab for MS Windows operating system. It contains about 30,000 lines of source code in more than 260 subroutines. The code uses the LIAR ('Linear Accelerator Research code') for particle tracking under ground motion and technical noise perturbations. It uses the Guinea Pig code to simulate the luminosity performance. A set of input files includes the lattice description (XSIF format), and plane text files with numerical parameters, wake fields, ground motion data etc. The Matlab environment provides a flexible system for graphical output.

43 PARTICLE ACCELERATORS↗

Thermomechanical analysis and modeling of involute-shaped fuel plates using the Cheverton–Kelley experiments for the High Flux Isotope Reactor

Three research reactors with involute-shaped fuel plates are pursuing conversion from highly enriched uranium to low-enriched uranium fuel. Various core design and safety evaluation studies are essential to assess the feasibility of the conversion. The use of 3D computational multiphysics codes is being explored in these analyses and therefore they must undergo a thorough evaluation and quality assurance process due to their potential impact on nuclear safety. Here, the Cheverton and Kelley physical tests performed in the late 1960s to investigate the deflections of HFIR’s outer plate under uniform pressure and temperature fields are simulated by employing commercially available computational codes, with the goals to (1) verify and validate the models and numerical solvers implemented in the codes for thermomechanical analysis of involute reactor plates and (2) to develop a benchmark computational test to evaluate future versions of existing software or newly developed computational codes. The results of the simulations showed good agreement with each other as well as against the Cheverton–Kelley experimental data. Some minor deviations were observed for a few multiphysics cases and their potential origins and impact on the analysis results is investigated in the paper. The validated models increase the confidence in using multiphysics codes to evaluate existing or new LEU designs.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Accelerated application development: The ORNL Titan experience

The use of computational accelerators such as NVIDIA GPUs and Intel Xeon Phi processors is now widespread in the high performance computing community, with many applications delivering impressive performance gains. However, programming these systems for high performance, performance portability and software maintainability has been a challenge. In this paper we discuss experiences porting applications to the Titan system. Titan, which began planning in 2009 and was deployed for general use in 2013, was the first multi-petaflop system based on accelerator hardware. To ready applications for accelerated computing, a preparedness effort was undertaken prior to delivery of Titan. In this paper we report experiences and lessons learned from this process and describe how users are currently making use of computational accelerators on Titan.

97 MATHEMATICS AND COMPUTING↗

The role of interpreters in high performance computing

Compiled code is fast, interpreted code is slow. There is not much we can do about it, and it's the reason why interpreters use in high performance computing is usually restricted to job submission. We show where interpreters make sense even in the context of analysis code, and what aspects have to be taken into account to make this combination a success.

99 GENERAL AND MISCELLANEOUS↗

Radio-nuclide mixture identification using medium energy resolution detectors

According to one embodiment, a method for identifying radio-nuclides includes receiving spectral data, extracting a feature set from the spectral data comparable to a plurality of templates in a template library, and using a branch and bound method to determine a probable template match based on the feature set and templates in the template library. In another embodiment, a device for identifying unknown radio-nuclides includes a processor, a multi-channel analyzer, and a memory operatively coupled to the processor, the memory having computer readable code stored thereon. The computer readable code is configured, when executed by the processor, to receive spectral data, to extract a feature set from the spectral data comparable to a plurality of templates in a template library, and to use a branch and bound method to determine a probable template match based on the feature set and templates in the template library.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Cloud Computing for Complex Performance Codes.

This report describes the use of cloud computing services for running complex public domain performance assessment problems. The work consisted of two phases: Phase 1 was to demonstrate complex codes, on several differently configured servers, could run and compute trivial small scale problems in a commercial cloud infrastructure. Phase 2 focused on proving non-trivial large scale problems could be computed in the commercial cloud environment. The cloud computing effort was successfully applied using codes of interest to the geohydrology and nuclear waste disposal modeling community.

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Development of a Single-Phase, Transient, Subchannel Code, within the MOOSE Multi-Physics Computational Framework

Subchannel codes have been widely used for thermal-hydraulics analyses in nuclear reactors. This paper details the development of a novel subchannel code within the Idaho National Laboratory’s (INL) Multi-physics Object Oriented Simulation Environment (MOOSE). MOOSE is a parallel computational framework targeted at the solution of systems of coupled, nonlinear partial differential equations, that often arise in the simulation of nuclear processes. As such, it includes codes/modules able to solve the multiple linear and nonlinear physics that describe a nuclear reactor, under normal operation conditions or accidents. This includes thermal-hydraulics, fuel performance, and neutronics codes, between others. A MOOSE-based subchannel code is a new addition to the fleet of INL-developed codes, based on the MOOSE framework. In this work, we present the derivation of the subchannel equations for a single-phase fluid, we proceed with the description of the algorithm that is used to solve these equations and describe how this algorithm was implemented within MOOSE. We also present how this code can be coupled to the BISON fuel performance code. Next, we verify the friction model and the turbulent mixing model. We calibrate the turbulent modeling parameters for momentum mixing and enthalpy mixing, C T , β. We validate the code using experimental results and last demonstrate the coupling capabilities using a simple example.

42 ENGINEERING↗

Scoping assessments and review of sub-scale models in support of DuraMAT Predictive Simulation Capability Area #2

The goal of the DuraMAT Predictive Simulation Capability Area is to develop a suite of modeling and simulation tools to enhance understanding of module-level thermo-mechanical-electrical effects contributing to degradation of solar photovoltaic modules. Since these effects invoke multiple physical mechanisms and take place over greatly varied time- and length- scales, developing a module-level model of sufficient resolution to capture all geometries and physics of interest was expected to be near code capability and computational resource limits. A series of sub-models and workflows were developed to assess physics and material model maturity and the necessary computational capacity for resolving degradation mechanisms of interest. Knowledge gained from these activities help to better scope future development efforts, in line with available computational and code capabilities. This memo serves as the DuraMAT Quarterly Progress Indicator (QPI) for Quarter 3 of Fiscal Year 2017 (Project Quarter 1 / Month 3), and documents completion of Milestone Subtask 2.2.1.

14 SOLAR ENERGY↗

Development of Generalized Perturbation Theory Capability within the SCALE Code Package

Computational capability has been developed to calculate sensitivity coefficients of generalized responses with respect to cross-section data in the SCALE code system. The focus of this paper is the implementation of generalized perturbation theory (GPT) for one-dimensional and two-dimensional deterministic neutron transport calculations. GPT is briefly summarized for computing sensitivity coefficients for reaction rate ratio responses within the existing framework of the TSUNAMI sensitivity and uncertainty (S/U) analysis code package in SCALE. GPT provides the capability to analyze generalized responses related to reactor analysis, such as homogenized cross-sections, relative powers, and conversion ratios, as well as measured experimental parameters such as 28 (epithermal/thermal 238U capture rates) in thermal benchmarks and fission ratios such as 239Pu(n,f)/235U(n,f) in fast benchmarks. The S/U analysis of these experimental integral responses can be used to augment the existing TSUNAMI S/U analysis capabilities for system similarity assessment and data adjustment. S/U analysis is provided for boiling water reactor pin cell as part of the Organization for Economic Cooperation and Development Uncertainty Analysis in Modeling benchmark.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Fluid Flow Characteristic Simulation of the Original TRIGA 2000 Reactor Design Using Computational Fluid Dynamics Code

Common energy crisis has modified the national energy policy which is in the beginning based on natural resources becoming based on technology, therefore the capability to understanding the basic and applied science is needed to supporting those policies. National energy policy which aims at new energy exploitation, such as nuclear energy is including many efforts to increase the safety reactor core condition and optimize the related aspects and the ability to build new research reactor with properly design. The previous analysis of the modification TRIGA 2000 Reactor design indicates that forced convection of the primary coolant system put on an effect to the flow characteristic in the reactor core, but relatively insignificant effect to the flow velocity in the reactor core. In this analysis, the lid of reactor core is closed. However the forced convection effect is still presented. This analysis shows the fluid flow velocity vector in the model area without exception. Result of this analysis indicates that in the original design of TRIGA 2000 reactor, there is still forced convection effects occur but less than in the modified TRIGA 2000 design.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

COUPLING THE SOLAR DYNAMO AND THE CORONA: WIND PROPERTIES, MASS, AND MOMENTUM LOSSES DURING AN ACTIVITY CYCLE

We study the connections between the Sun's convection zone and the evolution of the solar wind and corona. We let the magnetic fields generated by a 2.5-dimensional (2.5D) axisymmetric kinematic dynamo code (STELEM) evolve in a 2.5D axisymmetric coronal isothermal magnetohydrodynamic code (DIP). The computations cover an 11 year activity cycle. The solar wind's asymptotic velocity varies in latitude and in time in good agreement with the available observations. The magnetic polarity reversal happens at different paces at different coronal heights. Overall the Sun's mass-loss rate, momentum flux, and magnetic braking torque vary considerably throughout the cycle. This cyclic modulation is determined by the latitudinal distribution of the sources of open flux and solar wind and the geometry of the Alfven surface. Wind sources and braking torque application zones also vary accordingly.

79 ASTRONOMY AND ASTROPHYSICS↗

Local Truncation Error-Informed Code Verification

The method of manufactured solutions (MMS) has become increasingly popular in conducting code verification studies on predictive codes, such as nuclear power system codes and computational fluid dynamic codes. The reason for the popularity of this approach is that it can be used when an analytical solution is not available. Using MMS, code developers are able to verify that their code is free of coding errors that impact the observed order of accuracy. While MMS is still an excellent tool for code verification, it does not identify coding errors that are of the same order as the numerical method. This paper presents a method that combines MMS with modified equation analysis (MEA), which calculates the local truncation error (LTE) to identify coding error up to and including the order of the numerical method. This method is referred to as modified equation analysis methd of manufactured solutions (MEAMMS). MEAMMS is then applied to a custom-built code, which solves the shallow water equations, to test the performance of the code verification method. MEAMMS is able to detect all coding errors that impact the implementation of the numerical scheme. To show how MEAMMS is different than MMS, they are both applied to the same first-order numerical method test problem with a first-order coding error. When there are first-order coding errors, only MEAMMS is able to identify them. Finally, this shows that MEAMMS is able to identify a larger set of coding errors while still being able to identify the coding errors MMS is able to identify.

42 ENGINEERING↗

PEBBLES Operation and Theory Manual

The PEBBLES manual describes the PEBBLES code. The PEBBLES code is a computer program designed to simulation the motion, packing and vibration of spheres that undergo various mechanical forces including gravitation, Hooke’s law force and various friction forces. The frictional forces include true static friction that allows non-zero angles of repose. Each pebble is individually simulated using the distinct element method.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

PEBBLES Operation and Theory Manual

The PEBBLES manual describes the PEBBLES code. The PEBBLES code is a computer program designed to simulation the motion, packing and vibration of spheres that undergo various mechanical forces including gravitation, Hooke’s law force and various friction forces. The frictional forces include true static friction that allows non-zero angles of repose. Each pebble is individually simulated using the distinct element method.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗