Engineering Papers⌕ Search

SEARCH · Engineering Papers

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 451 records · Page 25

Xyce Case Study

With the elimination of underground nuclear testing and declining defense budgets, science-based stockpile stewardship requires increased reliance on high performance modeling and simulation of weapon systems. Today's weapon systems are comprised of various electrical components and systems. As a result, there is a need for tools that will allow the use of massively parallel modeling and simulation techniques on high performance computers in existing and future weapons' electrical systems models. The Xyce Parallel Electronic Simulator is a SPICE (Simulation Program with Integrated Circuit Emphasis)- compatible circuit simulator designed to run on large-scale parallel computing platforms, though it can also execute efficiently on a variety of architectures including single processor workstations. As a mature platform for large-scale parallel circuit simulation, Xyce supports standard capabilities available in commercial simulators, in addition to various devices and models specific to Sandia's needs. Specifically, Xyce aids in the design and verification of electrical and electronic circuits and systems prior to weapons' manufacturing and deployment.

45 MILITARY TECHNOLOGY, WEAPONRY, AND NATIONAL DEF↗

Monte Carlo-Based Method for Parallelizing Quasi-Static Time-Series Power System Simulations: Preprint

Both commercial and open source power system simulators run quasi-static time-series (QSTS) simulations sequentially. For yearlong high-resolution load profiles this sequential execution of load flows incurs long computation times. Parallelizing QSTS simulations on multiple processors is one possible way to reduce the computation time. Parallelization however introduces errors in the simulation results as the initial state of the system at the beginning of each parallelized time period is not known. In this work a Monte Carlo-based approach has been proposed to estimate the initial state of the system for each parallel simulation run to mitigate the errors in the final results. Classical sequential QSTS simulation is the chosen base case against which all other methods have been compared. Results presented in this paper show that the proposed method improves the simulation results considerably. This paper also discusses possible sensitivities of the proposed method to a number of tunable parameters. Additionally, sensitivity analysis results for a number of parameters have also been presented in the results section.

24 POWER TRANSMISSION AND DISTRIBUTION↗

Load Balancing Scientific Applications

The largest supercomputers have millions of independent processors, and concurrency levels are rapidly increasing. For ideal efficiency, developers of the simulations that run on these machines must ensure that computational work is evenly balanced among processors. Assigning work evenly is challenging because many large modern parallel codes simulate behavior of physical systems that evolve over time, and their workloads change over time. Furthermore, the cost of imbalanced load increases with scale because most large-scale scientific simulations today use a Single Program Multiple Data (SPMD) parallel programming model, and an increasing number of processors will wait for the slowest one at the synchronization points. To address load imbalance, many large-scale parallel applications use dynamic load balance algorithms to redistribute work evenly. The research objective of this dissertation is to develop methods to decide when and how to load balance the application, and to balance it effectively and affordably. We measure and evaluate the computational load of the application, and develop strategies to decide when and how to correct the imbalance. Depending on the simulation, a fast, local load balance algorithm may be suitable, or a more sophisticated and expensive algorithm may be required. We developed a model for comparison of load balance algorithms for a specific state of the simulation that enables the selection of a balancing algorithm that will minimize overall runtime.

97 MATHEMATICS AND COMPUTING↗

Simulation and Optimizing Groundwater Investigations, Conceptual Design Analysis, Model Calibration and Remedial Design Using Parallel Numerical Methods: Theory and Application - 16578

Optimization of environmental restoration efforts at complex groundwater sites involves the development of a conceptual and often numerical flow and transport models. Typically, a limited number of simulations are done to assess the impact of parameter uncertainty, to evaluate remedial alternatives and develop a remedy, or to modify an existing remedy. A limited number of simulations are performed because each simulation can take upwards of several hours per simulation and until now the ability to conduct the 100's to 1000's of simulations needed to derive an optimal remedy was beyond the reach of the everyday practitioner. HGL has developed and implemented new parallel simulation and optimization methods in their software and has successfully deployed applications on high performance Cloud-based computing platforms. This advancement removes the impediment of burdensome and unpredictable runtime requirements these types of projects have typically exhibited using heuristic trial-and-error or even automated serial computation approaches. A parallel numerical solver has been added to the subsurface flow and transport simulator MODFLOW-SURFACT{sup TM} and has demonstrated reductions in solution time by as much as a factor of 9.8. This is accomplished by distributing the numerical computations of every time step over multiple processors. The integrated parallel simulation and optimization method uses the breadth and depth search approach; iteratively producing sets of tens or 100's of candidate solutions that are evaluated concurrently instead sequentially (i.e. one model evaluation at a time). Solutions within 80-100% of the globally optimal solution are regularly found expending only 5-10% of the usual computational effort using this new parallel optimization method (reducing computation effort by 10 to 20 times). Distributing optimal search runs across multiple processors additionally reduces calendar time to solutions. Practitioners evaluating multiple conceptual site models, model calibration by auto-calibration methods and remedial design by heuristics can enjoy significant reductions in model solution time by using the parallel numerical matrix solver in the physics-based simulator. Combining investigation and design analysis with breadth and depth parallel optimization methods, projects at the fringe of practical optimization, along with projects that were beyond the reach of formal optimization methods are now wholly feasible and tractable optimization problems. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

A hybrid parallel framework for the cellular Potts model simulations

The Cellular Potts Model (CPM) has been widely used for biological simulations. However, most current implementations are either sequential or approximated, which can't be used for large scale complex 3D simulation. In this paper we present a hybrid parallel framework for CPM simulations. The time-consuming POE solving, cell division, and cell reaction operation are distributed to clusters using the Message Passing Interface (MPI). The Monte Carlo lattice update is parallelized on shared-memory SMP system using OpenMP. Because the Monte Carlo lattice update is much faster than the POE solving and SMP systems are more and more common, this hybrid approach achieves good performance and high accuracy at the same time. Based on the parallel Cellular Potts Model, we studied the avascular tumor growth using a multiscale model. The application and performance analysis show that the hybrid parallel framework is quite efficient. The hybrid parallel CPM can be used for the large scale simulation ({approx}10{sup 8} sites) of complex collective behavior of numerous cells ({approx}10{sup 6}).

97 MATHEMATICS AND COMPUTING↗

Assessment of plasma impedance probe for measuring electron density and collision frequency in a plasma with spatial and temporal gradients

Numerical simulations and experimental measurements were combined to determine the ability of a plasma impedance probe (PIP) to measure plasma density and electron collision frequency in a plasma containing spatial gradients as well as time-varying oscillations in the plasma density. A PIP is sensitive to collision frequency through the width of the parallel resonance in the Re[Z]-vs.-frequency characteristic, while also being sensitive to electron density through the zero-crossing of the Im[Z]-vs.-frequency characteristic at parallel resonance. Simulations of the probe characteristic in a linear plasma gradient indicated that the broadening of Re[Z] due to the spatial gradient obscured the broadening due to electron collision frequency, preventing a quantitative measurement of the absolute collision frequency for gradients considered in this study. Simulation results also showed that the PIP is sensitive to relative changes in electron collision frequency in a spatial density gradient, but a second broadening effect due to time-varying oscillations made collision frequency measurements impossible. The time-varying oscillations had the effect of causing multiple zero-crossings in Im[Z] at parallel resonance. Results of experiments and simulations indicated that the lowest-frequency zero-crossing represented the lowest plasma density in the oscillations and the highest-frequency zero-crossing represented the highest plasma density in the oscillations, thus the PIP probe was found to be an effective tool to measure both the average plasma density as well as the maximum and minimum densities due to temporal oscillations.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

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↗