Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “simulation 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,729 records · Page 96

User's Manual for LINER: FORTRAN Code for the Numerical Simulation of Plane Wave Propagation in a Lined Two-Dimensional Channel

LINER is a system of Fortran 77 codes which performs a 2D analysis of acoustic wave propagation and noise suppression in a rectangular channel with a continuous liner at the top wall. This new implementation is designed to streamline the usage of the several codes making up LINER, resulting in a useful design tool. Major input parameters are placed in two main data files, input.inc and nurn.prm. Output data appear in the form of ASCII files as well as a choice of GNUPLOT graphs. Section 2 briefly describes the physical model. Section 3 discusses the numerical methods; Section 4 gives a detailed account of program usage, including input formats and graphical options. A sample run is also provided. Finally, Section 5 briefly describes the individual program files.

Reichert, R, S.↗

Enhancement of the Open National Combustion Code (OpenNCC) and Initial Simulation of Energy Efficient Engine Combustor

In this paper, we present the recent enhancement of the Open National Combustion Code (OpenNCC) and apply the OpenNCC to model a realistic combustor configuration (Energy Efficient Engine (E3)). First, we perform a series of validation tests for the newly-implemented advection upstream splitting method (AUSM) and the extended version of the AUSM-family schemes (AUSM+-up). Compared with the analytical/experimental data of the validation tests, we achieved good agreement. In the steady-state E3 cold flow results using the Reynolds-averaged Navier-Stokes(RANS), we find a noticeable difference in the flow fields calculated by the two different numerical schemes, the standard Jameson- Schmidt-Turkel (JST) scheme and the AUSM scheme. The main differences are that the AUSM scheme is less numerical dissipative and it predicts much stronger reverse flow in the recirculation zone. This study indicates that two schemes could show different flame-holding predictions and overall flame structures.

Combustor-turbine interaction↗

Enhancement of the Open National Combustion Code (OpenNCC) and Initial Simulation of Energy Efficient Engine Combustor

In this paper, we present the recent enhancement of the Open National Combustion Code (OpenNCC) and apply the OpenNCC to model a realistic combustor configuration (Energy Efficient Engine (E3)). First, we perform a series of validation tests for the newly-implemented advection upstream splitting method (AUSM) and the extended version of the AUSM-family schemes (AUSM+-up). Compared with the analytical/experimental data of the validation tests, we achieved good agreement. In the steady-state E3 cold flow results using the Reynolds-averaged Navier-Stokes(RANS), we find a noticeable difference in the flow fields calculated by the two different numerical schemes, the standard Jameson- Schmidt-Turkel (JST) scheme and the AUSM scheme. The main differences are that the AUSM scheme is less numerical dissipative and it predicts much stronger reverse flow in the recirculation zone. This study indicates that two schemes could show different flame-holding predictions and overall flame structures.

Code validation↗

Dedication to James A. Miller

This special memorial issue pays tribute to James (Jim) A. Miller, a giant of combustion science who died in 2021, with a celebration of his enormous influence on the field. We were touched by the responses we received after we sent out the invitations for it. Jim inspired several generations of scientists, who viewed him as a mentor, a father figure, and a friend. Together with Nils Hansen and Peter Glarborg, we have written a detailed account on his life and work. Furthermore, it appeared in this journal shortly after his death; and so here we focus on the scientific areas he had interest in and influence on, and how they relate to the 34 papers in this issue. The topics of these papers span a variety of Jim's interests including nitrogen chemistry, polycyclic aromatic hydrocarbon (PAH) chemistry, oxidation chemistry, energy transfer, prompt dissociations, and codes to facilitate combustion chemistry simulations.

96 KNOWLEDGE MANAGEMENT AND PRESERVATION↗

SPRFSim

SPRFSim is a code that performs RF/Beam interaction simulations for an ion LINAC. The input files can be constructed from scratch or parsed from PARMELA or TraceWin simulations. The code is written in Python, and relies on matplotlib and numpy.

Edelen, Jonathan↗

Simulation studies using multibody dynamics code DART

DART is a multibody dynamics code developed by Photon Research Associates for the Air Force Astronautics Laboratory (AFAL). The code is intended primarily to simulate the dynamics of large space structures, particularly during the deployment phase of their missions. DART integrates nonlinear equations of motion numerically. The number of bodies in the system being simulated is arbitrary. The bodies' interconnection joints can have an arbitrary number of degrees of freedom between 0 and 6. Motions across the joints can be large. Provision for simulating on-board control systems is provided. Conservation of energy and momentum, when applicable, are used to evaluate DART's performance. After a brief description of DART, studies made to test the program prior to its delivery to AFAL are described. The first is a large angle reorientating of a flexible spacecraft consisting of a rigid central hub and four flexible booms. Reorientation was accomplished by a single-cycle sine wave shape torque input. In the second study, an appendage, mounted on a spacecraft, was slewed through a large angle. Four closed-loop control systems provided control of this appendage and of the spacecraft's attitude. The third study simulated the deployment of the rim of a bicycle wheel configuration large space structure. This system contained 18 bodies. An interesting and unexpected feature of the dynamics was a pulsing phenomena experienced by the stays whole playout was used to control the deployment. A short description of the current status of DART is given.

Keat, James E.↗

Three-dimensional magnetohydrodynamics simulations of counter-helicity spheromak merging in the Swarthmore Spheromak Experiment

Recent counter-helicity spheromak merging experiments in the Swarthmore Spheromak Experiment (SSX) have produced a novel compact torus (CT) with unusual features. These include a persistent antisymmetric toroidal magnetic field profile and a slow, nonlinear emergence of the n = 1 tilt mode. Experimental measurements are inconclusive as to whether this unique CT is a fully merged field-reversed configuration (FRC) with strong toroidal field or a partially merged ''doublet CT'' configuration with both spheromak- and FRC-like characteristics. In this paper, the SSX merging process is studied in detail using three-dimensional resistive MHD simulations from the Hybrid Magnetohydrodynamics (HYM) code. These simulations show that merging plasmas in the SSX parameter regime only partially reconnect, leaving behind a doublet CT rather than an FRC. Through direct comparisons, we show that the magnetic structure in the simulations is highly consistent with the SSX experimental observations. We also find that the n = 1 tilt mode begins as a fast growing linear mode that evolves into a slower-growing nonlinear mode before being detected experimentally. A simulation parameter scan over resistivity, viscosity, and line-tying shows that these parameters can strongly affect the behavior of both the merging process and the tilt mode. In fact, merging in certain parameter regimes is found to produce a toroidal-field-free FRC rather than a doublet CT.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

PARMELA simulation of Line-A beamline

This is a short re-work of the previously accomplished simulations, using PARMELA code package. This exercise was done primarily for increase of fidelity and re-formulating the given task for a different beam dynamics (BD) code. The performed simulations showed very good agreement with the abovementioned simulations and confirm the previously produced results with the BEAMPATH code.

43 PARTICLE ACCELERATORS↗

Flux in a 1D-Reactor Cell by Response Matrix

Legacy computational reactor physics software tools and protocols currently used in support of the Advanced Test Reactor (ATR) core fuel management and safety assurance, and to some extent, experiment management, are inconsistent with the state of modern nuclear engineering practice. Thus, they are difficult, if not impossible, to verify and validate (V and V) according to modern standards. Furthermore, the legacy staff knowledge required for effective application of their application and protocols from the 1960's and 1970's is rapidly being lost due to staff turnover and retirements. In late 2009, the Idaho National Laboratory (INL) initiated a focused effort, the ATR Core Modeling Update Project, to address this situation through the introduction of modern high-fidelity transport theory based computational software and models to replace the legacy methods, with appropriate (V and V) protocols according to applicable national standards. The new computational tools include: - The 2-dimensional HELIOS deterministic transport code for integrated ATR core fuel and experiment management and Core Safety Analysis Package (CSAP) physics data generation. The MCNP5 3-dimensional stochastic simulation (Monte Carlo) code for verification and validation applications and for specialized ATR core analysis along with its longstanding traditional role in experiment support - The 2-dimensional deterministic NEWT transport code and the 3-dimensional KENO6 stochastic simulation code, with their SCALE-based support infrastructure for use in V and V applications and as supporting modules for sensitivity-uncertainty analysis via the TSUNAMI system. The ATTILA 3-dimensional discrete-ordinates transport code for specialized experiment support and possibly additional applications. Regardless of application, every neutron transport code, new or legacy, requires verification. The aim of this presentation is to provide a neutron transport benchmark for a simple 1D-reactor cell in plane geometry. The benchmark finds use as a standard of comparison for the codes listed above intended for the ATR upgrade. The method developed here is in contrast to the finite Fourier transform solution found in Ref. 1, which is limited to isotropic scattering and particularly difficult to numerically implement unless the total cross section is constant over the cell.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

The SENSEI Generic In Situ Interface: Tool and Processing Portability at Scale [Book Chapter]

One key challenge when doing in situ processing is the investment required to add code to numerical simulations needed to take advantage of in situ processing. Such instrumentation code is often specialized, and tailored to a specific in situ method or infrastructure. Then, if a simulation wants to use other in situ tools, each of which has its own bespoke API [4], then the simulation code team will quickly become overwhelmed with having a different set of instrumentation APIs, one per in situ tool or method. In an ideal situation, such instrumentation need happen only once, and then the instrumentation API provides access to a large diversity of tools. In this way, a data producer’s instrumentation need not be modified if the user desires to take advantage of a different set of in situ tools. The SENSEI generic in situ interface addresses this challenge, which means that SENSEI-instrumented codes enjoy the benefit of being able to use a diversity of tools at scale, tools that include Libsim, Catalyst, Ascent, as well as user-defined methods written in C++ or Python. SENSEI has been shown to scale to greater than 1M-way concurrency on HPC platforms, and provides support for a rich and diverse collection of common scientific data models. Furthermore, this chapter presents the key design challenges that enable tool and processing portability at scale, some performance analysis, and example science applications of the methods.

Bethel, E. Wes↗

Development Status of the PEBBLES Code for Pebble Mechanics: Improved Physical Models and Speed-up

PEBBLES is a code for simulating the motion of all the pebbles in a pebble bed reactor. Since pebble bed reactors are packed randomly and not precisely placed, the location of the fuel elements in the reactor is not deterministically known. Instead, when determining operating parameters the motion of the pebbles can be simulated and stochastic locations can be found. The PEBBLES code can output information relevant for other simulations of the pebble bed reactors such as the positions of the pebbles in the reactor, packing fraction change in an earthquake, and velocity profiles created by recirculation. The goal for this level three milestone was to speedup the PEBBLES code through implementation on massively parallel computer. Work on this goal has resulted in speeding up both the single processor version and creation of a new parallel version of PEBBLES. Both the single processor version and the parallel running capability of the PEBBLES code have improved since the fiscal year start. The hybrid MPI/OpenMP PEBBLES version was created this year to run on the increasingly common cluster hardware profile that combines nodes with multiple processors that share memory and a cluster of nodes that are networked together. The OpenMP portions use the Open Multi-Processing shared memory parallel processing model to split the task across processors in a single node that shares memory. The Message Passing Interface (MPI) portion uses messages to communicate between different nodes over a network. The following are wall clock speed up for simulating an NGNP-600 sized reactor. The single processor version runs 1.5 times faster compared to the single processor version at the beginning of the fiscal year. This speedup is primarily due to the improved static friction model described in the report. When running on 64 processors, the new MPI/OpenMP hybrid version has a wall clock speed up of 22 times compared to the current single processor version. When using 88 processors, a speed up of 23 times is achieved. This speedup and other improvements of PEBBLES combine to make PEBBLES more capable and more useful for simulation of a pebble bed reactor. This report details the implementation and effects of the speedup work done over the course of the fiscal year.

10 SYNTHETIC FUELS↗

Computational Infrastructure for Engine Structural Performance Simulation

Select computer codes developed over the years to simulate specific aspects of engine structures are described. These codes include blade impact integrated multidisciplinary analysis and optimization, progressive structural fracture, quantification of uncertainties for structural reliability and risk, benefits estimation of new technology insertion and hierarchical simulation of engine structures made from metal matrix and ceramic matrix composites. Collectively these codes constitute a unique infrastructure readiness to credibly evaluate new and future engine structural concepts throughout the development cycle from initial concept, to design and fabrication, to service performance and maintenance and repairs, and to retirement for cause and even to possible recycling. Stated differently, they provide 'virtual' concurrent engineering for engine structures total-life-cycle-cost.

Chamis, Christos C.↗

Increasing efficiency of BEAMnrc-simulated Co-60 beams using directional source biasing

Purpose: This study describes the implementation of a directional source biasing (DSB) scheme for efficiently simulating Cobalt-60 treatment heads using the BEAMnrc Monte Carlo code. Previous simulation of Co-60 beams with BEAMnrc was impractical because of the time required to track photons not directed into the treatment field and to simulate secondary charged particles. Methods: In DSB, efficiency is increased by splitting each photon emitted by the Co-60 source a user-defined number of times. Only those split primary photons directed into a user-defined splitting field (encompassing the treatment field) are sampled, yielding many low-weight photons directed into the field. Efficiency can be further increased by taking advantage of radial symmetry at the top of the treatment head to reduce the number of split primary photons tracked in this portion. There is also an option to generate contaminant electrons in DSB. Results: The DSB scheme in BEAMnrc increases the photon fluence calculation efficiency in a 10 × 10 cm{sup 2} Co-60 beam by a factor of 1800 with a concurrent increase in contaminant electron fluence calculation efficiency by a factor of 1200. Implementation of DSB in beampp, a C++ code for accelerator simulations based on EGSnrc and the C++ class library, egspp, increases photon fluence efficiency by a factor of 2800 and contaminant electron fluence efficiency by a factor of 1600. Optimum splitting numbers are in the range of 20 000–40 000. For dose calculations in a water phantom (0.5 × 0.5 × 0.5 cm{sup 3} voxels) this translates into a factor of ∼400 increase in dose calculation efficiency (all doses > 0.5 × D{sub max}). An example calculation of the ratio of dose to water to dose to chamber (the basis of the beam quality correction factor) to within 0.2% in a realistic chamber using a full simulation of a Co-60 treatment head as a source indicates the practicality of Co-60 simulations with DSB. Conclusions: The efficiency improvement resulting from DSB makes Monte Carlo commissioning of Co-60 beams and calculation of beam quality correction factors feasible.

60 APPLIED LIFE SCIENCES↗

SU-E-T-753: Three-Dimensional Dose Distributions of Incident Proton Particle in the Polymer Gel Dosimeter and the Radiochromic Gel Dosimeter: A Simulation Study with MCNP Code

Purpose: The purpose of this study is to estimate the three-dimensional dose distributions in the polymer and the radiochromic gel dosimeter, and to identify the detectability of both gel dosimeters by comparing with the water phantom in case of irradiating the proton particles. Methods: The normoxic polymer gel and the LCV micelle radiochromic gel were used in this study. The densities of polymer and the radiochromic gel dosimeter were 1.024 and 1.005 g/cm{sup 3}, respectively. The dose distributions of protons in the polymer and radiochromic gel were simulated using Monte Carlo radiation transport code (MCNPX, Los Alamos National Laboratory). The shape of phantom irradiated by proton particles was a hexahedron with the dimension of 12.4 × 12.4 × 15.0 cm{sup 3}. The energies of proton beam were 50, 80, and 140 MeV energies were directed to top of the surface of phantom. The cross-sectional view of proton dose distribution in both gel dosimeters was estimated with the water phantom and evaluated by the gamma evaluation method. In addition, the absorbed dose(Gy) was also calculated for evaluating the proton detectability. Results: The evaluation results show that dose distributions in both gel dosimeters at intermediated section and Bragg-peak region are similar with that of the water phantom. At entrance section, however, inconsistencies of dose distribution are represented, compared with water. The relative absorbed doses in radiochromic and polymer gel dosimeter were represented to be 0.47 % and 2.26 % difference, respectively. These results show that the radiochromic gel dosimeter was better matched than the water phantom in the absorbed dose evaluation. Conclusion: The polymer and the radiochromic gel dosimeter show similar characteristics in dose distributions for the proton beams at intermediate section and Bragg-peak region. Moreover the calculated absorbed dose in both gel dosimeters represents similar tendency by comparing with that in water phantom.

60 APPLIED LIFE SCIENCES↗

Generation of Reversible C++ Code for Optimistic Parallel Discrete Event Simulation

The reversible execution of C/C++ code has been a target of research and engineering for more than a decade as reversible computation has become a central notion in large-scale parallel discrete event simulation (PDES). The simulation models that are implemented for PDES are of increasing complexity and size and require various language features to support abstraction, encapsulation, and composition when building a simulation model. In this paper, we focus on parallel simulation models that are written with user-defined C++ abstractions and abstractions of the C++ Standard Library. We present an approach based on incremental state saving for establishing reversibility of C++ and an evaluation for a kinetic Monte-Carlo simulation implemented in C++. Although a significant runtime overhead is introduced with our technique, it is an enormous win that it allows using the entire C++ language, and has that code automatically transformed into reversible code to enable parallel execution with the Rensselaer’s optimistic simulation system (ROSS).

97 MATHEMATICS AND COMPUTING↗

Assessing the Effects of Data Compression in Simulations Using Physically Motivated Metrics

This paper examines whether lossy compression can be used effectively in physics simulations as a possible strategy to combat the expected data-movement bottleneck in future high performance computing architectures. We show that, for the codes and simulations we tested, compression levels of 3–5X can be applied without causing significant changes to important physical quantities. Rather than applying signal processing error metrics, we utilize physics-based metrics appropriate for each code to assess the impact of compression. We evaluate three different simulation codes: a Lagrangian shock-hydrodynamics code, an Eulerian higher-order hydrodynamics turbulence modeling code, and an Eulerian coupled laser-plasma interaction code. We compress relevant quantities after each time-step to approximate the effects of tightly coupled compression and study the compression rates to estimate memory and disk-bandwidth reduction. We find that the error characteristics of compression algorithms must be carefully considered in the context of the underlying physics being modeled.

Laney, Daniel↗

Half-Cell RF Gun Simulations with the Electromagnetic Particle-in-Cell Code VORPAL

We have simulated Brookhaven National Laboratory's half-cell superconducting RF gun design for a proposed high-current ERL using the three-dimensional, electromagnetic particle-in-cell code VORPAL. VORPAL computes the fully self-consistent electromagnetic fields produced by the electron bunches, meaning that it accurately models space-charge effects as well as bunch-to-bunch beam loading effects and the effects of higher-order cavity modes, though these are beyond the scope of this paper. We compare results from VORPAL to the well-established space-charge code PARMELA, using RF fields produced by SUPERFISH, as a benchmarking exercise in which the two codes should agree well.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Comparison of DAC and MONACO DSMC Codes with Flat Plate Simulation

Various implementations of the direct simulation Monte Carlo (DSMC) method exist in academia, government and industry. By comparing implementations, deficiencies and merits of each can be discovered. This document reports comparisons between DSMC Analysis Code (DAC) and MONACO. DAC is NASA's standard DSMC production code and MONACO is a research DSMC code developed in academia. These codes have various differences; in particular, they employ distinct computational grid definitions. In this study, DAC and MONACO are compared by having each simulate a blunted flat plate wind tunnel test, using an identical volume mesh. Simulation expense and DSMC metrics are compared. In addition, flow results are compared with available laboratory data. Overall, this study revealed that both codes, excluding grid adaptation, performed similarly. For parallel processing, DAC was generally more efficient. As expected, code accuracy was mainly dependent on physical models employed.

Padilla, Jose F.↗