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 325 records · Page 18

Beam-dynamics codes used at DARHT

Several beam simulation codes are used to help gain a better understanding of beam dynamics in the DARHT LIAs. The most notable of these fall into the following categories: for beam production – Tricomp Trak orbit tracking code, LSP Particle in cell (PIC) code, for beam transport and acceleration – XTR static envelope and centroid code, LAMDA time-resolved envelope and centroid code, LSP-Slice PIC code, for coasting-beam transport to target – LAMDA time-resolved envelope code, LSP-Slice PIC code. These codes are also being used to inform the design of Scorpius.

43 PARTICLE ACCELERATORS↗

Numerical Analyses of Energetic Particles in LHD

The confinement of energetic ions generated by neutral beam injection (NBI) and ion cyclotron resonance frequency heating is studied using GNET simulation code, in which the drift kinetic equation is solved in five-dimensional phase-space. The steady-state distributions of the energetic ions are obtained, and characteristics of the energetic-ion distribution depending on the plasma heating method are shown. The magnetic configuration effect on the energetic-ion confinement is also investigated, and it is found that the energetic-ion confinement is improved by a strong inward shift of the magnetic axis position in the major radius direction. The interaction between energetic particles and Alfven eigenmodes are investigated using the MEGA code and the AE3D code. A reduced version of the MEGA code has been developed to simulate the Alfven eigenmode (AE) evolution in the Large Helical Device (LHD) plasma with NBI and collisions taken into account. The spatial profile and frequency of the AE modes in the LHD plasma are analyzed with the AE3D code. The evolution of energetic particles and AE mode amplitude and phase are followed in a self-consistent way, while the AE spatial profiles are assumed to be constant. It is demonstrated that the AE bursts can be simulated with the new code.

74 ATOMIC AND MOLECULAR PHYSICS↗

Gas Gun Model and Comparison to Experimental Performance of Pipe Guns Operating with Light Propellant Gases and Large Cryogenic Pellets

Injection of multiple large (~10 to 30 mm diameter) shattered pellets into ITER plasmas is presently part of the scheme planned to mitigate the deleterious effects of disruptions on the vessel components. To help in the design and optimize performance of the pellet injectors for this application, a model referred to as “the gas gun simulator” has been developed and benchmarked against experimental data. The computer code simulator is a Java program that models the gas-dynamics characteristics of a single-stage gas gun. Following a stepwise approach, the code utilizes a variety of input parameters to incrementally simulate and analyze the dynamics of the gun as the projectile is launched down the barrel. Using input data, the model can calculate gun performance based on physical characteristics, such as propellant-gas and fast-valve properties, barrel geometry, and pellet mass. Although the model is fundamentally generic, the present version is configured to accommodate cryogenic pellets composed of H2, D2, Ne, Ar, and mixtures of them and light propellant gases (H2, D2, and He). The pellets are solidified in situ in pipe guns that consist of stainless steel tubes and fast-acting valves that provide the propellant gas for pellet acceleration (to speeds ~200 to 700 m/s). The pellet speed is the key parameter in determining the response time of a shattered pellet system to a plasma disruption event. The calculated speeds from the code simulations of experiments were typically in excellent agreement with the measured values. With the gas gun simulator validated for many test shots and over a wide range of physical and operating parameters, it is a valuable tool for optimization of the injector design, including the fast valve design (orifice size and volume) for any operating pressure (~40 bar expected for the ITER application) and barrel length for any pellet size (mass, diameter, and length). Key design parameters and proposed values for the pellet injectors for the ITER disruption mitigation systems are discussed.

Combs, S. K.↗

THE PYTHON SHELL FOR THE ORBIT CODE

A development of a Python driver shell for the ORBIT simulation code is presented. The original ORBIT code uses the SuperCode shell to organize accelerator-related simulations. It is outdated, unsupported, and it is an obstacle to future code development. The necessity and consequences of replacing the old shell language are discussed. A set of core modules and extensions that are currently in PyORBIT are presented. They include particle containers, parsers for MAD and SAD lattice files, a Python wrapper for MPI libraries, space charge calculators, TEAPOT trackers, and a laser stripping extension module.

99 GENERAL AND MISCELLANEOUS↗

Efficient Modeling of Laser-Plasma Accelerators with INF and RNO

The numerical modeling code INF and RNO (INtegrated Fluid and paRticle simulatioN cOde, pronounced 'inferno') is presented. INF and RNO is an efficient 2D cylindrical code to model the interaction of a short laser pulse with an underdense plasma. The code is based on an envelope model for the laser while either a PIC or a fluid description can be used for the plasma. The effect of the laser pulse on the plasma is modeled with the time-averaged poderomotive force. These and other features allow for a speedup of 2-4 orders of magnitude compared to standard full PIC simulations while still retaining physical fidelity. The code has been benchmarked against analytical solutions and 3D PIC simulations and here a set of validation tests together with a discussion of the performances are presented.

43 PARTICLE ACCELERATORS↗

Analysis of Time Dependent Data and PRA

In the past decades, several numerical simulation codes have been employed to simulate accident dynamics (e.g., RELAP5-3D, MELCOR, MAAP). In order to evaluate the impact of uncertainties into accident dynamics, several stochastic methodologies have been coupled with these codes. These stochastic methods range from classical Monte-Carlo and Latin Hypercube sampling to stochastic polynomial methods. Similar approaches have been introduced into the risk and safety community where stochastic methods (such as RAVEN, ADAPT, MCDET, ADS) have been coupled with safety analysis codes in order to evaluate the safety impact of timing and sequencing of events. These approaches are usually called Dynamic PRA or simulation-based PRA methods. These uncertainties and safety methods usually generate a large number of simulation runs (database storage may be on the order of gigabytes or higher). The scope of this paper is to present a broad overview of methods and algorithms that can be used to analyze and extract information from large data sets containing time dependent data. In this context, 'extracting information' means constructing input-output correlations, finding commonalities, and identifying outliers. Some of the algorithms presented here have been developed or are under development within the RAVEN statistical framework. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Data Analysis Approaches for the Risk-Informed Safety Margins Characterization Toolkit

In the past decades, several numerical simulation codes have been employed to simulate accident dynamics (e.g., RELAP5-3D, RELAP-7, MELCOR, MAAP). In order to evaluate the impact of uncertainties into accident dynamics, several stochastic methodologies have been coupled with these codes. These stochastic methods range from classical Monte-Carlo and Latin Hypercube sampling to stochastic polynomial methods. Similar approaches have been introduced into the risk and safety community where stochastic methods (such as RAVEN, ADAPT, MCDET, ADS) have been coupled with safety analysis codes in order to evaluate the safety impact of timing and sequencing of events. These approaches are usually called Dynamic PRA or simulation-based PRA methods. These uncertainties and safety methods usually generate a large number of simulation runs (database storage may be on the order of gigabytes or higher). The scope of this paper is to present a broad overview of methods and algorithms that can be used to analyze and extract information from large data sets containing time dependent data. In this context, “extracting information” means constructing input-output correlations, finding commonalities, and identifying outliers. Some of the algorithms presented here have been developed or are under development within the RAVEN statistical framework.

97 MATHEMATICS AND COMPUTING↗

ELECTRON TRAPPING IN WIGGLER AND QUADRUPOLE MAGNETS OF CESRTA

The Cornell Electron Storage Ring (CESR) has been reconfigured as an ultra low emittance damping ring for use as a test accelerator (CesrTA) for International Linear Collider (ILC) damping ring R&D [1]. One of the primary goals of the CesrTA program is to investigate the interaction of the electron cloud with low emittance positron beam to explore methods to suppress the electron cloud, develop suitable advanced instrumentation required for these experimental studies and benchmark predictions by simulation codes. This paper reports the simulation of the electron-cloud formation in the wiggler and quadrupole magnets using the 3D code CLOUDLAND. We found that electrons can be trapped with long lifetime in a quadrupole magnet due to the mirror field trapping mechanism and photoelectrons produced in the wiggler zero field zone have long lifetime due to their complicated trajectory.

43 PARTICLE ACCELERATORS↗

Efficient Modeling of Laser-Plasma Accelerators with INF&RNO

The numerical modeling code INF&RNO (INtegrated Fluid& paRticle simulatioN cOde, pronounced"inferno") is presented. INF&RNO is an efficient 2D cylindrical code to model the interaction of a short laser pulse with an underdense plasma. The code is based on an envelope model for the laser while either a PIC or a fluid description can be used for the plasma. The effect of the laser pulse on the plasma is modeled with the time-averaged poderomotive force. These and other features allow for a speedup of 2-4 orders of magnitude compared to standard full PIC simulations while still retaining physical fidelity. The code has been benchmarked against analytical solutions and 3D PIC simulations and here a set of validation tests together with a discussion of the performances are presented.

43 PARTICLE ACCELERATORS↗

Testing the Activation Analysis for Fusion in OpenMC

OpenMC is a community-developed Monte Carlo neutron and photon transport simulation code. It can perform fission simulations such as fixed-source, k-eigenvalue, and subcritical multiplication calculations on models built using either a constructive solid geometry or CAD representation. To explore the use of OpenMC for fusion activation analysis, a detailed model of the Fusion Neutronics Science Facility (FNSF) was first developed for comparisons against an existing SERPENT model. A 90-degree model of FNSF in Standard-Triangle-Language (STL) CAD format was converted to Constructive Solid Geometry (CSG) using each code's built-in functions, and the geometries were validated by ensuring no cells overlapped and no particles were lost during simulations. The neutron fluxes were calculated and compared for multiple components close to the plasma. The results show differences mostly below 1% in fluxes and averaged 8% for activity and decay heat. Here, the work described in this study tests the CAD-based geometry using the DagMC toolkit in OpenMC and compares the activation analysis of OpenMC to SERPENT code.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Assessment of a hybrid finite element and finite volume code for turbulent incompressible flows

Hydra-TH is a hybrid finite-element/finite-volume incompressible/low-Mach flow simulation code based on the Hydra multiphysics toolkit being developed and used for thermal-hydraulics applications. In the present work, a suite of verification and validation (V&V) test problems for Hydra-TH was defined to meet the design requirements of the Consortium for Advanced Simulation of Light Water Reactors (CASL). The intent for this test problem suite is to provide baseline comparison data that demonstrates the performance of the Hydra-TH solution methods. The simulation problems vary in complexity from laminar to turbulent flows. A set of RANS and LES turbulence models were used in the simulation of four classical test problems. Numerical results obtained by Hydra-TH agreed well with either the available analytical solution or experimental data, indicating the verified and validated implementation of these turbulence models in Hydra-TH. Where possible, some form of solution verification has been attempted to identify sensitivities in the solution methods, and suggest best practices when using the Hydra-TH code. -- Highlights: •We performed a comprehensive study to verify and validate the turbulence models in Hydra-TH. •Hydra-TH delivers 2nd-order grid convergence for the incompressible Navier–Stokes equations. •Hydra-TH can accurately simulate the laminar boundary layers. •Hydra-TH can accurately simulate the turbulent boundary layers with RANS turbulence models. •Hydra-TH delivers high-fidelity LES capability for simulating turbulent flows in confined space.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Trapping of Electron Cloud LLC/Cesrta Quadrupole and Sextupole Magnets

The Cornell Electron Storage Ring (CESR) has been reconfigured as an ultra low emittance damping ring for use as a test accelerator (CesrTA) for International Linear Collider (ILC) damping ring R&D [1]. One of the primary goals of the CesrTA program is to investigate the interaction of the electron cloud with low emittance positron beam to explore methods to suppress the electron cloud, develop suitable advanced instrumentation required for these experimental studies and benchmark predictions by simulation codes. This paper reports the simulation of the electron-cloud formation in CESRTA and ILC quadrupole and sextupole magnets using the 3D code CLOUDLAND. We found that electrons can be trapped with a long lifetime in a quadrupole and sextupole magnet due to the mirror field trapping mechanism. We study the effects of magnet strength, bunch current, ante-chamber effect, bunch spacing effect and secondary emission yield (SEY) in great detail. The development of an electron cloud in magnets is the main concern where a weak solenoid field is not effective. Quadrupole and sextupole magnets have mirror field configurations which may trap electrons by the mirror field trapping mechanism [2]. Fig.1 shows the orbit of a trapped electron in a quadrupole magnet. The electron makes gyration motion (called transverse motion) and also moves along the field line (called longitudinal motion). At the mirror point (middle of the field line), there is a maximum longitudinal energy and minimum transverse energy. When the electron moves away from the mirror point, its longitudinal energy reduces and the transverse energy increases as the magnetic field increases. If the magnetic field is strong enough, the longitudinal energy becomes zero at one point and then the electron is turned back by the strong field. Note that the electrons are trapped in the region near the middle of the field lines. Although all quadrupole and sextupole magnets can trap electrons in principle, the trapping mechanism is also greatly sensitive to the detail dynamics of the electrons [3]. Both the positron beam and the spacing charge force of electron cloud itself play important roles. This paper reports the simulation of electron cloud in CESRTA/ILC quadrupole and sextupole magnets. Table 1 shows the main parameters used in the simulation.

43 PARTICLE ACCELERATORS↗

Electric Grid Simulator For Human Factor Research

The developed code simulates real-time monitor and control for west area of IEEE 118-bus system. The 24-hour load profile for each bus is derived by scaling the system’s rated load in the PSSE sav file according to the California Independent System Operator’s Day-ahead load forecast for May 1, 2024. This simulator performs several critical functions: (1) Calculating time-series power flow every 4 seconds; (2) Updating and dispatching AGC signals every minute; (3) Conducting N-1 contingency analysis every 5 minutes. Additionally, the simulator can trip lines and subsequently update and dispatch AGC signals, running power flow analysis after each tripping event.

Huang, Jianqiao [Idaho National Laboratory (INL), ↗

Full wave effects on the lower hybrid wave spectrum and driven current profile in tokamak plasmas

A numerical modeling of current profile modification by lower hybrid current drive (LHCD) using a fullwave/Fokker-Planck simulation code is presented. A MHD stable LHCD discharge on Alcator C-Mod was analyzed, and the current profile from full wave simulations was found to show better agreement with the experiment than a ray-tracing code. Comparison of full wave and ray-tracing simulation shows that, although ray-tracing can reproduce the stochastic wave spectrum broadening, the full wave calculation predicts even wider spectrum broadening, and the wave spectrum fills all of the kinematically allowed domain. This is the first demonstration of LHCD current profile modeling using a full wave simulation code in a multi-pass absorption regime, showing the clear impact of full wave effects on the LHCD driven current profile.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Simulation and Emulation of X-Ray Diffraction from Dynamic Compression Experiments

Many important aspects of the dynamic thermo-mechanical response of materials occur at the mesoscale, i.e. a physical scale of interactions smaller than what can be adequately described by homogenous behaviors, yet larger than the scale of the atomic lattice. Concurrent advancements in computational power, continuum theory, and experimental diagnostics are enabling unprecedented understanding of such interactions. However, we cannot develop a sufficient level of confidence in such mesoscale capability until the constitutive description of the underlying constituents is reliably representative of their actual physical behavior. Therefore, there is a strong need to combine experimental, modeling, and data-science techniques to validate models of the thermomechanical response of individual single crystals. One experimental diagnostic with high potential impact to shock physics and materials science is in-situ x-ray diffraction. This paper is primarily focused on simulation of x-ray diffraction in shock physics, but with an aim toward quantifying parametric uncertainty of simulation models. Here, we develop and demonstrate a data-science and model-driven approach to constrain the parameterization of continuum models of crystal lattice deformation associated with the shock response of crystalline materials. The framework is built around the connection between continuum hydrodynamic simulations of lattice deformation and a new Bragg diffraction simulation code, BarberShop. The dynamic deformation of a crystal lattice is modeled using the DiscoFlux model within an arbitrary Lagrangian-Eulerian hydrodynamic code, FLAG. These detailed continuum simulations of lattice deformation can be computationally slow, thus a statistical model is used to emulate the evolution of lattice deformation fields in time and across the considered model parameter space. Emulated lattice deformation fields can then be generated rapidly for any combination of physics model parameters. In turn, these fields can be fed into BarberShop to realize a rapid prediction of Bragg diffraction patterns associated with particular values of physics model parameters. The framework enables parameterization of the single crystal model to obtain Bragg diffraction patterns that most closely resemble a corresponding measurement. Furthermore, the framework naturally provides sensitivities of the lattice deformation to the physics parameters. We highlight the utility of this framework through the application to a synthetic closed-loop inverse problem leading to the parameterization of a single crystal material model. As a model problem, we consider the dynamic response of the energetic molecular crystal, cyclotrimethylenetrinitramine (or RDX), under dynamic compression induced by simulated flyer plate impact experiments.

36 MATERIALS SCIENCE↗