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 379 records · Page 21

A weighted state redistribution algorithm for embedded boundary grids

State redistribution is an algorithm that stabilizes cut cells for embedded boundary grid methods. This work extends the earlier algorithm in several important ways. First, state redistribution is extended to three spatial dimensions. Second, we discuss several algorithmic changes and improvements motivated by the more complicated cut cell geometries that can occur in higher dimensions. In particular, we introduce a weighted version with less dissipation in an easily generalizable framework. Third, we demonstrate that state redistribution can also stabilize a solution update that includes both advective and diffusive contributions. Notably, the stabilization algorithm is shown to be effective for incompressible as well as compressible reacting flows. Finally, we discuss the implementation of the algorithm for several exascale-ready simulation codes based on AMReX, demonstrating ease of use in combination with domain decomposition, hybrid parallelism and complex physics.

97 MATHEMATICS AND COMPUTING↗

Velocity field calculation for non-orthogonal numerical grids

Computational grids containing cell faces that do not align with an orthogonal (e.g. Cartesian, cylindrical) coordinate system are routinely encountered in porous-medium numerical simulations. Such grids are referred to in this study as non-orthogonal grids because some cell faces are not orthogonal to a coordinate system plane (e.g. xy, yz or xz plane in Cartesian coordinates). Non-orthogonal grids are routinely encountered at the Savannah River Site in porous-medium flow simulations for Performance Assessments and groundwater flow modeling. Examples include grid lines that conform to the sloping roof of a waste tank or disposal unit in a 2D Performance Assessment simulation, and grid surfaces that conform to undulating stratigraphic surfaces in a 3D groundwater flow model. Particle tracking is routinely performed after a porous-medium numerical flow simulation to better understand the dynamics of the flow field and/or as an approximate indication of the trajectory and timing of advective solute transport. Particle tracks are computed by integrating the velocity field from cell to cell starting from designated seed (starting) positions. An accurate velocity field is required to attain accurate particle tracks. However, many numerical simulation codes report only the volumetric flowrate (e.g. PORFLOW) and/or flux (flowrate divided by area) crossing cell faces. For an orthogonal grid, the normal flux at a cell face is a component of the Darcy velocity vector in the coordinate system, and the pore velocity for particle tracking is attained by dividing by water content. For a non-orthogonal grid, the flux normal to a cell face that lies outside a coordinate plane is not a true component of velocity with respect to the coordinate system. Nonetheless, normal fluxes are often taken as Darcy velocity components, either naively or with accepted approximation. To enable accurate particle tracking or otherwise present an accurate depiction of the velocity field for a non-orthogonal grid, Darcy velocity components are rigorously derived in this study from normal fluxes to cell faces, which are assumed to be provided by or readily computed from porous-medium simulation code output. The normal fluxes are presumed to satisfy mass balances for every computational cell, and if so, the derived velocity fields are consistent with these mass balances. Derivations are provided for general two-dimensional quadrilateral and three-dimensional hexagonal systems, and for the commonly encountered special cases of perfectly vertical side faces in 2D and 3D and a rectangular footprint in 3D.

97 MATHEMATICS AND COMPUTING↗

Python-based in situ analysis and visualization

This work focuses on enabling the use of Python-based methods for the purpose of performing in situ analysis and visualization. This approach facilitates access to and use of a rapidly growing collection of Python-based, third-party libraries for analysis and visualization, as well as lowering the barrier to entry for user-written Python analysis codes. Beginning with a simulation code that is instrumented to use the SENSEI in situ interface, we present how to couple it with a Python-based data consumer, which may be run in situ, and in parallel at the same concurrency as the simulation. We present two examples that demonstrate the new capability. One is an analysis of the reaction rate in a proxy simulation of a chemical reaction on a 2D substrate, while the other is a coupling of an AMR simulation to Yt, a parallel visualization and analysis library written in Python. In the examples, both the simulation and Python in situ method run in parallel on a large-scale HPC platform.

Loring, Burlen↗

Study of Fast-Electron Transport in Laser-Illuminated Spherical Targets

The transport and scattering of fast electrons created by the two-plasmon-decay instability are studied by comparing the hard x-ray signal from two identically irradiated targets: a 1-mm-diam solid Cu sphere and a 1-mm-diam solid CH sphere, both coated with a 15 um layer of CH. Comparing the results with Monte Carlo code simulations shows the role of scattering in the higher-Z Cu target. We find evidence that the fast electrons are created with a wide angular divergence and that higher-energy electrons transmitted through the target are reflected back into the target. Because of scattering, the fast-electron energy deposition (preheat) in Cu is about half that in CH, namely, ~0.15% of the laser energy for Cu as compared with ~0.30% for CH. Embedded high-Z layers in imploding fusion targets, because of the scattering, could provide protection against preheat.

Yaakobi, B↗

Generalised form factor dark matter in the Sun

We study the effects of energy transport in the Sun by asymmetric dark matter with momentum and velocity-dependent interactions, with an eye to solving the decade-old Solar Abundance Problem. We study effective theories where the dark matter-nucleon scattering cross-section goes as v{sub rel}{sup 2n} and q{sup 2n} with n=−1,0,1 or 2, where v{sub rel} is the dark matter-nucleon relative velocity and q is the momentum exchanged in the collision. Such cross-sections can arise generically as leading terms from the most basic nonstandard DM-quark operators. We employ a high-precision solar simulation code to study the impact on solar neutrino rates, the sound speed profile, convective zone depth, surface helium abundance and small frequency separations. We find that the majority of models that improve agreement with the observed sound speed profile and depth of the convection zone also reduce neutrino fluxes beyond the level that can be reasonably accommodated by measurement and theory errors. However, a few specific points in parameter space yield a significant overall improvement. A 3–5 GeV DM particle with σ{sub SI}∝q{sup 2} is particularly appealing, yielding more than a 6σ improvement with respect to standard solar models, while being allowed by direct detection and collider limits. We provide full analytical capture expressions for q- and v{sub rel}-dependent scattering, as well as complete likelihood tables for all models.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

S-Preconditioner for Multi-fold Data Reduction with Guaranteed User-Controlled Accuracy

The growing gap between the massive amounts of data generated by petascale scientific simulation codes and the capability of system hardware and software to effectively analyze this data necessitates data reduction. Yet, the increasing data complexity challenges most, if not all, of the existing data compression methods. In fact, lossless compression techniques offer no more than 10% reduction on scientific data that we have experience with, which is widely regarded as effectively incompressible. To bridge this gap, in this paper, we advocate a transformative strategy that enables fast, accurate, and multi-fold reduction of double-precision floating-point scientific data. The intuition behind our method is inspired by an effective use of preconditioners for linear algebra solvers optimized for a particular class of computational dwarfs (e.g., dense or sparse matrices). Focusing on a commonly used multi-resolution wavelet compression technique as the underlying solver for data reduction we propose the S-preconditioner, which transforms scientific data into a form with high global regularity to ensure a significant decrease in the number of wavelet coefficients stored for a segment of data. Combined with the subsequent EQ-calibrator, our resultant method (called S-Preconditioned EQ-Calibrated Wavelets (SPEQC-WAVELETS)), robustly achieved a 4- to 5- fold data reduction while guaranteeing user-defined accuracy of reconstructed data to be within 1% point-by-point relative error, lower than 0:01 Normalized RMSE, and higher than 0:99 Pearson Correlation. In this paper, we show the results we obtained by testing our method on six petascale simulation codes including fusion, combustion, climate, astrophysics, and subsurface groundwater in addition to 13 publicly available scientific datasets. We also demonstrate that application-driven data mining tasks performed on decompressed variables or their derived quantities produce results of comparable quality with the ones for the original data.

Jin, Ye↗

Constraining the reservoir model of an injected CO2 plume with crosswell CASSM at the Frio-II brine plot

Crosswell CASSM (continuous active-source seismic monitoring) data was acquired as part of the Frio-II brine pilot CO{sub 2} injection experiment. To gain insight into the CO{sub 2} plume evolution, we have integrated the 3D multiphase flow modeling code TOUGH2 with seismic simulation codes via a petrophysical model that predicts seismic velocity for a given CO{sub 2} saturation. Results of forward seismic modeling based on the CO{sub 2} saturation distribution produced by an initial TOUGH2 model compare poorly with the CASSM data, indicating that the initial flow model did not capture the actual CO{sub 2} plume dynamics. Updates to the TOUGH2 model required to better match the CASSM field data indicate vertical flow near the injection well, with increased horizontal plume growth occurring at the top of the reservoir sand. The CASSM continuous delay time data are ideal for constraining the modeled spatiotemporal evolution of the CO{sub 2} plume and allow improvement in reservoir model and estimation of CO{sub 2} plume properties.

54 ENVIRONMENTAL SCIENCES↗

Toward Discord : Code for Simulating Continuous Spin Systems

A new computational tool to simulate classical spin systems with frustrated crystal structures is presented. Complementary single- and cluster-spin flip algorithms are implemented to calculate the diffuse scattering patterns, spin-pair correlations, and thermodynamic quantities. Test cases of geometrically frustrated kagome, pyrochlore, and cubic systems are detailed. Two recent scientific cases are also shown here. This new method, together with recent developments of the rmc-discord package (https://github.com/zjmorgan/rmc-discord), represent integrated and strategic step in a complete forward and reverse Monte Carlo framework discord.

36 MATERIALS SCIENCE↗

GenASiS Basics: Object-oriented utilitarian functionality for large-scale physics simulations

Aside from numerical algorithms and problem setup, large-scale physics simulations on distributed-memory supercomputers require more basic utilitarian functionality, such as physical units and constants; display to the screen or standard output device; message passing; I/O to disk; and runtime parameter management and usage statistics. Here we describe and make available Fortran 2003 classes furnishing extensible object-oriented implementations of this sort of rudimentary functionality, along with individual `unit test' programs and larger example problems demonstrating their use. Lastly, these classes compose the Basics division of our developing astrophysics simulation code GenASiS (General Astrophysical Simulation System), but their fundamental nature makes them useful for physics simulations in many fields.

97 MATHEMATICS AND COMPUTING↗

Simulation Studies of Hydrogen Ion reflection from Tungsten for the Surface Production of Negative Hydrogen Ions

The production efficiency of negative ions at tungsten surface by particle reflection has been investigated. Angular distributions and energy spectra of reflected hydrogen ions from tungsten surface are calculated with a Monte Carlo simulation code ACAT. The results obtained with ACAT have indicated that angular distributions of reflected hydrogen ions show narrow distributions for low-energy incidence such as 50 eV, and energy spectra of reflected ions show sharp peaks around 90% of incident energy. These narrow angular distributions and sharp peaks are favorable for the efficient extraction of negative ions from an ion source equipped with tungsten surface as negative ionization converter. The retained hydrogen atoms in tungsten lead to the reduction in extraction efficiency due to boarded angular distributions.

43 PARTICLE ACCELERATORS↗

Analysis of ELM stability with extended MHD models in JET, JT-60U and future JT-60SA tokamak plasmas

The stability with respect to a peeling–ballooning mode (PBM) was investigated numerically with extended MHD simulation codes in JET, JT-60U and future JT-60SA plasmas. The MINERVA-DI code was used to analyze the linear stability, including the effects of rotation and ion diamagnetic drift (${\omega }_{* {\rm{i}}}$), in JET-ILW and JT-60SA plasmas, and the JOREK code was used to simulate nonlinear dynamics with rotation, viscosity and resistivity in JT-60U plasmas. It was validated quantitatively that the ELM trigger condition in JET-ILW plasmas can be reasonably explained by taking into account both the rotation and ${\omega }_{* {\rm{i}}}$ effects in the numerical analysis. When deuterium poloidal rotation is evaluated based on neoclassical theory, an increase in the effective charge of plasma destabilizes the PBM because of an acceleration of rotation and a decrease in ${\omega }_{* {\rm{i}}}$. The difference in the amount of ELM energy loss in JT-60U plasmas rotating in opposite directions was reproduced qualitatively with JOREK. By comparing the ELM affected areas with linear eigenfunctions, it was confirmed that the difference in the linear stability property, due not to the rotation direction but to the plasma density profile, is thought to be responsible for changing the ELM energy loss just after the ELM crash. A predictive study to determine the pedestal profiles in JT-60SA was performed by updating the EPED1 model to include the rotation and ${\omega }_{* {\rm{i}}}$ effects in the PBM stability analysis. It was shown that the plasma rotation predicted with the neoclassical toroidal viscosity degrades the pedestal performance by about 10% by destabilizing the PBM, but the pressure pedestal height will be high enough to achieve the target parameters required for the ITER-like shape inductive scenario in JT-60SA.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Monte Carlo calculation of helical tomotherapy dose delivery

Helical tomotherapy delivers intensity modulated radiation therapy using a binary multileaf collimator (MLC) to modulate a fan beam of radiation. This delivery occurs while the linac gantry and treatment couch are both in constant motion, so the beam describes, from a patient/phantom perspective, a spiral or helix of dose. The planning system models this continuous delivery as a large number (51) of discrete gantry positions per rotation, and given the small jaw/fan width setting typically used (1 or 2.5 cm) and the number of overlapping rotations used to cover the target (pitch often <0.5), the treatment planning system (TPS) potentially employs a very large number of static beam directions and leaf opening configurations to model the modulated fields. All dose calculations performed by the system employ a convolution/superposition model. In this work the authors perform a full Monte Carlo (MC) dose calculation of tomotherapy deliveries to phantom computed tomography (CT) data sets to verify the TPS calculations. All MC calculations are performed with the EGSnrc-based MC simulation codes, BEAMnrc and DOSXYZnrc. Simulations are performed by taking the sinogram (leaf opening versus time) of the treatment plan and decomposing it into 51 different projections per rotation, as does the TPS, each of which is segmented further into multiple MLC opening configurations, each with different weights that correspond to leaf opening times. Then the projection is simulated by the summing of all of the opening configurations, and the overall rotational treatment is simulated by the summing of all of the projection simulations. Commissioning of the source model was verified by comparing measured and simulated values for the percent depth dose and beam profiles shapes for various jaw settings. The accuracy of the MLC leaf width and tongue and groove spacing were verified by comparing measured and simulated values for the MLC leakage and a picket fence pattern. The validated source and MLC configuration were then used to simulate a complex modulated delivery from fixed gantry angle. Further, a preliminary rotational treatment plan to a delivery quality assurance phantom (the 'cheese' phantom) CT data set was simulated. Simulations were compared with measured results taken with an A1SL ionization chamber or EDR2 film measurements in a water tank or in a solid water phantom, respectively. The source and MLC MC simulations agree with the film measurements, with an acceptable number of pixels passing the 2%/1 mm gamma criterion. 99.8% of voxels of the MC calculation in the planning target volume (PTV) of the preliminary plan passed the 2%/2 mm gamma value test. 87.0% and 66.2% of the voxels in two organs at risk (OARs) passed the 2%/2 mm tests. For a 3%/3 mm criterion, the PTV and OARs show 100%, 93.2%, and 86.6% agreement, respectively. All voxels passed the gamma value test with a criterion of 5%/3 mm. The TomoTherapy TPS showed comparable results.

62 RADIOLOGY AND NUCLEAR MEDICINE↗

Advances in ArborX to support exascale applications

ArborX is a performance portable geometric search library developed as part of the Exascale Computing Project (ECP). In this paper, we explore a collaboration between ArborX and a cosmological simulation code HACC. Large cosmological simulations on exascale platforms encounter a bottleneck due to the in-situ analysis requirements of halo finding, a problem of identifying dense clusters of dark matter (halos). This problem is solved by using a density-based DBSCAN clustering algorithm. With each MPI rank handling hundreds of millions of particles, it is imperative for the DBSCAN implementation to be efficient. In addition, the requirement to support exascale supercomputers from different vendors necessitates performance portability of the algorithm. We describe how this challenge problem guided ArborX development, and enhanced the performance and the scope of the library. We explore the improvements in the basic algorithms for the underlying search index to improve the performance, and describe several implementations of DBSCAN in ArborX. Further, we report the history of the changes in ArborX and their effect on the time to solve a representative benchmark problem, as well as demonstrate the real world impact on production end-to-end cosmology simulations.

97 MATHEMATICS AND COMPUTING↗

User Guide for UAL (C++ Interface)

Unified Accelerator Libraries(UAL) provide a modularized environment for applying diverse accelerator simulation codes. Development of UAL is strongly prejudiced toward importing existing codes rather than developing new ones. This guide provides instructions for using this environment. This includes instructions for acquiring and building the codes, then for launching simulations and interpreting results, for example for the examples included with the distribution. In some cases the examples are general enough to be applied to different accelerators by mimicking input files and input parameters. The intention is to provide just enough computer language discussion (C++ and XML) to support the use and understanding of the examples and to help the reader gain an adequate understanding of the overall architecture.

43 PARTICLE ACCELERATORS↗

Investigation of dynamics of ELM crashes and their mitigation techniques

The accurate prediction of H-mode pedestal dynamics is critical for planning experiments in existing tokamaks and in the design of future tokamaks such as ITER and DEMO. The main objective of the proposed research is to advance the understanding of the physics of H-mode pedestal. Through advances in coupled kinetic-MHD simulations, a new model for H-mode pedestal and ELM crashes as well as an improved model for the bootstrap current will be developed. ELMmitigation techniques will also be investigated. The proposed research will help design efficient confinement scenarios and reduce transient heat loads on the divertor and plasma facing components. During the last two years, the principal investigator (PI) of this proposal actively participated in physics studies related to the DOE Joint Research Targets. These studies include the modeling of divertor heat load in the DIII-D, Alcator C-Mod, and NSTX tokamaks in 2010, and the modeling of H-mode pedestal structure in the DIII-D tokamak in 2011. It is proposed that this close collaboration with experimentalists from major US tokamaks continue during the next funding period. Verification and validation will be a strong component of the proposed research. During the course of the project, advances will be made in the following areas; Dynamics of the H-mode pedestal buildup and recovery after ELM crashes – The effects of neutral fueling, particle and thermal pinches will be explored; Dynamics of ELM crashes in realistic tokamak geometries – Heat loads associated with ELM crashes will be validated against experimental measurements. An improved model for ELM crashes will be developed; ELM mitigation – The effect of resonant magnetic perturbations on ELMs stability and their evolution will be investigated; Development of a new bootstrap current model – A reduced model for will be developed through careful verification of existing models for bootstrap current against first-principle kinetic neoclassical simulations. The primary focus here will be on plasma regimes where the existing reduced models deviate from each other, such as high-beta and low aspect ratio plasmas; and Results will be verified against analytical models and simulation results from other codes. Simulation results will be compared with diagnostic experimental data such as Thomson measurements (HRTC) or flux measurements if available. We have arrangements with experimentalists from DIII-D and JET to use diagnostic edge data for this validation. In summary, we propose to study the H-mode pedestal buildup, the stability and evolution of ELMs using a model that will account for dynamically evolving neoclassical sources.

42 ENGINEERING↗

CTF Theory Manual

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 sub-channel and 3D Cartesian forms of 9 conservation equations are available for LWR modeling. 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 Management Group (RDFMG) and has been improved, updated, and subsequently re-branded as CTF. As part of the improvement process, it was necessary to generate sufficient documentation for the open-source code which had lacked such material upon being adopted by RDFMG. This document serves mainly 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. Coding of the models is also discussed, all with consideration for updates that have been made when transitioning from COBRA-TF to CTF. Further documentation outside of this manual is also available at RDFMG which focus on code input deck generation and source code global variable and module listings.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗