Search NASA⌕ Search

SEARCH · Search NASA

Results for “parallel simulation”

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 433 records · Page 24

Three-dimensional parallel UNIPIC-3D code for simulations of high-power microwave devices

This paper introduces a self-developed, three-dimensional parallel fully electromagnetic particle simulation code UNIPIC-3D. In this code, the electromagnetic fields are updated using the second-order, finite-difference time-domain method, and the particles are moved using the relativistic Newton-Lorentz force equation. The electromagnetic field and particles are coupled through the current term in Maxwell's equations. Two numerical examples are used to verify the algorithms adopted in this code, numerical results agree well with theoretical ones. This code can be used to simulate the high-power microwave (HPM) devices, such as the relativistic backward wave oscillator, coaxial vircator, and magnetically insulated line oscillator, etc. UNIPIC-3D is written in the object-oriented C++ language and can be run on a variety of platforms including WINDOWS, LINUX, and UNIX. Users can use the graphical user's interface to create the complex geometric structures of the simulated HPM devices, which can be automatically meshed by UNIPIC-3D code. This code has a powerful postprocessor which can display the electric field, magnetic field, current, voltage, power, spectrum, momentum of particles, etc. For the sake of comparison, the results computed by using the two-and-a-half-dimensional UNIPIC code are also provided for the same parameters of HPM devices, the numerical results computed from these two codes agree well with each other.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Robust Event Simulation Variants Endowed to Ns-3 for General Exploration

Sandia's ns-3 contributions are modifications to the open source ns-3 network simulator that enable simulation speedup. One improvement, for example, removes the need for simulating the transmission and receipt of packets between nodes that are too distant to actually be able to communicate. In large-scale simulations this optimization has shown significant gains in performance. Additional contributions will pave the way for parallel discrete simulation (PDES) in ns-3. SAND2020-12456 O Sandia National Laboratories is a multimission laboratory managed and operated by National Technology & Engineering Solutions of Sandia, LLC, a wholly owned subsidiary of Honeywell International Inc., for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA0003525.

Dickson, Joseph↗

Extreme-scale stochastic optimization and simulation via learning-enhanced decomposition and parallelization (Final Technical Report)

Stochastic optimization and simulation models ubiquitously arise in designing and operating complex service/engineering systems. They can be extreme in scale due to high-dimensional data and decisions, and can also involve decisions made sequentially in response to newly revealed data, both causing significant computational challenge. The objective of this research is to explore a unified framework that integrates machine learning with discrete optimization and risk-averse modeling, to improve the efficiency of decomposition paradigms for stochastic optimization and simulations at extreme scale. The models we consider represent a broad class of complex decision-making problems, where 0-1 or continuous decisions are made before and/or after knowing multiple sources of uncertainties that could be correlated. We will employ machine learning methods to dynamically decide and prioritize computational procedures, including cut generation, branching, and bounding of the optimal objective. Furthermore, the research will shed new lights on the traditional decomposition algorithms for extreme-scale computing. Deliverables of the research include new modeling and computational methods for advancing the state-of-the-art research in optimization and simulation, bringing many relevant risk-averse, data-driven optimization problems in practice within the range of tractability. Examples include distributed computing server scheduling and sensor deployment for monitoring critical infrastructures. Success in this effort will enable progress in solving multiple extreme-scale problems in the complex system design and operations arising from DoE missions in energy, environment, and national security.

24 POWER TRANSMISSION AND DISTRIBUTION↗

Path-accelerated stochastic molecular dynamics: Parallel-in-time integration using path integrals

Massively parallel computer architectures create new opportunities for the performance of long-time scale molecular dynamics (MD) simulations. Here, we introduce the path-accelerated molecular dynamics method that takes advantage of distributed computing to reduce the wall-clock time of MD simulation via parallelization with respect to stochastic MD time steps. The marginal distribution for the time evolution of a system is expressed in terms of a path integral, enabling the use of path sampling techniques to numerically integrate MD trajectories. By parallelizing the evaluation of the path action with respect to time and by initializing the path configurations from a nonequilibrium distribution, the algorithm enables significant speedups in terms of the length of MD trajectories that can be integrated in a given amount of wall-clock time. The method is demonstrated for Brownian dynamics, although it is generalizable to other stochastic equations of motion including open systems. We apply the method to two simple systems, a harmonic oscillator and a Lennard-Jones liquid, and we show that in comparison to the conventional Euler integration scheme for Brownian dynamics, the new method can reduce the wall-clock time for integrating trajectories of a given length by more than three orders of magnitude in the former system and more than two in the latter. This new method for parallelizing MD in the dimension of time can be trivially combined with algorithms for parallelizing the MD force evaluation to achieve further speedup.

Rosa-Raíces, Jorge L.↗

A parallel additive Schwarz preconditioned Jacobi-Davidson algorithm for polynomial eigenvalue problems in quantum dot simulation

We develop a parallel Jacobi-Davidson approach for finding a partial set of eigenpairs of large sparse polynomial eigenvalue problems with application in quantum dot simulation. A Jacobi-Davidson eigenvalue solver is implemented based on the Portable, Extensible Toolkit for Scientific Computation (PETSc). The eigensolver thus inherits PETSc's efficient and various parallel operations, linear solvers, preconditioning schemes, and easy usages. The parallel eigenvalue solver is then used to solve higher degree polynomial eigenvalue problems arising in numerical simulations of three dimensional quantum dots governed by Schroedinger's equations. We find that the parallel restricted additive Schwarz preconditioner in conjunction with a parallel Krylov subspace method (e.g. GMRES) can solve the correction equations, the most costly step in the Jacobi-Davidson algorithm, very efficiently in parallel. Besides, the overall performance is quite satisfactory. We have observed near perfect superlinear speedup by using up to 320 processors. The parallel eigensolver can find all target interior eigenpairs of a quintic polynomial eigenvalue problem with more than 32 million variables within 12 minutes by using 272 Intel 3.0 GHz processors.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Evaluating the Practicability of Multiphase CFD for BWR Fuel Assembly Analysis

Multiphase computational fluid dynamics (M-CFD) models of a boiling water reactor (BWR) fuel assembly have been generated in the commercial CFD code, STAR-CCM+ Ver.11.04.010-R8. The Eulerian multiphase approach was employed, in combination with a baseline ‘Zero Closure model’ for two-phase flow boiling, applicable to high void fraction regimes. The capability and practicability of MCFD for BWR fuel assembly were evaluated against the international OECD/NRC BWR Full-size Finemesh Bundle Test (BFBT) benchmark data. The benchmark selected, BFBT-4101-61, is a steady-state full power case, with high void fraction conditions. Geometrical modeling and mesh construction of BWR assemblies introduce challenges in generating high quality computational meshes, while retaining a low cell count to allow acceptable runtimes. In order to evaluate the scalability of the CFD code, parallel CFD simulations were carried out with the High Performance Computing (HPC) system of the Idaho National Laboratory. M-CFD results display good agreement with the experimental data for both local void fraction distribution and exit quality. The parallel speedup factor is linearly proportional to the number of processors up to 500 cores, and retains over 92% efficiency with 1000 cores. The execution time of the simulation decreased exponentially with increasing number of processors while the cost of the simulation increased linearly. The proposed baseline closure, in combination with the parallel performance of the STAR-CCM+ code demonstrated promising capabilities for analyzing BWR fuel assemblies.

97 MATHEMATICS AND COMPUTING↗

Technical Note: Influence of the phantom material on the absorbed-dose energy dependence of the EBT3 radiochromic film for photons in the energy range 3 keV–18 MeV

Purpose: Water is the reference medium for radiation therapy dosimetry, but for film dosimetry it is more practical to use a solid phantom. As the composition of solid phantoms differs from that of water, the energy dependence of film exposed within solid phantoms may also differ. The energy dependence of a radiochromic film for a given beam quality Q (energy for monoenergetic beams) has two components: the intrinsic energy dependence and the absorbed-dose energy dependence f(Q), the latter of which can be calculated through a Monte Carlo simulation of radiation transport. The authors used Monte Carlo simulations to study the influence of the phantom material on the f(Q) of the EBT3 radiochromic film (Ashland Specialty Ingredients, Wayne, NJ) for photon beams with energies between 3 keV and 18 MeV. Methods: All simulations were carried out with the general-purpose Monte Carlo code PENELOPE 2011. The geometrical model consisted of a cylindrical phantom, with the film positioned at different depths depending on the initial photon energy. The authors simulated monoenergetic parallel photon beams and x-ray beams from a superficial therapy system. To validate their choice of simulation parameters, they also calculated f(Q) for older film models, EBT and EBT2, comparing with published results. In addition to water, they calculated f(Q) of the EBT3 film for solid phantom materials commonly used for film dosimetry: RW1 and RW3 (PTW-Freiburg, Freiburg, Germany), Solid Water (Gammex-RMI, Madison, WI), and PMMA. Finally, they combined their calculated f(Q) with published overall energy response data to obtain the intrinsic energy dependence of the EBT3 film in water. Results: The calculated f(Q) for EBT and EBT2 films was statistically compatible with previously published data. Between 10 keV and 18 MeV, the variation found in f(Q) of the EBT3 film for water was within 2.3%, with a standard statistical uncertainty less than 1%. If the quantity dose-to-water in the phantom is considered, which is the common practice in radiation dosimetry, the maximum difference of energy dependence for the solid phantoms with respect to water is about 6%, at an energy of 50 keV. Conclusions: The EBT3 film shows a reasonably constant absorbed-dose energy dependence when irradiated in water. If the dose-to-water in the phantom is considered, the maximum difference of EBT3 film energy dependence with the solid phantoms studied with respect to water is about 6% (at an energy of 50 keV). The reported overall energy dependence of the EBT3 film in water at energies below 100 keV is mainly due to the intrinsic energy dependence.

07 ISOTOPE AND RADIATION SOURCES↗

A fast parallel Poisson solver on irregular domains applied to beam dynamics simulations

We discuss the scalable parallel solution of the Poisson equation within a Particle-In-Cell (PIC) code for the simulation of electron beams in particle accelerators of irregular shape. The problem is discretized by Finite Differences. Depending on the treatment of the Dirichlet boundary the resulting system of equations is symmetric or 'mildly' nonsymmetric positive definite. In all cases, the system is solved by the preconditioned conjugate gradient algorithm with smoothed aggregation (SA) based algebraic multigrid (AMG) preconditioning. We investigate variants of the implementation of SA-AMG that lead to considerable improvements in the execution times. We demonstrate good scalability of the solver on distributed memory parallel processor with up to 2048 processors. We also compare our iterative solver with an FFT-based solver that is more commonly used for applications in beam dynamics.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

THE HEATING OF TEST PARTICLES IN NUMERICAL SIMULATIONS OF ALFVENIC TURBULENCE

We study the heating of charged test particles in three-dimensional numerical simulations of weakly compressible magnetohydrodynamic (MHD) turbulence ('Alfvenic turbulence'); we focus on plasmas with comparable thermal and magnetic energy densities, i.e., beta approx 0.1-10. Our results are relevant to particle heating and acceleration in the solar wind, accretion disks onto black holes, and other astrophysics and heliospheric environments. The physics of particle heating depends on whether the gyrofrequency of a particle OMEGA{sub 0} is comparable to the frequency of a turbulent fluctuation omega that is resolved on the computational domain. Particles with OMEGA{sub 0} approx omega undergo strong perpendicular heating (relative to the local magnetic field) and pitch angle scattering. By contrast, particles with OMEGA{sub 0} >> omega undergo strong parallel heating. Simulations with a finite resistivity produce additional parallel heating due to parallel electric fields in small-scale current sheets. Many of our results are consistent with linear theory predictions for the particle heating produced by the Alfven and slow magnetosonic waves that make up Alfvenic turbulence. However, in contrast to linear theory predictions, energy exchange is not dominated by discrete resonances between particles and waves; instead, the resonances are substantially 'broadened'. We discuss the implications of our results for solar and astrophysics problems, in particular, the thermodynamics of the near-Earth solar wind. This requires an extrapolation of our results to higher numerical resolution, because the dynamic range that can be simulated is far less than the true dynamic range between the proton cyclotron frequency and the outer-scale frequency of MHD turbulence. We conclude that Alfvenic turbulence produces significant parallel heating via the interaction between particles and magnetic field compressions ('slow waves'). However, on scales above the proton Larmor radius Alfvenic turbulence does not produce significant perpendicular heating of protons or minor ions (this is consistent with linear theory, but inconsistent with previous claims from test particle simulations). Instead, the Alfven wave energy cascades to perpendicular scales below the proton Larmor radius, initiating a kinetic Alfven wave cascade.

79 ASTRONOMY AND ASTROPHYSICS↗

High Resolution Simulation of Beam Dynamics in Electron Linacs for Free Electron Lasers

In this paper we report on large scale multi-physics simulation of beam dynamics in electron linacs for next generation free electron lasers (FELs). We describe key features of a parallel macroparticle simulation code including three-dimensional (3D) space-charge effects, short-range structure wake fields, longitudinal coherent synchrotron radiation (CSR) wake fields, and treatment of radiofrequency (RF) accelerating cavities using maps obtained from axial field profiles. A macroparticle up-sampling scheme is described that reduces the shot noise from an initial distribution with a smaller number of macroparticles while maintaining the global properties of the original distribution. We present a study of the microbunching instability which is a critical issue for future FELs due to its impact on beam quality at the end of the linac. Using parameters of a planned FEL linac at Lawrence Berkeley National Laboratory (LBNL), we show that a large number of macroparticles (beyond 100 million) is needed to control numerical shot noise that drives the microbunching instability. We also explore the effect of the longitudinal grid on simulation results. We show that acceptable results are obtained with around 2048 longitudinal grid points, and we discuss this in view of the spectral growth rate predicted from linear theory. As an application, we present results from simulations using one billion macroparticles of the FEL linac under design at LBNL. We show that the final uncorrelated energy spread of the beam depends not only on the initial uncorrelated energy spread but also depends strongly on the shape of the initial current profile. By using a parabolic initial current profile, 5 keV initial uncorrelated energy spread at 40 MeV injection energy, and improved linac design, those simulations demonstrate that a reasonable beam quality can be achieved at the end of the linac, with the final distribution having about 100 keV energy spread, 2.4 GeV energy, and 1.2 kA peak current.

43 PARTICLE ACCELERATORS↗

Influence of Forced Flow on the Dendritic Growth of Fe-C Alloy: 3D vs 2D Simulation

A 3D parallel cellular automaton-finite volume method (CA-FVM) model was used to simulate the equiaxed dendritic growth of an Fe-0.82 wt pct C alloy with xy-in-out and xyz-in-out type forced flows and the columnar dendritic growth with y-in-out type forced flow. In addition, the similarities and differences between the results of the 3D and 2D models are discussed and summarized in detail. The capabilities of the 3D and 2D CA-FVM models to predict the dendritic growth of the alloy with forced flow are validated through comparison with the boundary layer correction and Oseen–Ivanstov models, respectively. Because the forced flow can pass around perpendicular arms of the dendrites, the secondary arms at the sides upstream from the perpendicular arms are more developed than those on the upstream side of the upstream arms, especially at higher inlet velocities. In addition, compared to the xy-in-out case, the growth of the downstream arms is less inhibited and the secondary arms are more developed in the xyz-in-out case because of the greater lateral flow around their tips. Compared to the 3D case, the 2D equiaxed dendrites are more asymmetrical and lack secondary arms because of the thicker solute envelope. In the 3D case, the columnar dendrites on the upstream side (left one) are promoted, while the middle and downstream dendrites are inhibited in sequence. However, the sequential inhibition starts on the upstream side in the 2D case. This is mainly because the melt can pass around the upstream branch in 3D space. However, it can only climb over the upstream tip in 2D space. Additionally, the secondary arms show upstream development, which is more significant with increasing inlet velocity. The level of development of the secondary arms is also affected by the decay of the forced flow in the flow direction.

36 MATERIALS SCIENCE↗

Faster than Real-Time Dynamic Simulation for Large-Size Power System with Detailed Dynamic Models using High-Performance Computing Platform

This paper presents a faster-than-real-time dynamic simulation software package that is designed for large-size power system dynamic simulation. It was developed on the GridPACKTM high-performance computing (HPC) framework. The key features of the developed software package include (1) faster-than-real-time dynamic simulation for a WECC system (17,000 buses) with different types of detailed generator, controller, and relay dynamic models, (2) a decoupled parallel dynamic simulation algorithm with optimized computation architecture to better leverage HPC resources and technologies, (3) options for HPC-based linear and iterative solvers, (4) hidden HPC details, such as data communication and distribution, to enable development centered on mathematical models and algorithms rather than on computational details for power system researchers, and (5) easy integration of new dynamic models and related algorithms into the software package.

Huang, Renke↗

Massively Parallel Capability in Sierra/SD for Simulation Vibration with Piezoelectrics

Sierra/SD is an engineering structural dynamics code that provides Sandia and other customers a tool to model structural and acoustic physics on large complex physical systems using massively parallel processing. This report provides a detailed overview on Sierra/SD’s most recent physics package: coupled electro-mechanical physics. This capability uses the finite element method to model coupled electro-mechanical physics exhibited by piezoelectric materials. This report provides an applications overview, theory overview, and verification examples demonstrating the electro-mechanical physics modeling capabilities of Sierra/SD.

97 MATHEMATICS AND COMPUTING↗

Berni Julian Alder, theoretical physicist and inventor of molecular dynamics, 1925–2020

Berni Julian Alder, one of the leading figures in the invention of molecular dynamics simulations used for a wide array of problems in physics and chemistry, died on September 7th, 2020. His career, spanning more than 65 years, transformed statistical mechanics, many body physics, the study of chemistry and the microscopic dynamics of fluids, by making atomistic computational simulation (in parallel with traditional theory and experiment) a new pathway to unexpected discoveries. Among his many honors, the CECAM prize, recognizing exceptional contributions to the simulation of the microscopic properties of matter is named for him. He was awarded the National Medal of Science by President Obama in 2008.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Explicit structure-preserving geometric particle-in-cell algorithm in curvilinear orthogonal coordinate systems and its applications to whole-device 6D kinetic simulations of tokamak physics

Explicit structure-preserving geometric particle-in-cell (PIC) algorithm in curvilinear orthogonal coordinate systems is developed. The work reported represents a further development of the structure-preserving geometric PIC algorithm achieving the goal of practical applications in magnetic fusion research. The algorithm is constructed by discretizing the field theory for the system of charged particles and electromagnetic field using Whitney forms, discrete exterior calculus, and explicit non-canonical symplectic integration. In addition to the truncated infinitely dimensional symplectic structure, the algorithm preserves exactly many important physical symmetries and conservation laws, such as local energy conservation, gauge symmetry and the corresponding local charge conservation. As a result, the algorithm possesses the long-term accuracy and fidelity required for first-principles-based simulations of the multiscale tokamak physics. The algorithm has been implemented in the SymPIC code, which is designed for high-efficiency massively-parallel PIC simulations in modern clusters. The code has been applied to carry out whole-device 6D kinetic simulation studies of tokamak physics. A self-consistent kinetic steady state for fusion plasma in the tokamak geometry is numerically found with a predominately diagonal and anisotropic pressure tensor. The state also admits a steady-state sub-sonic ion flow in the range of 10 km s -1 , agreeing with experimental observations and analytical calculations Kinetic ballooning instability in the self-consistent kinetic steady state is simulated. It is shown that high-n ballooning modes have larger growth rates than low-n global modes, and in the nonlinear phase the modes saturate approximately in 5 ion transit times at the 2% level by the E × B flow generated by the instability. These results are consistent with early and recent electromagnetic gyrokinetic simulations.

43 PARTICLE ACCELERATORS↗

Parallel point defect identification in molecular dynamics simulations without post-processing: A compute and dump style for LAMMPS

Two classes for the molecular dynamics program LAMMPS – one compute style and one dump style – are presented that are designed to identify, count, and output point defects in cascade damage and related molecular dynamics simulations. The calculations are done in parallel across multiple MPI processes, and can be done at the same time as the original simulation. This drastically reduces storage requirements by eliminating the need to post-process every atom in the system. Non-cubic lattices, free surfaces, and large voids can be eliminated from the output by suitable choices of the reference lattice. The classes are derived from LAMMPS’s Dump and Compute classes, and pose no additional overhead to LAMMPS if they are not used.

42 ENGINEERING↗

Gyro-fluid and two-fluid theory and simulations of edge-localized-modes

This paper reports on the theoretical and simulation results of a gyro-Landau-fluid extension of the BOUT++ code, which contributes to increasing the physics understanding of edge-localized-modes (ELMs). Large ELMs with low-to-intermediate-n peeling-ballooning (P-B) modes are significantly suppressed due to finite Larmor radius (FLR) effects when the ion temperature increases. For type-I ELMs, it is found from linear simulations that retaining complete first order FLR corrections as resulting from the incomplete “gyroviscous cancellation” in Braginskii's two-fluid model is necessary to obtain good agreement with gyro-fluid results for high ion temperature cases (T{sub i}≽3 keV) when the ion density has a strong radial variation, which goes beyond the simple local model of ion diamagnetic stabilization of ideal ballooning modes. The maximum growth rate is inversely proportional to T{sub i} because the FLR effect is proportional to T{sub i}. The FLR effect is also proportional to toroidal mode number n, so for high n cases, the P-B mode is stabilized by FLR effects. Nonlinear gyro-fluid simulations show results that are similar to those from the two-fluid model, namely that the P-B modes trigger magnetic reconnection, which drives the collapse of the pedestal pressure. Due to the additional FLR-corrected nonlinear E × B convection of the ion gyro-center density, for a ballooning-dominated equilibrium the gyro-fluid model further limits the radial spreading of ELMs. In six-field two fluid simulations, the parallel thermal diffusivity is found to prevent the ELM encroachment further into core plasmas and therefore leads to steady state L-mode profiles. The simulation results show that most energy is lost via ion channel during an ELM event, followed by particle loss and electron energy loss. Because edge plasmas have significant spatial inhomogeneities and complicated boundary conditions, we have developed a fast non-Fourier method for the computation of Landau-fluid closure terms based on an accurate and tunable approximation. The accuracy and the fast computational scaling of the method have been demonstrated.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗