Search NASA⌕ Search

SEARCH · Search NASA

Results for “simulation codes”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 685 records · Page 38

IBSIMU: A three-dimensional simulation software for charged particle optics

A general-purpose three-dimensional (3D) simulation code IBSIMU for charged particle optics with space charge is under development at JYFL. The code was originally developed for designing a slit-beam plasma extraction and nanosecond scale chopping for pulsed neutron generator, but has been developed further and has been used for many applications. The code features a nonlinear FDM Poisson's equation solver based on fast stabilized biconjugate gradient method with ILU0 preconditioner for solving electrostatic fields. A generally accepted nonlinear plasma model is used for plasma extraction. Magnetic fields can be imported to the simulations from other programs. The particle trajectories are solved using adaptive Runge-Kutta method. Steady-state and time-dependent problems can be modeled in cylindrical coordinates, two-dimensional (slit) geometry, or full 3D. The code is used via C++ programming language for versatility but it features an interactive easy-to-use postprocessing tool for diagnosing fields and particle trajectories. The open source distribution and public documentation make the code well suited for scientific use. IBSIMU has been used for modeling the 14 GHz ECR ion source extraction and for designing a four-electrode extraction for a 2.45 GHz microwave ion source at Jyvaeskylae. A grid extraction has also been designed for producing large uniform beam for creating conditions similar to solar wind. The code has also been used to design a H{sup -} extraction with electron dumping for the Cyclotron Institute of Texas A and M University.

43 PARTICLE ACCELERATORS↗

Effects of the magnetic equilibrium on gyrokinetic simulations of tokamak microinstabilities

The general geometry of the experimental tokamak magnetic equilibrium is implemented in the global gyrokinetic simulation code GEM. Compared to the general geometry, the well used Miller parameterization of the magnetic equilibrium is a good approximation in the core region and up to the top of the pedestal. Linear simulations indicate that results with the two geometries agree for r/a ≤ 0.9. However, in the edge region, the instabilities are sensitive to the magnetic equilibrium in both the L-mode and the H-mode plasmas. A small variation of the plasma shaping parameters leads to large changes to the edge instability.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Multiscale Simulations of ALD in Cross Flow Reactors

In this study, we have developed a multiscale simulation code that allows us to study the impact of surface chemistry on the coating of large area substrates with high surface area/high aspect-ratio features. Our code, based on open-source libraries, takes advantage of the ALD surface chemistry to achieve an extremely efficient two-way coupling between reactor and feature length scales, and it can provide simulated quartz crystal microbalance and mass spectrometry data at any point of the reactor. By combining experimental surface characterization with simple analysis of growth profiles in a tubular cross flow reactor, we are able to extract a minimal set of reactions to effectively model the surface chemistry, including the presence of spurious CVD, to evaluate the impact of surface chemistry on the coating of large, high surface area substrates.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

BWR station blackout: A RISMC analysis using RAVEN and RELAP5-3D

The existing fleet of nuclear power plants is in the process of extending its lifetime and increasing the power generated from these plants via power uprates and improved operations. In order to evaluate the impact of these factors on the safety of the plant, the Risk-Informed Safety Margin Characterization (RISMC) project aims to provide insights to decision makers through a series of simulations of the plant dynamics for different initial conditions and accident scenarios. This paper presents a case study in order to show the capabilities of the RISMC methodology to assess impact of power uprate of a Boiling Water Reactor system during a Station Black-Out accident scenario. We employ a system simulator code, RELAP5-3D, coupled with RAVEN which perform the stochastic analysis. Lastly, our analysis is performed by: 1) sampling values from a set of parameters from the uncertainty space of interest, 2) simulating the system behavior for that specific set of parameter values and 3) analyzing the outcomes from the set of simulation runs.

97 MATHEMATICS AND COMPUTING↗

Using a Simple Binomial Model to Assess Improvement in Predictive Capability: Sequential Bayesian Inference, Hypothesis Testing, and Power Analysis

We present a Bayesian statistical methodology for identifying improvement in predictive simulations, including an analysis of the number of (presumably expensive) simulations that will need to be made in order to establish with a given level of confidence that an improvement has been observed. Our analysis assumes the ability to predict (or postdict) the same experiments with legacy and new simulation codes and uses a simple binomial model for the probability, {theta}, that, in an experiment chosen at random, the new code will provide a better prediction than the old. This model makes it possible to do statistical analysis with an absolute minimum of assumptions about the statistics of the quantities involved, at the price of discarding some potentially important information in the data. In particular, the analysis depends only on whether or not the new code predicts better than the old in any given experiment, and not on the magnitude of the improvement. We show how the posterior distribution for {theta} may be used, in a kind of Bayesian hypothesis testing, both to decide if an improvement has been observed and to quantify our confidence in that decision. We quantify the predictive probability that should be assigned, prior to taking any data, to the possibility of achieving a given level of confidence, as a function of sample size. We show how this predictive probability depends on the true value of {theta} and, in particular, how there will always be a region around {theta} = 1/2 where it is highly improbable that we will be able to identify an improvement in predictive capability, although the width of this region will shrink to zero as the sample size goes to infinity. We show how the posterior standard deviation may be used, as a kind of 'plan B metric' in the case that the analysis shows that {theta} is close to 1/2 and argue that such a plan B should generally be part of hypothesis testing. All the analysis presented in the paper is done with a general beta-function prior for {theta}, enabling sequential analysis in which a small number of new simulations may be done and the resulting posterior for {theta} used as a prior to inform the next stage of power analysis.

42 ENGINEERING↗

CTF Theory Manual: Version 4.3

Coolant-Boiling in Rod Arrays—Two Fluids (COBRA-TF) is a thermal/hydraulic (T/H) simulation code designed for light water reactor (LWR) vessel analysis. It uses a two-fluid, three-field (i.e., fluid film, fluid drops, and vapor) modeling approach. Both subchannel and three-dimensional Cartesian forms of its governing equations are available for the solution. The code was originally developed by Pacific Northwest Laboratory in 1980, and had been used and modified by several institutions over the last few decades. COBRA-TF also found use at the Pennsylvania State University (PSU) by the Reactor Dynamics and Fuel Modeling Group (RDFMG) and has been improved, updated, and subsequently rebranded as CTF. CTF was later adopted in the early 2010s by Oak Ridge National Laboratory (ORNL) for use in the Consortium for Advanced Simulation of Light Water Reactors (CASL) program, which led to a significant advancement of the code software quality, modeling accuracy, testing systems, and capabilities for improved support of modeling of common LWR nominal and transient behavior. As part of the improvement process, it was necessary to generate sufficient documentation for the public domain code which had lacked such material upon being adopted by RDFMG. This document serves as a theory manual for CTF, detailing the many two-phase heat transfer, drag, and important accident scenario models contained in the code, as well as the numerical solution process utilized. Additional documents available in the CTF documentation suite include the user manual and verification and validation manual.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

CTF Theory Manual: Version 4.4

Coolant-Boiling in Rod Arrays – Two Fluids (COBRA-TF) is a thermal/hydraulic (T/H) simulation code designed for light-water reactor (LWR) vessel analysis. It uses a two-fluid, three-field (i.e., fluid film, fluid drops, and vapor) modeling approach. Both subchannel and 3D Cartesian forms of its governing equations are available for the solution. The code was originally developed by Pacific Northwest Laboratory in 1980 and has been used and modified by several institutions over the last few decades. COBRA-TF also found use at the Pennsylvania State University (PSU) by the Reactor Dynamics and Fuel Modeling Group (RDFMG) and has been improved, updated, and subsequently rebranded as CTF. CTF was later adopted in the early 2010s by Oak Ridge National Laboratory (ORNL) for use in the Consortium for Advanced Simulation of Light Water Reactors (CASL) program, which led to a significant advancement of the code’s software quality, modeling accuracy, testing systems, and capabilities for improved support in modeling common LWR nominal and transient behavior. As part of the improvement process, it was necessary to generate sufficient documentation for the public domain code which had lacked such material upon being adopted by RDFMG. This document serves as a theory manual for CTF, detailing the many two-phase heat transfer, drag, and important accident scenario models contained in the code, as well as the numerical solution process utilized. Additional documents available in the CTF documentation suite include the user manual and the verification and validation manual.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Efficient end-to-end simulation of time-dependent coherent X-ray scattering experiments

Physical optics simulations for beamlines and experiments allow users to test experiment feasibility and optimize beamline settings ahead of beam time in order to optimize valuable beam time at synchrotron light sources like NSLS-II. Further, such simulations also help to develop and test experimental data processing methods and software in advance. The Synchrotron Radiation Workshop ( SRW ) software package supports such complex simulations. We demonstrate how recent developments in SRW significantly improve the efficiency of physical optics simulations, such as end-to-end simulations of time-dependent X-ray photon correlation spectroscopy experiments with partially coherent undulator radiation (UR). The molecular dynamics simulation code LAMMPS was chosen to model the sample: a solution of silica nanoparticles in water at room temperature. Real-space distributions of nanoparticles produced by LAMMPS were imported into SRW and used to simulate scattering patterns of partially coherent hard X-ray UR from such a sample at the detector. The partially coherent UR illuminating the sample can be represented by a set of orthogonal coherent modes obtained by simulation of emission and propagation of this radiation through the coherent hard X-ray (CHX) scattering beamline followed by a coherent-mode decomposition. GPU acceleration is added for several key functions of SRW used in propagation from sample to detector, further improving the speed of the calculations. The accuracy of this simulation is benchmarked by comparison with experimental data.

36 MATERIALS SCIENCE↗

Enabling parallel simulation of large-scale HPC network systems

Here, with the increasing complexity of today’s high-performance computing (HPC) architectures, simulation has become an indispensable tool for exploring the design space of HPC systems—in particular, networks. In order to make effective design decisions, simulations of these systems must possess the following properties: (1) have high accuracy and fidelity, (2) produce results in a timely manner, and (3) be able to analyze a broad range of network workloads. Most state-of-the-art HPC network simulation frameworks, however, are constrained in one or more of these areas. In this work, we present a simulation framework for modeling two important classes of networks used in today’s IBM and Cray supercomputers: torus and dragonfly networks. We use the Co-Design of Multi-layer Exascale Storage Architecture (CODES) simulation framework to simulate these network topologies at a flit-level detail using the Rensselaer Optimistic Simulation System (ROSS) for parallel discrete-event simulation. Our simulation framework meets all the requirements of a practical network simulation and can assist network designers in design space exploration. First, it uses validated and detailed flit-level network models to provide an accurate and high-fidelity network simulation. Second, instead of relying on serial time-stepped or traditional conservative discrete-event simulations that limit simulation scalability and efficiency, we use the optimistic event-scheduling capability of ROSS to achieve efficient and scalable HPC network simulations on today’s high-performance cluster systems. Third, our models give network designers a choice in simulating a broad range of network workloads, including HPC application workloads using detailed network traces, an ability that is rarely offered in parallel with high-fidelity network simulations

97 MATHEMATICS AND COMPUTING↗

Scoreboard

Emerging HPC machines have given rise to enhanced compute power that far outstrips the machine's ability to save large scale results for post-processing. To combat this, in situ data analysis techniques are slowly being adopted. With in situ data management favoring workflows composed of multiple simulations and analyses connected in transit on heterogeneous machines, scientists and engineers need a tool that enables them to create data extracts, visualizations, and interactively monitor and steer their simulations. Scoreboard Phase II is a next generation analysis software that supports composite in transit workflows on heterogeneous architectures and restores interactivity to in situ data analysis through simulation monitoring and computational steering. Scoreboard provides a simulation dashboard with graphs of metrics over time, controls for setting custom simulation steering parameters, controls for managing the set of data extracts being produced in the simulation, as well as the ability to explore data extracts, all from a web browser. Realizing the vision outlined in this project required research into making a system that integrates end to end from simulations all the way to the user. In situ tools generally suffer from complexity and excessive software dependencies. Scoreboard, by contrast, is easy to build and integrate into simulation codes and it provides first class FORTRAN support. The Scoreboard library is capable of in situ and in transit data analysis that can produce data extracts commonly needed for Computational Fluid Dynamics (CFD) analysis. Simulations can transparently stage data in transit to a Scoreboard Endpoint program, which can accept their data and produce the requested data extracts. This lets simulations return to their work while the Endpoint works on the analysis. Efficiently staging the data at scale was a topic of this research. Scoreboard provides the means to let the user manage data extracts and monitor/steer many simulations from a web browser. This area of the research focused on discovery of in transit network components to expose and control their steering parameters within an interactive browser-based user interface that includes: system topology, gathered metrics, notifications, dynamically-generated steering controls, and exploration of visualization data products.

Whitlock, BradJoseph [Intelligent Light] (00000001↗

A new ensemble-based consistency test for the Community Earth System Model (pyCECT v1.0)

Abstract. Climate simulation codes, such as the Community Earth System Model (CESM), are especially complex and continually evolving. Their ongoing state of development requires frequent software verification in the form of quality assurance to both preserve the quality of the code and instill model confidence. To formalize and simplify this previously subjective and computationally expensive aspect of the verification process, we have developed a new tool for evaluating climate consistency. Because an ensemble of simulations allows us to gauge the natural variability of the model's climate, our new tool uses an ensemble approach for consistency testing. In particular, an ensemble of CESM climate runs is created, from which we obtain a statistical distribution that can be used to determine whether a new climate run is statistically distinguishable from the original ensemble. The CESM ensemble consistency test, referred to as CESM-ECT, is objective in nature and accessible to CESM developers and users. The tool has proven its utility in detecting errors in software and hardware environments and providing rapid feedback to model developers.

58 GEOSCIENCES↗

An optimization method of relativistic backward wave oscillator using particle simulation and genetic algorithms

Optimal design method of high-power microwave source using particle simulation and parallel genetic algorithms is presented in this paper. The output power, simulated by the fully electromagnetic particle simulation code UNIPIC, of the high-power microwave device is given as the fitness function, and the float-encoding genetic algorithms are used to optimize the high-power microwave devices. Using this method, we encode the heights of non-uniform slow wave structure in the relativistic backward wave oscillators (RBWO), and optimize the parameters on massively parallel processors. Simulation results demonstrate that we can obtain the optimal parameters of non-uniform slow wave structure in the RBWO, and the output microwave power enhances 52.6% after the device is optimized.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Experimental study of a low radio frequency power driven relativistic klystron amplifier

Using particle in cell simulation codes, a low radio frequency (rf) power driven relativistic klystron amplifier is designed according to the beam with current of 7.5 kA and voltage of 750 kV with special measures to avoid the mode competition. Simulated power reaches 1.7 GW when the driven rf power is 7.0 kW, the corresponding gain is 53.9 dB. Also the experiment is carried out on a telsa-typed accelerator, whose beam is with current of 8 kA and voltage of 800 kV. The measured rf output power reaches 2.04 GW in the experiment when the input rf power is 62 kW and frequency 2.850 GHz, the corresponding gain is 45.1 dB and efficiency is 32%. The maximum gain reaches 46.7 dB when the input decreases to 39 kW, the corresponding output rf power is 1.84 GW.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Consideration of a ultracold neutron source in two-dimensional cylindrical geometry by taking simulated boundaries

A new idea to calculate ultracold neutron (UCN) production by using Monte Carlo simulation method to calculate the cold neutron (CN) flux and an analytical approach to calculate the UCN production from the simulated CN flux was given. A super-thermal source (UCN source) was modeled based on an arrangement of D{sub 2}O and solid D{sub 2} (sD{sub 2}). The D{sub 2}O was investigated as the neutron moderator, and sD{sub 2} as the converter. In order to determine the required parameters, a two-dimensional (2D) neutron balance equation written in Matlab was combined with the MCNPX simulation code. The 2D neutron-transport equation in cylindrical (ρ − z) geometry was considered for 330 neutron energy groups in the sD{sub 2}. The 2D balance equation for UCN and CN was solved using simulated CN flux as boundary value. The UCN source dimensions were calculated for the development of the next UCN source. In the optimal condition, the UCN flux and the UCN production rate (averaged over the sD{sub 2} volume) equal to 6.79 × 10{sup 6} cm{sup −2}s{sup −1} and 2.20 ×10{sup 5} cm{sup −3}s{sup −1}, respectively.

36 MATERIALS SCIENCE↗

Study on space charge compensation in negative hydrogen ion beam

Negative hydrogen ion beam can be compensated by the trapping of ions into the beam potential. When the beam propagates through a neutral gas, these ions arise due to gas ionization by the beam ions. However, the high neutral gas pressure may cause serious negative hydrogen ion beam loss, while low neutral gas pressure may lead to ion-ion instability and decompensation. To better understand the space charge compensation processes within a negative hydrogen beam, experimental study and numerical simulation were carried out at Peking University (PKU). The simulation code for negative hydrogen ion beam is improved from a 2D particle-in-cell-Monte Carlo collision code which has been successfully applied to H{sup +} beam compensated with Ar gas. Impacts among ions, electrons, and neutral gases in negative hydrogen beam compensation processes are carefully treated. The results of the beam simulations were compared with current and emittance measurements of an H{sup −} beam from a 2.45 GHz microwave driven H{sup −} ion source in PKU. Compensation gas was injected directly into the beam transport region to modify the space charge compensation degree. The experimental results were in good agreement with the simulation results.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Designing a validation experiment for radio frequency condensation

Abstract Theoretical studies have suggested that nonlinear effects can lead to ‘radio frequency (RF) condensation’, where an initially broad current profile can coalesce in islands when they reach sufficient width. In suitable conditions, RF condensation can ‘self-focus’ the driven current to the center of an island, improving stabilization efficiency and reducing control complexity. In unsuitable conditions, the effect can prematurely deplete the RF energy before it reaches the island center, impairing stabilization. It is predicted that the RF condensation effect can significantly impact reactor-scale tokamaks. This paper presents a set of simulations investigating the conditions under which RF condensation might be encountered in present-day tokamaks. For concreteness, the calculations use equilibrium reconstructions for two shots from DIII-D and AUG. The Current Condensation Amid Magnetic Islands (OCCAMI) simulation code has been used for this investigation. The code takes as its input a numerically specified axisymmetric EFIT equilibrium solution, and it perturbatively constructs a 3D field with an island embedded at the appropriate rational surface. In the OCCAMI code, the GENRAY code is used for ray tracing and for calculating the power deposition along a ray trajectory, and GENRAY is coupled self-consistently to a solution of the thermal diffusion equation in the island. The simulation results described in the paper illuminate the conditions required for experimental validation of the theory of RF condensation. The simulations also provide an explanation of why the effect was not noticed in experiments prior to the publication of theoretical papers on the subject.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

LDRD final report on confinement of cluster fusion plasmas with magnetic fields.

Two versions of a current driver for single-turn, single-use 1-cm diameter magnetic field coils have been built and tested at the Sandia National Laboratories for use with cluster fusion experiments at the University of Texas in Austin. These coils are used to provide axial magnetic fields to slow radial loss of electrons from laser-produced deuterium plasmas. Typical peak field strength achievable for the two-capacitor system is 50 T, and 200 T for the ten-capacitor system. Current rise time for both systems is about 1.7 {mu}s, with peak current of 500 kA and 2 MA, respectively. Because the coil must be brought to the laser, the driver needs to be portable and drive currents in vacuum. The drivers are complete but laser-plasma experiments are still in progress. Therefore, in this report, we focus on system design, initial tests, and performance characteristics of the two-capacitor and ten-capacitors systems. The questions of whether a 200 T magnetic field can retard the breakup of a cluster-fusion plasma, and whether this field can enhance neutron production have not yet been answered. However, tools have been developed that will enable producing the magnetic fields needed to answer these questions. These are a two-capacitor, 400-kA system that was delivered to the University of Texas in 2010, and a 2-MA ten-capacitor system delivered this year. The first system allowed initial testing, and the second system will be able to produce the 200 T magnetic fields needed for cluster fusion experiments with a petawatt laser. The prototype 400-kA magnetic field driver system was designed and built to test the design concept for the system, and to verify that a portable driver system could be built that delivers current to a magnetic field coil in vacuum. This system was built copying a design from a fixed-facility, high-field machine at LANL, but made to be portable and to use a Z-machine-like vacuum insulator and vacuum transmission line. This system was sent to the University of Texas in Austin where magnetic fields up to 50 T have been produced in vacuum. Peak charge voltage and current for this system have been 100 kV and 490 kA. It was used this last year to verify injection of deuterium and surrogate clusters into these small, single-turn coils without shorting the coil. Initial test confirmed the need to insulate the inner surface of the coil, which requires that the clusters must be injected through small holes in an insulator. Tests with a low power laser confirmed that it is possible to inject clusters into the magnetic field coils through these holes without destroying the clusters. The university team also learned the necessity of maintaining good vacuum to avoid insulator, transmission line, and coil shorting. A 200-T, 2 MA system was also constructed using the experience from the first design to make the pulsed-power system more robust. This machine is a copy of the prototype design, but with ten 100-kV capacitors versus the two used in the prototype. It has additional inductance in the switch/capacitor unit to avoid breakdown seen in the prototype design. It also has slightly more inductance at the cable connection to the vacuum chamber. With this design we have been able to demonstrate 1 MA current into a 1 cm diameter coil with the vacuum chamber at air pressure. Circuit code simulations, including the additional inductance with the new design, agree well with the measured current at a charge voltage of 40 kV with a short circuit load, and at 50 kV with a coil. The code also predicts that with a charge voltage of 97 kV we will be able to get 2 MA into a 1 cm diameter coil, which will be sufficient for 200 T fields. Smaller diameter or multiple-turn coils will be able to achieve even higher fields, or be able to achieve 200-T fields with lower charge voltage. Work is now proceeding at the university under separate funding to verify operation at the 2-MA level, and to address issues of debris mitigation, measurement of the magnetic field, and operation in vacuum. We anticipate operation at full current with single-turn, magnetic field coils this fall, with 200 T experiments on the Texas Petawatt laser in the spring of 2012.

24 POWER TRANSMISSION AND DISTRIBUTION↗

TOUGH+HYDRATE v1.2 User's Manual: A Code for the Simulation of System Behavior in Hydrate-Bearing Geologic Media

TOUGH+HYDRATE v1.2 is a code for the simulation of the behavior of hydratebearing geologic systems, and represents the second update of the code since its first release [Moridis et al., 2008]. By solving the coupled equations of mass and heat balance, TOUGH+HYDRATE can model the non-isothermal gas release, phase behavior and flow of fluids and heat under conditions typical of common natural CH4-hydrate deposits (i.e., in the permafrost and in deep ocean sediments) in complex geological media at any scale (from laboratory to reservoir) at which Darcy’s law is valid. TOUGH+HYDRATE v1.2 includes both an equilibrium and a kinetic model of hydrate formation and dissociation. The model accounts for heat and up to four mass components, i.e., water, CH4, hydrate, and water-soluble inhibitors such as salts or alcohols. These are partitioned among four possible phases (gas phase, liquid phase, ice phase and hydrate phase). Hydrate dissociation or formation, phase changes and the corresponding thermal effects are fully described, as are the effects of inhibitors. The model can describe all possible hydrate dissociation mechanisms, i.e., depressurization, thermal stimulation, salting-out effects and inhibitor-induced effects. TOUGH+HYDRATE is a member of TOUGH+, the successor to the TOUGH2 [Pruess et al., 1991] family of codes for multi-component, multiphase fluid and heat flow developed at the Lawrence Berkeley National Laboratory. It is written in standard FORTRAN 95/2003, and can be run on any computational platform (workstation, PC, Macintosh) for which such compilers are available.

54 ENVIRONMENTAL SCIENCES↗