Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “CODING”

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,441 records · Page 80

Preliminary Development of a Nuclide Inventory Code for HTGR

Nuclide inventory calculation for a reactor core is the basis of radiation protection, shielding design and radioactive environmental impact assessment of the power plant. HTR-PM (high-temperature gas-cooled reactor pebble-bed module) under construction in China is one of the candidates for Gen-IV advanced nuclear power system.1 In the design stage of HTR-PM, KORIGEN has been utilized in the inventory calculation.2 However, the current version of KORIGEN was developed several decades ago. In order to improve the design capability of the analysis code package for HTR-PM, a new computer code for nuclide inventory calculation called NUIT (Nuclide Inventory Tool) is being developed based on the DEPTH3 code. The NUIT code tries to utilize accurate and efficient burnup solvers, incorporate well-validated and most recent nuclear data libraries, and provide user-friendly IO interface. This paper presents the preliminary work in the development of NUIT.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Implementation of a Pressure Correction Term in the CTF Subchannel Code

CTF is a modernized and improved version of the legacy subchannel code COBRA-TF, being jointly developed and maintained by Oak Ridge National Laboratory (ORNL) and North Carolina State University. The code was adopted by ORNL for use in the Consortium for Advanced Simulation of Light Water Reactors (CASL) in 2012 to help address CASL challenge problems. Since that time, activities related to CTF have included implementing software quality assurance measures, implementing new features and models, performing validation and verification testing, establishing and supporting a CTF user group, and developing the code for use in coupled applications. CTF is applicable to single- and two-phase flows in light water reactor geometries at normal and accident operating conditions. The two-phase flow model consists of the six-equation two-phase flow model augmented by equations for the droplet field, and it also includes appropriate source terms. This work focuses on the numerical stability of the six-equation two-phase flow model and is part of a recent effort to improve CTF capabilities for simulating flows in boiling water reactors (BWRs). The six-equation two-phase flow model is not strongly hyperbolic, meaning that some of its eigenvalues are either not real or not distinct. In a Cauchy sense, and for an initial-value problem, strong hyperbolicity was found to be equivalent to well-posedness, which ensures the uniqueness of the solution in the space-time used. This concept is also of importance when designing high-order numerical methods and also when implementing boundary conditions that rely on real eigenvalues such as Riemann solvers. A tremendous amount of research is available in the literature on how to hyperbolize the six-equation two-phase flow model by adding ad hoc terms to the system of equations. Such terms are often referred to as virtual mass or interfacial pressure correction terms. From a mathematical perspective, this approach adds terms to the phasic momentum equation containing first-order partial derivatives of the unknowns to modify the Jacobian matrix, thus the imaginary part of the eigenvalues. For this work, an interfacial pressure correction (IPC) term on the same model as what was used for the CATHARE system code, is implemented in CTF. This allows for recovery of a two-pressure formulation. In the following, the six-equation two-phase flow model is recalled, along with the IPC term and its influence on the eigenvalues. Then, numerical results and convergence studies are presented for a water-faucet problem at a pressure of 10 bar. Finally, conclusions and future work are addressed.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

ALEGRA : an arbitrary Lagrangian-Eulerian multimaterial, multiphysics code.

ALEGRA is an arbitrary Lagrangian-Eulerian (multiphysics) computer code developed at Sandia National Laboratories since 1990. The code contains a variety of physics options including magnetics, radiation, and multimaterial flow. The code has been developed for nearly two decades, but recent work has dramatically improved the code's accuracy and robustness. These improvements include techniques applied to the basic Lagrangian differencing, artificial viscosity and the remap step of the method including an important improvement in the basic conservation of energy in the scheme. We will discuss the various algorithmic improvements and their impact on the results for important applications. Included in these applications are magnetic implosions, ceramic fracture modeling, and electromagnetic launch.

97 MATHEMATICS AND COMPUTING↗

Hydrodynamic Optimization Method and Design Code for Stall-Regulated Hydrokinetic Turbine Rotors

This report describes the adaptation of a wind turbine performance code for use in the development of a general use design code and optimization method for stall-regulated horizontal-axis hydrokinetic turbine rotors. This rotor optimization code couples a modern genetic algorithm and blade-element momentum performance code in a user-friendly graphical user interface (GUI) that allows for rapid and intuitive design of optimal stall-regulated rotors. This optimization method calculates the optimal chord, twist, and hydrofoil distributions which maximize the hydrodynamic efficiency and ensure that the rotor produces an ideal power curve and avoids cavitation. Optimizing a rotor for maximum efficiency does not necessarily create a turbine with the lowest cost of energy, but maximizing the efficiency is an excellent criterion to use as a first pass in the design process. To test the capabilities of this optimization method, two conceptual rotors were designed which successfully met the design objectives.

17 WIND ENERGY↗

ForceFit: a code to fit classical force fields to ab-initio potential energy surfaces

The ForceFit program package has been developed for fitting classical force field parameters based upon a force matching algorithm to quantum mechanical gradients of configurations that span the potential energy surface of the system. The program, which runs under Unix and is written in C++, is an easy to use, nonproprietary platform that enables gradient fitting of a wide variety of functional force field forms to quantum mechanical information obtained from an array of common electronic structure codes. All aspects of the fitting process are run from a graphical user interface, from the parsing of quantum mechanical data, assembling of a potential energy surface database, setting the force field and variables to be optimized, choosing a molecular mechanics code for comparison to the reference data, and finally, the initiation of a least squares minimization algorithm. Furthermore, the code is based on a modular templated code design that enables the facile addition of new functionality to the program.

74 ATOMIC AND MOLECULAR PHYSICS↗

New Parallel computing framework for radiation transport codes

A new parallel computing framework has been developed to use with general-purpose radiation transport codes. The framework was implemented as a C++ module that uses MPI for message passing. The module is significantly independent of radiation transport codes it can be used with, and is connected to the codes by means of a number of interface functions. The framework was integrated with the MARS15 code, and an effort is under way to deploy it in PHITS. Besides the parallel computing functionality, the framework offers a checkpoint facility that allows restarting calculations with a saved checkpoint file. The checkpoint facility can be used in single process calculations as well as in the parallel regime. Several checkpoint files can be merged into one thus combining results of several calculations. The framework also corrects some of the known problems with the scheduling and load balancing found in the original implementations of the parallel computing functionality in MARS15 and PHITS. The framework can be used efficiently on homogeneous systems and networks of workstations, where the interference from the other users is possible.

43 PARTICLE ACCELERATORS↗

Density profile sensitivity study of ASDEX Upgrade ICRF Antennas with the TOPICA code

During operation of the ASDEX Upgrade (AUG) ion cyclotron radio frequency (ICRF) system, Tungsten (W)-coated poloidal limiters and structures connected along magnetic field lines to the antenna can be sources of W, which is attributed to sputtering by ions accelerated in radio frequency (RF) sheaths. In order to analyze and optimize the ICRF antenna performance, accurate and efficient simulation tools are necessary. TOPICA code was developed for analysis of ICRF antenna systems with plasma loading conditions modeled with ID FELICE code. This paper presents an initial comparative analysis of two AUG ICRF antennas for a set of model plasma density profiles (with varying density gradient and antenna cut-off distance). The antennas are presently installed in AUG and differ in that one was partially optimized using HFSS code to reduce E{sub ||} near fields. Power transferred to plasma and sheath driving RF potentials are computed.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Pennsylvania and Delaware Energy Code Field Studies (Final Technical Report (FTR)

Led by Northeast Energy Efficiency Partnerships (NEEP) in partnership with Performance Systems Development (PSD), the project aimed to conduct energy code compliance field studies for single-family residential buildings in Pennsylvania and Delaware, as well as multifamily and commercial buildings in Pennsylvania. Using U.S. Department of Energy (DOE) approved methodologies, trained field teams conducted on-site observations and testing to document compliance with key energy efficiency measures, including building envelope insulation, air sealing, duct leakage, windows, and mechanical systems. Data from these studies would then be analyzed to identify construction trends and compliance gaps. The goals included published baseline data for each study, and a training roadmap tailored to each state’s needs. This roadmap would have guided outreach and training for builders, code officials, and other stakeholders on the specific code requirements that offered the greatest opportunity for improvement.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

NFPA's Hydrogen Technologies Code Project

This article discusses the development of National Fire Protection Association 2 (NFPA), a comprehensive hydrogen safety code. It analyses the contents of this document with particular attention focused on new requirements for setting hydrogen storage systems. These new requirements use computational fluid dynamic modeling and risk assessment procedures to develop requirements that are based on both technical analyses and defined risk criteria. The intent is to develop requirements based on procedures that can be replicated based on the information provided in the code document. This code will require documentation of the modeling inputs and risk criteria and analyses in the supporting information. This article also includes a description of the codes and standards that address hydrogen technologies in general.

08 HYDROGEN↗

Optimizing fusion PIC code performance at scale on Cori Phase 2

In this paper we present the results of optimizing the performance of the gyrokinetic full-f fusion PIC code XGC1 on the Cori Phase Two Knights Landing system. The code has undergone substantial development to enable the use of vector instructions in its most expensive kernels within the NERSC Exascale Science Applications Program. We study the single-node performance of the code on an absolute scale using the roofline methodology to guide optimization efforts. We have obtained 2x speedups in single node performance due to enabling vectorization and performing memory layout optimizations. On multiple nodes, the code is shown to scale well up to 4000 nodes, near half the size of the machine. We discuss some communication bottlenecks that were identified and resolved during the work.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Homological Invariants of Pauli Stabilizer Codes

Abstract We study translationally invariant Pauli stabilizer codes with qudits of arbitrary, not necessarily uniform, dimensions. Using homological methods, we define a series of invariants called charge modules. We describe their properties and physical meaning. The most complete results are obtained for codes whose charge modules have Krull dimension zero. This condition is interpreted as mobility of excitations. We show that it is always satisfied for translation invariant 2D codes with unique ground state in infinite volume, which was previously known only in the case of uniform, prime qudit dimension. For codes all of whose excitations are mobile we construct a p-dimensional excitation and a $$(D-p-1)$$ ( D - p - 1 ) -form symmetry for every element of thep-th charge module. Moreover, we define a braiding pairing between charge modules in complementary degrees. We discuss examples which illustrate how charge modules and braiding can be computed in practice.

Physics↗

Multi-rate OCDMA system BER performance evaluations for different ML-code sequences

This paper analyzes Bit Error Rate (BER) of Optical Code Division Multiple Access (OCDMA) networks for different class of services which are data, voice, and video; whereas Multi-Length Weighted Modified Prime Code (ML-WMPC) sequences are utilized as a spreading code in with respect to previously used ML-Optical Orthogonal codes. Due to variations in bit rates between the mentioned services, each of them assigns a different WMPC sequence length. In addition, the shot noise, thermal noise, and the Multiple Access Interference (MAI) are included and considered as sources of noise in the BER performance analysis. Furthermore, Pulse Position Modulation, Manchester encoding and MAI cancellation (MAIC) technique are utilized to improve the network performance at a higher number of active users. For analysis, the BER performance calculations are investigated for three types of OCDMA receivers such as simple receiver, receiver with MAIC technique, and receiver with MAIC and Manchester encoding. Moreover, the BER mathematical models have been introduced for different bit rates according to the type of service in the presence of the ML-WMPC and the last of three mentioned OCDMA receivers. Finally, these models and their results are compared with the other existing models, where the results show an improvement in BER performance in the proposed approach.

42 ENGINEERING↗

Quasi-perfect codes in the ℓ{sub p} metric

We introduce the notion of degree of imperfection of a code in ℤ{sup n} with the ℓ{sub p} metric, to extend the so-called quasi-perfect codes. Through the establishment of bounds and computational approach, we determine all radii for which there are linear quasi-perfect codes for p=2 and n=2,3. Numerical results concerning the codes with small degree of imperfection are also presented.

97 MATHEMATICS AND COMPUTING↗

The OpenMC Monte Carlo particle transport code

A new Monte Carlo code called OpenMC is currently under development at the Massachusetts Institute of Technology as a tool for simulation on high-performance computing platforms. Given that many legacy codes do not scale well on existing and future parallel computer architectures, OpenMC has been developed from scratch with a focus on high performance scalable algorithms as well as modern software design practices. The present work describes the methods used in the OpenMC code and demonstrates the performance and accuracy of the code on a variety of problems.

Nuclear Science & Technology↗

CXTFIT/Excel A modular adaptable code for parameter estimation, sensitivity analysis and uncertainty analysis for laboratory or field tracer experiments

We implemented the widely used CXTFIT code in Excel to provide flexibility and added sensitivity and uncertainty analysis functions to improve transport parameter estimation and to facilitate model discrimination for multi-tracer experiments on structured soils. Analytical solutions for one-dimensional equilibrium and nonequilibrium convection dispersion equations were coded as VBA functions so that they could be used as ordinary math functions in Excel for forward predictions. Macros with user-friendly interfaces were developed for optimization, sensitivity analysis, uncertainty analysis, error propagation, response surface calculation, and Monte Carlo analysis. As a result, any parameter with transformations (e.g., dimensionless, log-transformed, species-dependent reactions, etc.) could be estimated with uncertainty and sensitivity quantification for multiple tracer data at multiple locations and times. Prior information and observation errors could be incorporated into the weighted nonlinear least squares method with a penalty function. Users are able to change selected parameter values and view the results via embedded graphics, resulting in a flexible tool applicable to modeling transport processes and to teaching students about parameter estimation. The code was verified by comparing to a number of benchmarks with CXTFIT 2.0. It was applied to improve parameter estimation for four typical tracer experiment data sets in the literature using multi-model evaluation and comparison. Additional examples were included to illustrate the flexibilities and advantages of CXTFIT/Excel. The VBA macros were designed for general purpose and could be used for any parameter estimation/model calibration when the forward solution is implemented in Excel. A step-by-step tutorial, example Excel files and the code are provided as supplemental material.

54 ENVIRONMENTAL SCIENCES↗

GPU acceleration and performance of the particle-beam-dynamics code Elegant

Elegant is an accelerator physics and particle-beam dynamics code widely used for modeling and design of a variety of high-energy particle accelerators and accelerator-based systems. We discuss a recently developed version of the code that can take advantage of CUDA-enabled graphics processing units (GPUs) to achieve significantly improved performance for a large class of simulations that are important in practice. The GPU version is largely defined by a framework that simplifies implementations of the fundamental kernel types that are used by Elegant: particle operations, reductions, particle loss, histograms, array convolutions and random number generation. Accelerated performance on the Titan Cray XK-7 supercomputer is approximately 6–10 times better with the GPU than all the CPU cores associated with the same node count. In addition to performance, the maintainability of the GPU-accelerated version of the code was considered a key design objective. Accuracy with respect to the CPU implementation is also a core consideration. Finally, four different methods are used to ensure that the accelerated code faithfully reproduces the CPU results.

43 PARTICLE ACCELERATORS↗

phq: A Fortran code to compute phonon quasiparticle properties and dispersions

We here introduce a Fortran code that computes anharmonic free energy of solids from first-principles based on our phonon quasiparticle approach. In this code, phonon quasiparticle properties, i.e., renormalized phonon frequencies and lifetimes, are extracted from mode-projected velocity auto-correlation functions (VAF) of modes sampled by molecular dynamics (MD) trajectories. Using renormalized frequencies as input, the code next constructs an effective harmonic force constant matrix to calculate anharmonic phonon dispersions over the whole Brillouin zone and thus the anharmonic free energy in the thermodynamic limit ( N → ∞ ). A detailed description of all the input parameters and the subroutines is provided as well. We illustrate the use of this code to compute ab initio temperature-dependent anharmonic phonons of Si in the diamond structure.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗