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 1,351 records · Page 75

Parallel and Highly Innovative Simulation for INL Code System

The software is capable of performing: - Solution of neutron transport equations 1) using second order spherical harmonics and hybrid finite element or 2) using discrete ordinate and continuous finite element approach (INSTANT module) - Solve Bateman equation for an arbitrary number of isotopes (MRTAU module) - Solve time dependent transport equation using the INSTANT solver for the pseudo steady state equation - Provide power feedback to the RELAP5-3D code for nuclear reactor transient analysis - Provide cross section manipulation capability (interpolation, extraction, micro to macro)

Rabiti, Cristian↗

Smoothed Particle Hydrodynamic Simulator

This code is a highly modular framework for developing smoothed particle hydrodynamic (SPH) simulations running on parallel platforms. The compartmentalization of the code allows for rapid development of new SPH applications and modifications of existing algorithms. The compartmentalization also allows changes in one part of the code used by many applications to instantly be made available to all applications.

Source record↗

SU-E-T-254: Optimization of GATE and PHITS Monte Carlo Code Parameters for Uniform Scanning Proton Beam Based On Simulation with FLUKA General-Purpose Code

Purpose: Monte Carlo codes are becoming important tools for proton beam dosimetry. However, the relationships between the customizing parameters and percentage depth dose (PDD) of GATE and PHITS codes have not been reported which are studied for PDD and proton range compared to the FLUKA code and the experimental data. Methods: The beam delivery system of the Indiana University Health Proton Therapy Center was modeled for the uniform scanning beam in FLUKA and transferred identically into GATE and PHITS. This computational model was built from the blue print and validated with the commissioning data. Three parameters evaluated are the maximum step size, cut off energy and physical and transport model. The dependence of the PDDs on the customizing parameters was compared with the published results of previous studies. Results: The optimal parameters for the simulation of the whole beam delivery system were defined by referring to the calculation results obtained with each parameter. Although the PDDs from FLUKA and the experimental data show a good agreement, those of GATE and PHITS obtained with our optimal parameters show a minor discrepancy. The measured proton range R90 was 269.37 mm, compared to the calculated range of 269.63 mm, 268.96 mm, and 270.85 mm with FLUKA, GATE and PHITS, respectively. Conclusion: We evaluated the dependence of the results for PDDs obtained with GATE and PHITS Monte Carlo generalpurpose codes on the customizing parameters by using the whole computational model of the treatment nozzle. The optimal parameters for the simulation were then defined by referring to the calculation results. The physical model, particle transport mechanics and the different geometrybased descriptions need accurate customization in three simulation codes to agree with experimental data for artifact-free Monte Carlo simulation. This study was supported by Grants-in Aid for Cancer Research (H22-3rd Term Cancer Control-General-043) from the Ministry of Health, Labor and Welfare of Japan, Grants-in-Aid for Scientific Research (No. 23791419), and JSPS Core-to-Core program (No. 23003). The authors have no conflict of interest.

60 APPLIED LIFE SCIENCES↗

Multiple Component Multiple Data Programming in Subsurface Simulations: The CCA Approach

The dynamic nature and the encapsulation provided by the component approach maps quite naturally to the concepts of multiple-program multiple-data (MPMD) programming. In this paper, we will introduce a new programming model called multiple component multiple data (MCMD). The MCMD model provides a high-level infrastructure in the common component architecture (CCA) environment to exploit hardware parallelism in emerging petascale and exascale systems. We demonstrate the effectiveness of CCA MCMD programming in context of subsurface simulations to express and manage many-task parallelism. Our target application is STOMP, a large scale (~800K lines of code) subsurface simulation code. The performance results for a 3D saturated flow problem with the STOMP CCA framework show that the MCMD programming model is very effective to achieve scalability on thousands of processors with high efficiency. For example, to simulate the saturated flow problem containing ~1.2 million nodes on 2048 processors, the CCA MCMD version of STOMP is an order of magnitude faster than the original parallel version of STOMP.

99 GENERAL AND MISCELLANEOUS↗

Analysis of HolosGen Sub-Scale Simulator with Plant Dynamics Code

The Subcritical Power Module Sub-scale Simulator (SPM-SS) has been designed and constructed by HolosGen LLC under the ARPA-E MEITNER program to simulate the thermal-hydraulic and heat transfer behavior of the full-scale Holos-Quad Subcritical Power Modules (SPMs). Four coupled SPMs, each rated at 5.5MW, form the Holos-Quad gas-cooled microreactor design. The SPM-SS represents a substantially scaled-down system with a power rating less than 40 kW, equipped with an electrically heated fuel cartridge heat exchanger, an electrically heated compressor heat exchanger, and a valve actuated turbine heat exchanger, in addition to a recuperator and a cooler heat exchanger. The fuel cartridge represents a portion of the full-scale SPM core, the compressor heat exchanger mimics the temperature changes resulting from the compressor’s turbomachinery inefficiencies, the turbine heat exchanger mimics the expansion process normally occurring through the turbine, while the recuperator and cooler heat exchangers complete the subscale simulator loop. The heaters equipping the fuel cartridge and the compressor heat exchangers are electronically controlled to simulate normal and off-normal SPM operating conditions. The full-scale Holos-Quad SPM design eliminates the traditional balance of plant and executes thermal-to-electric energy conversion by means of an intercooled Brayton cycle with decoupled compressor-turbine turbomachinery. The Holos-Quad full-scale design is equipped with a multi-stage axial Low- and High-Pressure compressor, and a multistage axial turbine. The SPM-SS is designed for testing and validation of selected components which are instead coupled by a traditional balance of plant. The SPMSS is not equipped with turbo-machinery (compressor and turbine) as the development of these components were excluded from the scope of work under the ARPA-E MEITNER funding program. The SPM-SS balance of plant enables modifications, replacement and testing of individual components with different working fluids and is designed to include the turbo-machinery components that will be developed in future research . The SPM-SS can be operated with different gases, variable mass-flow-rates, pressures, and temperatures to obtain test data for selected components, whose performance can be scaled to validate the computer model of the full-scale SPM at various conditions (e.g., start-up, transients conditions). The SPM-SS can operate at the maximum Holos-Quad design pressure of 7 MPa, and a maximum temperature limited to 650 °C by the electrical heaters. Several SPM-SS tests have been conducted and analyzed with the Plant Dynamics Code (PDC) developed at the Argonne National Laboratory (ANL). These tests aimed at validating the PDC modeled predictions of the full-scale Holos-Quad design with data from selected SPM-SS components. In order to address SPM-SS specific characteristics, such as components heat losses and absence of turbomachinery components, some modifications to the PDC have been implemented to factor the design differences from the full-scale Holos-Quad SPM to the SPM-SS. As the PDC offers capabilities to analyze systems with different working fluids, air, nitrogen, and helium were utilized as the SPM-SS working fluids. Air was utilized to fine-tune the SPM-SS Systems Structures and Components (SSCs), nitrogen was utilized to pressure test the SPM-SS loop at the SPMs design maximum pressure of 7MPa. Helium was utilized as the working fluid circulating through the SPM-SS SSCs for specific tests to validate the PDC predictions of the fuel cartridge heat exchanger. SPM-SS tests data were also analyzed with both the steady-state and transient analysis capabilities offered by the PDC. This report describes the PDC analysis of the SPM-SS tests data, including the necessary code modifications and comparison of the code results with the experimental data. Based on the results, a discussion is presented on how the analysis supports design and transient calculations of the full-scale Holos-Quad microreactor. Also based on the results of this work, recommendations are made for future optimizations of the SPM-SS components and PDC model development needs.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Validation of full-wave simulations for mode conversion of waves in the ion cyclotron range of frequencies with phase contrast imaging in Alcator C-Mod

Mode conversion of fast waves in the ion cyclotron range of frequencies (ICRF) is known to result in current drive and flow drive under optimised conditions, which may be utilized to control plasma profiles and improve fusion plasma performance. To describe these processes accurately in a realistic toroidal geometry, numerical simulations are essential. Quantitative comparison of these simulations and the actual experimental measurements is important to validate their predictions and to evaluate their limitations. The phase contrast imaging (PCI) diagnostic has been used to directly detect the ICRF waves in the Alcator C-Mod tokamak. The measurements have been compared with full-wave simulations through a synthetic diagnostic technique. Recently, the frequency response of the PCI detector array on Alcator C-Mod was recalibrated, which greatly improved the comparison between the measurements and the simulations. In this study, mode converted waves for D-{sup 3}He and D-H plasmas with various ion species compositions were re-analyzed with the new calibration. For the minority heating cases, self-consistent electric fields and a minority ion distribution function were simulated by iterating a full-wave code and a Fokker-Planck code. The simulated mode converted wave intensity was in quite reasonable agreement with the measurements close to the antenna, but discrepancies remain for comparison at larger distances.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

ARES v1.x - Performance Portable Tool to Simulate Supernovae based on Parthenon Framework

Historically, codes for simulating supernovae (such as Arepo, FLASH or LEAFS) have been at the forefront of scientific high-performance computing to the immense computational resources required for full 3D simulations. However, given the shift towards heterogenous HPC architectures, many current-generation codes are at the risk of losing their competitiveness as they are only designed to run on homogeneous CPU-only systems. There exist several efforts to enable these codes for GPU’s, however, these efforts only consider specific architectures or vendors (e.g., implement only CUDA or HIP), limiting themselves to a small range of exascale computing systems. Frameworks such as Kokkos aim to provide a framework which is agnostic of the targeted architecture, enabling the development of performant and portable code. In the Ares code, we develop a performance portable tool to simulate supernovae based on the Parthenon Framework, which in turn uses Kokkos in the background. Here, the Parthenon Framework provides an interface to the underlying mesh-refinement routines, which form the backbone of our code. In addition, we incorporate the already existing Singularity-EOS toolkit to provide us with various equations of state, primarily the Helmholtz equation of state. We also include the JINA Reaclib as a basis for our nuclear network solver. Finally, we implement a gravity solver to complete the required physics. This setup will provide us with a minimal code base to simulate supernova in a similar style to the tried-and-tested Arepo code, but in a futureproof performance portable framework.

Lim, Hyun↗

photon-plasma: A modern high-order particle-in-cell code

We present the photon-plasma code, a modern high order charge conserving particle-in-cell code for simulating relativistic plasmas. The code is using a high order implicit field solver and a novel high order charge conserving interpolation scheme for particle-to-cell interpolation and charge deposition. It includes powerful diagnostics tools with on-the-fly particle tracking, synthetic spectra integration, 2D volume slicing, and a new method to correctly account for radiative cooling in the simulations. A robust technique for imposing (time-dependent) particle and field fluxes on the boundaries is also presented. Using a hybrid OpenMP and MPI approach, the code scales efficiently from 8 to more than 250.000 cores with almost linear weak scaling on a range of architectures. The code is tested with the classical benchmarks particle heating, cold beam instability, and two-stream instability. We also present particle-in-cell simulations of the Kelvin-Helmholtz instability, and new results on radiative collisionless shocks.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Code for Axial and Crossflow Turbine Simulation

CACTUS is a code that calculates the performance and aero/hydrodynamic loads of a wind or water turbine. The turbine may be either a vertical-axis or a horizontal-axis machine, and may consist of one or more blade curved or straight blades. The performance model is based on a lifting-line free wake formulation that calculates rotor power and blade loads in the time domain. The rotor is treated as a rotating rigid body, such that structural dynamical motions are not modeled. The turbine is assumed to operate within a steady, but possibly sheared, wind or current velocity. For marine hydrokinetic energy applications, the presence of a river/tidal channel bed and water surface boundaries may be modeled.

Barone, Matthew↗

Code for Axial and Crossflow Turbine Simulation

CACTUS is a code that calculates the performance and aero/hydrodynamic loads of a wind or water turbine. The turbine may be either a vertical-axis or a horizontal-axis machine, and may consist of one or more blade curved or straight blades. The performance model is based on a lifting-line free wake formulation that calculates rotor power and blade loads in the time domain. The rotor is treated as a rotating rigid body, such that structural dynamical motions are not modeled. The turbine is assumed to operate within a steady, but possibly sheared, wind or current velocity. For marine hydrokinetic energy applications, the presence of a river/tidal channel bed and water surface boundaries may be modeled.

Jonathan Murray, Matthew Barone↗

Reactive transport codes for subsurface environmental simulation

A general description of the mathematical and numerical formulations used in modern numerical reactive transport codes relevant for subsurface environmental simulations is presented. The formulations are followed by short descriptions of commonly used and available subsurface simulators that consider continuum representations of flow, transport, and reactions in porous media. These formulations are applicable to most of the subsurface environmental benchmark problems included in this special issue. The list of codes described briefly here includes PHREEQC, HPx, PHT3D, OpenGeoSys (OGS), HYTEC, ORCHESTRA, TOUGHREACT, eSTOMP, HYDROGEOCHEM, CrunchFlow, MIN3P, and PFLOTRAN. The descriptions include a high-level list of capabilities for each of the codes, along with a selective list of applications that highlight their capabilities and historical development.

54 ENVIRONMENTAL SCIENCES↗

A high-fidelity realization of the Euclid code comparison N-body simulation with Abacus

Abstract We present a high-fidelity realization of the cosmological N-body simulation from the Schneider et al. code comparison project. The simulation was performed with our AbacusN-body code, which offers high-force accuracy, high performance, and minimal particle integration errors. The simulation consists of 20483 particles in a $500\ h^{-1}\, \mathrm{Mpc}$ box for a particle mass of $1.2\times 10^9\ h^{-1}\, \mathrm{M}_\odot$ with $10\ h^{-1}\, \mathrm{kpc}$ spline softening. Abacus executed 1052 global time-steps to z = 0 in 107 h on one dual-Xeon, dual-GPU node, for a mean rate of 23 million particles per second per step. We find Abacus is in good agreement with Ramses and Pkdgrav3 and less so with Gadget3. We validate our choice of time-step by halving the step size and find sub-percent differences in the power spectrum and 2PCF at nearly all measured scales, with ${\lt }0.3{{\ \rm per\ cent}}$ errors at $k\lt 10\ \mathrm{Mpc}^{-1}\, h$. On large scales, Abacus reproduces linear theory better than 0.01 per cent. Simulation snapshots are available at http://nbody.rc.fas.harvard.edu/public/S2016.

79 ASTRONOMY AND ASTROPHYSICS↗

Fast Decompression Of Ultra-Thin Targets For High-Energy, High-Contrast Laser Pulses

In the laser-plasma interaction process, for ultra-high temporal contrast laser pulses, experimental measurements show that reducing the thickness of solid targets increases the laser-to-fast electrons energy conversion and the hot electron temperature. We have performed an experiment using the LULI 100 TW laser facility working in the chirped pulse amplification (CPA) mode at a wavelength {lambda}{sub 0} = 1.057 {mu}m, pulse duration 320 fs, laser spot size FWHM {approx}6 {mu}m and intensity {approx}1x10{sup 18} W/cm{sup 2} in which the laser pulses were temporal-contrast enhanced by the use of two plasma mirrors. Shots were performed on Si{sub 3}N{sub 4} aluminum coated targets of thickness 30 nm to 500 nm. Spectra of the laser-accelerated electrons were recorded with a spectrometer and are compared to PIC simulations performed with the CALDER code. The simulations allow an insight into the electron heating process during the laser-matter interaction.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Implementation of the full viscoresistive magnetohydrodynamic equations in a nonlinear finite element code

Numerical simulations form an indispensable tool to understand the behavior of a hot plasma that is created inside a tokamak for providing nuclear fusion energy. Various aspects of tokamak plasmas have been successfully studied through the reduced magnetohydrodynamic (MHD) model. The need for more complete modeling through the full MHD equations is addressed here. Our computational method is presented along with measures against possible problems regarding pollution, stability, and regularity. The problem of ensuring continuity of solutions in the center of a polar grid is addressed in the context of a finite element discretization of the full MHD equations. A rigorous and generally applicable solution is proposed here. Useful analytical test cases are devised to verify the correct implementation of the momentum and induction equation, the hyperdiffusive terms, and the accuracy with which highly anisotropic diffusion can be simulated. A striking observation is that highly anisotropic diffusion can be treated with the same order of accuracy as isotropic diffusion, even on non-aligned grids, as long as these grids are generated with sufficient care. This property is shown to be associated with our use of a magnetic vector potential to describe the magnetic field. Several well-known instabilities are simulated to demonstrate the capabilities of the new method. The linear growth rate of an internal kink mode and a tearing mode are benchmarked against the results of a linear MHD code. The evolution of a tearing mode and the resulting magnetic islands are simulated well into the nonlinear regime. The results are compared with predictions from the reduced MHD model. Finally, a simulation of a ballooning mode illustrates the possibility to use our method as an ideal MHD method without the need to add any physical dissipation.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Nonlinear structure formation in the cubic Galileon gravity model

We model the linear and nonlinear growth of large scale structure in the Cubic Galileon gravity model, by running a suite of N-body cosmological simulations using the ECOSMOG code. Our simulations include the Vainshtein screening effect, which reconciles the Cubic Galileon model with local tests of gravity. In the linear regime, the amplitude of the matter power spectrum increases by ∼ 20% with respect to the standard ΛCDM model today. The modified expansion rate accounts for ∼ 15% of this enhancement, while the fifth force is responsible for only ∼ 5%. This is because the effective unscreened gravitational strength deviates from standard gravity only at late times, even though it can be twice as large today. In the nonlinear regime (k∼>0.1h Mpc{sup −1}), the fifth force leads to only a modest increase (∼<8%) in the clustering power on all scales due to the very efficient operation of the Vainshtein mechanism. Such a strong effect is typically not seen in other models with the same screening mechanism. The screening also results in the fifth force increasing the number density of halos by less than 10%, on all mass scales. Our results show that the screening does not ruin the validity of linear theory on large scales which anticipates very strong constraints from galaxy clustering data. We also show that, whilst the model gives an excellent match to CMB data on small angular scales (l∼>50), the predicted integrated Sachs-Wolfe effect is in tension with Planck/WMAP results.

79 ASTRONOMY AND ASTROPHYSICS↗

Dust in fusion plasmas: theory and modeling

Dust may have a large impact on ITER-scale plasma experiments including both safety and performance issues. However, the physics of dust in fusion plasmas is very complex and multifaceted. Here, we discuss different aspects of dust dynamics including dust-plasma, and dust-surface interactions. We consider the models of dust charging, heating, evaporation/sublimation, dust collision with material walls, etc., which are suitable for the conditions of fusion plasmas. The physical models of all these processes have been incorporated into the DUST Transport (DUSTT) code. Numerical simulations demonstrate that dust particles are very mobile and accelerate to large velocities due to the ion drag force (cruise speed >100 m/s). Deep penetration of dust particles toward the plasma core is predicted. It is shown that DUSTT is capable of reproducing many features of recent dust-related experiments, but much more work is still needed.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Preparing an Incompressible-Flow Fluid Dynamics Code for Exascale-Class Wind Energy Simulations

The U.S. Department of Energy has identified exascale-class wind farm simulation as critical to wind energy scientific discovery. A primary objective of the ExaWind project is to build high-performance, predictive computational fluid dynamics (CFD) tools that satisfy these modeling needs. GPU accelerators will serve as the computational thoroughbreds of next-generation, exascale-class supercomputers. Here, we report on our efforts in preparing the ExaWind unstructured mesh solver, Nalu-Wind, for exascale-class machines. For computing at this scale, a simple port of the incompressible-flow algorithms to GPUs is insufficient. To achieve high performance, one needs novel algorithms that are application aware, memory efficient, and optimized for the latest-generation GPU devices. The result of our efforts are unstructured-mesh simulations of wind turbines that can effectively leverage thousands of GPUs. In particular, we demonstrate a first-of-its-kind, incompressible-flow simulation using Algebraic Multigrid solvers that strong scales to more than 4000 GPUs on the Summit supercomputer.

algebraic multigrid↗

Ray tracing flux calculation for the small and wide angle x-ray scattering diffraction station at the SESAME synchrotron radiation facility

The calculation for the optics of the synchrotron radiation small and wide angle x-ray scattering beamline, currently under construction at SESAME is described. This beamline is based on a cylindrically bent germanium (111) single crystal with an asymmetric cut of 10.5 deg., followed by a 1.2 m long rhodium coated plane mirror bent into a cylindrical form. The focusing properties of bent asymmetrically cut crystals have not yet been studied in depth. The present paper is devoted to study of a particular application of a bent asymmetrically cut crystal using ray tracing simulations with the SHADOW code. These simulations show that photon fluxes of order of 1.09x10{sup 11} photons/s will be available at the experimental focus at 8.79 keV. The focused beam dimensions will be 2.2 mm horizontal full width at half maximum (FWHM) by 0.12 mm vertical (FWHM).

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗