Science.gov

Sample records for particle simulation codes

  1. Electromagnetic particle simulation codes

    NASA Technical Reports Server (NTRS)

    Pritchett, P. L.

    1985-01-01

    Electromagnetic particle simulations solve the full set of Maxwell's equations. They thus include the effects of self-consistent electric and magnetic fields, magnetic induction, and electromagnetic radiation. The algorithms for an electromagnetic code which works directly with the electric and magnetic fields are described. The fields and current are separated into transverse and longitudinal components. The transverse E and B fields are integrated in time using a leapfrog scheme applied to the Fourier components. The particle pushing is performed via the relativistic Lorentz force equation for the particle momentum. As an example, simulation results are presented for the electron cyclotron maser instability which illustrate the importance of relativistic effects on the wave-particle resonance condition and on wave dispersion.

  2. A distributed particle simulation code in C++

    SciTech Connect

    Forslund, D.W.; Wingate, C.A.; Ford, P.S.; Junkins, J.S.; Pope, S.C.

    1992-01-01

    Although C++ has been successfully used in a variety of computer science applications, it has just recently begun to be used in scientific applications. We have found that the object-oriented properties of C++ lend themselves well to scientific computations by making maintenance of the code easier, by making the code easier to understand, and by providing a better paradigm for distributed memory parallel codes. We describe here aspects of developing a particle plasma simulation code using object-oriented techniques for use in a distributed computing environment. We initially designed and implemented the code for serial computation and then used the distributed programming toolkit ISIS to run it in parallel. In this connection we describe some of the difficulties presented by using C++ for doing parallel and scientific computation.

  3. The Particle Accelerator Simulation Code PyORBIT

    SciTech Connect

    Gorlov, Timofey V; Holmes, Jeffrey A; Cousineau, Sarah M; Shishlo, Andrei P

    2015-01-01

    The particle accelerator simulation code PyORBIT is presented. The structure, implementation, history, parallel and simulation capabilities, and future development of the code are discussed. The PyORBIT code is a new implementation and extension of algorithms of the original ORBIT code that was developed for the Spallation Neutron Source accelerator at the Oak Ridge National Laboratory. The PyORBIT code has a two level structure. The upper level uses the Python programming language to control the flow of intensive calculations performed by the lower level code implemented in the C++ language. The parallel capabilities are based on MPI communications. The PyORBIT is an open source code accessible to the public through the Google Open Source Projects Hosting service.

  4. DART: a simulation code for charged particle beams

    SciTech Connect

    White, R.C.; Barr, W.L.; Moir, R.W.

    1988-05-16

    This paper presents a recently modified verion of the 2-D DART code designed to simulate the behavior of a beam of charged particles whose paths are affected by electric and magnetic fields. This code was originally used to design laboratory-scale and full-scale beam direct converters. Since then, its utility has been expanded to allow more general applications. The simulation technique includes space charge, secondary electron effects, and neutral gas ionization. Calculations of electrode placement and energy conversion efficiency are described. Basic operation procedures are given including sample input files and output. 7 refs., 18 figs.

  5. Parallelization of a Monte Carlo particle transport simulation code

    NASA Astrophysics Data System (ADS)

    Hadjidoukas, P.; Bousis, C.; Emfietzoglou, D.

    2010-05-01

    We have developed a high performance version of the Monte Carlo particle transport simulation code MC4. The original application code, developed in Visual Basic for Applications (VBA) for Microsoft Excel, was first rewritten in the C programming language for improving code portability. Several pseudo-random number generators have been also integrated and studied. The new MC4 version was then parallelized for shared and distributed-memory multiprocessor systems using the Message Passing Interface. Two parallel pseudo-random number generator libraries (SPRNG and DCMT) have been seamlessly integrated. The performance speedup of parallel MC4 has been studied on a variety of parallel computing architectures including an Intel Xeon server with 4 dual-core processors, a Sun cluster consisting of 16 nodes of 2 dual-core AMD Opteron processors and a 200 dual-processor HP cluster. For large problem size, which is limited only by the physical memory of the multiprocessor server, the speedup results are almost linear on all systems. We have validated the parallel implementation against the serial VBA and C implementations using the same random number generator. Our experimental results on the transport and energy loss of electrons in a water medium show that the serial and parallel codes are equivalent in accuracy. The present improvements allow for studying of higher particle energies with the use of more accurate physical models, and improve statistics as more particles tracks can be simulated in low response time.

  6. DART: A simulation code for charged particle beams: Revision 1

    SciTech Connect

    White, R.C.; Barr, W.L.; Moir, R.W.

    1989-07-31

    This paper presents a recently modified version of the 2-D code, DART, which can simulate the behavior of a beam of charged particles whose trajectories are determined by electric and magnetic fields. This code was originally used to design laboratory-scale and full-scale beam direct converters. Since then, its utility has been expanded to allow more general applications. The simulation includes space charge, secondary electrons, and the ionization of neutral gas. A beam can contain up to nine superimposed beamlets of different energy and species. The calculation of energy conversion efficiency and the method of specifying the electrode geometry are described. Basic procedures for using the code are given, and sample input and output fields are shown. 7 refs., 18 figs.

  7. Particle tracking code of simulating global RF feedback

    SciTech Connect

    Mestha, L.K.

    1991-09-01

    It is well known in the control community'' that a good feedback controller design is deeply rooted in the physics of the system. For example, when accelerating the beam we must keep several parameters under control so that the beam travels within the confined space. Important parameters include the frequency and phase of the rf signal, the dipole field, and the cavity voltage. Because errors in these parameters will progressively mislead the beam from its projected path in the tube, feedback loops are used to correct the behavior. Since the feedback loop feeds energy to the system, it changes the overall behavior of the system and may drive it to instability. Various types of controllers are used to stabilize the feedback loop. Integrating the beam physics with the feedback controllers allows us to carefully analyze the beam behavior. This will not only guarantee optimal performance but will also significantly enhance the ability of the beam control engineer to deal effectively with the interaction of various feedback loops. Motivated by this theme, we developed a simple one-particle tracking code to simulate particle behavior with feedback controllers. In order to achieve our fundamental objective, we can ask some key questions: What are the input and output parameters How can they be applied to the practical machine How can one interface the rf system dynamics such as the transfer characteristics of the rf cavities and phasing between the cavities Answers to these questions can be found by considering a simple case of a single cavity with one particle, tracking it turn-by-turn with appropriate initial conditions, then introducing constraints on crucial parameters. Critical parameters are rf frequency, phase, and amplitude once the dipole field has been given. These are arranged in the tracking code so that we can interface the feedback system controlling them.

  8. The Plasma Simulation Code: A modern particle-in-cell code with patch-based load-balancing

    NASA Astrophysics Data System (ADS)

    Germaschewski, Kai; Fox, William; Abbott, Stephen; Ahmadi, Narges; Maynard, Kristofor; Wang, Liang; Ruhl, Hartmut; Bhattacharjee, Amitava

    2016-08-01

    This work describes the Plasma Simulation Code (PSC), an explicit, electromagnetic particle-in-cell code with support for different order particle shape functions. We review the basic components of the particle-in-cell method as well as the computational architecture of the PSC code that allows support for modular algorithms and data structure in the code. We then describe and analyze in detail a distinguishing feature of PSC: patch-based load balancing using space-filling curves which is shown to lead to major efficiency gains over unbalanced methods and a previously used simpler balancing method.

  9. The FLUKA Code: An Accurate Simulation Tool for Particle Therapy

    PubMed Central

    Battistoni, Giuseppe; Bauer, Julia; Boehlen, Till T.; Cerutti, Francesco; Chin, Mary P. W.; Dos Santos Augusto, Ricardo; Ferrari, Alfredo; Ortega, Pablo G.; Kozłowska, Wioletta; Magro, Giuseppe; Mairani, Andrea; Parodi, Katia; Sala, Paola R.; Schoofs, Philippe; Tessonnier, Thomas; Vlachoudis, Vasilis

    2016-01-01

    Monte Carlo (MC) codes are increasingly spreading in the hadrontherapy community due to their detailed description of radiation transport and interaction with matter. The suitability of a MC code for application to hadrontherapy demands accurate and reliable physical models capable of handling all components of the expected radiation field. This becomes extremely important for correctly performing not only physical but also biologically based dose calculations, especially in cases where ions heavier than protons are involved. In addition, accurate prediction of emerging secondary radiation is of utmost importance in innovative areas of research aiming at in vivo treatment verification. This contribution will address the recent developments of the FLUKA MC code and its practical applications in this field. Refinements of the FLUKA nuclear models in the therapeutic energy interval lead to an improved description of the mixed radiation field as shown in the presented benchmarks against experimental data with both 4He and 12C ion beams. Accurate description of ionization energy losses and of particle scattering and interactions lead to the excellent agreement of calculated depth–dose profiles with those measured at leading European hadron therapy centers, both with proton and ion beams. In order to support the application of FLUKA in hospital-based environments, Flair, the FLUKA graphical interface, has been enhanced with the capability of translating CT DICOM images into voxel-based computational phantoms in a fast and well-structured way. The interface is capable of importing also radiotherapy treatment data described in DICOM RT standard. In addition, the interface is equipped with an intuitive PET scanner geometry generator and automatic recording of coincidence events. Clinically, similar cases will be presented both in terms of absorbed dose and biological dose calculations describing the various available features. PMID:27242956

  10. The FLUKA Code: An Accurate Simulation Tool for Particle Therapy.

    PubMed

    Battistoni, Giuseppe; Bauer, Julia; Boehlen, Till T; Cerutti, Francesco; Chin, Mary P W; Dos Santos Augusto, Ricardo; Ferrari, Alfredo; Ortega, Pablo G; Kozłowska, Wioletta; Magro, Giuseppe; Mairani, Andrea; Parodi, Katia; Sala, Paola R; Schoofs, Philippe; Tessonnier, Thomas; Vlachoudis, Vasilis

    2016-01-01

    Monte Carlo (MC) codes are increasingly spreading in the hadrontherapy community due to their detailed description of radiation transport and interaction with matter. The suitability of a MC code for application to hadrontherapy demands accurate and reliable physical models capable of handling all components of the expected radiation field. This becomes extremely important for correctly performing not only physical but also biologically based dose calculations, especially in cases where ions heavier than protons are involved. In addition, accurate prediction of emerging secondary radiation is of utmost importance in innovative areas of research aiming at in vivo treatment verification. This contribution will address the recent developments of the FLUKA MC code and its practical applications in this field. Refinements of the FLUKA nuclear models in the therapeutic energy interval lead to an improved description of the mixed radiation field as shown in the presented benchmarks against experimental data with both (4)He and (12)C ion beams. Accurate description of ionization energy losses and of particle scattering and interactions lead to the excellent agreement of calculated depth-dose profiles with those measured at leading European hadron therapy centers, both with proton and ion beams. In order to support the application of FLUKA in hospital-based environments, Flair, the FLUKA graphical interface, has been enhanced with the capability of translating CT DICOM images into voxel-based computational phantoms in a fast and well-structured way. The interface is capable of importing also radiotherapy treatment data described in DICOM RT standard. In addition, the interface is equipped with an intuitive PET scanner geometry generator and automatic recording of coincidence events. Clinically, similar cases will be presented both in terms of absorbed dose and biological dose calculations describing the various available features. PMID:27242956

  11. A Linac Simulation Code for Macro-Particles Tracking and Steering Algorithm Implementation

    SciTech Connect

    sun, yipeng

    2012-05-03

    In this paper, a linac simulation code written in Fortran90 is presented and several simulation examples are given. This code is optimized to implement linac alignment and steering algorithms, and evaluate the accelerator errors such as RF phase and acceleration gradient, quadrupole and BPM misalignment. It can track a single particle or a bunch of particles through normal linear accelerator elements such as quadrupole, RF cavity, dipole corrector and drift space. One-to-one steering algorithm and a global alignment (steering) algorithm are implemented in this code.

  12. Integration of the low-energy particle track simulation code in Geant4

    NASA Astrophysics Data System (ADS)

    Arce, Pedro; Muñoz, Antonio; Moraleda, Montserrat; Gomez Ros, José María; Blanco, Fernando; Perez, José Manuel; García, Gustavo

    2015-08-01

    The Low-Energy Particle Track Simulation code (LEPTS) is a Monte Carlo code developed to simulate the damage caused by radiation at molecular level. The code is based on experimental data of scattering cross sections, both differential and integral, and energy loss data, complemented with theoretical calculations. It covers the interactions of electrons and positrons from energies of 10 keV down to 0.1 eV in different biologically relevant materials. In this article we briefly mention the main characteristics of this code and we present its integration within the Geant4 Monte Carlo toolkit.

  13. Two Dimensional Particle-In-Cell Code for Simulation of Quantum Plasmas

    NASA Astrophysics Data System (ADS)

    Decyk, V. K.; Tonge, J.; Dauger, D. E.

    2002-11-01

    We have developed a two dimensional code for simulating quantum plasmas (1). This unique code propagates many quantum particles forward in time self-consistently using the semi-classical approximation. Because of this it can model the statistical properties of interacting quantum particles. We are currently testing this code using small numbers of particles with model problems which we can use to verify the accuracy of the code. The goal is to model from first principles the statistical properties of plasmas where quantum mechanics plays a role such as hot high density plasmas found in stellar interiors (2). (1) D. Dauger, Semiclassical Modeling of Quantum-Mechanical Multiparticle Systems using Parallel Particle-In-Cell Methods, PHD Thesis (2) M. Opher et. al. , Nuclear reaction rates and energy in stellar plasmas: The effect of highly damped modes, Physics of Plasma, 8, No. 5, p. 2454 Sponsored by NSF

  14. New Particle-in-Cell Code for Numerical Simulation of Coherent Synchrotron Radiation

    SciTech Connect

    Balsa Terzic, Rui Li

    2010-05-01

    We present a first look at the new code for self-consistent, 2D simulations of beam dynamics affected by the coherent synchrotron radiation. The code is of the particle-in-cell variety: the beam bunch is sampled by point-charge particles, which are deposited on the grid; the corresponding forces on the grid are then computed using retarded potentials according to causality, and interpolated so as to advance the particles in time. The retarded potentials are evaluated by integrating over the 2D path history of the bunch, with the charge and current density at the retarded time obtained from interpolation of the particle distributions recorded at discrete timesteps. The code is benchmarked against analytical results obtained for a rigid-line bunch. We also outline the features and applications which are currently being developed.

  15. Performance and optimization of direct implicit time integration schemes for use in electrostatic particle simulation codes

    SciTech Connect

    Procassini, R.J.; Birdsall, C.K.; Morse, E.C.; Cohen, B.I.

    1988-01-01

    Implicit time integration schemes allow for the use of larger time steps than conventional explicit methods, thereby extending the applicability of kinetic particle simulation methods. This paper will describe a study of the performance and optimization of two such direct implicit schemes, which are used to follow the trajectories of charged particles in an electrostatic, particle-in-cell plasma simulation code. The direct implicit method that was used for this study is an alternative to the moment-equation implicit method. 10 refs., 7 figs., 4 tabs.

  16. Object-Oriented Parallel Particle-in-Cell Code for Beam Dynamics Simulation in Linear Accelerators

    SciTech Connect

    Qiang, J.; Ryne, R.D.; Habib, S.; Decky, V.

    1999-11-13

    In this paper, we present an object-oriented three-dimensional parallel particle-in-cell code for beam dynamics simulation in linear accelerators. A two-dimensional parallel domain decomposition approach is employed within a message passing programming paradigm along with a dynamic load balancing. Implementing object-oriented software design provides the code with better maintainability, reusability, and extensibility compared with conventional structure based code. This also helps to encapsulate the details of communications syntax. Performance tests on SGI/Cray T3E-900 and SGI Origin 2000 machines show good scalability of the object-oriented code. Some important features of this code also include employing symplectic integration with linear maps of external focusing elements and using z as the independent variable, typical in accelerators. A successful application was done to simulate beam transport through three superconducting sections in the APT linac design.

  17. Acceleration of a Particle-in-Cell Code for Space Plasma Simulations with OpenACC

    NASA Astrophysics Data System (ADS)

    Peng, Ivy Bo; Markidis, Stefano; Vaivads, Andris; Vencels, Juris; Deca, Jan; Lapenta, Giovanni; Hart, Alistair; Laure, Erwin

    2015-04-01

    We simulate space plasmas with the Particle-in-cell (PIC) method that uses computational particles to mimic electrons and protons in solar wind and in Earth magnetosphere. The magnetic and electric fields are computed by solving the Maxwell's equations on a computational grid. In each PIC simulation step, there are four major phases: interpolation of fields to particles, updating the location and velocity of each particle, interpolation of particles to grids and solving the Maxwell's equations on the grid. We use the iPIC3D code, which was implemented in C++, using both MPI and OpenMP, for our case study. By November 2014, heterogeneous systems using hardware accelerators such as Graphics Processing Unit (GPUs) and the Many Integrated Core (MIC) coprocessors for high performance computing continue growth in the top 500 most powerful supercomputers world wide. Scientific applications for numerical simulations need to adapt to using accelerators to achieve portability and scalability in the coming exascale systems. In our work, we conduct a case study of using OpenACC to offload the computation intensive parts: particle mover and interpolation of particles to grids, in a massively parallel Particle-in-Cell simulation code, iPIC3D, to multi-GPU systems. We use MPI for inter-node communication for halo exchange and communicating particles. We identify the most promising parts suitable for GPUs accelerator by profiling using CrayPAT. We implemented manual deep copy to address the challenges of porting C++ classes to GPU. We document the necessary changes in the exiting algorithms to adapt for GPU computation. We present the challenges and findings as well as our methodology for porting a Particle-in-Cell code to multi-GPU systems using OpenACC. In this work, we will present the challenges, findings and our methodology of porting a Particle-in-Cell code for space applications as follows: We profile the iPIC3D code by Cray Performance Analysis Tool (CrayPAT) and identify

  18. Development of 1D Particle-in-Cell Code and Simulation of Plasma-Wall Interactions

    NASA Astrophysics Data System (ADS)

    Rose, Laura P.

    This thesis discusses the development of a 1D particle-in-cell (PIC) code and the analysis of plasma-wall interactions. The 1D code (Plasma and Wall Simulation -- PAWS) is a kinetic simulation of plasma done by treating both electrons and ions as particles. The goal of this thesis is to study near wall plasma interaction to better understand the mechanism that occurs in this region. The main focus of this investigation is the effects that secondary electrons have on the sheath profile. The 1D code is modeled using the PIC method. Treating both the electrons and ions as macroparticles the field is solved on each node and weighted to each macro particle. A pre-ionized plasma was loaded into the domain and the velocities of particles were sampled from the Maxwellian distribution. An important part of this code is the boundary conditions at the wall. If a particle hits the wall a secondary electron may be produced based on the incident energy. To study the sheath profile the simulations were run for various cases. Varying background neutral gas densities were run with the 2D code and compared to experimental values. Different wall materials were simulated to show their effects of SEE. In addition different SEE yields were run, including one study with very high SEE yields to show the presence of a space charge limited sheath. Wall roughness was also studied with the 1D code using random angles of incidence. In addition to the 1D code, an external 2D code was also used to investigate wall roughness without secondary electrons. The roughness profiles where created upon investigation of wall roughness inside Hall Thrusters based off of studies done on lifetime erosion of the inner and outer walls of these devices. The 2D code, Starfish[33], is a general 2D axisymmetric/Cartesian code for modeling a wide a range of plasma and rarefied gas problems. These results show that higher SEE yield produces a smaller sheath profile and that wall roughness produces a lower SEE yield

  19. Plasma injection and atomic physics models for use in particle simulation codes

    SciTech Connect

    Procassini, R.J. California Univ., Berkeley, CA . Electronics Research Lab.)

    1991-06-12

    Models of plasma injection (creation) and charged/neutral atomic physics which are suitable for incorporation into particle simulation codes are described. Both planar and distributed source injection models are considered. Results obtained from planar injection into a collisionless plasma-sheath region are presented. The atomic physics package simulates the charge exchange and impact ionization interactions which occur between charged particles and neutral atoms in a partially-ionized plasma. These models are applicable to a wide range of problems, from plasma processing of materials to transport in the edge region of a tokamak plasma. 18 refs., 6 figs.

  20. Simulation of a ceramic impact experiment using the SPHINX smooth particle hydrodynamics code

    SciTech Connect

    Mandell, D.A.; Wingate, C.A.; Schwalbe, L.A.

    1996-08-01

    We are developing statistically based, brittle-fracture models and are implementing them into hydrocodes that can be used for designing systems with components of ceramics, glass, and/or other brittle materials. Because of the advantages it has simulating fracture, we are working primarily with the smooth particle hydrodynamics code SPHINX. We describe a new brittle fracture model that we have implemented into SPHINX, and we discuss how the model differs from others. To illustrate the code`s current capability, we simulate an experiment in which a tungsten rod strikes a target of heavily confined ceramic. Simulations in 3D at relatively coarse resolution yield poor results. However, 2D plane-strain approximations to the test produce crack patterns that are strikingly similar to the data, although the fracture model needs further refinement to match some of the finer details. We conclude with an outline of plans for continuing research and development.

  1. A relativistic Monte Carlo binary collision model for use in plasma particle simulation codes

    SciTech Connect

    Procassini, R.J.; Birdsall, C.K.; Morse, E.C.; Cohen, B.I.

    1987-05-14

    Particle simulations of plasma physics phenomena employ far fewer particles than the systems which are being simulated, owing to the limited speed and memory capacity of even the most powerful supercomputers. If the simulation consists of point particles in a gridless domain, then the combination of the small number of particles in a Debye sphere and the possibility of zero-impact-parameters, large-angle scattering results in a significant enhancement of fluctuation phenomena such as collisions. Collisional processes in a simulation may be difficult because of disparate time scales. A comparison of the relevant physical time scales of the system that is being simulated usually yields a large range of values. For instance, the grid-cell transit time is usually several orders of magnitude smaller than the 90/sup 0/ scattering time. Much of the physical phenomena of interest in the simulation are due to these long-time-scale collisional processes, but short-time-scale processes (such as particle bounce times in a mirror or tokamak) must be adequately resolved if the plasma dielectric response and the plasma potential are to be accurately determined. The following paper outlines the physics and operation of the binary collision model within the electrostatic code and presents the results of computer simulations of velocity space transport which were run to test the accuracy of the model. Also discussed are the timing statistics for the collision package relative to the other major physics packages in the code, as well as recommendations on the frequency of use of the collision package within the simulation sequence.

  2. 3D particle simulation of beams using the WARP code: Transport around bends

    SciTech Connect

    Friedman, A.; Grote, D.P.; Callahan, D.A.; Langdon, A.B. ); Haber, I. )

    1990-11-30

    WARP is a discrete-particle simulation program which was developed for studies of space charge dominated ion beams. It combines features of an accelerator code and a particle-in-cell plasma simulation. The code architecture, and techniques employed to enhance efficiency, are briefly described. Current applications are reviewed. In this paper we emphasize the physics of transport of three-dimensional beams around bends. We present a simple bent-beam PIC algorithm. Using this model, we have followed a long, thin beam around a bend in a simple racetrack system (assuming straight-pipe self-fields). Results on beam dynamics are presented; no transverse emittance growth (at mid-pulse) is observed. 11 refs., 5 figs.

  3. MULTIDIMENSIONAL COUPLED PHOTON-ELECTRON TRANSPORT SIMULATIONS USING NEUTRAL PARTICLE SN CODES

    SciTech Connect

    Ilas, Dan; Williams, Mark L; Peplow, Douglas E.; Kirk, Bernadette Lugue

    2008-01-01

    During the past two years a study was underway at ORNL to assess the suitability of the popular SN neutral particle codes ANISN, DORT and TORT for coupled photon-electron calculations specific to external beam therapy of medical physics applications. The CEPXS-BFP code was used to generate the cross sections. The computational tests were performed on phantoms typical of those used in medical physics for external beam therapy, with materials simulated by water at different densities and the comparisons were made against Monte Carlo simulations that served as benchmarks. Although the results for one-dimensional calculations were encouraging, it appeared that the higher dimensional transport codes had fundamental difficulties in handling the electron transport. The results of two-dimensional simulations using the code DORT with an S16 fully symmetric quadrature set agree fairly with the reference Monte Carlo results but not well enough for clinical applications. While the photon fluxes are in better agreement (generally, within less than 5% from the reference), the discrepancy increases, sometimes very significantly, for the electron fluxes. The paper, however, focuses on the results obtained with the three-dimensional code TORT which had convergence difficulties for the electron groups. Numerical instabilities occurred in these groups. These instabilities were more pronounced with the degree of anisotropy of the problem.

  4. Half-Cell RF Gun Simulations with the Electromagnetic Particle-in-Cell Code VORPAL

    SciTech Connect

    Paul, K.; Dimitrov, D. A.; Busby, R.; Bruhwiler, D. L.; Smithe, D.; Cary, J. R.; Kewisch, J.; Kayran, D.; Calaga, R.; Ben-Zvi, I.

    2009-01-22

    We have simulated Brookhaven National Laboratory's half-cell superconducting RF gun design for a proposed high-current ERL using the three-dimensional, electromagnetic particle-in-cell code VORPAL. VORPAL computes the fully self-consistent electromagnetic fields produced by the electron bunches, meaning that it accurately models space-charge effects as well as bunch-to-bunch beam loading effects and the effects of higher-order cavity modes, though these are beyond the scope of this paper. We compare results from VORPAL to the well-established space-charge code PARMELA, using RF fields produced by SUPERFISH, as a benchmarking exercise in which the two codes should agree well.

  5. Half-Cell RF Gun Simulations with the Electromagnetic Particle-in-Cell Code VORPAL

    NASA Astrophysics Data System (ADS)

    Paul, K.; Dimitrov, D. A.; Busby, R.; Bruhwiler, D. L.; Smithe, D.; Cary, J. R.; Kewisch, J.; Kayran, D.; Calaga, R.; Ben-Zvi, I.

    2009-01-01

    We have simulated Brookhaven National Laboratory's half-cell superconducting RF gun design for a proposed high-current ERL using the three-dimensional, electromagnetic particle-in-cell code VORPAL. VORPAL computes the fully self-consistent electromagnetic fields produced by the electron bunches, meaning that it accurately models space-charge effects as well as bunch-to-bunch beam loading effects and the effects of higher-order cavity modes, though these are beyond the scope of this paper. We compare results from VORPAL to the well-established space-charge code PARMELA, using RF fields produced by SUPERFISH, as a benchmarking exercise in which the two codes should agree well.

  6. Simulating hypervelocity impact effects on structures using the smoothed particle hydrodynamics code MAGI

    NASA Technical Reports Server (NTRS)

    Libersky, Larry; Allahdadi, Firooz A.; Carney, Theodore C.

    1992-01-01

    Analysis of interaction occurring between space debris and orbiting structures is of great interest to the planning and survivability of space assets. Computer simulation of the impact events using hydrodynamic codes can provide some understanding of the processes but the problems involved with this fundamental approach are formidable. First, any realistic simulation is necessarily three-dimensional, e.g., the impact and breakup of a satellite. Second, the thickness of important components such as satellite skins or bumper shields are small with respect to the dimension of the structure as a whole, presenting severe zoning problems for codes. Thirdly, the debris cloud produced by the primary impact will yield many secondary impacts which will contribute to the damage and possible breakup of the structure. The problem was approached by choosing a relatively new computational technique that has virtues peculiar to space impacts. The method is called Smoothed Particle Hydrodynamics.

  7. VINE-A NUMERICAL CODE FOR SIMULATING ASTROPHYSICAL SYSTEMS USING PARTICLES. II. IMPLEMENTATION AND PERFORMANCE CHARACTERISTICS

    SciTech Connect

    Nelson, Andrew F.; Wetzstein, M.; Naab, T.

    2009-10-01

    We continue our presentation of VINE. In this paper, we begin with a description of relevant architectural properties of the serial and shared memory parallel computers on which VINE is intended to run, and describe their influences on the design of the code itself. We continue with a detailed description of a number of optimizations made to the layout of the particle data in memory and to our implementation of a binary tree used to access that data for use in gravitational force calculations and searches for smoothed particle hydrodynamics (SPH) neighbor particles. We describe the modifications to the code necessary to obtain forces efficiently from special purpose 'GRAPE' hardware, the interfaces required to allow transparent substitution of those forces in the code instead of those obtained from the tree, and the modifications necessary to use both tree and GRAPE together as a fused GRAPE/tree combination. We conclude with an extensive series of performance tests, which demonstrate that the code can be run efficiently and without modification in serial on small workstations or in parallel using the OpenMP compiler directives on large-scale, shared memory parallel machines. We analyze the effects of the code optimizations and estimate that they improve its overall performance by more than an order of magnitude over that obtained by many other tree codes. Scaled parallel performance of the gravity and SPH calculations, together the most costly components of most simulations, is nearly linear up to at least 120 processors on moderate sized test problems using the Origin 3000 architecture, and to the maximum machine sizes available to us on several other architectures. At similar accuracy, performance of VINE, used in GRAPE-tree mode, is approximately a factor 2 slower than that of VINE, used in host-only mode. Further optimizations of the GRAPE/host communications could improve the speed by as much as a factor of 3, but have not yet been implemented in VINE

  8. New electromagnetic particle simulation code for the analysis of spacecraft-plasma interactions

    SciTech Connect

    Miyake, Yohei; Usui, Hideyuki

    2009-06-15

    A novel particle simulation code, the electromagnetic spacecraft environment simulator (EMSES), has been developed for the self-consistent analysis of spacecraft-plasma interactions on the full electromagnetic (EM) basis. EMSES includes several boundary treatments carefully coded for both longitudinal and transverse electric fields to satisfy perfect conductive surface conditions. For the longitudinal component, the following are considered: (1) the surface charge accumulation caused by impinging or emitted particles and (2) the surface charge redistribution, such that the surface becomes an equipotential. For item (1), a special treatment has been adopted for the current density calculated around the spacecraft surface, so that the charge accumulation occurs exactly on the surface. As a result, (1) is realized automatically in the updates of the charge density and the electric field through the current density. Item (2) is achieved by applying the capacity matrix method. Meanwhile, the transverse electric field is simply set to zero for components defined inside and tangential to the spacecraft surfaces. This paper also presents the validation of EMSES by performing test simulations for spacecraft charging and peculiar EM wave modes in a plasma sheath.

  9. Particle entry through "Sash" groove simulated by Global 3D Electromagnetic Particle code with duskward IMF By

    NASA Astrophysics Data System (ADS)

    Yan, X.; Cai, D.; Nishikawa, K.; Lembege, B.

    2004-12-01

    We made our efforts to parallelize the global 3D HPF Electromagnetic particle model (EMPM) for several years and have also reported our meaningful simulation results that revealed the essential physics involved in interaction of the solar wind with the Earth's magnetosphere using this EMPM (Nishikawa et al., 1995; Nishikawa, 1997, 1998a, b, 2001, 2002) in our PC cluster and supercomputer(D.S. Cai et al., 2001, 2003). Sash patterns and related phenomena have been observed and reported in some satellite observations (Fujumoto et al. 1997; Maynard, 2001), and have motivated 3D MHD simulations (White and al., 1998). We also investigated it with our global 3D parallelized HPF EMPM with dawnward IMF By (K.-I. Nishikawa, 1998) and recently new simulation with dusk-ward IMF By was accomplished in the new VPP5000 supercomputer. In the new simulations performed on the new VPP5000 supercomputer of Tsukuba University, we used larger domain size, 305×205×205, smaller grid size (Δ ), 0.5R E(the radium of the Earth), more total particle number, 220,000,000 (about 8 pairs per cell). At first, we run this code until we get the so-called quasi-stationary status; After the quasi-stationary status was established, we applied a northward IMF (B z=0.2), and then wait until the IMF arrives around the magnetopuase. After the arrival of IMF, we begin to change the IMF from northward to duskward (IMF B y=-0.2). The results revealed that the groove structure at the day-side magnetopause, that causes particle entry into inner magnetosphere and the cross structure or S-structure at near magneto-tail are formed. Moreover, in contrast with MHD simulations, kinetic characteristic of this event is also analyzed self-consistently with this simulation. The new simulation provides new and more detailed insights for the observed sash event.

  10. Particle-in-cell/accelerator code for space-charge dominated beam simulation

    SciTech Connect

    2012-05-08

    Warp is a multidimensional discrete-particle beam simulation program designed to be applicable where the beam space-charge is non-negligible or dominant. It is being developed in a collaboration among LLNL, LBNL and the University of Maryland. It was originally designed and optimized for heave ion fusion accelerator physics studies, but has received use in a broader range of applications, including for example laser wakefield accelerators, e-cloud studies in high enery accelerators, particle traps and other areas. At present it incorporates 3-D, axisymmetric (r,z) planar (x-z) and transverse slice (x,y) descriptions, with both electrostatic and electro-magnetic fields, and a beam envelope model. The code is guilt atop the Python interpreter language.

  11. Particle-in-cell/accelerator code for space-charge dominated beam simulation

    Energy Science and Technology Software Center (ESTSC)

    2012-05-08

    Warp is a multidimensional discrete-particle beam simulation program designed to be applicable where the beam space-charge is non-negligible or dominant. It is being developed in a collaboration among LLNL, LBNL and the University of Maryland. It was originally designed and optimized for heave ion fusion accelerator physics studies, but has received use in a broader range of applications, including for example laser wakefield accelerators, e-cloud studies in high enery accelerators, particle traps and other areas.more » At present it incorporates 3-D, axisymmetric (r,z) planar (x-z) and transverse slice (x,y) descriptions, with both electrostatic and electro-magnetic fields, and a beam envelope model. The code is guilt atop the Python interpreter language.« less

  12. Simulation study on number of secondary particles in extensive air showers using CORSIKA code

    SciTech Connect

    Halataei, S. M. H.; Bahmanabadi, M.; Samimi, J.; Ghomi, M. Khakian

    2008-04-15

    We have simulated more than 10{sup 5} extensive air showers (EAS) by CORSIKA code, with a proton as the primary particle. The range of energy for primary particles was selected from 50 TeV to 5 PeV, with differential flux given by dN/dE{proportional_to}E{sup -2.7}. Using the secondary charged particles produced of these EASs, we obtained the function dN{sub sp}({theta},X)/d{theta}, where N{sub sp}({theta},X) is the number of secondary charged particles in EASs as a function of atmosphere depth, X, and zenith angle, {theta}. A sin{theta}cos{sup n(X)}{theta} distribution was obtained for zenith angle distribution of the number of secondary charged particles, where power index, n(X), is a function of atmosphere depth, X. We obtained n(X)=3.02+0.003XlnX-8.28x10{sup -9}X{sup 3}-1.35lnX. We have compared our results with the experimental data of various observatories.

  13. A 3d particle simulation code for heavy ion fusion accelerator studies

    SciTech Connect

    Friedman, A.; Bangerter, R.O.; Callahan, D.A.; Grote, D.P.; Langdon, A.B. ); Haber, I. )

    1990-06-08

    We describe WARP, a new particle-in-cell code being developed and optimized for ion beam studies in true geometry. We seek to model transport around bends, axial compression with strong focusing, multiple beamlet interaction, and other inherently 3d processes that affect emittance growth. Constraints imposed by memory and running time are severe. Thus, we employ only two 3d field arrays ({rho} and {phi}), and difference {phi} directly on each particle to get E, rather than interpolating E from three meshes; use of a single 3d array is feasible. A new method for PIC simulation of bent beams follows the beam particles in a family of rotated laboratory frames, thus straightening'' the bends. We are also incorporating an envelope calculation, an (r, z) model, and 1d (axial) model within WARP. The BASIS development and run-time system is used, providing a powerful interactive environment in which the user has access to all variables in the code database. 10 refs., 3 figs.

  14. Monte Carlo N-Particle Transport Code System To Simulate Time-Analysis Quantities.

    SciTech Connect

    PADOVANI, ENRICO

    2012-04-15

    Version: 00 US DOE 10CFR810 Jurisdiction. The Monte Carlo simulation of correlation measurements that rely on the detection of fast neutrons and photons from fission requires that particle emissions and interactions following a fission event be described as close to reality as possible. The -PoliMi extension to MCNP and to MCNPX was developed to simulate correlated-particle and the subsequent interactions as close as possible to the physical behavior. Initially, MCNP-PoliMi, a modification of MCNP4C, was developed. The first version was developed in 2001-2002 and released in early 2004 to the Radiation Safety Information Computational Center (RSICC). It was developed for research purposes, to simulate correlated counts in organic scintillation detectors, sensitive to fast neutrons and gamma rays. Originally, the field of application was nuclear safeguards; however subsequent improvements have enhanced the ability to model measurements in other research fields as well. During 2010-2011 the -PoliMi modification was ported into MCNPX-2.7.0, leading to the development of MCNPX-PoliMi. Now the -PoliMi v2.0 modifications are distributed as a patch to MCNPX-2.7.0 which currently is distributed in the RSICC PACKAGE BCC-004 MCNP6_BETA2/MCNP5/MCNPX. Also included in the package is MPPost, a versatile code that provides simulated detector response. By taking advantage of the modifications in MCNPX-PoliMi, MPPost can provide an accurate simulation of the detector response for a variety of detection scenarios.

  15. Monte Carlo N-Particle Transport Code System To Simulate Time-Analysis Quantities.

    Energy Science and Technology Software Center (ESTSC)

    2012-04-15

    Version: 00 US DOE 10CFR810 Jurisdiction. The Monte Carlo simulation of correlation measurements that rely on the detection of fast neutrons and photons from fission requires that particle emissions and interactions following a fission event be described as close to reality as possible. The -PoliMi extension to MCNP and to MCNPX was developed to simulate correlated-particle and the subsequent interactions as close as possible to the physical behavior. Initially, MCNP-PoliMi, a modification of MCNP4C, wasmore » developed. The first version was developed in 2001-2002 and released in early 2004 to the Radiation Safety Information Computational Center (RSICC). It was developed for research purposes, to simulate correlated counts in organic scintillation detectors, sensitive to fast neutrons and gamma rays. Originally, the field of application was nuclear safeguards; however subsequent improvements have enhanced the ability to model measurements in other research fields as well. During 2010-2011 the -PoliMi modification was ported into MCNPX-2.7.0, leading to the development of MCNPX-PoliMi. Now the -PoliMi v2.0 modifications are distributed as a patch to MCNPX-2.7.0 which currently is distributed in the RSICC PACKAGE BCC-004 MCNP6_BETA2/MCNP5/MCNPX. Also included in the package is MPPost, a versatile code that provides simulated detector response. By taking advantage of the modifications in MCNPX-PoliMi, MPPost can provide an accurate simulation of the detector response for a variety of detection scenarios.« less

  16. Particle-in-cell plasma simulation codes on the connection machine

    NASA Astrophysics Data System (ADS)

    Walker, D. W.

    Methods for implementing three-dimensional, electromagnetic, relativistic PIC plasma simulation codes on the Connection Machine (CM-2) are discussed. The gather and scatter phases of the PIC algorithm involve indirect indexing of data, which results in a large amount of communication on the CM-2. Different data decompositions are described that seek to reduce the amount of communication while maintaining good load balance. These methods require the particles to be spatially sorted at the start of each time step, which introduced another form of overhead. The different methods are implemented in CM FORTRAN on the CM-2 and compared. It was found that the general router is slow in performing the communication in the gather and scatter steps, which precludes an efficient CM FORTRAN implementation. An alternative method that uses PARIS calls and the NEWS communication network to pipeline data along the axes of the VP set is suggested as a more efficient algorithm.

  17. Particle-In-Cell (PIC) code simulation results and comparison with theory scaling laws for photoelectron-generated radiation

    SciTech Connect

    Dipp, T.M. |

    1993-12-01

    The generation of radiation via photoelectrons induced off of a conducting surface was explored using Particle-In-Cell (PIC) code computer simulations. Using the MAGIC PIC code, the simulations were performed in one dimension to handle the diverse scale lengths of the particles and fields in the problem. The simulations involved monoenergetic, nonrelativistic photoelectrons emitted normal to the illuminated conducting surface. A sinusoidal, 100% modulated, 6.3263 ns pulse train, as well as unmodulated emission, were used to explore the behavior of the particles, fields, and generated radiation. A special postprocessor was written to convert the PIC code simulated electron sheath into far-field radiation parameters by means of rigorous retarded time calculations. The results of the small-spot PIC simulations were used to generate various graphs showing resonance and nonresonance radiation quantities such as radiated lobe patterns, frequency, and power. A database of PIC simulation results was created and, using a nonlinear curve-fitting program, compared with theoretical scaling laws. Overall, the small-spot behavior predicted by the theoretical scaling laws was generally observed in the PIC simulation data, providing confidence in both the theoretical scaling laws and the PIC simulations.

  18. VINE-A NUMERICAL CODE FOR SIMULATING ASTROPHYSICAL SYSTEMS USING PARTICLES. I. DESCRIPTION OF THE PHYSICS AND THE NUMERICAL METHODS

    SciTech Connect

    Wetzstein, M.; Nelson, Andrew F.; Naab, T.; Burkert, A.

    2009-10-01

    We present a numerical code for simulating the evolution of astrophysical systems using particles to represent the underlying fluid flow. The code is written in Fortran 95 and is designed to be versatile, flexible, and extensible, with modular options that can be selected either at the time the code is compiled or at run time through a text input file. We include a number of general purpose modules describing a variety of physical processes commonly required in the astrophysical community and we expect that the effort required to integrate additional or alternate modules into the code will be small. In its simplest form the code can evolve the dynamical trajectories of a set of particles in two or three dimensions using a module which implements either a Leapfrog or Runge-Kutta-Fehlberg integrator, selected by the user at compile time. The user may choose to allow the integrator to evolve the system using individual time steps for each particle or with a single, global time step for all. Particles may interact gravitationally as N-body particles, and all or any subset may also interact hydrodynamically, using the smoothed particle hydrodynamic (SPH) method by selecting the SPH module. A third particle species can be included with a module to model massive point particles which may accrete nearby SPH or N-body particles. Such particles may be used to model, e.g., stars in a molecular cloud. Free boundary conditions are implemented by default, and a module may be selected to include periodic boundary conditions. We use a binary 'Press' tree to organize particles for rapid access in gravity and SPH calculations. Modules implementing an interface with special purpose 'GRAPE' hardware may also be selected to accelerate the gravity calculations. If available, forces obtained from the GRAPE coprocessors may be transparently substituted for those obtained from the tree, or both tree and GRAPE may be used as a combination GRAPE/tree code. The code may be run without

  19. Implementation and performance of FDPS: a framework for developing parallel particle simulation codes

    NASA Astrophysics Data System (ADS)

    Iwasawa, Masaki; Tanikawa, Ataru; Hosono, Natsuki; Nitadori, Keigo; Muranushi, Takayuki; Makino, Junichiro

    2016-08-01

    We present the basic idea, implementation, measured performance, and performance model of FDPS (Framework for Developing Particle Simulators). FDPS is an application-development framework which helps researchers to develop simulation programs using particle methods for large-scale distributed-memory parallel supercomputers. A particle-based simulation program for distributed-memory parallel computers needs to perform domain decomposition, exchange of particles which are not in the domain of each computing node, and gathering of the particle information in other nodes which are necessary for interaction calculation. Also, even if distributed-memory parallel computers are not used, in order to reduce the amount of computation, algorithms such as the Barnes-Hut tree algorithm or the Fast Multipole Method should be used in the case of long-range interactions. For short-range interactions, some methods to limit the calculation to neighbor particles are required. FDPS provides all of these functions which are necessary for efficient parallel execution of particle-based simulations as "templates," which are independent of the actual data structure of particles and the functional form of the particle-particle interaction. By using FDPS, researchers can write their programs with the amount of work necessary to write a simple, sequential and unoptimized program of O(N2) calculation cost, and yet the program, once compiled with FDPS, will run efficiently on large-scale parallel supercomputers. A simple gravitational N-body program can be written in around 120 lines. We report the actual performance of these programs and the performance model. The weak scaling performance is very good, and almost linear speed-up was obtained for up to the full system of the K computer. The minimum calculation time per timestep is in the range of 30 ms (N = 107) to 300 ms (N = 109). These are currently limited by the time for the calculation of the domain decomposition and communication

  20. Implementation and performance of FDPS: a framework for developing parallel particle simulation codes

    NASA Astrophysics Data System (ADS)

    Iwasawa, Masaki; Tanikawa, Ataru; Hosono, Natsuki; Nitadori, Keigo; Muranushi, Takayuki; Makino, Junichiro

    2016-06-01

    We present the basic idea, implementation, measured performance, and performance model of FDPS (Framework for Developing Particle Simulators). FDPS is an application-development framework which helps researchers to develop simulation programs using particle methods for large-scale distributed-memory parallel supercomputers. A particle-based simulation program for distributed-memory parallel computers needs to perform domain decomposition, exchange of particles which are not in the domain of each computing node, and gathering of the particle information in other nodes which are necessary for interaction calculation. Also, even if distributed-memory parallel computers are not used, in order to reduce the amount of computation, algorithms such as the Barnes-Hut tree algorithm or the Fast Multipole Method should be used in the case of long-range interactions. For short-range interactions, some methods to limit the calculation to neighbor particles are required. FDPS provides all of these functions which are necessary for efficient parallel execution of particle-based simulations as "templates," which are independent of the actual data structure of particles and the functional form of the particle-particle interaction. By using FDPS, researchers can write their programs with the amount of work necessary to write a simple, sequential and unoptimized program of O(N2) calculation cost, and yet the program, once compiled with FDPS, will run efficiently on large-scale parallel supercomputers. A simple gravitational N-body program can be written in around 120 lines. We report the actual performance of these programs and the performance model. The weak scaling performance is very good, and almost linear speed-up was obtained for up to the full system of the K computer. The minimum calculation time per timestep is in the range of 30 ms (N = 107) to 300 ms (N = 109). These are currently limited by the time for the calculation of the domain decomposition and communication

  1. Simultaneous potential and circuit solution for 1D bounded plasma particle simulation codes

    SciTech Connect

    Verboncoeur, J.P.; Vahedi, V.; Birdsall, C.K. ); Alves, M.V. , S.J. dos Campos )

    1993-02-01

    A general second-order accurate method for solving the combined potential and circuit equations in a one-dimensional electrostatic bounded plasma PIC simulation is presented. The boundary conditions include surface charge on the electrodes, which are connected to a series RLC circuit with driving terms V(t) or l(t). The solution is obtained for planar, cylindrical, and spherical electrodes. The result is a tridiagonal matrix which is readily solved using well-known methods. The method is implemented in the codes PDPL (plasma device planar 1 D), PDC1 (cylindrical), and PDS1 (spherical).

  2. Simultaneous potential and circuit solution for bounded plasma particle simulation codes

    SciTech Connect

    Verboncoeur, J.P.; Alves, M.V.; Vahedi, V.

    1990-08-07

    A second-order accurate method for solving the combined potential and circuit equations in an electrostatic bounded plasma PIC simulation is presented. The boundary conditions include surface charge on the electrodes, which are connected to a series RLC circuit with driving terms V(t) and I(t). The solution is obtained for planar, cylindrical, and spherical electrodes. The result is a tridiagonal matrix which is readily solved using well-known methods. The method is implemented in the codes PDP1 (Plasma Device Planar 1D), PDC1 (Cylindrical), and PDS1 (Spherical). 11 refs., 10 figs.

  3. Application of particle and lattice codes to simulation of hydraulic fracturing

    NASA Astrophysics Data System (ADS)

    Damjanac, Branko; Detournay, Christine; Cundall, Peter A.

    2016-04-01

    With the development of unconventional oil and gas reservoirs over the last 15 years, the understanding and capability to model the propagation of hydraulic fractures in inhomogeneous and naturally fractured reservoirs has become very important for the petroleum industry (but also for some other industries like mining and geothermal). Particle-based models provide advantages over other models and solutions for the simulation of fracturing of rock masses that cannot be assumed to be continuous and homogeneous. It has been demonstrated (Potyondy and Cundall Int J Rock Mech Min Sci Geomech Abstr 41:1329-1364, 2004) that particle models based on a simple force criterion for fracture propagation match theoretical solutions and scale effects derived using the principles of linear elastic fracture mechanics (LEFM). The challenge is how to apply these models effectively (i.e., with acceptable models sizes and computer run times) to the coupled hydro-mechanical problems of relevant time and length scales for practical field applications (i.e., reservoir scale and hours of injection time). A formulation of a fully coupled hydro-mechanical particle-based model and its application to the simulation of hydraulic treatment of unconventional reservoirs are presented. Model validation by comparing with available analytical asymptotic solutions (penny-shape crack) and some examples of field application (e.g., interaction with DFN) are also included.

  4. Particle entry through sash in the magnetopause with a dawndard IMF as simulated by a 3-D EM particle code

    NASA Astrophysics Data System (ADS)

    Cai, D.; Yan, X.; Lembege, B.; Nishikawa, K.

    2003-12-01

    We report a new progress in the long-term effort to represent the global interaction of the solar wind with the Earth's magnetosphere using a three-dimensional electromagnetic particle code with the improved resolutions using the HPF Tristan code. After a quasi-steady state is established with an unmagnetized solar wind we gradually switch on a northward interplanetary magnetic field (IMF), which causes a magnetic reconnection at the nightside cusps and the magnetosphere to be depolarized. In the case that the northward IMF is switched gradually to dawnward, there is no signature of reconnection in the near-Earth magnetotail as in the case with the southward turning. On the contrary analysis of magnetic fields in the magnetopause confirms a signature of magnetic reconnection at both the dawnside and duskside. And the plasma sheet in the near-Earth magnetotail clearly thins as in the case of southward turning. Arrival of dawnward IMF to the magnetopause creates a reconnection groove which cause particle entry into the deep region of the magnetosphere via field lines that go near the magnetopause. This deep connection is more fully recognized tailward of Earth. The flank weak-field fan joins onto the plasma sheet and the current sheet to form a geometrical feature called the cross-tail S that structurally integrates the magnetopause and the tail interior. This structure contributes to direct plasma entry between the magnetosheath to the inner magnetosphere and plasma sheet, in which the entry process heats the magnetosheath plasma to plasma sheet temperatures. These phenomena have been found by Cluster observations. Further investigation with Cluster observations will provide new insights for unsolved problems such as hot flow anomalies (HFAs), substorms, and storm-substorm relationship. 3-D movies with sash structure will be presented at the meeting.

  5. Giant impacts during planet formation: Parallel tree code simulations using smooth particle hydrodynamics

    NASA Astrophysics Data System (ADS)

    Cohen, Randi L.

    There is both theoretical and observational evidence that giant planets collided with objects ≥ Mearth during their evolution. These impacts may play a key role in giant planet formation. This paper describes impacts of a ˜ Earth-mass object onto a suite of proto-giant-planets, as simulated using an SPH parallel tree code. We run 6 simulations, varying the impact angle and evolutionary stage of the proto-Jupiter. We find that it is possible for an impactor to free some mass from the core of the proto-planet it impacts through direct collision, as well as to make physical contact with the core yet escape partially, or even completely, intact. None of the 6 cases we consider produced a solid disk or resulted in a net decrease in the core mass of the pinto-planet (since the mass decrease due to disruption was outweighed by the increase due to the addition of the impactor's mass to the core). However, we suggest parameters which may have these effects, and thus decrease core mass and formation time in protoplanetary models and/or create satellite systems. We find that giant impacts can remove significant envelope mass from forming giant planets, leaving only 2 MEarth of gas, similar to Uranus and Neptune. They can also create compositional inhomogeneities in planetary cores, which creates differences in planetary thermal emission characteristics.

  6. Giant Impacts During Planet Formation: Parallel Tree Code Simulations Using Smooth Particle Hydrodynamics

    NASA Astrophysics Data System (ADS)

    Cohen, R.; Bodenheimer, P.; Asphaug, E.

    2000-12-01

    There is both theoretical and observational evidence that giant planets collided with objects with mass >= Mearth during their evolution. These impacts may help shorten planetary formation timescales by changing the opacity of the planetary atmosphere to allow quicker cooling. They may also redistribute heavy metals within giant planets, affect the core/envelope mass ratio, and help determine the ratio of emitted to absorbed energy within giant planets. Thus, the researchers propose to simulate the impact of a ~ Earth-mass object onto a proto-giant-planet with SPH. Results of the SPH collision models will be input into a steady-state planetary evolution code and the effect of impacts on formation timescales, core/envelope mass ratios, density profiles, and thermal emissions of giant planets will be quantified. The collision will be modelled using a modified version of an SPH routine which simulates the collision of two polytropes. The Saumon-Chabrier and Tillotson equations of state will replace the polytropic equation of state. The parallel tree algorithm of Olson & Packer will be used for the domain decomposition and neighbor search necessary to calculate pressure and self-gravity efficiently. This work is funded by the NASA Graduate Student Researchers Program.

  7. A simulation of a capacitively coupled oxygen discharge using the oopd1 particle-in-cell Monte Carlo code

    NASA Astrophysics Data System (ADS)

    Gudmundsson, J. T.; Lieberman, M. A.; Wang, Ying; Verboncoeur, J. P.

    2009-10-01

    The oopd1 particle-in-cell Monte Carlo (PIC-MC) code is used to simulate a capacitively coupled discharge in oxygen. oopd1 is a one-dimensional object-oriented PIC-MC code [1] in which the model system has one spatial dimension and three velocity components. It contains models for planar, cylindrical, and spherical geometries and replaces the XPDx1 series [2], which is not object-oriented. The revised oxygen model includes, in addition to electrons, the oxygen molecule in ground state, the oxygen atom in ground state, the negative ion O^-, and the positive ions O^+ and O2^+. The cross sections for the collisions among the oxygen species have been significantly revised from earlier work using the xpdp1 code [3]. Here we explore the electron energy distribution function (EEDF), the ion energy distribution function (IEDF) and the density profiles for various pressures and driving frequencies. In particular we investigate the influence of the O^+ ion on the IEDF, we explore the influence of multiple driving frequencies, and we do comparisons to the previous xpdx1 codes. [1] J. P. Verboncoeur, A. B. Langdon, and N. T. Gladd, Comp. Phys. Comm. 87 (1995) 199 [2] J. P. Verboncoeur, M. V. Alves, V. Vahedi, and C. K. Birdsall, J. Comp. Physics 104 (1993) 321 [2] V. Vahedi and M. Surendra, Comp. Phys. Comm. 87 (1995) 179

  8. Simulation of Alfvén eigenmode bursts using a hybrid code for nonlinear magnetohydrodynamics and energetic particles

    NASA Astrophysics Data System (ADS)

    Todo, Y.; Berk, H. L.; Breizman, B. N.

    2012-03-01

    A hybrid simulation code for nonlinear magnetohydrodynamics (MHD) and energetic-particle dynamics has been extended to simulate recurrent bursts of Alfvén eigenmodes by implementing the energetic-particle source, collisions and losses. The Alfvén eigenmode bursts with synchronization of multiple modes and beam ion losses at each burst are successfully simulated with nonlinear MHD effects for the physics condition similar to a reduced simulation for a TFTR experiment (Wong et al 1991 Phys. Rev. Lett. 66 1874, Todo et al 2003 Phys. Plasmas 10 2888). It is demonstrated with a comparison between nonlinear MHD and linear MHD simulation results that the nonlinear MHD effects significantly reduce both the saturation amplitude of the Alfvén eigenmodes and the beam ion losses. Two types of time evolution are found depending on the MHD dissipation coefficients, namely viscosity, resistivity and diffusivity. The Alfvén eigenmode bursts take place for higher dissipation coefficients with roughly 10% drop in stored beam energy and the maximum amplitude of the dominant magnetic fluctuation harmonic δBm/n/B ~ 5 × 10-3 at the mode peak location inside the plasma. Quadratic dependence of beam ion loss rate on magnetic fluctuation amplitude is found for the bursting evolution in the nonlinear MHD simulation. For lower dissipation coefficients, the amplitude of the Alfvén eigenmodes is at steady levels δBm/n/B ~ 2 × 10-3 and the beam ion losses take place continuously. The beam ion pressure profiles are similar among the different dissipation coefficients, and the stored beam energy is higher for higher dissipation coefficients.

  9. LFSC - Linac Feedback Simulation Code

    SciTech Connect

    Ivanov, Valentin; /Fermilab

    2008-05-01

    The computer program LFSC (Simulation Code>) is a numerical tool for simulation beam based feedback in high performance linacs. The code LFSC is based on the earlier version developed by a collective of authors at SLAC (L.Hendrickson, R. McEwen, T. Himel, H. Shoaee, S. Shah, P. Emma, P. Schultz) during 1990-2005. That code was successively used in simulation of SLC, TESLA, CLIC and NLC projects. It can simulate as pulse-to-pulse feedback on timescale corresponding to 5-100 Hz, as slower feedbacks, operating in the 0.1-1 Hz range in the Main Linac and Beam Delivery System. The code LFSC is running under Matlab for MS Windows operating system. It contains about 30,000 lines of source code in more than 260 subroutines. The code uses the LIAR ('Linear Accelerator Research code') for particle tracking under ground motion and technical noise perturbations. It uses the Guinea Pig code to simulate the luminosity performance. A set of input files includes the lattice description (XSIF format), and plane text files with numerical parameters, wake fields, ground motion data etc. The Matlab environment provides a flexible system for graphical output.

  10. Electrical Circuit Simulation Code

    Energy Science and Technology Software Center (ESTSC)

    2001-08-09

    Massively-Parallel Electrical Circuit Simulation Code. CHILESPICE is a massively-arallel distributed-memory electrical circuit simulation tool that contains many enhanced radiation, time-based, and thermal features and models. Large scale electronic circuit simulation. Shared memory, parallel processing, enhance convergence. Sandia specific device models.

  11. Simulations of an accelerator-based shielding experiment using the particle and heavy-ion transport code system PHITS.

    PubMed

    Sato, T; Sihver, L; Iwase, H; Nakashima, H; Niita, K

    2005-01-01

    In order to estimate the biological effects of HZE particles, an accurate knowledge of the physics of interaction of HZE particles is necessary. Since the heavy ion transport problem is a complex one, there is a need for both experimental and theoretical studies to develop accurate transport models. RIST and JAERI (Japan), GSI (Germany) and Chalmers (Sweden) are therefore currently developing and bench marking the General-Purpose Particle and Heavy-Ion Transport code System (PHITS), which is based on the NMTC and MCNP for nucleon/meson and neutron transport respectively, and the JAM hadron cascade model. PHITS uses JAERI Quantum Molecular Dynamics (JQMD) and the Generalized Evaporation Model (GEM) for calculations of fission and evaporation processes, a model developed at NASA Langley for calculation of total reaction cross sections, and the SPAR model for stopping power calculations. The future development of PHITS includes better parameterization in the JQMD model used for the nucleus-nucleus reactions, and improvement of the models used for calculating total reaction cross sections, and addition of routines for calculating elastic scattering of heavy ions, and inclusion of radioactivity and burn up processes. As a part of an extensive bench marking of PHITS, we have compared energy spectra of secondary neutrons created by reactions of HZE particles with different targets, with thicknesses ranging from <1 to 200 cm. We have also compared simulated and measured spatial, fluence and depth-dose distributions from different high energy heavy ion reactions. In this paper, we report simulations of an accelerator-based shielding experiment, in which a beam of 1 GeV/n Fe-ions has passed through thin slabs of polyethylene, Al, and Pb at an acceptance angle up to 4 degrees. PMID:15934196

  12. Simulations of an accelerator-based shielding experiment using the particle and heavy-ion transport code system PHITS

    NASA Astrophysics Data System (ADS)

    Sato, T.; Sihver, L.; Iwase, H.; Nakashima, H.; Niita, K.

    In order to estimate the biological effects of HZE particles, an accurate knowledge of the physics of interaction of HZE particles is necessary. Since the heavy ion transport problem is a complex one, there is a need for both experimental and theoretical studies to develop accurate transport models. RIST and JAERI (Japan), GSI (Germany) and Chalmers (Sweden) are therefore currently developing and bench marking the General-Purpose Particle and Heavy-Ion Transport code System (PHITS), which is based on the NMTC and MCNP for nucleon/meson and neutron transport respectively, and the JAM hadron cascade model. PHITS uses JAERI Quantum Molecular Dynamics (JQMD) and the Generalized Evaporation Model (GEM) for calculations of fission and evaporation processes, a model developed at NASA Langley for calculation of total reaction cross sections, and the SPAR model for stopping power calculations. The future development of PHITS includes better parameterization in the JQMD model used for the nucleus-nucleus reactions, and improvement of the models used for calculating total reaction cross sections, and addition of routines for calculating elastic scattering of heavy ions, and inclusion of radioactivity and burn up processes. As a part of an extensive bench marking of PHITS, we have compared energy spectra of secondary neutrons created by reactions of HZE particles with different targets, with thicknesses ranging from <1 to 200 cm. We have also compared simulated and measured spatial, fluence and depth-dose distributions from different high energy heavy ion reactions. In this paper, we report simulations of an accelerator-based shielding experiment, in which a beam of 1 GeV/n Fe-ions has passed through thin slabs of polyethylene, Al, and Pb at an acceptance angle up to 4°.

  13. Coalescence of two current loops with a kink instability simulated by a three-dimensional electromagnetic particle code

    NASA Technical Reports Server (NTRS)

    Nishikawa, K.-I.; Sakai, J.-I.; Zhao, Jie; Neubert, T.; Buneman, Oscar

    1994-01-01

    We have studied the dynamics of a coalescence of current loops using three-dimensional electromagnetic (EM) particle simulation code. Our focus is the investigation of such kinetic processes as energy trasnfer, heating particles, and electromagnetic emissions associated with a current loop coalescence which cannot be studied by MHD simulations. First, the two loops undergo a pinching oscillation due to a pressure imbalance between the inside and outside of the current loop. During the pinching oscillation, a kinetic kink instability is excited and electrons in the loops are heated perpendicularly to an ambient magnetic field. Next, the two current loops collide and coalesce, while at the same time a helical structure grows further. Subsequently, the perturbed current, which is due to these helically bunched electrons, can drive a whistler instability. It should be noted in this case that the whistler wave is excited by the kinetic kink instability and not a beam instability. After the coalescence of two helical loops, tilting motions can be observed in the direction of left-hand rotation, and the helical structure will relax resulting in strong plasma heating mostly in the direction perpendicular to the ambient magnetic field. It is also shown that high-frequency electromagnetic waves can be emitted from the region where the two loops coalesce and propagate strongly in the direction of the electron drift velocity. These processes may be important in understanding heating mechansims for coronal loops as well as radio wave emission mechanisms from active regions of solar plasmas.

  14. Compressible Astrophysics Simulation Code

    Energy Science and Technology Software Center (ESTSC)

    2007-07-18

    This is an astrophysics simulation code involving a radiation diffusion module developed at LLNL coupled to compressible hydrodynamics and adaptive mesh infrastructure developed at LBNL. One intended application is to neutrino diffusion in core collapse supernovae.

  15. TPM: Tree-Particle-Mesh code

    NASA Astrophysics Data System (ADS)

    Bode, Paul

    2013-05-01

    TPM carries out collisionless (dark matter) cosmological N-body simulations, evolving a system of N particles as they move under their mutual gravitational interaction. It combines aspects of both Tree and Particle-Mesh algorithms. After the global PM forces are calculated, spatially distinct regions above a given density contrast are located; the tree code calculates the gravitational interactions inside these denser objects at higher spatial and temporal resolution. The code is parallel and uses MPI for message passing.

  16. Orbit-averaged implicit particle codes

    NASA Astrophysics Data System (ADS)

    Cohen, B. I.; Freis, R. P.; Thomas, V.

    1982-03-01

    The merging of orbit-averaged particle code techniques with recently developed implicit methods to perform numerically stable and accurate particle simulations are reported. Implicitness and orbit averaging can extend the applicability of particle codes to the simulation of long time-scale plasma physics phenomena by relaxing time-step and statistical constraints. Difference equations for an electrostatic model are presented, and analyses of the numerical stability of each scheme are given. Simulation examples are presented for a one-dimensional electrostatic model. Schemes are constructed that are stable at large-time step, require fewer particles, and, hence, reduce input-output and memory requirements. Orbit averaging, however, in the unmagnetized electrostatic models tested so far is not as successful as in cases where there is a magnetic field. Methods are suggested in which orbit averaging should achieve more significant improvements in code efficiency.

  17. The dynamics of low-beta plasma clouds as simulated by a three-dimensional, electromagnetic particle code

    NASA Technical Reports Server (NTRS)

    Neubert, T.; Miller, R. H.; Buneman, O.; Nishikawa, K.-I.

    1992-01-01

    A 3D electromagnetic and relativistic particle simulation code is used to investigate the dynamics of low-beta plasma clouds moving perpendicular to an ambient magnetic field in vacuum and in a background plasma. The simulations show the formation of the space charge sheaths at the sides of the cloud with the associated polarization electric field which facilitate the cross-field propagation, as well as the sheaths at the front and rear end of the cloud caused by the larger ion Larmor radius, which allows ions to move ahead and lag behind the electrons as they gyrate. It is found that, in a background plasma, electron and ion sheaths expand along the magnetic field at the same rate, whereas in vacuum the electron sheath expands much faster than the ion sheath. Sheath clouds are accelerated up to relativistic energies, which indicates that artificial plasma clouds released in the ionosphere or magnetosphere may generate optical emissions as energetic sheath electrons scatter in the upper atmosphere.

  18. IFR code for secondary particle dynamics

    SciTech Connect

    Teague, M.R.; Yu, S.S.

    1985-10-11

    A numerical simulation has been constructed to obtain a detailed, quantitative estimate of the electromagnetic fields and currents existing in the Advanced Test Accelerator under conditions of laser guiding. The code treats the secondary electrons by particle simulation and the beam dynamics by a time-dependent envelope model. The simulation gives a fully relativistic description of secondary electrons moving in self-consistent electromagnetic fields. The calculations are made using coordinates t, x, y, z for the electrons and t, ct-z, r for the axisymmetric electromagnetic fields and currents. Code results, showing in particular current enhancement effects, will be given.

  19. Simulation of halo particles with Simpsons

    NASA Astrophysics Data System (ADS)

    Machida, Shinji

    2003-12-01

    Recent code improvements and some simulation results of halo particles with Simpsons will be presented. We tried to identify resonance behavior of halo particles by looking at tune evolution of individual macro particle.

  20. Error coding simulations

    NASA Technical Reports Server (NTRS)

    Noble, Viveca K.

    1993-01-01

    There are various elements such as radio frequency interference (RFI) which may induce errors in data being transmitted via a satellite communication link. When a transmission is affected by interference or other error-causing elements, the transmitted data becomes indecipherable. It becomes necessary to implement techniques to recover from these disturbances. The objective of this research is to develop software which simulates error control circuits and evaluate the performance of these modules in various bit error rate environments. The results of the evaluation provide the engineer with information which helps determine the optimal error control scheme. The Consultative Committee for Space Data Systems (CCSDS) recommends the use of Reed-Solomon (RS) and convolutional encoders and Viterbi and RS decoders for error correction. The use of forward error correction techniques greatly reduces the received signal to noise needed for a certain desired bit error rate. The use of concatenated coding, e.g. inner convolutional code and outer RS code, provides even greater coding gain. The 16-bit cyclic redundancy check (CRC) code is recommended by CCSDS for error detection.

  1. Error coding simulations

    NASA Astrophysics Data System (ADS)

    Noble, Viveca K.

    1993-11-01

    There are various elements such as radio frequency interference (RFI) which may induce errors in data being transmitted via a satellite communication link. When a transmission is affected by interference or other error-causing elements, the transmitted data becomes indecipherable. It becomes necessary to implement techniques to recover from these disturbances. The objective of this research is to develop software which simulates error control circuits and evaluate the performance of these modules in various bit error rate environments. The results of the evaluation provide the engineer with information which helps determine the optimal error control scheme. The Consultative Committee for Space Data Systems (CCSDS) recommends the use of Reed-Solomon (RS) and convolutional encoders and Viterbi and RS decoders for error correction. The use of forward error correction techniques greatly reduces the received signal to noise needed for a certain desired bit error rate. The use of concatenated coding, e.g. inner convolutional code and outer RS code, provides even greater coding gain. The 16-bit cyclic redundancy check (CRC) code is recommended by CCSDS for error detection.

  2. A Description of the Full Particle Orbit Following SPIRAL Code for Simulating Fast-ion Experiments in Tokamaks

    SciTech Connect

    Kramer, G.J.; Budny, R.V.; Bortolon, A.; Fredrickson, E.D.; Fu, G.Y.; Heidbrink, W.W.; Nazikian, R.; Valeo, E.; Van Zeeland, M.A.

    2012-07-27

    The numerical methods used in the full particle-orbit following SPIRAL code are described and a number of physics studies performed with the code are presented to illustrate its capabilities. The SPIRAL code is a test-particle code and is a powerful numerical tool to interpret and plan fast-ion experiments in Tokamaks. Gyro-orbit effects are important for fast ions in low-field machines such as NSTX and to a lesser extent in DIII-D. A number of physics studies are interlaced between the description of the code to illustrate its capabilities. Results on heat loads generated by a localized error-field on the DIII-D wall are compared to measurements. The enhanced Triton losses caused by the same localized error-field are calculated and compared to measured neutron signals. MHD activity such as tearing modes and Toroidicity-induced Alfven Eigenmodes (TAEs) have a profound effect on the fast-ion content of Tokamak plasmas and SPIRAL can calculate the effects of MHD activity on the confined and lost fast-ion population as illustrated for a burst of TAE activity in NSTX. The interaction between Ion Cyclotron Range of Frequency (ICRF) heating and fast ions depends solely on the gyro-motion of the fast ions and is captured exactly in the SPIRAL code. A calculation of ICRF absorption on beam ions in ITER is presented. The effects of high harmonic fast wave heating on the beam-ion slowing-down distribution in NSTX is also studied.

  3. Radiation in Particle Simulations

    SciTech Connect

    More, R; Graziani, F; Glosli, J; Surh, M

    2010-11-19

    Hot dense radiative (HDR) plasmas common to Inertial Confinement Fusion (ICF) and stellar interiors have high temperature (a few hundred eV to tens of keV), high density (tens to hundreds of g/cc) and high pressure (hundreds of megabars to thousands of gigabars). Typically, such plasmas undergo collisional, radiative, atomic and possibly thermonuclear processes. In order to describe HDR plasmas, computational physicists in ICF and astrophysics use atomic-scale microphysical models implemented in various simulation codes. Experimental validation of the models used to describe HDR plasmas are difficult to perform. Direct Numerical Simulation (DNS) of the many-body interactions of plasmas is a promising approach to model validation but, previous work either relies on the collisionless approximation or ignores radiation. We present four methods that attempt a new numerical simulation technique to address a currently unsolved problem: the extension of molecular dynamics to collisional plasmas including emission and absorption of radiation. The first method applies the Lienard-Weichert solution of Maxwell's equations for a classical particle whose motion is assumed to be known. The second method expands the electromagnetic field in normal modes (planewaves in a box with periodic boundary-conditions) and solves the equation for wave amplitudes coupled to the particle motion. The third method is a hybrid molecular dynamics/Monte Carlo (MD/MC) method which calculates radiation emitted or absorbed by electron-ion pairs during close collisions. The fourth method is a generalization of the third method to include small clusters of particles emitting radiation during close encounters: one electron simultaneously hitting two ions, two electrons simultaneously hitting one ion, etc. This approach is inspired by the virial expansion method of equilibrium statistical mechanics. Using a combination of these methods we believe it is possible to do atomic-scale particle simulations of

  4. Simulations of magnetic reconnection with Parsek2D-MLMD, a new Multi Level Multi Domain (MLMD) Implicit Moment Method (IMM) Particle in Cell (PIC) code

    NASA Astrophysics Data System (ADS)

    Innocenti, M.; Beck, A.; Lapenta, G.; Markidis, S.

    2012-12-01

    The kinetic simulation of intrinsically multi scale processes such as magnetic reconnection events with realistic mass ratios is a daunting task for explicit Particle In Cell (PIC) codes, which require to use resolutions of the order of the electron Debye length even when simulating dramatically bigger domains. As an example, a simulation of reconnection in the magnetotail, with domain sizes of the order of 20 di x 10 di (˜ 7.2 106 m x 3.6 106 m, with di being the ion skin depth) and a resolution of λD,e= 687 m, with λD,e the electron Debye length, requires the astounding number of 10500 x 5240 cells. Higher grid spacings can be used if the simulation is performed with an implicit PIC code, which substitutes a much less strict accuracy constraint to the stability constraint of explicit PIC codes. The same reconnection problem as before can be simulated, with an implicit PIC code resolving the scale of interest of de /2 instead of the electron Debye length (de is the electron skin depth), with the much more manageable number of 1920 x 958 cells. However, an even smaller number of cells can be used if, instead of using the same, high resolution on the entire domain, the domain to simulate is divided into subdomains each resolved with a grid spacing related to the physical scale of interest in the specific subdomain. In the case of reconnection, the division which immediately springs to mind is between electron diffusion region, ion diffusion region and outer region, where resolutions respectively of the order of fractions of the electron skin depth, of the ion skin depth and bigger can be used. We present here a new Multi Level Multi Domain (MLMD) Implicit Moment Method (IMM) Particle In Cell (PIC) code, Parsek2D-MLMD, able to perform simulations of magnetic reconnection where the expensive high resolutions are used only when needed, while the rest of the domain is simulated with grid spacings chosen according to the local scales of interest. The major difference

  5. Radiation in Particle Simulations

    SciTech Connect

    More, R M; Graziani, F R; Glosli, J; Surh, M

    2009-06-15

    Hot dense radiative (HDR) plasmas common to Inertial Confinement Fusion (ICF) and stellar interiors have high temperature (a few hundred eV to tens of keV), high density (tens to hundreds of g/cc) and high pressure (hundreds of Megabars to thousands of Gigabars). Typically, such plasmas undergo collisional, radiative, atomic and possibly thermonuclear processes. In order to describe HDR plasmas, computational physicists in ICF and astrophysics use atomic-scale microphysical models implemented in various simulation codes. Experimental validation of the models used to describe HDR plasmas are difficult to perform. Direct Numerical Simulation (DNS) of the many-body interactions of plasmas is a promising approach to model validation but, previous work either relies on the collisionless approximation or ignores radiation. We present four methods that attempt a new numerical simulation technique to address a currently unsolved problem: the extension of molecular dynamics to collisional plasmas including emission and absorption of radiation. The first method applies the Lienard-Weichert solution of Maxwell's equations for a classical particle whose motion is assumed to be known (section 3). The second method expands the electromagnetic field in normal modes (plane-waves in a box with periodic boundary-conditions) and solves the equation for wave amplitudes coupled to the particle motion (section 4). The third method is a hybrid MD/MC (molecular dynamics/Monte Carlo) method which calculates radiation emitted or absorbed by electron-ion pairs during close collisions (section 5). The fourth method is a generalization of the third method to include small clusters of particles emitting radiation during close encounters: one electron simultaneously hitting two ions, two electrons simultaneously hitting one ion, etc.(section 6). This approach is inspired by the Virial expansion method of equilibrium statistical mechanics.

  6. A Large-Particle Monte Carlo Code for Simulating Non-Linear High-Energy Processes Near Compact Objects

    NASA Technical Reports Server (NTRS)

    Stern, Boris E.; Svensson, Roland; Begelman, Mitchell C.; Sikora, Marek

    1995-01-01

    High-energy radiation processes in compact cosmic objects are often expected to have a strongly non-linear behavior. Such behavior is shown, for example, by electron-positron pair cascades and the time evolution of relativistic proton distributions in dense radiation fields. Three independent techniques have been developed to simulate these non-linear problems: the kinetic equation approach; the phase-space density (PSD) Monte Carlo method; and the large-particle (LP) Monte Carlo method. In this paper, we present the latest version of the LP method and compare it with the other methods. The efficiency of the method in treating geometrically complex problems is illustrated by showing results of simulations of 1D, 2D and 3D systems. The method is shown to be powerful enough to treat non-spherical geometries, including such effects as bulk motion of the background plasma, reflection of radiation from cold matter, and anisotropic distributions of radiating particles. It can therefore be applied to simulate high-energy processes in such astrophysical systems as accretion discs with coronae, relativistic jets, pulsar magnetospheres and gamma-ray bursts.

  7. DELightcurveSimulation: Light curve simulation code

    NASA Astrophysics Data System (ADS)

    Connolly, Samuel D.

    2016-02-01

    DELightcurveSimulation simulates light curves with any given power spectral density and any probability density function, following the algorithm described in Emmanoulopoulos et al. (2013). The simulated products have exactly the same variability and statistical properties as the observed light curves. The code is a Python implementation of the Mathematica code provided by Emmanoulopoulos et al.

  8. Development of the 3D Parallel Particle-In-Cell Code IMPACT to Simulate the Ion Beam Transport System of VENUS (Abstract)

    SciTech Connect

    Qiang, J.; Leitner, D.; Todd, D.S.; Ryne, R.D.

    2005-03-15

    The superconducting ECR ion source VENUS serves as the prototype injector ion source for the Rare Isotope Accelerator (RIA) driver linac. The RIA driver linac requires a great variety of high charge state ion beams with up to an order of magnitude higher intensity than currently achievable with conventional ECR ion sources. In order to design the beam line optics of the low energy beam line for the RIA front end for the wide parameter range required for the RIA driver accelerator, reliable simulations of the ion beam extraction from the ECR ion source through the ion mass analyzing system are essential. The RIA low energy beam transport line must be able to transport intense beams (up to 10 mA) of light and heavy ions at 30 keV.For this purpose, LBNL is developing the parallel 3D particle-in-cell code IMPACT to simulate the ion beam transport from the ECR extraction aperture through the analyzing section of the low energy transport system. IMPACT, a parallel, particle-in-cell code, is currently used to model the superconducting RF linac section of RIA and is being modified in order to simulate DC beams from the ECR ion source extraction. By using the high performance of parallel supercomputing we will be able to account consistently for the changing space charge in the extraction region and the analyzing section. A progress report and early results in the modeling of the VENUS source will be presented.

  9. Development of the 3D Parallel Particle-In-Cell Code IMPACT to Simulate the Ion Beam Transport System of VENUS (Abstract)

    NASA Astrophysics Data System (ADS)

    Qiang, J.; Leitner, D.; Todd, D. S.; Ryne, R. D.

    2005-03-01

    The superconducting ECR ion source VENUS serves as the prototype injector ion source for the Rare Isotope Accelerator (RIA) driver linac. The RIA driver linac requires a great variety of high charge state ion beams with up to an order of magnitude higher intensity than currently achievable with conventional ECR ion sources. In order to design the beam line optics of the low energy beam line for the RIA front end for the wide parameter range required for the RIA driver accelerator, reliable simulations of the ion beam extraction from the ECR ion source through the ion mass analyzing system are essential. The RIA low energy beam transport line must be able to transport intense beams (up to 10 mA) of light and heavy ions at 30 keV. For this purpose, LBNL is developing the parallel 3D particle-in-cell code IMPACT to simulate the ion beam transport from the ECR extraction aperture through the analyzing section of the low energy transport system. IMPACT, a parallel, particle-in-cell code, is currently used to model the superconducting RF linac section of RIA and is being modified in order to simulate DC beams from the ECR ion source extraction. By using the high performance of parallel supercomputing we will be able to account consistently for the changing space charge in the extraction region and the analyzing section. A progress report and early results in the modeling of the VENUS source will be presented.

  10. Computer simulations of particle packing

    SciTech Connect

    Cesarano, J. III; McEuen, M.J.; Swiler, T.

    1996-09-01

    Computer code has been developed to rapidly simulate the random packing of disks and spheres in two and three dimensions. Any size distribution may be packed. The code simulates varying degrees of inter particle conditions ranging from sticky to free flowing. The code will also calculate the overall packing density, density distributions, and void size distributions (in two dimensions). An important aspect of the code is that it is written in C++ and incorporates a user-friendly graphical interface for standard Macintosh and Power PC platforms. Investigations as to how well the code simulates the realistic random packing have begun. The code has been developed in consideration of the problem of filling a container (or die) with spray-dried granules of ceramic powder (represented by spheres). Although not presented here, the futuristic goal of this work is to give users the ability to predict homogeneity of filled dies prior to dry pressing. Additionally, this software has educational utility for studying relationships between particle size distributions and macrostructures.

  11. Nonlinear fluid simulation of particle and heat fluxes during burst of ELMs on DIII-D with BOUT++ code [Fluid Simulation of Particle and Heat Fluxes during Burst of ELMs on DIID with BOUT++ code

    DOE PAGESBeta

    Xia, T. Y.; Xu, X. Q.

    2015-09-01

    In order to study the distribution and evolution of the transient particle and heat fluxes during edge-localized mode (ELM) bursts, a BOUT++ six-field two-fluid model based on the Braginskii equations with non-ideal physics effects is used to simulate pedestal collapse in divertor geometry. We used the profiles from the DIII-D H-mode discharge #144382 with fast target heat flux measurements as the initial conditions for the simulations. Moreover, a flux-limited parallel thermal conduction is used with three values of the flux-limiting coefficientmore » $${{\\alpha}_{j}}$$ , free streaming model with $${{\\alpha}_{j}}=1$$ , sheath-limit with $${{\\alpha}_{j}}=0.05$$ , and one value in between. The studies show that a 20 times increase in $${{\\alpha}_{j}}$$ leads to ~6 times increase in the heat flux amplitude to both the inner and outer targets, and the widths of the fluxes are also expanded. The sheath-limit model of flux-limiting coefficient is found to be the most appropriate one, which shows ELM sizes close to the measurements. The evolution of the density profile during the burst of ELMs of DIII-D discharge #144382 is simulated, and the collapse in width and depth of $${{n}_{\\text{e}}}$$ are reproduced at different time steps. The growing process of the profiles for the heat flux at divertor targets during the burst of ELMs measured by IRTV (infrared television) is also reproduced by this model. The widths of heat fluxes towards targets are a little narrower, and the peak amplitudes are twice the measurements possibly due to the lack of a model of divertor radiation which can effectively reduce the heat fluxes. The magnetic flutter combined with parallel thermal conduction is found to be able to increase the total heat loss by around 33% since the magnetic flutter terms provide the additional conductive heat transport in the radial direction. Finally, the heat flux profile at both the inner and outer targets is obviously broadened by magnetic flutter. The

  12. Nonlinear fluid simulation of particle and heat fluxes during burst of ELMs on DIII-D with BOUT++ code [Fluid Simulation of Particle and Heat Fluxes during Burst of ELMs on DIID with BOUT++ code

    SciTech Connect

    Xia, T. Y.; Xu, X. Q.

    2015-09-01

    In order to study the distribution and evolution of the transient particle and heat fluxes during edge-localized mode (ELM) bursts, a BOUT++ six-field two-fluid model based on the Braginskii equations with non-ideal physics effects is used to simulate pedestal collapse in divertor geometry. We used the profiles from the DIII-D H-mode discharge #144382 with fast target heat flux measurements as the initial conditions for the simulations. Moreover, a flux-limited parallel thermal conduction is used with three values of the flux-limiting coefficient ${{\\alpha}_{j}}$ , free streaming model with ${{\\alpha}_{j}}=1$ , sheath-limit with ${{\\alpha}_{j}}=0.05$ , and one value in between. The studies show that a 20 times increase in ${{\\alpha}_{j}}$ leads to ~6 times increase in the heat flux amplitude to both the inner and outer targets, and the widths of the fluxes are also expanded. The sheath-limit model of flux-limiting coefficient is found to be the most appropriate one, which shows ELM sizes close to the measurements. The evolution of the density profile during the burst of ELMs of DIII-D discharge #144382 is simulated, and the collapse in width and depth of ${{n}_{\\text{e}}}$ are reproduced at different time steps. The growing process of the profiles for the heat flux at divertor targets during the burst of ELMs measured by IRTV (infrared television) is also reproduced by this model. The widths of heat fluxes towards targets are a little narrower, and the peak amplitudes are twice the measurements possibly due to the lack of a model of divertor radiation which can effectively reduce the heat fluxes. The magnetic flutter combined with parallel thermal conduction is found to be able to increase the total heat loss by around 33% since the magnetic flutter terms provide the additional conductive heat transport in the radial direction. Finally, the heat flux profile at both the inner and outer targets is obviously broadened by magnetic flutter. The lobe structures

  13. High Energy Particle Transport Code System.

    Energy Science and Technology Software Center (ESTSC)

    2003-12-17

    Version 00 NMTC/JAM is an upgraded version of the code CCC-694/NMTC-JAERI97, which was developed in 1982 at JAERI and is based on the CCC-161/NMTC code system. NMTC/JAM simulates high energy nuclear reactions and nuclear meson transport processes. The applicable energy range of NMTC/JAM was extended in principle up to 200 GeV for nucleons and mesons by introducing the high energy nuclear reaction code Jet-Aa Microscopic (JAM) for the intra-nuclear cascade part. For the evaporation andmore » fission process, a new model, GEM, can be used to describe the light nucleus production from the excited residual nucleus. According to the extension of the applicable energy, the nucleon-nucleus non-elastic, elastic and differential elastic cross section data were upgraded. In addition, the particle transport in a magnetic field was implemented for beam transport calculations. Some new tally functions were added, and the format of input and output of data is more user friendly. These new calculation functions and utilities provide a tool to carry out reliable neutronics study of a large scale target system with complex geometry more accurately and easily than with the previous model. It implements an intranuclear cascade model taking account of the in-medium nuclear effects and the preequilibrium calculation model based on the exciton one. For treating the nucleon transport process, the nucleon-nucleus cross sections are revised to those derived by the systematics of Pearlstein. Moreover, the level density parameter derived by Ignatyuk is included as a new option for particle evaporation calculation. A geometry package based on the Combinatorial Geometry with multi-array system and the importance sampling technique is implemented in the code. Tally function is also employed for obtaining such physical quantities as neutron energy spectra, heat deposition and nuclide yield without editing a history file. The code can simulate both the primary spallation reaction and the

  14. Error coding simulations in C

    NASA Technical Reports Server (NTRS)

    Noble, Viveca K.

    1994-01-01

    When data is transmitted through a noisy channel, errors are produced within the data rendering it indecipherable. Through the use of error control coding techniques, the bit error rate can be reduced to any desired level without sacrificing the transmission data rate. The Astrionics Laboratory at Marshall Space Flight Center has decided to use a modular, end-to-end telemetry data simulator to simulate the transmission of data from flight to ground and various methods of error control. The simulator includes modules for random data generation, data compression, Consultative Committee for Space Data Systems (CCSDS) transfer frame formation, error correction/detection, error generation and error statistics. The simulator utilizes a concatenated coding scheme which includes CCSDS standard (255,223) Reed-Solomon (RS) code over GF(2(exp 8)) with interleave depth of 5 as the outermost code, (7, 1/2) convolutional code as an inner code and CCSDS recommended (n, n-16) cyclic redundancy check (CRC) code as the innermost code, where n is the number of information bits plus 16 parity bits. The received signal-to-noise for a desired bit error rate is greatly reduced through the use of forward error correction techniques. Even greater coding gain is provided through the use of a concatenated coding scheme. Interleaving/deinterleaving is necessary to randomize burst errors which may appear at the input of the RS decoder. The burst correction capability length is increased in proportion to the interleave depth. The modular nature of the simulator allows for inclusion or exclusion of modules as needed. This paper describes the development and operation of the simulator, the verification of a C-language Reed-Solomon code, and the possibility of using Comdisco SPW(tm) as a tool for determining optimal error control schemes.

  15. Error coding simulations in C

    NASA Astrophysics Data System (ADS)

    Noble, Viveca K.

    1994-10-01

    When data is transmitted through a noisy channel, errors are produced within the data rendering it indecipherable. Through the use of error control coding techniques, the bit error rate can be reduced to any desired level without sacrificing the transmission data rate. The Astrionics Laboratory at Marshall Space Flight Center has decided to use a modular, end-to-end telemetry data simulator to simulate the transmission of data from flight to ground and various methods of error control. The simulator includes modules for random data generation, data compression, Consultative Committee for Space Data Systems (CCSDS) transfer frame formation, error correction/detection, error generation and error statistics. The simulator utilizes a concatenated coding scheme which includes CCSDS standard (255,223) Reed-Solomon (RS) code over GF(2(exp 8)) with interleave depth of 5 as the outermost code, (7, 1/2) convolutional code as an inner code and CCSDS recommended (n, n-16) cyclic redundancy check (CRC) code as the innermost code, where n is the number of information bits plus 16 parity bits. The received signal-to-noise for a desired bit error rate is greatly reduced through the use of forward error correction techniques. Even greater coding gain is provided through the use of a concatenated coding scheme. Interleaving/deinterleaving is necessary to randomize burst errors which may appear at the input of the RS decoder. The burst correction capability length is increased in proportion to the interleave depth. The modular nature of the simulator allows for inclusion or exclusion of modules as needed. This paper describes the development and operation of the simulator, the verification of a C-language Reed-Solomon code, and the possibility of using Comdisco SPW(tm) as a tool for determining optimal error control schemes.

  16. Flight code validation simulator

    SciTech Connect

    Sims, B.A.

    1995-08-01

    An End-To-End Simulation capability for software development and validation of missile flight software on the actual embedded computer has been developed utilizing a 486 PC, i860 DSP coprocessor, embedded flight computer and custom dual port memory interface hardware. This system allows real-time interrupt driven embedded flight software development and checkout. The flight software runs in a Sandia Digital Airborne Computer (SANDAC) and reads and writes actual hardware sensor locations in which IMU (Inertial Measurements Unit) data resides. The simulator provides six degree of freedom real-time dynamic simulation, accurate real-time discrete sensor data and acts on commands and discretes from the flight computer. This system was utilized in the development and validation of the successful premier flight of the Digital Miniature Attitude Reference System (DMARS) in January 1995 at the White Sands Missile Range on a two stage attitude controlled sounding rocket.

  17. Multidimensional multiphysics simulation of TRISO particle fuel

    NASA Astrophysics Data System (ADS)

    Hales, J. D.; Williamson, R. L.; Novascone, S. R.; Perez, D. M.; Spencer, B. W.; Pastore, G.

    2013-11-01

    Multidimensional multiphysics analysis of TRISO-coated particle fuel using the BISON finite element nuclear fuels code is described. The governing equations and material models applicable to particle fuel and implemented in BISON are outlined. Code verification based on a recent IAEA benchmarking exercise is described, and excellent comparisons are reported. Multiple TRISO-coated particles of increasing geometric complexity are considered. The code's ability to use the same algorithms and models to solve problems of varying dimensionality from 1D through 3D is demonstrated. The code provides rapid solutions of 1D spherically symmetric and 2D axially symmetric models, and its scalable parallel processing capability allows for solutions of large, complex 3D models. Additionally, the flexibility to easily include new physical and material models and straightforward ability to couple to lower length scale simulations makes BISON a powerful tool for simulation of coated-particle fuel. Future code development activities and potential applications are identified.

  18. Macroscale particle simulation of kinetic Alfven waves

    NASA Technical Reports Server (NTRS)

    Tanaka, Motohiko; Sato, Tetsuya; Hasegawa, Akira

    1987-01-01

    Two types of simulations of the kinetic Alfven wave are presented using a macroscale particle simulation code (Tanaka and Sato, 1986) which enables individual particle dynamics to be followed in the MHD scales. In this code, low frequency electromagnetic fields are solved by eliminating high frequency oscillations such as the light modes, and the scalar potential electric field is solved by eliminating Lagrangian oscillations. The dependences of the frequency and the Landau damping on the perpendicular wavenumber were studied, and good agreement was found between simulation and theoretical predictions. Some fundamental nonlinear interactions of the kinetic Alfven wave with the particles (parallel acceleration of the electrons) were also noted.

  19. An implicit Smooth Particle Hydrodynamic code

    SciTech Connect

    Charles E. Knapp

    2000-04-01

    An implicit version of the Smooth Particle Hydrodynamic (SPH) code SPHINX has been written and is working. In conjunction with the SPHINX code the new implicit code models fluids and solids under a wide range of conditions. SPH codes are Lagrangian, meshless and use particles to model the fluids and solids. The implicit code makes use of the Krylov iterative techniques for solving large linear-systems and a Newton-Raphson method for non-linear corrections. It uses numerical derivatives to construct the Jacobian matrix. It uses sparse techniques to save on memory storage and to reduce the amount of computation. It is believed that this is the first implicit SPH code to use Newton-Krylov techniques, and is also the first implicit SPH code to model solids. A description of SPH and the techniques used in the implicit code are presented. Then, the results of a number of tests cases are discussed, which include a shock tube problem, a Rayleigh-Taylor problem, a breaking dam problem, and a single jet of gas problem. The results are shown to be in very good agreement with analytic solutions, experimental results, and the explicit SPHINX code. In the case of the single jet of gas case it has been demonstrated that the implicit code can do a problem in much shorter time than the explicit code. The problem was, however, very unphysical, but it does demonstrate the potential of the implicit code. It is a first step toward a useful implicit SPH code.

  20. Simulations of an Accelerator-based Shielding Shielding Experiment Using theParticle and Heavy-Ion Transport code System PHITS

    NASA Astrophysics Data System (ADS)

    Sato, T.; Sihver, L.; Iwase, H.; Nakashima, H.; Niita, K.

    In order to estimate the biological effects of HZE particles, an accurate knowledge of the physics of interaction of HZE particles is necessary. Since the heavy ion transport problem is a complex one, there is a need for both experimental and theoretical studies to develop accurate transport models. RIST and JAERI (Japan), GSI (Germany) and Chalmers (Sweden) are therefore currently developing and bench marking the General-Purpose Particle and Heavy-Ion Transport code System (PHITS), which is based on the NMTC and MCNP for nucleon/meson and neutron transport respectively, and the JAM hadron cascade model. PHITS uses JAERI Quantum Molecular Dynamics (JQMD) and the GEM (Generalized Evaporation Model) for calculations of fission and evaporation processes, the SHEN model for calculation of total reaction cross sections, and the SPAR model for dE/dx calculations. The development of PHITS includes better parameterization in the JQMD model used for the nucleus-nucleus reactions, improvement of the models used for calculating total reaction cross sections and dE/dx distributions, and adding routines for calculating elastic scattering of heavy ions, dose and track average LET distributions. As part of an extensive bench marking of PHITS, we have compared energy spectra of secondary neutrons created by reactions of HZE particles with different targets, with thicknesses ranging from < 1 cm to 200 cm. We have also compared simulated and measured spatial, fluence and depth-dose distributions from different high energy heavy ion reactions. In this paper we report simulations of an accelerator-based shielding experiment, in which a beam of 1 GeV/n Fe-ions has passed through slabs of polyethylene, PMMA, Al, and Pb, with thicknesses ranging from 5 to 30 g/cm2 at an acceptance angle of 0°± 3°. The simulated survival fraction of the primary Fe-ions, fragment spectrum for 23 g/cm2, and dose behind the shield per incident Fe-ion on the shield has been compared with measurements.

  1. SIMULATING THE COMMON ENVELOPE PHASE OF A RED GIANT USING SMOOTHED-PARTICLE HYDRODYNAMICS AND UNIFORM-GRID CODES

    SciTech Connect

    Passy, Jean-Claude; Mac Low, Mordecai-Mark; De Marco, Orsola; Fryer, Chris L.; Diehl, Steven; Rockefeller, Gabriel; Herwig, Falk; Oishi, Jeffrey S.; Bryan, Greg L.

    2012-01-01

    We use three-dimensional hydrodynamical simulations to study the rapid infall phase of the common envelope (CE) interaction of a red giant branch star of mass equal to 0.88 M{sub Sun} and a companion star of mass ranging from 0.9 down to 0.1 M{sub Sun }. We first compare the results obtained using two different numerical techniques with different resolutions, and find very good agreement overall. We then compare the outcomes of those simulations with observed systems thought to have gone through a CE. The simulations fail to reproduce those systems in the sense that most of the envelope of the donor remains bound at the end of the simulations and the final orbital separations between the donor's remnant and the companion, ranging from 26.8 down to 5.9 R{sub Sun }, are larger than the ones observed. We suggest that this discrepancy vouches for recombination playing an essential role in the ejection of the envelope and/or significant shrinkage of the orbit happening in the subsequent phase.

  2. Battery Particle Simulation

    SciTech Connect

    2014-09-15

    Two simulations show the differences between a battery being drained at a slower rate, over a full hour, versus a faster rate, only six minutes (a tenth of an hour). In both cases battery particles go from being fully charged (green) to fully drained (red), but there are significant differences in the patterns of discharge based on the rate.

  3. Simulation Code Development and Its Applications

    NASA Astrophysics Data System (ADS)

    Li, Zenghai

    2015-10-01

    Under the support of the U.S. DOE SciDAC program, SLAC has been developing a suite of 3D parallel finite-element codes aimed at high-accuracy, high-fidelity electromagnetic and beam physics simulations for the design and optimization of next-generation particle accelerators. Running on the latest supercomputers, these codes have made great strides in advancing the state of the art in applied math and computer science at the petascale that enable the integrated modeling of electromagnetics, self-consistent Particle-In-Cell (PIC) particle dynamics as well as thermal, mechanical, and multi-physics effects. This paper will present the latest development and application of ACE3P to a wide range of accelerator projects.

  4. Multidimensional Multiphysics Simulation of TRISO Particle Fuel

    SciTech Connect

    J. D. Hales; R. L. Williamson; S. R. Novascone; D. M. Perez; B. W. Spencer; G. Pastore

    2013-11-01

    Multidimensional multiphysics analysis of TRISO-coated particle fuel using the BISON finite-element based nuclear fuels code is described. The governing equations and material models applicable to particle fuel and implemented in BISON are outlined. Code verification based on a recent IAEA benchmarking exercise is described, and excellant comparisons are reported. Multiple TRISO-coated particles of increasing geometric complexity are considered. It is shown that the code's ability to perform large-scale parallel computations permits application to complex 3D phenomena while very efficient solutions for either 1D spherically symmetric or 2D axisymmetric geometries are straightforward. Additionally, the flexibility to easily include new physical and material models and uncomplicated ability to couple to lower length scale simulations makes BISON a powerful tool for simulation of coated-particle fuel. Future code development activities and potential applications are identified.

  5. Aerosol kinetic code "AERFORM": Model, validation and simulation results

    NASA Astrophysics Data System (ADS)

    Gainullin, K. G.; Golubev, A. I.; Petrov, A. M.; Piskunov, V. N.

    2016-06-01

    The aerosol kinetic code "AERFORM" is modified to simulate droplet and ice particle formation in mixed clouds. The splitting method is used to calculate condensation and coagulation simultaneously. The method is calibrated with analytic solutions of kinetic equations. Condensation kinetic model is based on cloud particle growth equation, mass and heat balance equations. The coagulation kinetic model includes Brownian, turbulent and precipitation effects. The real values are used for condensation and coagulation growth of water droplets and ice particles. The model and the simulation results for two full-scale cloud experiments are presented. The simulation model and code may be used autonomously or as an element of another code.

  6. EUNHA: a New Cosmological Hydrodynamic Simulation Code

    NASA Astrophysics Data System (ADS)

    Shin, Jihye; Kim, Juhan; Kim, Sungsoo S.; Park, Changbom

    2014-06-01

    We develop a parallel cosmological hydrodynamic simulation code designed for the study of formation and evolution of cosmological structures. The gravitational force is calculated using the TreePM method and the hydrodynamics is implemented based on the smoothed particle hydrodynamics. The initial displacement and velocity of simulation particles are calculated according to second-order Lagrangian perturbation theory using the power spectra of dark matter and baryonic matter. The initial background temperature is given by Recfast and the temperature fluctuations at the initial particle position are assigned according to the adiabatic model. We use a time-limiter scheme over the individual time steps to capture shock-fronts and to ease the time-step tension between the shock and preshock particles. We also include the astrophysical gas processes of radiative heating/cooling, star formation, metal enrichment, and supernova feedback. We test the code in several standard cases such as one-dimensional Riemann problems, Kelvin-Helmholtz, and Sedov blast wave instability. Star formation on the galactic disk is investigated to check whether the Schmidt-Kennicutt relation is properly recovered. We also study global star formation history at different simulation resolutions and compare them with observations.

  7. TOPAS Tool for Particle Simulation

    Energy Science and Technology Software Center (ESTSC)

    2013-05-30

    TOPAS lets users simulate the passage of subatomic particles moving through any kind of radiation therapy treatment system, can import a patient geometry, can record dose and other quantities, has advanced graphics, and is fully four-dimensional (3D plus time) to handle the most challenging time-dependent aspects of modern cancer treatments.TOPAS unlocks the power of the most accurate particle transport simulation technique, the Monte Carlo (MC) method, while removing the painstaking coding work such methods usedmore » to require. Research physicists can use TOPAS to improve delivery systems towards safer and more effective radiation therapy treatments, easily setting up and running complex simulations that previously used to take months of preparation. Clinical physicists can use TOPAS to increase accuracy while reducing side effects, simulating patient-specific treatment plans at the touch of a button. TOPAS is designed as a “user code” layered on top of the Geant4 Simulation Toolkit. TOPAS includes the standard Geant4 toolkit, plus additional code to make Geant4 easier to control and to extend Geant4 functionality. TOPAS aims to make proton simulation both “reliable” and “repeatable.” “Reliable” means both accurate physics and a high likelihood to simulate precisely what the user intended to simulate, reducing issues of wrong units, wrong materials, wrong scoring locations, etc. “Repeatable” means not just getting the same result from one simulation to another, but being able to easily restore a previously used setup and reducing sources of error when a setup is passed from one user to another. TOPAS control system incorporates key lessons from safety management, proactively removing possible sources of user error such as line-ordering mistakes In control files. TOPAS has been used to model proton therapy treatment examples including the UCSF eye treatment head, the MGH stereotactic alignment in radiosurgery treatment head and the MGH gantry

  8. TOPAS Tool for Particle Simulation

    SciTech Connect

    Perl, Joseph

    2013-05-30

    TOPAS lets users simulate the passage of subatomic particles moving through any kind of radiation therapy treatment system, can import a patient geometry, can record dose and other quantities, has advanced graphics, and is fully four-dimensional (3D plus time) to handle the most challenging time-dependent aspects of modern cancer treatments.TOPAS unlocks the power of the most accurate particle transport simulation technique, the Monte Carlo (MC) method, while removing the painstaking coding work such methods used to require. Research physicists can use TOPAS to improve delivery systems towards safer and more effective radiation therapy treatments, easily setting up and running complex simulations that previously used to take months of preparation. Clinical physicists can use TOPAS to increase accuracy while reducing side effects, simulating patient-specific treatment plans at the touch of a button. TOPAS is designed as a “user code” layered on top of the Geant4 Simulation Toolkit. TOPAS includes the standard Geant4 toolkit, plus additional code to make Geant4 easier to control and to extend Geant4 functionality. TOPAS aims to make proton simulation both “reliable” and “repeatable.” “Reliable” means both accurate physics and a high likelihood to simulate precisely what the user intended to simulate, reducing issues of wrong units, wrong materials, wrong scoring locations, etc. “Repeatable” means not just getting the same result from one simulation to another, but being able to easily restore a previously used setup and reducing sources of error when a setup is passed from one user to another. TOPAS control system incorporates key lessons from safety management, proactively removing possible sources of user error such as line-ordering mistakes In control files. TOPAS has been used to model proton therapy treatment examples including the UCSF eye treatment head, the MGH stereotactic alignment in radiosurgery treatment head and the MGH gantry treatment heads

  9. Gyrokinetic particle simulation model

    SciTech Connect

    Lee, W.W.

    1986-07-01

    A new type of particle simulation model based on the gyrophase-averaged Vlasov and Poisson equations is presented. The reduced system, in which particle gyrations are removed from the equations of motion while the finite Larmor radius effects are still preserved, is most suitable for studying low frequency microinstabilities in magnetized plasmas. It is feasible to simulate an elongated system (L/sub parallel/ >> L/sub perpendicular/) with a three-dimensional grid using the present model without resorting to the usual mode expansion technique, since there is essentially no restriction on the size of ..delta..x/sub parallel/ in a gyrokinetic plasma. The new approach also enables us to further separate the time and spatial scales of the simulation from those associated with global transport through the use of multiple spatial scale expansion. Thus, the model can be a very efficient tool for studying anomalous transport problems related to steady-state drift-wave turbulence in magnetic confinement devices. It can also be applied to other areas of plasma physics.

  10. Computer Code for Nanostructure Simulation

    NASA Technical Reports Server (NTRS)

    Filikhin, Igor; Vlahovic, Branislav

    2009-01-01

    Due to their small size, nanostructures can have stress and thermal gradients that are larger than any macroscopic analogue. These gradients can lead to specific regions that are susceptible to failure via processes such as plastic deformation by dislocation emission, chemical debonding, and interfacial alloying. A program has been developed that rigorously simulates and predicts optoelectronic properties of nanostructures of virtually any geometrical complexity and material composition. It can be used in simulations of energy level structure, wave functions, density of states of spatially configured phonon-coupled electrons, excitons in quantum dots, quantum rings, quantum ring complexes, and more. The code can be used to calculate stress distributions and thermal transport properties for a variety of nanostructures and interfaces, transport and scattering at nanoscale interfaces and surfaces under various stress states, and alloy compositional gradients. The code allows users to perform modeling of charge transport processes through quantum-dot (QD) arrays as functions of inter-dot distance, array order versus disorder, QD orientation, shape, size, and chemical composition for applications in photovoltaics and physical properties of QD-based biochemical sensors. The code can be used to study the hot exciton formation/relation dynamics in arrays of QDs of different shapes and sizes at different temperatures. It also can be used to understand the relation among the deposition parameters and inherent stresses, strain deformation, heat flow, and failure of nanostructures.

  11. Coulomb Collision Algorithms for Particle Codes

    NASA Astrophysics Data System (ADS)

    Cohen, Bruce

    2006-04-01

    This paper surveys some of the particle code algorithms used to model Coulomb collisions in fully ionized plasmas, e.g., pair-wise operators such as the Takizuka-Abe^1 scheme and extensions^2, Langevin equation collision operators^3,4, and partially linearized gyrokinetic collisions operators for strongly magnetized plasmas.^5,6,7 Some recent experience is reported.^8 Issues such as physics completeness, accuracy, and comparative algorithm performance are highlighted. 1. T. Takizuka and H. Abe, J. Comput. Phys. 25, 205 (1977). 2. K. Nanbu, Phys. Rev. E 55, 4642 (1997). 3. M.E. Jones, et al., J. Comp. Phys. 123, 169 (1996). 4. W.M. Manheimer, M. Lampe, and G. Joyce, et al., J. Comp. Phys. 138, 565 (1997). 5. X.Q. Xu and M.N. Rosenbluth, Phys. Fluids B 3, 627 (1991). 6. A.M. Dimits and B.I. Cohen, Phys. Rev. E 49, 709 (1994). 7. Z. Lin, W. M. Tang, and W. W. Lee, Phys.Plasmas 2, 2975 (August 1995). 8. B.I. Cohen, et al., ``Effects of ion-ion collisions and inhomogeneity in two-dimensional kinetic ion simulations of stimulated Brillouin backscattering,'' accepted for publication in Phys. Plasmas (2006).

  12. FLUKA: A Multi-Particle Transport Code

    SciTech Connect

    Ferrari, A.; Sala, P.R.; Fasso, A.; Ranft, J.; /Siegen U.

    2005-12-14

    This report describes the 2005 version of the Fluka particle transport code. The first part introduces the basic notions, describes the modular structure of the system, and contains an installation and beginner's guide. The second part complements this initial information with details about the various components of Fluka and how to use them. It concludes with a detailed history and bibliography.

  13. Hybrid simulation codes with application to shocks and upstream waves

    NASA Technical Reports Server (NTRS)

    Winske, D.

    1985-01-01

    Hybrid codes in which part of the plasma is represented as particles and the rest as a fluid are discussed. In the past few years such codes with particle ions and massless, fluid electrons have been applied to space plasmas, especially to collisionless shocks. All of these simulation codes are one-dimensional and similar in structure, except for how the field equations are solved. The various approaches that are used (resistive Ohm's law, predictor-corrector, Hamiltonian) are described in detail and results from the various codes are compared with examples taken from collisionless shocks and low frequency wave phenomena upstream of shocks.

  14. PICsar: Particle in cell pulsar magnetosphere simulator

    NASA Astrophysics Data System (ADS)

    Belyaev, Mikhail A.

    2016-07-01

    PICsar simulates the magnetosphere of an aligned axisymmetric pulsar and can be used to simulate other arbitrary electromagnetics problems in axisymmetry. Written in Fortran, this special relativistic, electromagnetic, charge conservative particle in cell code features stretchable body-fitted coordinates that follow the surface of a sphere, simplifying the application of boundary conditions in the case of the aligned pulsar; a radiation absorbing outer boundary, which allows a steady state to be set up dynamically and maintained indefinitely from transient initial conditions; and algorithms for injection of charged particles into the simulation domain. PICsar is parallelized using MPI and has been used on research problems with ~1000 CPUs.

  15. Current loop coalescence studied by 3-D electromagnetic particle code

    NASA Technical Reports Server (NTRS)

    Nishikawa, Ken-Ichi; Sakai, Jun-Ichi; Koide, Shinji; Buneman, O.; Neubert, T.

    1993-01-01

    Solar flare plasma data from the Yohkoh satellite is analyzed. The interactions of current loops were observed in the active regions on the Sun. This observation pointed out the importance of the idea that the solar flare is generated by the coalescence of current loops. The three dimensional electromagnetic particle simulations are to help in understanding the global interaction between two current loops including the evolution of the twist of loops due to instabilities. Associated rapid dynamics of current loop coalescence such as reconnection, shock waves and associated kinetic processes such as energy transfer, acceleration of particles, and electromagnetic emissions are to be studied by the code to complement analytical theories and magnetohydrodynamic simulations of the current loop coalescence. The simulation results show the strong interactions between two current loops, beam and whistler instabilities, and associated parallel and perpendicular particle heating.

  16. The TESS (Tandem Experiment Simulation Studies) computer code user's manual

    SciTech Connect

    Procassini, R.J. . Dept. of Nuclear Engineering); Cohen, B.I. )

    1990-06-01

    TESS (Tandem Experiment Simulation Studies) is a one-dimensional, bounded particle-in-cell (PIC) simulation code designed to investigate the confinement and transport of plasma in a magnetic mirror device, including tandem mirror configurations. Mirror plasmas may be modeled in a system which includes an applied magnetic field and/or a self-consistent or applied electrostatic potential. The PIC code TESS is similar to the PIC code DIPSI (Direct Implicit Plasma Surface Interactions) which is designed to study plasma transport to and interaction with a solid surface. The codes TESS and DIPSI are direct descendants of the PIC code ES1 that was created by A. B. Langdon. This document provides the user with a brief description of the methods used in the code and a tutorial on the use of the code. 10 refs., 2 tabs.

  17. Particle simulation of transport in fusion devices

    SciTech Connect

    Procassini, R.J.; Birdsall, C.K.; Morse, E.C. . Electronics Research Lab.); Cohen, B.I. )

    1989-10-17

    Our research in the area of transport processes in fusion devices has recently been centered on the development of particle simulation models of transport in the scrape-off layer (SOL) of a diverted tokamak. As part of this research, we have been involved in the development of a suitable boundary condition for the plasma current at a floating plate that allows use of long time- and space-scale implicit simulation techniques. We have also been involved in a comparison of results from our particle-in-cell (PIC) code and a bounce-averaged Fokker-Planck (FP) code for the study of particle confinement in an auxiliary heated mirror plasma. 3 refs., 1 fig.

  18. Overview of WARP, a particle code for Heavy Ion Fusion

    SciTech Connect

    Friedman, A.; Grote, D.P.; Callahan, D.A.; Langdon, A.B.; Haber, I.

    1993-02-22

    The beams in a Heavy Ion beam driven inertial Fusion (HIF) accelerator must be focused onto small spots at the fusion target, and so preservation of beam quality is crucial. The nonlinear self-fields of these space-charge-dominated beams can lead to emittance growth; thus a self-consistent field description is necessary. We have developed a multi-dimensional discrete-particle simulation code, WARP, and are using it to study the behavior of HIF beams. The code`s 3d package combines features of an accelerator code and a particle-in-cell plasma simulation, and can efficiently track beams through many lattice elements and around bends. We have used the code to understand the physics of aggressive drift-compression in the MBE-4 experiment at Lawrence Berkeley Laboratory (LBL). We have applied it to LBL`s planned ILSE experiments, to various ``recirculator`` configurations, and to the study of equilibria and equilibration processes. Applications of the 3d package to ESQ injectors, and of the r, z package to longitudinal stability in driver beams, are discussed in related papers.

  19. Two-dimensional Vlasov code simulation of magnetic reconnection

    NASA Astrophysics Data System (ADS)

    Togano, K.; Umeda, T.; Ogino, T.

    2009-12-01

    There are numerous types of self-consistent simulations that treat plasmas according to some approximations. The fluid codes are used to study global and macroscopic processes in space plasmas. Nonlinear microscopic processes in space plasmas are studied with kinetic simulation codes. Numerical methods for kinetic simulations fall into two groups. One is particle-in-cell (PIC) method which follows motions of individual particles in a self-consistent electromagnetic field. However, a limitation on the number of particles gives rise to numerical thermal fluctuations. Another approach is Vlasov method which follows spatial and temporal development of distribution functions in the position-velocity phase space. In contrast to PIC codes, numerical noise is substantially suppressed. However, Vlasov codes require huge computer resources to represent distribution functions and Vlasov simulation techniques are still developing. Owing to the rapid advancement of recent computer technology, Vlasov code simulation would be more essential in the near future. In the present study, a new two-and-half-dimensional and fully electromagnetic Vlasov simulation code is developed in which phase-space distribution functions are defined in five-dimensional position-velocity phase space (x,y,vx,vy,vz). The Vlasov equation in two-dimensional configuration and three-dimensional velocity spaces is solved with a non-oscillatory and conservative scheme, and the full set of Maxwell’s equations are self-consistently solved based on the implicit Finite Difference Time Domain (FDTD) method. The Geospace Environment Modeling (GEM) magnetic reconnection challenge is chosen as a benchmark test of our two-dimensional Vlasov code. The result is compared with the past simulation results with Darwin-Vlasov, explicit PIC and implicit PIC codes. The present simulation with a very-low spatial resolution gives a high growth rate of magnetic flux, which is in agreement with the results of the GEM

  20. Production code control system for hydrodynamics simulations

    SciTech Connect

    Slone, D.M.

    1997-08-18

    We describe how the Production Code Control System (pCCS), written in Perl, has been used to control and monitor the execution of a large hydrodynamics simulation code in a production environment. We have been able to integrate new, disparate, and often independent, applications into the PCCS framework without the need to modify any of our existing application codes. Both users and code developers see a consistent interface to the simulation code and associated applications regardless of the physical platform, whether an MPP, SMP, server, or desktop workstation. We will also describe our use of Perl to develop a configuration management system for the simulation code, as well as a code usage database and report generator. We used Perl to write a backplane that allows us plug in preprocessors, the hydrocode, postprocessors, visualization tools, persistent storage requests, and other codes. We need only teach PCCS a minimal amount about any new tool or code to essentially plug it in and make it usable to the hydrocode. PCCS has made it easier to link together disparate codes, since using Perl has removed the need to learn the idiosyncrasies of system or RPC programming. The text handling in Perl makes it easy to teach PCCS about new codes, or changes to existing codes.

  1. SU-E-T-590: Optimizing Magnetic Field Strengths with Matlab for An Ion-Optic System in Particle Therapy Consisting of Two Quadrupole Magnets for Subsequent Simulations with the Monte-Carlo Code FLUKA

    SciTech Connect

    Baumann, K; Weber, U; Simeonov, Y; Zink, K

    2015-06-15

    Purpose: Aim of this study was to optimize the magnetic field strengths of two quadrupole magnets in a particle therapy facility in order to obtain a beam quality suitable for spot beam scanning. Methods: The particle transport through an ion-optic system of a particle therapy facility consisting of the beam tube, two quadrupole magnets and a beam monitor system was calculated with the help of Matlab by using matrices that solve the equation of motion of a charged particle in a magnetic field and field-free region, respectively. The magnetic field strengths were optimized in order to obtain a circular and thin beam spot at the iso-center of the therapy facility. These optimized field strengths were subsequently transferred to the Monte-Carlo code FLUKA and the transport of 80 MeV/u C12-ions through this ion-optic system was calculated by using a user-routine to implement magnetic fields. The fluence along the beam-axis and at the iso-center was evaluated. Results: The magnetic field strengths could be optimized by using Matlab and transferred to the Monte-Carlo code FLUKA. The implementation via a user-routine was successful. Analyzing the fluence-pattern along the beam-axis the characteristic focusing and de-focusing effects of the quadrupole magnets could be reproduced. Furthermore the beam spot at the iso-center was circular and significantly thinner compared to an unfocused beam. Conclusion: In this study a Matlab tool was developed to optimize magnetic field strengths for an ion-optic system consisting of two quadrupole magnets as part of a particle therapy facility. These magnetic field strengths could subsequently be transferred to and implemented in the Monte-Carlo code FLUKA to simulate the particle transport through this optimized ion-optic system.

  2. Overview of WARP: A particle code for heavy ion fusion

    NASA Astrophysics Data System (ADS)

    Friedman, Alex; Grote, David P.; Callahan, Debra A.; Langdon, A. Bruce; Haber, Irving

    1993-02-01

    The beams in a heavy ion beam driven inertial fusion (HIF) accelerator must be focused onto small spots at the fusion target, and so preservation of beam quality is crucial. The nonlinear self-fields of these space-charge-dominated beams can lead to emittance growth; thus, a self-consistent field description is necessary. We have developed a multi-dimensional discrete-particle simulation code, WARP, and are using it to study the behavior of HIF beams. The code's 3D package combines features of an accelerator code and a particle-in-cell plasma simulation, and can efficiently track beams through many lattice elements and around bends. We have used the code to understand the physics of aggressive drift-compression in the MBE-4 experiment at Lawrence Berkeley Laboratory (LBL). We have applied it to LBL's planned ILSE experiments, to various 'recirculator' configurations, and to the study of equilibria and equilibration processes. Applications of the 3D package to ESQ injectors, and of the r, z package to longitudinal stability in driver beams, are discussed in related papers.

  3. Overview of WARP, a particle code for heavy ion fusion

    NASA Astrophysics Data System (ADS)

    Friedman, Alex; Grote, David P.; Callahan, Debra A.; Langdon, A. Bruce; Haber, Irving

    1993-12-01

    The beams in a Heavy Ion beam driven inertial Fusion (HIF) accelerator must be focused onto small spots at the fusion target, and so preservation of beam quality is crucial. The nonlinear self-fields of these space-charge-dominated beams can lead to emittance growth; thus a self-consistent field description is necessary. We have developed a multi-dimensional discrete-particle simulation code, WARP, and are using it to study the behavior of HIF beams. The code's 3d package combines features of an accelerator code and a particle-in-cell plasma simulation, and can efficiently track beams through many lattice elements and around bends. We have used the code to understand the physics of aggressive drift-compression in the MBE-4 experiment at Lawrence Berkeley Laboratory (LBL). We have applied it to LBL's planned ILSE experiments, to various ``recirculator'' configurations, and to the study of equilibria and equilibration processes. Applications of the 3d package to ESQ injectors, and of the r, z package to longitudinal stability in driver beams, are discussed in related papers.

  4. Direct Particle Simulations of Saturn's Rings

    NASA Astrophysics Data System (ADS)

    Griv, E.; Gedalin, M.; Yuan, C.

    2001-11-01

    An asymptotic theory of spiral density waves and their instabilities in the Saturnian ring system of mutually gravitating and colliding particles has been developed (Griv et al. 2000, Pl&SS, 48, 679-698). The theory is successfully applied to interpreting the observations of the fine-scale structure of Saturn's rings. Our aim is to confirm the validity of the theory by computer many-body (N-body) calculations. As is known, N-body models of Saturn's rings suffer from graininess due to the finite number of particles in direct simulations; the graininess manifests itself as a numerical noise in the calculation. For the first time in planetary ring dynamics, we change the existing direct simulation code. This change involves multiprocessing: with the multiple processors in supercomputers it is possible to reduce the running time by processing more than one group of particles at a time. Use of the 112-processor SGI Origin 2000 supercomputer is enabled us to make long runs using realistic numbers of particles in the direct simulation code and thus simulate phenomena not previously studied numerically. The study will be held in order to predict the ``hyperfine" Saturn's ring system structure of the order 100 m or even less prior to its exploration by Cassini spacecraft that will start in 2004. Partial support for this work was provided by the Israel Science Foundation, the Israeli Ministry of Immigrant Absorption, and the Academia Sinica in Taiwan.

  5. BOA, Beam Optics Analyzer A Particle-In-Cell Code

    SciTech Connect

    Thuc Bui

    2007-12-06

    The program was tasked with implementing time dependent analysis of charges particles into an existing finite element code with adaptive meshing, called Beam Optics Analyzer (BOA). BOA was initially funded by a DOE Phase II program to use the finite element method with adaptive meshing to track particles in unstructured meshes. It uses modern programming techniques, state-of-the-art data structures, so that new methods, features and capabilities are easily added and maintained. This Phase II program was funded to implement plasma simulations in BOA and extend its capabilities to model thermal electrons, secondary emissions, self magnetic field and implement a more comprehensive post-processing and feature-rich GUI. The program was successful in implementing thermal electrons, secondary emissions, and self magnetic field calculations. The BOA GUI was also upgraded significantly, and CCR is receiving interest from the microwave tube and semiconductor equipment industry for the code. Implementation of PIC analysis was partially successful. Computational resource requirements for modeling more than 2000 particles begin to exceed the capability of most readily available computers. Modern plasma analysis typically requires modeling of approximately 2 million particles or more. The problem is that tracking many particles in an unstructured mesh that is adapting becomes inefficient. In particular memory requirements become excessive. This probably makes particle tracking in unstructured meshes currently unfeasible with commonly available computer resources. Consequently, Calabazas Creek Research, Inc. is exploring hybrid codes where the electromagnetic fields are solved on the unstructured, adaptive mesh while particles are tracked on a fixed mesh. Efficient interpolation routines should be able to transfer information between nodes of the two meshes. If successfully developed, this could provide high accuracy and reasonable computational efficiency.

  6. Balancing Particle and Mesh Computation in a Particle-In-Cell Code

    SciTech Connect

    Worley, Patrick H; D'Azevedo, Eduardo; Hager, Robert; Ku, Seung-Hoe; Yoon, Eisung; Chang, C. S.

    2016-01-01

    The XGC1 plasma microturbulence particle-in-cell simulation code has both particle-based and mesh-based computational kernels that dominate performance. Both of these are subject to load imbalances that can degrade performance and that evolve during a simulation. Each separately can be addressed adequately, but optimizing just for one can introduce significant load imbalances in the other, degrading overall performance. A technique has been developed based on Golden Section Search that minimizes wallclock time given prior information on wallclock time, and on current particle distribution and mesh cost per cell, and also adapts to evolution in load imbalance in both particle and mesh work. In problems of interest this doubled the performance on full system runs on the XK7 at the Oak Ridge Leadership Computing Facility compared to load balancing only one of the kernels.

  7. Fission Particle Emission Multiplicity Simulation

    Energy Science and Technology Software Center (ESTSC)

    2006-09-27

    Simulates discrete neutron and gamma-ray emission from the fission of heavy nuclei that is either spontaneous or neutron induced. This is a function library that encapsulates the fission physics and is intended to be called Monte Carlo transport code.

  8. Nonlinear fluid simulation of particle and heat fluxes during burst of ELMs on DIII-D with BOUT++  code

    NASA Astrophysics Data System (ADS)

    Xia, T. Y.; Xu, X. Q.

    2015-09-01

    In order to study the distribution and evolution of the transient particle and heat fluxes during edge-localized mode (ELM) bursts, a BOUT++  six-field two-fluid model based on the Braginskii equations with non-ideal physics effects is used to simulate pedestal collapse in divertor geometry. The profiles from the DIII-D H-mode discharge #144382 with fast target heat flux measurements are used as the initial conditions for the simulations. A flux-limited parallel thermal conduction is used with three values of the flux-limiting coefficient {αj} , free streaming model with {αj}=1 , sheath-limit with {αj}=0.05 , and one value in between. The studies show that a 20 times increase in {αj} leads to  ∼6 times increase in the heat flux amplitude to both the inner and outer targets, and the widths of the fluxes are also expanded. The sheath-limit model of flux-limiting coefficient is found to be the most appropriate one, which shows ELM sizes close to the measurements. The evolution of the density profile during the burst of ELMs of DIII-D discharge #144382 is simulated, and the collapse in width and depth of {{n}\\text{e}} are reproduced at different time steps. The growing process of the profiles for the heat flux at divertor targets during the burst of ELMs measured by IRTV (infrared television) is also reproduced by this model. The widths of heat fluxes towards targets are a little narrower, and the peak amplitudes are twice the measurements possibly due to the lack of a model of divertor radiation which can effectively reduce the heat fluxes. The magnetic flutter combined with parallel thermal conduction is found to be able to increase the total heat loss by around 33% since the magnetic flutter terms provide the additional conductive heat transport in the radial direction. The heat flux profile at both the inner and outer targets is obviously broadened by magnetic flutter. The lobe structures near the X-point at LFS are both broadened and elongated due

  9. Concurrent Algorithm For Particle-In-Cell Simulations

    NASA Technical Reports Server (NTRS)

    Liewer, Paulett C.; Decyk, Viktor K.

    1990-01-01

    Separate decompositions used for particle-motion and field calculations. General Concurrent Particle-in-Cell (GCPIC) algorithm used to implement motions of individual plasma particles (ions and electrons) under influence of particle-in-cell (PIC) computer codes on concurrent processors. Simulates motions of individual plasma particles under influence of electromagnetic fields generated by particles themselves. Performed to study variety of nonlinear problems in plasma physics, including magnetic and inertial fusion, plasmas in outer space, propagation of electron and ion beams, free-electron lasers, and particle accelerators.

  10. Particle simulations in magnetospheric plasmas

    NASA Technical Reports Server (NTRS)

    Nishikawa, Ken-Ichi

    1990-01-01

    In view of the recent remarkable advancement of computer technology and simulation software, simulation studies are one of the most powerful academic tools for establishment of quantitative space physics and modelling of our space environment. The complex nature encountered in space plasma physics has motivated considerable development in computer simulations, which have played an essential role in the development of space plasma theory. This report describes research undertaken to understand physical processes involved in plasma waves observed in the magnetospheric plasmas, and associated nonlinear phenomena such as heating, diffusion, and acceleration of particles due to excited waves. The research explains and clarifies the observational data both qualitatively and quantitatively.

  11. Radial particle distributions in PARMILA simulation beams

    SciTech Connect

    Boicourt, G.P.

    1984-03-01

    The estimation of beam spill in particle accelerators is becoming of greater importance as higher current designs are being funded. To the present, no numerical method for predicting beam-spill has been available. In this paper, we present an approach to the loss-estimation problem that uses probability distributions fitted to particle-simulation beams. The properties of the PARMILA code's radial particle distribution are discussed, and a broad class of probability distributions are examined to check their ability to fit it. The possibility that the PARMILA distribution is a mixture is discussed, and a fitting distribution consisting of a mixture of two generalized gamma distributions is found. An efficient algorithm to accomplish the fit is presented. Examples of the relative prediction of beam spill are given. 26 references, 18 figures, 1 table.

  12. Particle simulation in a multiprocessor environment

    NASA Technical Reports Server (NTRS)

    Mcdonald, Jeffrey D.

    1991-01-01

    A parallel implementation of a particle simulation method that is portable between a wide class of multiprocessor computers is presented. A fine grain spatial decomposition is utilized where several subdomains having a regular structure are computed at each processing node. This leads directly to an efficient and straightforward load balancing scheme if the number of subdomains at each processor is permitted to vary in an appropriate manner. Three dimensional simulations incorporating full thermochemical nonequilibrium are possible using the resulting code. Vectorizable algorithms are retained from earlier work allowing efficient use of deeply pipelined node processors where available. Performance results are presented from three different machine architectures demonstrating the portability of the code. On a 128-node Intel iPSC/860, performance is twice that of a single Cray-Y/MP CPU running a highly vectorized simulation code. Speedup is linear over the full range of number of processors on all target machines, indicating scalability of the method to higher degrees of parallelism.

  13. High frequency gyrokinetic particle simulation

    SciTech Connect

    Kolesnikov, R. A.; Lee, W. W.; Qin, H.; Startsev, E.

    2007-07-15

    The gyrokinetic approach for arbitrary frequency dynamics in magnetized plasmas is explored, using the gyrocenter-gauge kinetic theory. Contrary to low-frequency gyrokinetics, which views each particle as a rigid charged ring, arbitrary frequency response of a particle is described by a quickly changing Kruskal ring. This approach allows the separation of gyrocenter and gyrophase responses and thus allows for, in many situations, larger time steps for the gyrocenter push than for the gyrophase push. The gyrophase response which determines the shape of Kruskal rings can be described by a Fourier series in gyrophase for some problems, thus allowing control over the cyclotron harmonics at which the plasma responds. A computational algorithm for particle-in-cell simulation based on this concept has been developed. An example of the ion Bernstein wave is used to illustrate its numerical properties, and comparison with a direct Lorentz-force approach is presented.

  14. Enhanced stopping of macro-particles in particle-in-cell simulations

    SciTech Connect

    May, J.; Tonge, J.; Ellis, I.; Mori, W. B.; Fiuza, F.; Fonseca, R. A.; Silva, L. O.

    2014-05-15

    We derive an equation for energy transfer from relativistic charged particles to a cold background plasma appropriate for finite-size particles that are used in particle-in-cell simulation codes. Expressions for one-, two-, and three-dimensional particles are presented, with special attention given to the two-dimensional case. This energy transfer is due to the electric field of the wake set up in the background plasma by the relativistic particle. The enhanced stopping is dependent on the q{sup 2}/m, where q is the charge and m is the mass of the relativistic particle, and therefore simulation macro-particles with large charge but identical q/m will stop more rapidly. The stopping power also depends on the effective particle shape of the macro-particle. These conclusions are verified in particle-in-cell simulations. We present 2D simulations of test particles, relaxation of high-energy tails, and integrated fast ignition simulations showing that the enhanced drag on macro-particles may adversely affect the results of these simulations in a wide range of high-energy density plasma scenarios. We also describe a particle splitting algorithm which can potentially overcome this problem and show its effect in controlling the stopping of macro-particles.

  15. Study of transient self-consistent beam dynamics in RF linacs using a particle tracing code

    NASA Astrophysics Data System (ADS)

    Mytrochenko, V. V.; Opanasenko, A.

    2006-03-01

    The paper describes a simulation technique for study of unsteady self-consistent dynamics of charged particles in RF linacs that consist of cavities and travelling wave sections. The approach proposed is based on unsteady theories of the excitation of cavities and waveguides by a beam of charged particles and RF feeders. The theory of waveguide excitation is extended to the case of spatially inhomogeneous travelling-wave structures. The SUPERFISH code is used to evaluate the characteristics of the axisymmetric travelling-wave sections. The PARMELA code is applied for simulation of particle motion and to obtain data required for solving the equations for excitation of the RF structures by the beam.

  16. Simulation of neoclassical transport with the continuum gyrokinetic code COGENT

    SciTech Connect

    Dorf, M. A.; Cohen, R. H.; Dorr, M.; Rognlien, T.; Hittinger, J.; Compton, J.; Colella, P.; Martin, D.; McCorquodale, P.

    2013-01-15

    The development of the continuum gyrokinetic code COGENT for edge plasma simulations is reported. The present version of the code models a nonlinear axisymmetric 4D (R, v{sub Parallel-To }, {mu}) gyrokinetic equation coupled to the long-wavelength limit of the gyro-Poisson equation. Here, R is the particle gyrocenter coordinate in the poloidal plane, and v{sub Parallel-To} and {mu} are the guiding center velocity parallel to the magnetic field and the magnetic moment, respectively. The COGENT code utilizes a fourth-order finite-volume (conservative) discretization combined with arbitrary mapped multiblock grid technology (nearly field-aligned on blocks) to handle the complexity of tokamak divertor geometry with high accuracy. Topics presented are the implementation of increasingly detailed model collision operators, and the results of neoclassical transport simulations including the effects of a strong radial electric field characteristic of a tokamak pedestal under H-mode conditions.

  17. Simulation of neoclassical transport with the continuum gyrokinetic code COGENT

    DOE PAGESBeta

    Dorf, M. A.; Cohen, R. H.; Dorr, M.; Rognlien, T.; Hittinger, J.; Compton, J.; Colella, P.; Martin, D.; McCorquodale, P.

    2013-01-25

    The development of the continuum gyrokinetic code COGENT for edge plasma simulations is reported. The present version of the code models a nonlinear axisymmetric 4D (R, v∥, μ) gyrokinetic equation coupled to the long-wavelength limit of the gyro-Poisson equation. Here, R is the particle gyrocenter coordinate in the poloidal plane, and v∥ and μ are the guiding center velocity parallel to the magnetic field and the magnetic moment, respectively. The COGENT code utilizes a fourth-order finite-volume (conservative) discretization combined with arbitrary mapped multiblock grid technology (nearly field-aligned on blocks) to handle the complexity of tokamak divertor geometry with high accuracy.more » Furthermore, topics presented are the implementation of increasingly detailed model collision operators, and the results of neoclassical transport simulations including the effects of a strong radial electric field characteristic of a tokamak pedestal under H-mode conditions.« less

  18. Simulation of neoclassical transport with the continuum gyrokinetic code COGENT

    SciTech Connect

    Dorf, M. A.; Cohen, R. H.; Dorr, M.; Rognlien, T.; Hittinger, J.; Compton, J.; Colella, P.; Martin, D.; McCorquodale, P.

    2013-01-25

    The development of the continuum gyrokinetic code COGENT for edge plasma simulations is reported. The present version of the code models a nonlinear axisymmetric 4D (R, v∥, μ) gyrokinetic equation coupled to the long-wavelength limit of the gyro-Poisson equation. Here, R is the particle gyrocenter coordinate in the poloidal plane, and v∥ and μ are the guiding center velocity parallel to the magnetic field and the magnetic moment, respectively. The COGENT code utilizes a fourth-order finite-volume (conservative) discretization combined with arbitrary mapped multiblock grid technology (nearly field-aligned on blocks) to handle the complexity of tokamak divertor geometry with high accuracy. Furthermore, topics presented are the implementation of increasingly detailed model collision operators, and the results of neoclassical transport simulations including the effects of a strong radial electric field characteristic of a tokamak pedestal under H-mode conditions.

  19. UNIPIC code for simulations of high power microwave devices

    SciTech Connect

    Wang Jianguo; Zhang Dianhui; Wang Yue; Qiao Hailiang; Li Xiaoze; Liu Chunliang; Li Yongdong; Wang Hongguang

    2009-03-15

    In this paper, UNIPIC code, a new member in the family of fully electromagnetic particle-in-cell (PIC) codes for simulations of high power microwave (HPM) generation, is introduced. In the UNIPIC code, the electromagnetic fields are updated using the second-order, finite-difference time-domain (FDTD) method, and the particles are moved using the relativistic Newton-Lorentz force equation. The convolutional perfectly matched layer method is used to truncate the open boundaries of HPM devices. To model curved surfaces and avoid the time step reduction in the conformal-path FDTD method, CP weakly conditional-stable FDTD (WCS FDTD) method which combines the WCS FDTD and CP-FDTD methods, is implemented. UNIPIC is two-and-a-half dimensional, 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 geometric structures of the simulated HPM devices, or input the old structures created before. Numerical experiments on some typical HPM devices by using the UNIPIC code are given. The results are compared to those obtained from some well-known PIC codes, which agree well with each other.

  20. Improvement of Mishchenko's T-matrix code for absorbing particles.

    PubMed

    Moroz, Alexander

    2005-06-10

    The use of Gaussian elimination with backsubstitution for matrix inversion in scattering theories is discussed. Within the framework of the T-matrix method (the state-of-the-art code by Mishchenko is freely available at http://www.giss.nasa.gov/-crmim), it is shown that the domain of applicability of Mishchenko's FORTRAN 77 (F77) code can be substantially expanded in the direction of strongly absorbing particles where the current code fails to converge. Such an extension is especially important if the code is to be used in nanoplasmonic or nanophotonic applications involving metallic particles. At the same time, convergence can also be achieved for large nonabsorbing particles, in which case the non-Numerical Algorithms Group option of Mishchenko's code diverges. Computer F77 implementation of Mishchenko's code supplemented with Gaussian elimination with backsubstitution is freely available at http://www.wave-scattering.com. PMID:16007860

  1. Improvement of Mishchenko's T-matrix code for absorbing particles

    NASA Astrophysics Data System (ADS)

    Moroz, Alexander

    2005-06-01

    The use of Gaussian elimination with backsubstitution for matrix inversion in scattering theories is discussed. Within the framework of the T-matrix method (the state-of-the-art code by Mishchenko is freely available at http://www.giss.nasa.gov/~crmim), it is shown that the domain of applicability of Mishchenko's FORTRAN 77 (F77) code can be substantially expanded in the direction of strongly absorbing particles where the current code fails to converge. Such an extension is especially important if the code is to be used in nanoplasmonic or nanophotonic applications involving metallic particles. At the same time, convergence can also be achieved for large nonabsorbing particles, in which case the non-Numerical Algorithms Group option of Mishchenko's code diverges. Computer F77 implementation of Mishchenko's code supplemented with Gaussian elimination with backsubstitution is freely available at http://www.wave-scattering.com.

  2. Numerical simulation of asymmetric particle precipitation by pitch angle diffusion

    NASA Astrophysics Data System (ADS)

    Thorne, Richard M.; Abel, Robert W.; Summers, Danny

    1996-11-01

    A numerical simulation code is developed to evaluate the loss rate of particles trapped in a mirror magnetic field geometry with asymmetric loss cones. The one-dimensional model can accommodate particle diffusion at any prescribed rate and loss cones of any prescribed sizes, and it incorporates the important effect of atmospheric backscattering. Numerical solutions for the loss cone particle distribution function calculated for the case of equal loss cones provide an acceptable simulation of the well-known modified Bessel function solution. The code provides the first quantitative solutions for any specified rate of pitch angle scattering for the general case of arbitrary asymmetry in loss cone size. In the case of weak or moderate diffusion the ratio of particle precipitation fluxes into the two loss cones can provide a sensitive measurement of the rate of particle scattering, but to utilize this important diagnostic property, one must also have information on the fraction of particles that are backscattered from the atmosphere.

  3. Voronoi particle merging algorithm for PIC codes

    NASA Astrophysics Data System (ADS)

    Luu, Phuc T.; Tückmantel, T.; Pukhov, A.

    2016-05-01

    We present a new particle-merging algorithm for the particle-in-cell method. Based on the concept of the Voronoi diagram, the algorithm partitions the phase space into smaller subsets, which consist of only particles that are in close proximity in the phase space to each other. We show the performance of our algorithm in the case of the two-stream instability and the magnetic shower.

  4. Stochastic Parallel PARticle Kinetic Simulator

    Energy Science and Technology Software Center (ESTSC)

    2008-07-01

    SPPARKS is a kinetic Monte Carlo simulator which implements kinetic and Metropolis Monte Carlo solvers in a general way so that they can be hooked to applications of various kinds. Specific applications are implemented in SPPARKS as physical models which generate events (e.g. a diffusive hop or chemical reaction) and execute them one-by-one. Applications can run in paralle so long as the simulation domain can be partitoned spatially so that multiple events can be invokedmore » simultaneously. SPPARKS is used to model various kinds of mesoscale materials science scenarios such as grain growth, surface deposition and growth, and reaction kinetics. It can also be used to develop new Monte Carlo models that hook to the existing solver and paralle infrastructure provided by the code.« less

  5. ORBXYZ: a 3D single-particle orbit code for following charged-particle trajectories in equilibrium magnetic fields

    SciTech Connect

    Anderson, D.V.; Cohen, R.H.; Ferguson, J.R.; Johnston, B.M.; Sharp, C.B.; Willmann, P.A.

    1981-06-30

    The single particle orbit code, TIBRO, has been modified extensively to improve the interpolation methods used and to allow use of vector potential fields in the simulation of charged particle orbits on a 3D domain. A 3D cubic B-spline algorithm is used to generate spline coefficients used in the interpolation. Smooth and accurate field representations are obtained. When vector potential fields are used, the 3D cubic spline interpolation formula analytically generates the magnetic field used to push the particles. This field has del.BETA = 0 to computer roundoff. When magnetic induction is used the interpolation allows del.BETA does not equal 0, which can lead to significant nonphysical results. Presently the code assumes quadrupole symmetry, but this is not an essential feature of the code and could be easily removed for other applications. Many details pertaining to this code are given on microfiche accompanying this report.

  6. DEMOCRITUS code: A kinetic approach to the simulation of complex plasmas

    NASA Astrophysics Data System (ADS)

    Arinaminpat, Nimlan; Fichtl, Chris; Patacchini, Leonardo; Lapenta, Giovanni; Delzanno, Gian Luca

    2006-10-01

    The DEMOCRITUS code is a particle-based code for plasma-material interaction simulation. The code makes use of particle in cell (PIC) methods to simulate each plasma species, the material, and their interaction. In this study, we concentrate on a dust particle immersed in a plasma. We start with the simplest case, in which the dust particle is not allowed to emit. From here, we expand the DEMOCRITUS code to include thermionic and photo emission algorithms and obtain our data. Next we expand the physics processes present to include the presence of magnetic fields and collisional processes with a neutral gas. Finally we describe new improvements of the code including a new mover that allows for particle subcycling and a new grid adaptation approach.

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

    SciTech Connect

    Haugbølle, Troels; Frederiksen, Jacob Trier; Nordlund, Åke

    2013-06-15

    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.

  8. Transferring ecosystem simulation codes to supercomputers

    NASA Technical Reports Server (NTRS)

    Skiles, J. W.; Schulbach, C. H.

    1995-01-01

    Many ecosystem simulation computer codes have been developed in the last twenty-five years. This development took place initially on main-frame computers, then mini-computers, and more recently, on micro-computers and workstations. Supercomputing platforms (both parallel and distributed systems) have been largely unused, however, because of the perceived difficulty in accessing and using the machines. Also, significant differences in the system architectures of sequential, scalar computers and parallel and/or vector supercomputers must be considered. We have transferred a grassland simulation model (developed on a VAX) to a Cray Y-MP/C90. We describe porting the model to the Cray and the changes we made to exploit the parallelism in the application and improve code execution. The Cray executed the model 30 times faster than the VAX and 10 times faster than a Unix workstation. We achieved an additional speedup of 30 percent by using the compiler's vectoring and 'in-line' capabilities. The code runs at only about 5 percent of the Cray's peak speed because it ineffectively uses the vector and parallel processing capabilities of the Cray. We expect that by restructuring the code, it could execute an additional six to ten times faster.

  9. Neptune: An astrophysical smooth particle hydrodynamics code for massively parallel computer architectures

    NASA Astrophysics Data System (ADS)

    Sandalski, Stou

    Smooth particle hydrodynamics is an efficient method for modeling the dynamics of fluids. It is commonly used to simulate astrophysical processes such as binary mergers. We present a newly developed GPU accelerated smooth particle hydrodynamics code for astrophysical simulations. The code is named neptune after the Roman god of water. It is written in OpenMP parallelized C++ and OpenCL and includes octree based hydrodynamic and gravitational acceleration. The design relies on object-oriented methodologies in order to provide a flexible and modular framework that can be easily extended and modified by the user. Several pre-built scenarios for simulating collisions of polytropes and black-hole accretion are provided. The code is released under the MIT Open Source license and publicly available at http://code.google.com/p/neptune-sph/.

  10. Discrete Particle Noise in Particle-in-Cell Simulations of Plasma Microturbulence

    SciTech Connect

    Nevins, W M; Dimits, A; Hammett, G

    2005-05-24

    Recent gyrokinetic simulations of electron temperature gradient (ETG) turbulence with flux-tube continuum codes vs. the global particle-in-cell (PIC) code GTC yielded different results despite similar plasma parameters. Differences between the simulations results were attributed to insufficient phase-space resolution and novel physics associated with toroidicity and/or global simulations. We have reproduced the results of the global PIC code using the flux-tube PIC code PG3EQ, thereby eliminating global effects as the cause of the discrepancy. We show that the late-time decay of ETG turbulence and the steady-state heat transport observed in these PIC simulations results from discrete particle noise. Discrete particle noise is a numerical artifact, so both these PG3EQ simulations and the previous GTC simulations have nothing to say about steady-state ETG turbulence and the associated anomalous heat transport. In the course of this work we develop three diagnostics which can help to determine if a particular PIC simulation has become dominated by discrete particle noise.

  11. Optimization of Particle-in-Cell Codes on RISC Processors

    NASA Technical Reports Server (NTRS)

    Decyk, Viktor K.; Karmesin, Steve Roy; Boer, Aeint de; Liewer, Paulette C.

    1996-01-01

    General strategies are developed to optimize particle-cell-codes written in Fortran for RISC processors which are commonly used on massively parallel computers. These strategies include data reorganization to improve cache utilization and code reorganization to improve efficiency of arithmetic pipelines.

  12. Shielding evaluation for solar particle events using MCNPX, PHITS and OLTARIS codes.

    PubMed

    Aghara, S K; Sriprisan, S I; Singleterry, R C; Sato, T

    2015-01-01

    Detailed analyses of Solar Particle Events (SPE) were performed to calculate primary and secondary particle spectra behind aluminum, at various thicknesses in water. The simulations were based on Monte Carlo (MC) radiation transport codes, MCNPX 2.7.0 and PHITS 2.64, and the space radiation analysis website called OLTARIS (On-Line Tool for the Assessment of Radiation in Space) version 3.4 (uses deterministic code, HZETRN, for transport). The study is set to investigate the impact of SPEs spectra transporting through 10 or 20 g/cm(2) Al shield followed by 30 g/cm(2) of water slab. Four historical SPE events were selected and used as input source spectra particle differential spectra for protons, neutrons, and photons are presented. The total particle fluence as a function of depth is presented. In addition to particle flux, the dose and dose equivalent values are calculated and compared between the codes and with the other published results. Overall, the particle fluence spectra from all three codes show good agreement with the MC codes showing closer agreement compared to the OLTARIS results. The neutron particle fluence from OLTARIS is lower than the results from MC codes at lower energies (E<100 MeV). Based on mean square difference analysis the results from MCNPX and PHITS agree better for fluence, dose and dose equivalent when compared to OLTARIS results. PMID:26177623

  13. Shielding evaluation for solar particle events using MCNPX, PHITS and OLTARIS codes

    NASA Astrophysics Data System (ADS)

    Aghara, S. K.; Sriprisan, S. I.; Singleterry, R. C.; Sato, T.

    2015-01-01

    Detailed analyses of Solar Particle Events (SPE) were performed to calculate primary and secondary particle spectra behind aluminum, at various thicknesses in water. The simulations were based on Monte Carlo (MC) radiation transport codes, MCNPX 2.7.0 and PHITS 2.64, and the space radiation analysis website called OLTARIS (On-Line Tool for the Assessment of Radiation in Space) version 3.4 (uses deterministic code, HZETRN, for transport). The study is set to investigate the impact of SPEs spectra transporting through 10 or 20 g/cm2 Al shield followed by 30 g/cm2 of water slab. Four historical SPE events were selected and used as input source spectra particle differential spectra for protons, neutrons, and photons are presented. The total particle fluence as a function of depth is presented. In addition to particle flux, the dose and dose equivalent values are calculated and compared between the codes and with the other published results. Overall, the particle fluence spectra from all three codes show good agreement with the MC codes showing closer agreement compared to the OLTARIS results. The neutron particle fluence from OLTARIS is lower than the results from MC codes at lower energies (E < 100 MeV). Based on mean square difference analysis the results from MCNPX and PHITS agree better for fluence, dose and dose equivalent when compared to OLTARIS results.

  14. Simulation studies using multibody dynamics code DART

    NASA Technical Reports Server (NTRS)

    Keat, James E.

    1989-01-01

    DART is a multibody dynamics code developed by Photon Research Associates for the Air Force Astronautics Laboratory (AFAL). The code is intended primarily to simulate the dynamics of large space structures, particularly during the deployment phase of their missions. DART integrates nonlinear equations of motion numerically. The number of bodies in the system being simulated is arbitrary. The bodies' interconnection joints can have an arbitrary number of degrees of freedom between 0 and 6. Motions across the joints can be large. Provision for simulating on-board control systems is provided. Conservation of energy and momentum, when applicable, are used to evaluate DART's performance. After a brief description of DART, studies made to test the program prior to its delivery to AFAL are described. The first is a large angle reorientating of a flexible spacecraft consisting of a rigid central hub and four flexible booms. Reorientation was accomplished by a single-cycle sine wave shape torque input. In the second study, an appendage, mounted on a spacecraft, was slewed through a large angle. Four closed-loop control systems provided control of this appendage and of the spacecraft's attitude. The third study simulated the deployment of the rim of a bicycle wheel configuration large space structure. This system contained 18 bodies. An interesting and unexpected feature of the dynamics was a pulsing phenomena experienced by the stays whole playout was used to control the deployment. A short description of the current status of DART is given.

  15. ALEGRA -- code validation: Experiments and simulations

    SciTech Connect

    Chhabildas, L.C.; Konrad, C.H.; Mosher, D.A.; Reinhart, W.D; Duggins, B.D.; Rodeman, R.; Trucano, T.G.; Summers, R.M.; Peery, J.S.

    1998-03-16

    In this study, the authors are providing an experimental test bed for validating features of the ALEGRA code over a broad range of strain rates with overlapping diagnostics that encompass the multiple responses. A unique feature of the Arbitrary Lagrangian Eulerian Grid for Research Applications (ALEGRA) code is that it allows simultaneous computational treatment, within one code, of a wide range of strain-rates varying from hydrodynamic to structural conditions. This range encompasses strain rates characteristic of shock-wave propagation (10{sup 7}/s) and those characteristic of structural response (10{sup 2}/s). Most previous code validation experimental studies, however, have been restricted to simulating or investigating a single strain-rate regime. What is new and different in this investigation is that the authors have performed well-instrumented experiments which capture features relevant to both hydrodynamic and structural response in a single experiment. Aluminum was chosen for use in this study because it is a well characterized material--its EOS and constitutive material properties are well defined over a wide range of loading rates. The current experiments span strain rate regimes of over 10{sup 7}/s to less than 10{sup 2}/s in a single experiment. The input conditions are extremely well defined. Velocity interferometers are used to record the high strain-rate response, while low strain rate data were collected using strain gauges.

  16. Efficient evaluation of collisional energy transfer terms for plasma particle simulations

    NASA Astrophysics Data System (ADS)

    Turrell, A. E.; Sherlock, M.; Rose, S. J.

    2016-01-01

    Particle-based simulations, such as in particle-in-cell (PIC) codes, are widely used in plasma physics research. The analysis of particle energy transfers, as described by the second moment of the Boltzmann equation, is often necessary within these simulations. We present computationally efficient, analytically derived equations for evaluating collisional energy transfer terms from simulations using discrete particles. The equations are expressed as a sum over the properties of the discrete particles.

  17. Containment Fire Simulation by a CFD Code

    SciTech Connect

    Heitsch, Matthias

    2002-07-01

    In the frame of an international collaborative project to evaluate fire models a code benchmark was initiated to better quantify the strengths and weaknesses of the codes involved. CFX has been applied to simulate selected cases of both parts of the benchmark. These simulations are presented and discussed in this paper. In the first part of the benchmark a pool fire just represented by a heat release table is considered. Consequently, the physical fire model within CFX is simple. Radiative heat exchange together with turbulent mixing are involved. Two cases with and without venting of the fire room are compared. The second part of the benchmark requires a more detailed fire model in order to inspect the availability of oxygen locally and to control the fire intensity. Under unvented conditions oxygen starvation is encountered and the fire oscillates. Mechanical ventilation changes this behavior and provides enough oxygen all over the simulation time. The predefined damage criteria to characterize, if a target cable in the fire room would be damaged, are not met. However, surface temperatures predicted are well above the assumed threshold temperatures. A continuation of the work presented is foreseen and will address a more complex physical modeling of relevant fire scenarios. (author)

  18. Particle beam dynamics simulations using the POOMA framework

    SciTech Connect

    Humphrey, W.; Ryne, R.; Cleland, T.; Cummings, J.; Habib, S.; Mark, G.; Ji Qiang

    1998-12-31

    A program for simulation of the dynamics of high intensity charged particle beams in linear particle accelerators has been developed in C++ using the POOMA Framework, for use on serial and parallel architectures. The code models the trajectories of charged particles through a sequence of different accelerator beamline elements such as drift chambers, quadrupole magnets, or RF cavities. An FFT-based particle-in-cell algorithm is used to solve the Poisson equation that models the Coulomb interactions of the particles. The code employs an object-oriented design with software abstractions for the particle beam, accelerator beamline, and beamline elements, using C++ templates to efficiently support both 2D and 3D capabilities in the same code base. The POOMA Framework, which encapsulates much of the effort required for parallel execution, provides particle and field classes, particle-field interaction capabilities, and parallel FFT algorithms. The performance of this application running serially and in parallel is compared to an existing HPF implementation, with the POOMA version seen to run four times faster than the HPF code.

  19. PIC code KARAT simulation of different types of polarization radiation generated by relativistic electron beam

    NASA Astrophysics Data System (ADS)

    Artyomov, K. P.; Ryzhov, V. V.; Naumenko, G. A.; Shevelev, M. V.

    2012-05-01

    Different types of polarization radiation generated by a relativistic electron beam are simulated using fully electromagnetic particle-in-cell (PIC) code KARAT. The simulation results for diffraction radiation, transition radiation, Smith-Purcell radiation and Vavilov-Cherenkov radiation are in a good agreement with experimental data and analytical models. Modern PIC simulation is a good tool to check and predict experimental results.

  20. Simulating flow and segregation of cylindrical particles

    NASA Astrophysics Data System (ADS)

    Zhao, Yongzhi; Umbanhowar, Paul B.; Lueptow, Richard M.

    2015-11-01

    Efficient and accurate simulation of cylindrical particles using discrete element method (DEM) is a challenge. Typical approaches to simulating cylindrical particle systems are based on the glued spheres method, which has low accuracy, or real shape models, which have high computational cost. In this work we utilize super-ellipsoids, which belong to super-quadrics, to model cylindrical particles in DEM simulations. Simulations of a single cylinder impacting a flat wall indicate that super-ellipsoids provide the same accuracy as real shape models and much better accuracy than the glued sphere method. Simulations of super-ellipsoid cylindrical particles in rotating tumblers result in nearly the same angle of repose as experiments and real shape simulations, demonstrating the accuracy of super-ellipsoid DEM simulations for multi-particle systems. The segregation of bidisperse cylindrical particles differing in length in a bounded heap was simulated by super-ellipsoid DEM, and the results are similar to the experiment. In spite of these advantages of using super-ellipsoid cylindrical particles, simulations of filling a box with particles indicate that the simulation times for super-ellipsoid cylinders is about an order of magnitude longer than that for the same number of spherical particles.

  1. Interfacing a fluid code (Induct95) with a particle code (PDP1) to obtain ion energy distributions in inductive and capacitive discharges

    SciTech Connect

    Kawamura, E.; Verboncoeur, J.P.; Birdsall, C.K.

    1996-12-31

    The goal is to obtain the ion angular and energy distributions at the wafer of inductive and capacitive discharges. To do this on a standard uniform mesh with particle codes alone would be impractical because of the long time scale nature of the problem (i.e., 10{sup 6} time steps). A solution is to use a fluid code to simulate the bulk source region, while using a particle-in-cell code to simulate the sheath region. Induct95 is a 2d fluid code which can simulate inductive and capacitive discharges. Though it does not resolve the sheath region near the wafer, it provides diagnostics for the collisional bulk plasma (i.e., potentials, temperatures, fluxes, etc.). Also, fluid codes converge to equilibrium much faster than particle codes in collisional regimes PDP1 is a 1d3v particle-in-cell code which can simulate rf discharges. It can resolve the sheath region and obtain the ion angular and energy distributions at the wafer target. The overall running time is expected to be that of the fluid code.

  2. Load-balancing techniques for a parallel electromagnetic particle-in-cell code

    SciTech Connect

    PLIMPTON,STEVEN J.; SEIDEL,DAVID B.; PASIK,MICHAEL F.; COATS,REBECCA S.

    2000-01-01

    QUICKSILVER is a 3-d electromagnetic particle-in-cell simulation code developed and used at Sandia to model relativistic charged particle transport. It models the time-response of electromagnetic fields and low-density-plasmas in a self-consistent manner: the fields push the plasma particles and the plasma current modifies the fields. Through an LDRD project a new parallel version of QUICKSILVER was created to enable large-scale plasma simulations to be run on massively-parallel distributed-memory supercomputers with thousands of processors, such as the Intel Tflops and DEC CPlant machines at Sandia. The new parallel code implements nearly all the features of the original serial QUICKSILVER and can be run on any platform which supports the message-passing interface (MPI) standard as well as on single-processor workstations. This report describes basic strategies useful for parallelizing and load-balancing particle-in-cell codes, outlines the parallel algorithms used in this implementation, and provides a summary of the modifications made to QUICKSILVER. It also highlights a series of benchmark simulations which have been run with the new code that illustrate its performance and parallel efficiency. These calculations have up to a billion grid cells and particles and were run on thousands of processors. This report also serves as a user manual for people wishing to run parallel QUICKSILVER.

  3. Recent advances in the Mercury Monte Carlo particle transport code

    SciTech Connect

    Brantley, P. S.; Dawson, S. A.; McKinley, M. S.; O'Brien, M. J.; Stevens, D. E.; Beck, B. R.; Jurgenson, E. D.; Ebbers, C. A.; Hall, J. M.

    2013-07-01

    We review recent physics and computational science advances in the Mercury Monte Carlo particle transport code under development at Lawrence Livermore National Laboratory. We describe recent efforts to enable a nuclear resonance fluorescence capability in the Mercury photon transport. We also describe recent work to implement a probability of extinction capability into Mercury. We review the results of current parallel scaling and threading efforts that enable the code to run on millions of MPI processes. (authors)

  4. Particle Tracking and Simulation on the .NET Framework

    SciTech Connect

    Nishimura, Hiroshi; Scarvie, Tom

    2006-06-19

    Particle tracking and simulation studies are becoming increasingly complex. In addition to the use of more sophisticated graphics, interactive scripting is becoming popular. Compatibility with different control systems requires network and database capabilities. It is not a trivial task to fulfill all the various requirements without sacrificing runtime performance. We evaluated the effectiveness of the .NET framework by converting a C++ simulation code to C. The portability to other platforms is mentioned in terms of Mono.

  5. Adaptation of multidimensional group particle tracking and particle wall-boundary condition model to the FDNS code

    NASA Technical Reports Server (NTRS)

    Chen, Y. S.; Farmer, R. C.

    1992-01-01

    A particulate two-phase flow CFD model was developed based on the FDNS code which is a pressure based predictor plus multi-corrector Navier-Stokes flow solver. Turbulence models with compressibility correction and the wall function models were employed as submodels. A finite-rate chemistry model was used for reacting flow simulation. For particulate two-phase flow simulations, a Eulerian-Lagrangian solution method using an efficient implicit particle trajectory integration scheme was developed in this study. Effects of particle-gas reaction and particle size change to agglomeration or fragmentation were not considered in this investigation. At the onset of the present study, a two-dimensional version of FDNS which had been modified to treat Lagrangian tracking of particles (FDNS-2DEL) had already been written and was operational. The FDNS-2DEL code was too slow for practical use, mainly because it had not been written in a form amenable to vectorization on the Cray, nor was the full three-dimensional form of FDNS utilized. The specific objective of this study was to reorder to calculations into long single arrays for automatic vectorization on the Cray and to implement the full three-dimensional version of FDNS to produce the FDNS-3DEL code. Since the FDNS-2DEL code was slow, a very limited number of test cases had been run with it. This study was also intended to increase the number of cases simulated to verify and improve, as necessary, the particle tracking methodology coded in FDNS.

  6. Adaptation of multidimensional group particle tracking and particle wall-boundary condition model to the FDNS code

    NASA Astrophysics Data System (ADS)

    Chen, Y. S.; Farmer, R. C.

    1992-04-01

    A particulate two-phase flow CFD model was developed based on the FDNS code which is a pressure based predictor plus multi-corrector Navier-Stokes flow solver. Turbulence models with compressibility correction and the wall function models were employed as submodels. A finite-rate chemistry model was used for reacting flow simulation. For particulate two-phase flow simulations, a Eulerian-Lagrangian solution method using an efficient implicit particle trajectory integration scheme was developed in this study. Effects of particle-gas reaction and particle size change to agglomeration or fragmentation were not considered in this investigation. At the onset of the present study, a two-dimensional version of FDNS which had been modified to treat Lagrangian tracking of particles (FDNS-2DEL) had already been written and was operational. The FDNS-2DEL code was too slow for practical use, mainly because it had not been written in a form amenable to vectorization on the Cray, nor was the full three-dimensional form of FDNS utilized. The specific objective of this study was to reorder to calculations into long single arrays for automatic vectorization on the Cray and to implement the full three-dimensional version of FDNS to produce the FDNS-3DEL code. Since the FDNS-2DEL code was slow, a very limited number of test cases had been run with it. This study was also intended to increase the number of cases simulated to verify and improve, as necessary, the particle tracking methodology coded in FDNS.

  7. GPU-optimized Code for Long-term Simulations of Beam-beam Effects in Colliders

    SciTech Connect

    Roblin, Yves; Morozov, Vasiliy; Terzic, Balsa; Aturban, Mohamed A.; Ranjan, D.; Zubair, Mohammed

    2013-06-01

    We report on the development of the new code for long-term simulation of beam-beam effects in particle colliders. The underlying physical model relies on a matrix-based arbitrary-order symplectic particle tracking for beam transport and the Bassetti-Erskine approximation for beam-beam interaction. The computations are accelerated through a parallel implementation on a hybrid GPU/CPU platform. With the new code, a previously computationally prohibitive long-term simulations become tractable. We use the new code to model the proposed medium-energy electron-ion collider (MEIC) at Jefferson Lab.

  8. Casting Pearls Ballistically: Efficient Massively Parallel Simulation of Particle Deposition

    NASA Astrophysics Data System (ADS)

    Lubachevsky, Boris D.; Privman, Vladimir; Roy, Subhas C.

    1996-06-01

    We simulate ballistic particle deposition wherein a large number of spherical particles are "cast" vertically over a planar horizontal surface. Upon first contact (with the surface or with a previously deposited particle) each particle stops. This model helps material scientists to study the adsorption and sediment formation. The model is sequential, with particles deposited one by one. We have found an equivalent formulation using a continuous time random process and we simulate the latter in parallel using a method similar to the one previously employed for simulating Ising spins. We augment the parallel algorithm for simulating Ising spins with several techniques aimed at the increase of efficiency of producing the particle configuration and statistics collection. Some of these techniques are similar to earlier ones. We implement the resulting algorithm on a 16K PE MasPar MP-1 and a 4K PE MasPar MP-2. The parallel code runs on MasPar computers nearly two orders of magnitude faster than an optimized sequential code runs on a fast workstation.

  9. Casting pearls ballistically: Efficient massively parallel simulation of particle deposition

    SciTech Connect

    Lubachevsky, B.D.; Privman, V.; Roy, S.C.

    1996-06-01

    We simulate ballistic particle deposition wherein a large number of spherical particles are {open_quotes}cast{close_quotes} vertically over a planar horizontal surface. Upon first contact (with the surface or with a previously deposited particle) each particle stops. This model helps material scientists to study the adsorption and sediment formation. The model is sequential, with particles deposited one by one. We have found an equivalent formulation using a continuous time random process and we simulate the latter in parallel using a method similar to the one previously employed for simulating Ising spins. We augment the parallel algorithm for simulating Ising spins with several techniques aimed at the increase of efficiency of producing the particle configuration and statistics collection. Some of these techniques are similar to earlier ones. We implement the resulting algorithm on a 16K PE MasPar MP-1 and a 4K PE MasPar MP-2. The parallel code runs on MasPar computers nearly two orders of magnitude faster than an optimized sequential code runs on a fast workstation. 17 refs., 9 figs.

  10. Spiking network simulation code for petascale computers.

    PubMed

    Kunkel, Susanne; Schmidt, Maximilian; Eppler, Jochen M; Plesser, Hans E; Masumoto, Gen; Igarashi, Jun; Ishii, Shin; Fukai, Tomoki; Morrison, Abigail; Diesmann, Markus; Helias, Moritz

    2014-01-01

    Brain-scale networks exhibit a breathtaking heterogeneity in the dynamical properties and parameters of their constituents. At cellular resolution, the entities of theory are neurons and synapses and over the past decade researchers have learned to manage the heterogeneity of neurons and synapses with efficient data structures. Already early parallel simulation codes stored synapses in a distributed fashion such that a synapse solely consumes memory on the compute node harboring the target neuron. As petaflop computers with some 100,000 nodes become increasingly available for neuroscience, new challenges arise for neuronal network simulation software: Each neuron contacts on the order of 10,000 other neurons and thus has targets only on a fraction of all compute nodes; furthermore, for any given source neuron, at most a single synapse is typically created on any compute node. From the viewpoint of an individual compute node, the heterogeneity in the synaptic target lists thus collapses along two dimensions: the dimension of the types of synapses and the dimension of the number of synapses of a given type. Here we present a data structure taking advantage of this double collapse using metaprogramming techniques. After introducing the relevant scaling scenario for brain-scale simulations, we quantitatively discuss the performance on two supercomputers. We show that the novel architecture scales to the largest petascale supercomputers available today. PMID:25346682

  11. Spiking network simulation code for petascale computers

    PubMed Central

    Kunkel, Susanne; Schmidt, Maximilian; Eppler, Jochen M.; Plesser, Hans E.; Masumoto, Gen; Igarashi, Jun; Ishii, Shin; Fukai, Tomoki; Morrison, Abigail; Diesmann, Markus; Helias, Moritz

    2014-01-01

    Brain-scale networks exhibit a breathtaking heterogeneity in the dynamical properties and parameters of their constituents. At cellular resolution, the entities of theory are neurons and synapses and over the past decade researchers have learned to manage the heterogeneity of neurons and synapses with efficient data structures. Already early parallel simulation codes stored synapses in a distributed fashion such that a synapse solely consumes memory on the compute node harboring the target neuron. As petaflop computers with some 100,000 nodes become increasingly available for neuroscience, new challenges arise for neuronal network simulation software: Each neuron contacts on the order of 10,000 other neurons and thus has targets only on a fraction of all compute nodes; furthermore, for any given source neuron, at most a single synapse is typically created on any compute node. From the viewpoint of an individual compute node, the heterogeneity in the synaptic target lists thus collapses along two dimensions: the dimension of the types of synapses and the dimension of the number of synapses of a given type. Here we present a data structure taking advantage of this double collapse using metaprogramming techniques. After introducing the relevant scaling scenario for brain-scale simulations, we quantitatively discuss the performance on two supercomputers. We show that the novel architecture scales to the largest petascale supercomputers available today. PMID:25346682

  12. Electromagnetic ''particle-in-cell'' plasma simulation

    SciTech Connect

    Langdon, A.B.

    1985-04-22

    ''PIC'' simulation tracks particles through electromagnetic fields calculated self-consistently from the charge and current densities of the particles themselves, external sources, and boundaries. Already used extensively in plasma physics, such simulations have become useful in the design of accelerators and their r.f. sources. 5 refs.

  13. Fast Particle Pair Detection Algorithms for Particle Simulations

    NASA Astrophysics Data System (ADS)

    Iwai, T.; Hong, C.-W.; Greil, P.

    New algorithms with O(N) complexity have been developed for fast particle-pair detections in particle simulations like the discrete element method (DEM) and molecular dynamic (MD). They exhibit robustness against broad particle size distributions when compared with conventional boxing methods. Almost similar calculation speeds are achieved at particle size distributions from is mono-size to 1:10 while the linked-cell method results in calculations more than 20 times. The basic algorithm, level-boxing, uses the variable search range according to each particle. The advanced method, multi-level boxing, employs multiple cell layers to reduce the particle size discrepancy. Another method, indexed-level boxing, reduces the size of cell arrays by introducing the hash procedure to access the cell array, and is effective for sparse particle systems with a large number of particles.

  14. Export Controls on Astrophysical Simulation Codes

    NASA Astrophysics Data System (ADS)

    Whalen, Daniel

    2015-01-01

    Amidst concerns about nuclear proliferation, the US government has established guidelines on what types of astrophysical simulation codes can be run and disseminated on open systems. I will review the basic export controls that have been enacted by the federal government to slow the pace of software acquisition by potential adversaries who seek to develop weapons of mass destruction. The good news is that it is relatively simple to avoid ITAR issues with the Department of Energy if one remembers a few simple rules. I will discuss in particular what types of algorithm development can get researchers into trouble if they are not aware of the regulations and how to avoid these pitfalls while doing world class science.

  15. ReA Fluid Code with Wave-Particle Trapping Effects

    NASA Astrophysics Data System (ADS)

    Mattor, Nathan

    1999-11-01

    A fluid code is presented that contains nonlinear wave-particle resonance effects, such as trapping and scattering. Generally it is thought that such effects require kinetic equations, but recent studies have called this into question.(S.E. Parker and D. Carati, Phys. Rev. Lett. 75,) 441 (1995) This code is a practical demonstration of these assertions. The code solves electrostatic one dimensional equations, and in principle applies to the same plasma as the classic code ``ES1.''(Plasma Physics via Computer Simulation,) by C. K. Birdsall and A. B. Langdon (c. 1985, McGraw-Hill, New York). Various nonlinear wave-particle resonance effects, approximations, and timings are discussed. Work performed at Lawrence Livermore National Laboratory under DoE Contract No. W7405-ENG-48.

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

    NASA Astrophysics Data System (ADS)

    Wang, Jianguo; Chen, Zaigao; Wang, Yue; Zhang, Dianhui; Liu, Chunliang; Li, Yongdong; Wang, Hongguang; Qiao, Hailiang; Fu, Meiyan; Yuan, Yuan

    2010-07-01

    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.

  17. Load management strategy for Particle-In-Cell simulations in high energy particle acceleration

    NASA Astrophysics Data System (ADS)

    Beck, A.; Frederiksen, J. T.; Dérouillat, J.

    2016-09-01

    In the wake of the intense effort made for the experimental CILEX project, numerical simulation campaigns have been carried out in order to finalize the design of the facility and to identify optimal laser and plasma parameters. These simulations bring, of course, important insight into the fundamental physics at play. As a by-product, they also characterize the quality of our theoretical and numerical models. In this paper, we compare the results given by different codes and point out algorithmic limitations both in terms of physical accuracy and computational performances. These limitations are illustrated in the context of electron laser wakefield acceleration (LWFA). The main limitation we identify in state-of-the-art Particle-In-Cell (PIC) codes is computational load imbalance. We propose an innovative algorithm to deal with this specific issue as well as milestones towards a modern, accurate high-performance PIC code for high energy particle acceleration.

  18. A new parallel P3M code for very large-scale cosmological simulations

    NASA Astrophysics Data System (ADS)

    MacFarland, Tom; Couchman, H. M. P.; Pearce, F. R.; Pichlmeier, Jakob

    1998-12-01

    We have developed a parallel Particle-Particle, Particle-Mesh (P3M) simulation code for the Cray T3E parallel supercomputer that is well suited to studying the time evolution of systems of particles interacting via gravity and gas forces in cosmological contexts. The parallel code is based upon the public-domain serial Adaptive P3M-SPH (http://coho.astro.uwo.ca/pub/hydra/hydra.html) code of Couchman et al. (1995)[ApJ, 452, 797]. The algorithm resolves gravitational forces into a long-range component computed by discretizing the mass distribution and solving Poisson's equation on a grid using an FFT convolution method, and a short-range component computed by direct force summation for sufficiently close particle pairs. The code consists primarily of a particle-particle computation parallelized by domain decomposition over blocks of neighbour-cells, a more regular mesh calculation distributed in planes along one dimension, and several transformations between the two distributions. The load balancing of the P3M code is static, since this greatly aids the ongoing implementation of parallel adaptive refinements of the particle and mesh systems. Great care was taken throughout to make optimal use of the available memory, so that a version of the current implementation has been used to simulate systems of up to 109 particles with a 10243 mesh for the long-range force computation. These are the largest Cosmological N-body simulations of which we are aware. We discuss these memory optimizations as well as those motivated by computational performance. Performance results are very encouraging, and, even without refinements, the code has been used effectively for simulations in which the particle distribution becomes highly clustered as well as for other non-uniform systems of astrophysical interest.

  19. Data parallel sorting for particle simulation

    NASA Technical Reports Server (NTRS)

    Dagum, Leonardo

    1992-01-01

    Sorting on a parallel architecture is a communications intensive event which can incur a high penalty in applications where it is required. In the case of particle simulation, only integer sorting is necessary, and sequential implementations easily attain the minimum performance bound of O (N) for N particles. Parallel implementations, however, have to cope with the parallel sorting problem which, in addition to incurring a heavy communications cost, can make the minimun performance bound difficult to attain. This paper demonstrates how the sorting problem in a particle simulation can be reduced to a merging problem, and describes an efficient data parallel algorithm to solve this merging problem in a particle simulation. The new algorithm is shown to be optimal under conditions usual for particle simulation, and its fieldwise implementation on the Connection Machine is analyzed in detail. The new algorithm is about four times faster than a fieldwise implementation of radix sort on the Connection Machine.

  20. The use of electromagnetic particle-in-cell codes in accelerator applications

    SciTech Connect

    Eppley, K.

    1988-12-01

    The techniques developed for the numerical simulation of plasmas have numerous applications relevant to accelerators. The operation of many accelerator components involves transients, interactions between beams and rf fields, and internal plasma oscillations. These effects produce non-linear behavior which can be represented accurately by particle in cell (PIC) simulations. We will give a very brief overview of the algorithms used in PIC Codes. We will examine the range of parameters over which they are useful. We will discuss the factors which determine whether a two or three dimensional simulation is most appropriate. PIC codes have been applied to a wide variety of diverse problems, spanning many of the systems in a linear accelerator. We will present a number of practical examples of the application of these codes to areas such as guns, bunchers, rf sources, beam transport, emittance growth and final focus. 8 refs., 8 figs., 2 tabs.

  1. A smooth particle hydrodynamics code to model collisions between solid, self-gravitating objects

    NASA Astrophysics Data System (ADS)

    Schäfer, C.; Riecker, S.; Maindl, T. I.; Speith, R.; Scherrer, S.; Kley, W.

    2016-05-01

    Context. Modern graphics processing units (GPUs) lead to a major increase in the performance of the computation of astrophysical simulations. Owing to the different nature of GPU architecture compared to traditional central processing units (CPUs) such as x86 architecture, existing numerical codes cannot be easily migrated to run on GPU. Here, we present a new implementation of the numerical method smooth particle hydrodynamics (SPH) using CUDA and the first astrophysical application of the new code: the collision between Ceres-sized objects. Aims: The new code allows for a tremendous increase in speed of astrophysical simulations with SPH and self-gravity at low costs for new hardware. Methods: We have implemented the SPH equations to model gas, liquids and elastic, and plastic solid bodies and added a fragmentation model for brittle materials. Self-gravity may be optionally included in the simulations and is treated by the use of a Barnes-Hut tree. Results: We find an impressive performance gain using NVIDIA consumer devices compared to our existing OpenMP code. The new code is freely available to the community upon request. If you are interested in our CUDA SPH code miluphCUDA, please write an email to Christoph Schäfer. miluphCUDA is the CUDA port of miluph. miluph is pronounced [maßl2v]. We do not support the use of the code for military purposes.

  2. A smooth particle hydrodynamics code to model collisions between solid, self-gravitating objects

    NASA Astrophysics Data System (ADS)

    Schäfer, C.; Riecker, S.; Maindl, T. I.; Speith, R.; Scherrer, S.; Kley, W.

    2016-04-01

    Context. Modern graphics processing units (GPUs) lead to a major increase in the performance of the computation of astrophysical simulations. Owing to the different nature of GPU architecture compared to traditional central processing units (CPUs) such as x86 architecture, existing numerical codes cannot be easily migrated to run on GPU. Here, we present a new implementation of the numerical method smooth particle hydrodynamics (SPH) using CUDA and the first astrophysical application of the new code: the collision between Ceres-sized objects. Aims: The new code allows for a tremendous increase in speed of astrophysical simulations with SPH and self-gravity at low costs for new hardware. Methods: We have implemented the SPH equations to model gas, liquids and elastic, and plastic solid bodies and added a fragmentation model for brittle materials. Self-gravity may be optionally included in the simulations and is treated by the use of a Barnes-Hut tree. Results: We find an impressive performance gain using NVIDIA consumer devices compared to our existing OpenMP code. The new code is freely available to the community upon request. If you are interested in our CUDA SPH code miluphCUDA, please write an email to Christoph Schäfer. miluphCUDA is the CUDA port of miluph. miluph is pronounced [maßl2v]. We do not support the use of the code for military purposes.

  3. Simulating Ice Particle Melting using Smooth Particle Hydrodynamics

    NASA Astrophysics Data System (ADS)

    Kuo, Kwo-Sen; Pelissier, Craig

    2015-04-01

    To measure precipitation from space requires an accurate estimation of the collective scattering properties of particles suspended in a precipitating column. It is well known that the complicated and typically unknowable shapes of the solid precipitation particles cause much uncertainty in the retrievals involving such particles. This remote-sensing problem becomes even more difficult with the "melting layer" containing partially melted ice particles, where both the geometric shape and liquid-solid fraction of the hydrometeors are variables.. For the scattering properties of these particles depend not only on their shapes, but also their melt-water fraction,and the spatial distribution of liquid and ice within. To obtain an accurate estimation thus requires a set of "realistic" particle geometries and a method to determine the melt-water distribution at various stages in the melting process. Once this is achieved, a suitable method can be used to compute the scattering properties. In previous work, the growth of a set of astoundingly realistic ice particles has been simulated using the "Snowfake" algorithm of Gravner and Griffeath. To simulate the melting process of these particles, the method of Smooth Particle Hydrodynamics (SPH) is used. SPH is a mesh-less particle-based approach where kinematic and thermal dynamics is controlled entirely through two-body interactions between neighboring SPH particles. An important property of SPH is that the interaction at boundaries between air/ice/water is implicitly taken care of. This is crucial for this work since those boundaries are complex and vary throughout the melting process. We present the SPH implementation and a simulation, using highly parallel Graphic Processing Units (GPUs), with ~1 million SPH particles to represent one of the generated ice particle geometries. We plan to use this method, especially its parallelized version, to simulate the melting of all the "Snowfake" particles (~10,000 of them) in our

  4. Particle Acceleration in the Low Corona Over Broad Longitudes: Coupling MHD and 3D Particle Simulations

    NASA Astrophysics Data System (ADS)

    Gorby, M.; Schwadron, N.; Torok, T.; Downs, C.; Lionello, R.; Linker, J.; Titov, V. S.; Mikic, Z.; Riley, P.; Desai, M. I.; Dayeh, M. A.

    2014-12-01

    Recent work on the coupling between the Energetic Particle Radiation Environment Module (EPREM, a 3D energetic particle model) and Magnetohydrodynamics Around a Sphere (MAS, an MHD code developed at Predictive Science, Inc.) has demonstrated the efficacy of compression regions around fast coronal mass ejections (CMEs) for particle acceleration low in the corona (˜ 3 - 6 solar radii). These couplings show rapid particle acceleration over a broad longitudinal extent (˜ 80 degrees) resulting from the pile-up of magnetic flux in the compression regions and their subsequent expansion. The challenge for forming large SEP events in such compression-acceleration scenarios is to have enhanced scattering within the acceleration region while also allowing for efficient escape of accelerated particles downstream (away from the Sun) from the compression region. We present here the most recent simulation results including energetic particle and CME plasma profiles, the subsequent flux and dosages at 1AU, and an analysis of the compressional regions as efficient accelerators.

  5. Monte Carlo simulation of particle acceleration at astrophysical shocks

    NASA Technical Reports Server (NTRS)

    Campbell, Roy K.

    1989-01-01

    A Monte Carlo code was developed for the simulation of particle acceleration at astrophysical shocks. The code is implemented in Turbo Pascal on a PC. It is modularized and structured in such a way that modification and maintenance are relatively painless. Monte Carlo simulations of particle acceleration at shocks follow the trajectories of individual particles as they scatter repeatedly across the shock front, gaining energy with each crossing. The particles are assumed to scatter from magnetohydrodynamic (MHD) turbulence on both sides of the shock. A scattering law is used which is related to the assumed form of the turbulence, and the particle and shock parameters. High energy cosmic ray spectra derived from Monte Carlo simulations have observed power law behavior just as the spectra derived from analytic calculations based on a diffusion equation. This high energy behavior is not sensitive to the scattering law used. In contrast with Monte Carlo calculations diffusive calculations rely on the initial injection of supra-thermal particles into the shock environment. Monte Carlo simulations are the only known way to describe the extraction of particles directly from the thermal pool. This was the triumph of the Monte Carlo approach. The question of acceleration efficiency is an important one in the shock acceleration game. The efficiency of shock waves efficient to account for the observed flux of high energy galactic cosmic rays was examined. The efficiency of the acceleration process depends on the thermal particle pick-up and hence the low energy scattering in detail. One of the goals is the self-consistent derivation of the accelerated particle spectra and the MHD turbulence spectra. Presumably the upstream turbulence, which scatters the particles so they can be accelerated, is excited by the streaming accelerated particles and the needed downstream turbulence is convected from the upstream region. The present code is to be modified to include a better

  6. Monte Carlo simulation of particle acceleration at astrophysical shocks

    NASA Astrophysics Data System (ADS)

    Campbell, Roy K.

    1989-09-01

    A Monte Carlo code was developed for the simulation of particle acceleration at astrophysical shocks. The code is implemented in Turbo Pascal on a PC. It is modularized and structured in such a way that modification and maintenance are relatively painless. Monte Carlo simulations of particle acceleration at shocks follow the trajectories of individual particles as they scatter repeatedly across the shock front, gaining energy with each crossing. The particles are assumed to scatter from magnetohydrodynamic (MHD) turbulence on both sides of the shock. A scattering law is used which is related to the assumed form of the turbulence, and the particle and shock parameters. High energy cosmic ray spectra derived from Monte Carlo simulations have observed power law behavior just as the spectra derived from analytic calculations based on a diffusion equation. This high energy behavior is not sensitive to the scattering law used. In contrast with Monte Carlo calculations diffusive calculations rely on the initial injection of supra-thermal particles into the shock environment. Monte Carlo simulations are the only known way to describe the extraction of particles directly from the thermal pool. This was the triumph of the Monte Carlo approach. The question of acceleration efficiency is an important one in the shock acceleration game. The efficiency of shock waves efficient to account for the observed flux of high energy galactic cosmic rays was examined. The efficiency of the acceleration process depends on the thermal particle pick-up and hence the low energy scattering in detail. One of the goals is the self-consistent derivation of the accelerated particle spectra and the MHD turbulence spectra. Presumably the upstream turbulence, which scatters the particles so they can be accelerated, is excited by the streaming accelerated particles and the needed downstream turbulence is convected from the upstream region. The present code is to be modified to include a better

  7. CFD development for macro particle simulations

    NASA Astrophysics Data System (ADS)

    Zhao, Xiang; Glenn, Chance; Xiao, Zhigang; Zhang, Sijun

    2014-05-01

    Numerous industrial operations involve fluid-particle systems, in which both phases display very complex behaviour. Some examples include fluidisation technology in catalytic reactors, pneumatic transportation of grain or powder materials, carbon nanotube alignment in the nano-devices and circuit integration and so on. In this paper, a macro particle method is developed to model the fluid-particle flows. The macro particle is formed by a collection of micro-sized particles so that the number of macro particles to be tracked is much less than the number of smaller particles. Unlike the calculations of instantaneous point variables of fluid phase with moving discrete boundaries of the smaller particles with direct numerical simulation, the boundary of each macro particle is just dealt with the blocked-off approach. On the other hand, the flow fields based on the present method is solved by original Navier-Stokes, rather than the modified ones based on the locally averaged theorem. The flow fields are solved on the length scale of computational cells, while the resolutions of solid particles are the size of macro particle, which is determined as needed in specific applications. The macro particle method is validated by several selected cases, which demonstrate that the macro particle method could accurately resolve fluid-particle systems in an efficient, robust and flexible fashion.

  8. Fast Particle Methods for Multiscale Phenomena Simulations

    NASA Technical Reports Server (NTRS)

    Koumoutsakos, P.; Wray, A.; Shariff, K.; Pohorille, Andrew

    2000-01-01

    We are developing particle methods oriented at improving computational modeling capabilities of multiscale physical phenomena in : (i) high Reynolds number unsteady vortical flows, (ii) particle laden and interfacial flows, (iii)molecular dynamics studies of nanoscale droplets and studies of the structure, functions, and evolution of the earliest living cell. The unifying computational approach involves particle methods implemented in parallel computer architectures. The inherent adaptivity, robustness and efficiency of particle methods makes them a multidisciplinary computational tool capable of bridging the gap of micro-scale and continuum flow simulations. Using efficient tree data structures, multipole expansion algorithms, and improved particle-grid interpolation, particle methods allow for simulations using millions of computational elements, making possible the resolution of a wide range of length and time scales of these important physical phenomena.The current challenges in these simulations are in : [i] the proper formulation of particle methods in the molecular and continuous level for the discretization of the governing equations [ii] the resolution of the wide range of time and length scales governing the phenomena under investigation. [iii] the minimization of numerical artifacts that may interfere with the physics of the systems under consideration. [iv] the parallelization of processes such as tree traversal and grid-particle interpolations We are conducting simulations using vortex methods, molecular dynamics and smooth particle hydrodynamics, exploiting their unifying concepts such as : the solution of the N-body problem in parallel computers, highly accurate particle-particle and grid-particle interpolations, parallel FFT's and the formulation of processes such as diffusion in the context of particle methods. This approach enables us to transcend among seemingly unrelated areas of research.

  9. Simulation of Indoor Fine Suspension Particle Deposition

    NASA Astrophysics Data System (ADS)

    Li, K. Q.; Gong, G. C.; Zou, S. H.

    In this paper, the migration and deposition of particles are simulated using the Moment Dynamic Equation (MDE). Indoor fine suspension particle depositions and particle distribution function are obtained. Gas phase flow is simulated by v 2 - f model. The simulated results of particle concentration profiles show that a uniform concentration exists in the middle region of the room with a low supplying speed. At the same time, the total number of partciels deposited is also obtained using Gradient diffusion model. Through the comparison of velocity predictions among several CFD k-ɛ models and v 2 -f model and experimental data, it is concluded that the results obtained by v 2 -f model more accurately approximate the experimental data. So that the MDE combined v 2 -f model will gain in popularity amongst building engineers and it will gradually be adopted as an attractive alternative tool to predict contaminant particle dispersion and distribution.

  10. FDPS: Framework for Developing Particle Simulators

    NASA Astrophysics Data System (ADS)

    Iwasawa, Masaki; Tanikawa, Ataru; Hosono, Natsuki; Nitadori, Keigo; Muranushi, Takayuki; Makino, Junichiro

    2016-04-01

    FDPS provides the necessary functions for efficient parallel execution of particle-based simulations as templates independent of the data structure of particles and the functional form of the interaction. It is used to develop particle-based simulation programs for large-scale distributed-memory parallel supercomputers. FDPS includes templates for domain decomposition, redistribution of particles, and gathering of particle information for interaction calculation. It uses algorithms such as Barnes-Hut tree method for long-range interactions; methods to limit the calculation to neighbor particles are used for short-range interactions. FDPS reduces the time and effort necessary to write a simple, sequential and unoptimized program of O(N^2) calculation cost, and produces compiled programs that will run efficiently on large-scale parallel supercomputers.

  11. A comparison of the measured responses of a tissue-equivalent proportional counter to high energy heavy (HZE) particles and those simulated using the Geant4 Monte Carlo code

    PubMed Central

    Taddei, Phillip J.; Zhao, Zhongxiang; Borak, Thomas B.

    2010-01-01

    Monte Carlo simulations of heavy ion interactions using the Geant4 toolkit were compared with measurements of energy deposition in a spherical tissue-equivalent proportional counter (TEPC). A spherical cavity with a physical diameter of 12.7 mm was filled with propane-based tissue-equivalent gas surrounded by a wall of A-150 tissue-equivalent plastic that was 2.54 mm to thick. Measurements and Monte Carlo simulations were used to record the energy deposition and the trajectory of the incident particle on an event-by-event basis for ions ranging in atomic number from 2 (4He) to 26 (56Fe) and in energy from 200 MeV/nucleon to 1000 MeV/nucleon. In the simulations, tracking of secondary electrons was terminated when the range of an electron was below a specified threshold. The effects of range cuts for electrons at 0.5 μm, 1 μm, 10 μm, and 100 μm were evaluated. To simulate an energy deposition influenced by large numbers of low energy electrons with large transverse momentum, it was necessary to track electrons down to range cuts of 10 μm or less. The Geant4 simulated data closely matched the measured data acquired using a TEPC for incident particles traversing the center of the detector as well as near the gas-wall interface. Values of frequency mean lineal energy and dose mean lineal energy were within 8% of the measured data. The production of secondary particles in the aluminum vacuum chamber had no effect on the response of the TEPC for 56Fe at 1000 MeV/nucleon. The results of this study confirm that Geant4 can simulate patterns of energy deposition for existing microdosimeters and is valuable for improving the design of a new generation of detectors used for space dosimetry and for characterizing particle beams used in hadron radiotherapy. PMID:20862212

  12. A comparison of the measured responses of a tissue-equivalent proportional counter to high energy heavy (HZE) particles and those simulated using the Geant4 Monte Carlo code.

    PubMed

    Taddei, Phillip J; Zhao, Zhongxiang; Borak, Thomas B

    2008-10-01

    Monte Carlo simulations of heavy ion interactions using the Geant4 toolkit were compared with measurements of energy deposition in a spherical tissue-equivalent proportional counter (TEPC). A spherical cavity with a physical diameter of 12.7 mm was filled with propane-based tissue-equivalent gas surrounded by a wall of A-150 tissue-equivalent plastic that was 2.54 mm to thick. Measurements and Monte Carlo simulations were used to record the energy deposition and the trajectory of the incident particle on an event-by-event basis for ions ranging in atomic number from 2 ((4)He) to 26 ((56)Fe) and in energy from 200 MeV/nucleon to 1000 MeV/nucleon. In the simulations, tracking of secondary electrons was terminated when the range of an electron was below a specified threshold. The effects of range cuts for electrons at 0.5 μm, 1 μm, 10 μm, and 100 μm were evaluated. To simulate an energy deposition influenced by large numbers of low energy electrons with large transverse momentum, it was necessary to track electrons down to range cuts of 10 μm or less. The Geant4 simulated data closely matched the measured data acquired using a TEPC for incident particles traversing the center of the detector as well as near the gas-wall interface. Values of frequency mean lineal energy and dose mean lineal energy were within 8% of the measured data. The production of secondary particles in the aluminum vacuum chamber had no effect on the response of the TEPC for (56)Fe at 1000 MeV/nucleon. The results of this study confirm that Geant4 can simulate patterns of energy deposition for existing microdosimeters and is valuable for improving the design of a new generation of detectors used for space dosimetry and for characterizing particle beams used in hadron radiotherapy. PMID:20862212

  13. Communication Systems Simulator with Error Correcting Codes Using MATLAB

    ERIC Educational Resources Information Center

    Gomez, C.; Gonzalez, J. E.; Pardo, J. M.

    2003-01-01

    In this work, the characteristics of a simulator for channel coding techniques used in communication systems, are described. This software has been designed for engineering students in order to facilitate the understanding of how the error correcting codes work. To help students understand easily the concepts related to these kinds of codes, a…

  14. Interplanetary particle transport simulation for warning system for aviation exposure to solar energetic particles

    NASA Astrophysics Data System (ADS)

    Kubo, Yûki; Kataoka, Ryuho; Sato, Tatsuhiko

    2015-07-01

    Solar energetic particles (SEPs) are one of the extreme space weather phenomena. A huge SEP event increases the radiation dose received by aircrews, who should be warned of such events as early as possible. We developed a warning system for aviation exposure to SEPs. This article describes one component of the system, which calculates the temporal evolution of the SEP intensity and the spectrum immediately outside the terrestrial magnetosphere. To achieve this, we performed numerical simulations of SEP transport in interplanetary space, in which interplanetary SEP transport is described by the focused transport equation. We developed a new simulation code to solve the equation using a set of stochastic differential equations. In the code, the focused transport equation is expressed in a magnetic field line coordinate system, which is a non-orthogonal curvilinear coordinate system. An inverse Gaussian distribution is employed as the injection profile of SEPs at an inner boundary located near the Sun. We applied the simulation to observed SEP events as a validation test. The results show that our simulation can closely reproduce observational data for the temporal evolution of particle intensity. By employing the code, we developed the WArning System for AVIation Exposure to Solar energetic particles (WASAVIES).

  15. Software quality and process improvement in scientific simulation codes

    SciTech Connect

    Ambrosiano, J.; Webster, R.

    1997-11-01

    This report contains viewgraphs on the quest to develope better simulation code quality through process modeling and improvement. This study is based on the experience of the authors and interviews with ten subjects chosen from simulation code development teams at LANL. This study is descriptive rather than scientific.

  16. Exact simulation of polarized light reflectance by particle deposits

    NASA Astrophysics Data System (ADS)

    Ramezan Pour, B.; Mackowski, D. W.

    2015-12-01

    The use of polarimetric light reflection measurements as a means of identifying the physical and chemical characteristics of particulate materials obviously relies on an accurate model of predicting the effects of particle size, shape, concentration, and refractive index on polarized reflection. The research examines two methods for prediction of reflection from plane parallel layers of wavelength—sized particles. The first method is based on an exact superposition solution to Maxwell's time harmonic wave equations for a deposit of spherical particles that are exposed to a plane incident wave. We use a FORTRAN-90 implementation of this solution (the Multiple Sphere T Matrix (MSTM) code), coupled with parallel computational platforms, to directly simulate the reflection from particle layers. The second method examined is based upon the vector radiative transport equation (RTE). Mie theory is used in our RTE model to predict the extinction coefficient, albedo, and scattering phase function of the particles, and the solution of the RTE is obtained from adding—doubling method applied to a plane—parallel configuration. Our results show that the MSTM and RTE predictions of the Mueller matrix elements converge when particle volume fraction in the particle layer decreases below around five percent. At higher volume fractions the RTE can yield results that, depending on the particle size and refractive index, significantly depart from the exact predictions. The particle regimes which lead to dependent scattering effects, and the application of methods to correct the vector RTE for particle interaction, will be discussed.

  17. Numerical simulation of particle bed scour by vortices

    NASA Astrophysics Data System (ADS)

    Hagan, Dan; Dubief, Yves; Dewoolkar, Mandar

    2014-11-01

    The repeated impacts of a vortex dipole on a particle bed are simulated using a Direct Numerical Simulation (DNS) code. The resulting scour characteristics and flow dynamics are investigated as a function of the Shields number. The fluid phase is treated as a continuum and the discretized Navier-Stokes equations are solved down to the smallest scales of the flow, on an Eulerian grid. The particles comprising the bed are represented by the Discrete Particle Model (DPM), whereby each individual particle is tracked in a Lagrangian framework. Particle-particle and particle-wall collisions are modeled using a soft-sphere model. The fluid phase and the solid phase are coupled through a forcing term in the fluid conservation of momentum equation, and a drag force in the particle equation of motion, governed by Newton's Second Law. Above the critical Shields number, the scour hole topography is not fundamentally altered with subsequent impacts until the scale of the scour hole reaches a critical value. At which point, the shape and scale of the scour hole significantly alters the behavior of the vortex dipole and results in strongly asymmetric scour topographies. The two-way coupling between the bed scour and the vortex dipole dynamics are analyzed. Support from UVM Transportation Research Center and NSF CBET-0967224.

  18. Particle simulations in toroidal geometry

    SciTech Connect

    Aydemir, A.Y.

    1992-09-01

    A computational tool to be used in kinetic simulations of toroidal plasmas is being developed. The initial goal of the project is to develop an electrostatic gyrokinetic model for studying transport and stability problems in tokamaks. In this brief report, preliminary results from the early stages of this effort are presented.

  19. Particle simulation of plasmas and stellar systems

    SciTech Connect

    Tajima, T.; Clark, A.; Craddock, G.G.; Gilden, D.L.; Leung, W.K.; Li, Y.M.; Robertson, J.A.; Saltzman, B.J.

    1985-04-01

    A computational technique is introduced which allows the student and researcher an opportunity to observe the physical behavior of a class of many-body systems. A series of examples is offered which illustrates the diversity of problems that may be studied using particle simulation. These simulations were in fact assigned as homework in a course on computational physics.

  20. Particle simulation of auroral double layers

    NASA Technical Reports Server (NTRS)

    Smith, Bruce L.; Okuda, Hideo

    1987-01-01

    Work on the simulation of auroral double layers (DLs) with realistic particle-in-cell models is presented. An early model simulated weak DLs formed in a self-consistent circuit but under conditions subject to the ion-acoustic instability. Recent work has focused on strong DLs formed when currentless jets are injected into a dipole magnetic field.

  1. Process to create simulated lunar agglutinate particles

    NASA Technical Reports Server (NTRS)

    Gustafson, Robert J. (Inventor); Gustafson, Marty A. (Inventor); White, Brant C. (Inventor)

    2011-01-01

    A method of creating simulated agglutinate particles by applying a heat source sufficient to partially melt a raw material is provided. The raw material is preferably any lunar soil simulant, crushed mineral, mixture of crushed minerals, or similar material, and the heat source creates localized heating of the raw material.

  2. Nonlinear Delta-f Particle Simulations of Collective Effects in High Intensity Charged Particle Beams

    NASA Astrophysics Data System (ADS)

    Qin, Hong; Davidson, Ronald C.; Startsev, Edward A.

    2004-11-01

    A wide range of collective effects in high intensity charged particle beams have been numerically studied using the nonlinear delta-f particle simulation method implemented in the Beam Equilibrium Stability and Transport (BEST) code. For the electron-ion two-stream instability in high intensity accelerators and storage rings, the secondary electron yield effects are self-consistently studied by coupling the secondary electron yield library CMEE with the instability simulations. Progress has also been made in applying the delta-f particle simulation method to bunched beams, and a three-dimensional equilibrium solver has been implemented. With the help of recently developed parallel diagnostic techniques, we are able to characterize the chaotic particle dynamics under the influences of collective instabilities as well as three-dimensional equilibrium fields. To further extend the application areas of the delta-f particle simulation method, 2D domain decomposition is being developed using the Message Passing Interface, and three-dimensional equilibria with anisotropic temperature in the transverse and longitudinal directions are being investigated. References: [1] R. C. Davidson and H. Qin, An Introduction to the Physics of Intense Charged Particle Beams in High Energy Accelerators, World Scientific (2001). [2] H. Qin, Physics of Plasmas 10, 2078 (2003). [3] H. Qin, E. A. Startsev, and R. C. Davidson, Physical Review Special Topics on Accelerators and Beams 6, 014401 (2003).

  3. Kinetic transport simulation of energetic particles

    NASA Astrophysics Data System (ADS)

    Sheng, He; Waltz, R. E.

    2016-05-01

    A kinetic transport code (EPtran) is developed for the transport of the energetic particles (EPs). The EPtran code evolves the EP distribution function in radius, energy, and pitch angle phase space (r, E, λ) to steady state with classical slowing down, pitch angle scattering, as well as radial and energy transport of the injected EPs (neutral beam injection (NBI) or fusion alpha). The EPtran code is illustrated by treating the transport of NBI fast ions from high-n ITG/TEM micro-turbulence and EP driven unstable low-n Alfvén eigenmodes (AEs) in a well-studied DIII-D NBI heated discharge with significant AE central core loss. The kinetic transport code results for this discharge are compared with previous study using a simple EP density moment transport code ALPHA (R.E. Waltz and E.M. Bass 2014 Nucl. Fusion 54 104006). The dominant EP-AE transport is treated with a local stiff critical EP density (or equivalent pressure) gradient radial transport model modified to include energy-dependence and the nonlocal effects EP drift orbits. All previous EP transport models assume that the EP velocity space distribution function is not significantly distorted from the classical ‘no transport’ slowing down distribution. Important transport distortions away from the slowing down EP spectrum are illustrated by a focus on the coefficient of convection: EP energy flux divided by the product of EP average energy and EP particle flux.

  4. Simulating spin- particles at colliders

    NASA Astrophysics Data System (ADS)

    Christensen, N. D.; de Aquino, P.; Deutschmann, N.; Duhr, C.; Fuks, B.; Garcia-Cely, C.; Mattelaer, O.; Mawatari, K.; Oexl, B.; Takaesu, Y.

    2013-10-01

    Support for interactions of spin- particles is implemented in the FeynRules and ALOHA packages and tested with the MadGraph 5 and CalcHEP event generators in the context of three phenomenological applications. In the first, we implement a spin- Majorana gravitino field, as in local supersymmetric models, and study gravitino and gluino pair-production. In the second, a spin- Dirac top-quark excitation, inspired from compositeness models, is implemented. We then investigate both top-quark excitation and top-quark pair-production. In the third, a general effective operator for a spin- Dirac quark excitation is implemented, followed by a calculation of the angular distribution of the s-channel production mechanism.

  5. Streamline generation code for particle dynamics description in numerical models of turbulence

    NASA Astrophysics Data System (ADS)

    Dalena, S.; Chuychai, P.; Mace, R. L.; Greco, A.; Qin, G.; Matthaeus, W. H.

    2012-09-01

    Streamline Version 4 is a versatile Fortran 77 & C++ program for calculating charged test particle trajectories or field-lines for user-specified fields using the test-particle method. The user has the freedom to specify any type of field (analytical, tabulated in files, time dependent, etc.) and maintains complete control over initial conditions of trajectories/field-lines and boundary conditions of specified fields. The structure of Streamline was redesigned from previous versions in order to know not only particle or field-lines positions and velocities at each step of the simulations, but also the instantaneous field values as seen by particles. This was made to compute the instantaneous value of the particle's magnetic moment, but other applications are possible too. Accuracy tests of the code are shown for different cases, i.e., particles moving in constant magnetic field, magnetic plus constant electric field and wave field. In addition in the last part of the paper we concentrate our discussion on the study of velocity space diffusion of charged particles in turbulent slab fields, paying attention to the discretization of the fields and the temporal discretization of the dynamical equations. The diffusion of charged particles is a very common topic in plasma physics and astrophysics since it plays an important role in many different phenomena such as stochastic particle acceleration, diffusive shock acceleration, solar energetic particle propagation, and the scattering required for the solar modulation of galactic cosmic rays.

  6. Modeling and simulation of bubbles and particles

    NASA Astrophysics Data System (ADS)

    Dorgan, Andrew James

    The interaction of particles, drops, and bubbles with a fluid (gas or liquid) is important in a number of engineering problems. The present works seeks to extend the understanding of these interactions through numerical simulation. To model many of these relevant flows, it is often important to consider finite Reynolds number effects on drag, lift, torque and history force. Thus, the present work develops an equation of motion for spherical particles with a no-slip surface based on theoretical analysis, experimental data and surface-resolved simulations which is appropriate for dispersed multiphase flows. The equation of motion is then extended to account for finite particle size. This extension is critical for particles which will have a size significantly larger than the grid cell size, particularly important for bubbles and low-density particles. The extension to finite particle size is accomplished through spatial-averaging (both volume-based and surface-based) of the continuous flow properties. This averaging is consistent with the Faxen limit for solid spheres at small Reynolds numbers and added mass and fluid stress forces at inviscid limits. Further work is needed for more quantitative assessment of the truncation terms in complex flows. The new equation of motion is then used to assess the relative importance of each force in the context of two low-density particles (an air bubble and a sand particle) in a boundary layer of water. This relative importance is measured by considering effects on particle concentration, visualization of particle-fluid interactions, diffusion rates, and Lagrangian statistics collected along the particle trajectory. Strong added mass and stress gradient effects are observed for the bubble but these were found to have little effect on a sand particle of equal diameter. Lift was shown to be important for both conditions provided the terminal velocity was aligned with the flow direction. The influence of lift was found to be

  7. Recent improvements to the ASTRA particle tracking code

    SciTech Connect

    Flottmann, Klaus; Lidia, Steven; Piot, Philippe

    2003-05-19

    The Astra simulation code has been successfully used in the design of linac and rf photoinjector systems utilizing beams with azimuthal symmetry. We present recently implemented changes to Astra that allow tracking of beams in beamlines without the assumption of any symmetry. The changes especially include a 3D mesh space charge algorithm and the possibility to import 3D electromagnetic fieldmaps from eigensolver programs.

  8. Modeling of a-particle redistribution by sawteeth in TFTR using FPPT code

    SciTech Connect

    Gorelenkov, N.N.; Budny, R.V.; Duong, H.H.

    1996-06-01

    Results from recent DT experiments on TFTR to measure the radial density profiles of fast confined well trapped {alpha}-particles using the Pellet Charge eXchange (PCX) diagnostic [PETROV M. P., et. al. Nucl. Fusion, 35 (1995) 1437] indicate that sawtooth oscillations produce a significant broadening of the trapped alpha radial density profiles. ` Conventional models consistent with measured sawtooth effects on passing particles do not provide satisfactory simulations of the trapped particle mixing measured by PCX diagnostic. We propose a different mechanism for fast particle mixing during the sawtooth crash to explain the trapped {alpha}-particle density profile broadening after the crash. The model is based on the fast particle orbit averaged toroidal drift in a perturbed helical electric field with an adjustable absolute value. Such a drift of the fast particles results in a change of their energy and a redistribution in phase space. The energy redistribution is shown to obey the diffusion equation, while the redistribution in toroidal momentum P{var_phi} (or in minor radius) is assumed stochastic with large diffusion coefficient and was taken flat. The distribution function in a pre- sawtooth plasma and its evolution in a post-sawtooth crash plasma is simulated using the Fokker-Planck Post-TRANSP (FPPT) processor code. It is shown that FPPT calculated {alpha}-particle distributions are consistent with TRANSP Monte-Carlo calculations. Comparison of FPPT results with Pellet Char eXchange (PCX) measurements shows good agreement for 9 both sawtooth free and sawtoothing plasmas.

  9. SpectralPlasmaSolver: a Spectral Code for Multiscale Simulations of Collisionless, Magnetized Plasmas

    NASA Astrophysics Data System (ADS)

    Vencels, Juris; Delzanno, Gian Luca; Manzini, Gianmarco; Markidis, Stefano; Peng, Ivy Bo; Roytershteyn, Vadim

    2016-05-01

    We present the design and implementation of a spectral code, called SpectralPlasmaSolver (SPS), for the solution of the multi-dimensional Vlasov-Maxwell equations. The method is based on a Hermite-Fourier decomposition of the particle distribution function. The code is written in Fortran and uses the PETSc library for solving the non-linear equations and preconditioning and the FFTW library for the convolutions. SPS is parallelized for shared- memory machines using OpenMP. As a verification example, we discuss simulations of the two-dimensional Orszag-Tang vortex problem and successfully compare them against a fully kinetic Particle-In-Cell simulation. An assessment of the performance of the code is presented, showing a significant improvement in the code running-time achieved by preconditioning, while strong scaling tests show a factor of 10 speed-up using 16 threads.

  10. Visual interrogation of gyrokinetic particle simulations

    NASA Astrophysics Data System (ADS)

    Jones, Chad; Ma, Kwan-Liu; Sanderson, Allen; Myers, Lee Roy, Jr.

    2007-07-01

    Gyrokinetic particle simulations are critical to the study of anomalous energy transport associated with plasma microturbulence in magnetic confinement fusion experiments. The simulations are conducted on massively parallel computers and produce large quantities of particles, variables, and time steps, thus presenting a formidable challenge to data analysis tasks. We present two new visualization techniques for scientists to improve their understanding of the time-varying, multivariate particle data. One technique allows scientists to examine correlations in multivariate particle data with tightly coupled views of the data in both physical space and variable space, and to visually identify and track features of interest. The second technique, built into SCIRun, allows scientists to perform range-based queries over a series of time slices and visualize the resulting particles using glyphs. The ability to navigate the multiple dimensions of the particle data, as well as query individual or a collection of particles, enables scientists to not only validate their simulations but also discover new phenomena in their data.

  11. Particle simulation of bounded 1D plasma systems

    SciTech Connect

    Lawson, W.S.

    1989-02-01

    The physical and numerical problems of kinetic simulation of a bounded electrostatic plasma system in one planar dimension are examined, and solutions to them are presented. These problems include particle absorption, reflection and emission at boundaries, the solution of Poisson's equation under non-periodic boundary conditions, and the treatment of an external circuit connecting the boundaries. The methods which are described here are implemented in a code named PDW1, which is available from Professor C. K. Birdsall, Plasma Theory and Simulation Group, Cory Hall, University of California, Berkeley, CA 94720. copyright 1989 Academic Press, Inc.

  12. Beam-Beam Simulations with the Gaussian Code TRS

    SciTech Connect

    Matter, Regina S.

    2000-06-26

    The authors have summarized the main features of the beam-beam simulation code TRS and presented two sample applications to the PEP-II collider. The code has been successfully tested against analytic results and against other simulation codes whenever such comparisons are meaningful. The soft-gaussian approximation is believed to represent reliably incoherent beam-beam effects. The code has been used to perform studies for the PEP-II collider. For example, simulated tune scans reveal undesirable operating points due to beam blowup from synchrotron sidebands. The dynamical beta effect, clearly seen in these simulations, also influences the choice of a working point. The code has been used to establish the adequate beam separation at the parasitic collision points [24], and has been applied to the proposed muon collider [25], including the effects from the instability of the muon.

  13. Integration of Heat Transfer, Stress, and Particle Trajectory Simulation

    SciTech Connect

    Thuc Bui; Michael Read; Lawrence ives

    2012-05-17

    Calabazas Creek Research, Inc. developed and currently markets Beam Optics Analyzer (BOA) in the United States and abroad. BOA is a 3D, charged particle optics code that solves the electric and magnetic fields with and without the presence of particles. It includes automatic and adaptive meshing to resolve spatial scales ranging from a few millimeters to meters. It is fully integrated with CAD packages, such as SolidWorks, allowing seamless geometry updates. The code includes iterative procedures for optimization, including a fully functional, graphical user interface. Recently, time dependent, particle in cell capability was added, pushing particles synchronically under quasistatic electromagnetic fields to obtain particle bunching under RF conditions. A heat transfer solver was added during this Phase I program. Completed tasks include: (1) Added a 3D finite element heat transfer solver with adaptivity; (2) Determined the accuracy of the linear heat transfer field solver to provide the basis for development of higher order solvers in Phase II; (3) Provided more accurate and smoother power density fields; and (4) Defined the geometry using the same CAD model, while maintaining different meshes, and interfacing the power density field between the particle simulator and heat transfer solvers. These objectives were achieved using modern programming techniques and algorithms. All programming was in C++ and parallelization in OpenMP, utilizing state-of-the-art multi-core technology. Both x86 and x64 versions are supported. The GUI design and implementation used Microsoft Foundation Class.

  14. Gyrokinetic particle simulation of neoclassical transport

    SciTech Connect

    Lin, Z.; Tang, W.M.; Lee, W.W.

    1995-02-01

    A time varying weighting ({delta} f) scheme for gyrokinetic particle simulation is applied to a steady state, multi-species simulation of neoclassical transport. Accurate collision operators conserving momentum and energy are developed and implemented. Simulation results using these operators are found to agree very well with neoclassical theory. For example, it is dynamically demonstrated in these multispecies simulations that like-particle collisions produce no particle flux and that the neoclassical fluxes are ambipolar for an ion-electron plasma. An important physics feature of the present scheme is the introduction of toroidal sheared flow to the simulations. Simulation results are in agreement with the existing analytical neoclassical theory of Hinton and Wong. The poloidal electric field associated with toroidal mass flow is found to enhance density gradient driven electron particle flux and the bootstrap current while reducing temperature gradient driven flux and current. Finally, neoclassical theory in steep gradient profile relevant to the edge regime is examined by taking into account finite banana width effects. In general, the present work demonstrates a valuable new capability for studying important aspects of neoclassical transport inaccessible by conventional analytical calculation processes.

  15. Development and Test of 2.5-Dimensional Electromagnetic PIC Simulation Code

    NASA Astrophysics Data System (ADS)

    Lee, Sang-Yun; Lee, Ensang; Kim, Khan-Hyuk; Seon, Jongho; Lee, Dong-Hun; Ryu, Kwang-Sun

    2015-03-01

    We have developed a 2.5-dimensional electromagnetic particle simulation code using the particle-in-cell (PIC) method to investigate electromagnetic phenomena that occur in space plasmas. Our code is based on the leap-frog method and the centered difference method for integration and differentiation of the governing equations. We adopted the relativistic Buneman-Boris method to solve the Lorentz force equation and the Esirkepov method to calculate the current density while maintaining charge conservation. Using the developed code, we performed test simulations for electron two-stream instability and electron temperature anisotropy induced instability with the same initial parameters as used in previously reported studies. The test simulation results are almost identical with those of the previous papers.

  16. A bounded two dimensional PIC-MCC code for simulating processing plasmas

    SciTech Connect

    Vahedi, V.; Birdsall, C.K.; Lieberman, M.A.

    1992-12-01

    The authors have developed a bounded two dimensional particle-in-cell simulation code with a Monte Carlo Collision (MCC) handler to study processing discharges. The MCC package models the collisions, between charged and neutral particles, which are needed to obtain a self sustained plasma and the proper electron and ion energy loss mechanisms. The simulations are aimed at determining uniformity of particle fluxes (magnitude and angle) across a typical target. Some early results are obtained from an x-y model with electrode area ratio of 6:1; a similar r-z model is in progress which can be used to study cylindrical chambers.

  17. Neoclassical Simulation of Tokamak Plasmas using Continuum Gyrokinetc Code TEMPEST

    SciTech Connect

    Xu, X Q

    2007-11-09

    We present gyrokinetic neoclassical simulations of tokamak plasmas with self-consistent electric field for the first time using a fully nonlinear (full-f) continuum code TEMPEST in a circular geometry. A set of gyrokinetic equations are discretized on a five dimensional computational grid in phase space. The present implementation is a Method of Lines approach where the phase-space derivatives are discretized with finite differences and implicit backwards differencing formulas are used to advance the system in time. The fully nonlinear Boltzmann model is used for electrons. The neoclassical electric field is obtained by solving gyrokinetic Poisson equation with self-consistent poloidal variation. With our 4D ({psi}, {theta}, {epsilon}, {mu}) version of the TEMPEST code we compute radial particle and heat flux, the Geodesic-Acoustic Mode (GAM), and the development of neoclassical electric field, which we compare with neoclassical theory with a Lorentz collision model. The present work provides a numerical scheme and a new capability for self-consistently studying important aspects of neoclassical transport and rotations in toroidal magnetic fusion devices.

  18. Codesign approach towards an Exascale scalable plasma simulation code

    NASA Astrophysics Data System (ADS)

    Amaya, J.; Deca, J.; Innocenti, M. E.; Johnson, A.; Lapenta, G.; Markidis, S.; Olshevsky, V.; Vapirev, A.

    2013-10-01

    Particle in cell simulations represent an excellent paradigm for codesign efforts. PIC codes are simple and flexible with many variants addressing different physics applications (e.g. explicit, implicit, hybrid, gyrokinetic, fluid) and different architecture (e.g. vector, parallel, GPU). It is relatively easy to consider radical changes and test them in a short time. For this reason, the project DEEP funded by the European Commission (www.deep-project.eu) and the Intel Exascience Lab (www.exascience.com) have used PIC as one of their target application for a codesign approach aiming at developing PIC methods for future exascale comupters. The starting point is the iPic3D implicit PIC approach. Here we report on the analysis of code performance, on the use of GPUs and the new MICs (Intel Xeon processors). We describe how the method can be rethinked for hybrid architectures composed of MICs and CPUs (as in the new Deep Supercomputer in Juelich, as well as in others). The focus is on a codesign approach where computer science issue motivate modifications of the algorithms used while physics constraints what should be eventually achieved.

  19. Loading relativistic Maxwell distributions in particle simulations

    SciTech Connect

    Zenitani, Seiji

    2015-04-15

    Numerical algorithms to load relativistic Maxwell distributions in particle-in-cell (PIC) and Monte-Carlo simulations are presented. For stationary relativistic Maxwellian, the inverse transform method and the Sobol algorithm are reviewed. To boost particles to obtain relativistic shifted-Maxwellian, two rejection methods are proposed in a physically transparent manner. Their acceptance efficiencies are ≈50% for generic cases and 100% for symmetric distributions. They can be combined with arbitrary base algorithms.

  20. Loading relativistic Maxwell distributions in particle simulations

    NASA Astrophysics Data System (ADS)

    Zenitani, Seiji

    2015-04-01

    Numerical algorithms to load relativistic Maxwell distributions in particle-in-cell (PIC) and Monte-Carlo simulations are presented. For stationary relativistic Maxwellian, the inverse transform method and the Sobol algorithm are reviewed. To boost particles to obtain relativistic shifted-Maxwellian, two rejection methods are proposed in a physically transparent manner. Their acceptance efficiencies are ≈50 % for generic cases and 100% for symmetric distributions. They can be combined with arbitrary base algorithms.

  1. M3D-K simulations of sawteeth and energetic particle transport in tokamak plasmas

    NASA Astrophysics Data System (ADS)

    Shen, Wei; Fu, G. Y.; Sheng, Zheng-Mao; Breslau, J. A.; Wang, Feng

    2014-09-01

    Nonlinear simulations of sawteeth and related energetic particle transport are carried out using the kinetic/magnetohydrodynamic (MHD) hybrid code M3D-K. MHD simulations show repeated sawtooth cycles for a model tokamak equilibrium. Furthermore, test particle simulations are carried out to study the energetic particle transport due to a sawtooth crash. The results show that energetic particles are redistributed radially in the plasma core, depending on pitch angle and energy. For trapped particles, the redistribution occurs for particle energy below a critical value in agreement with existing theories. For co-passing particles, the redistribution is strong with little dependence on particle energy. In contrast, the redistribution level of counter-passing particles decreases with increasing particle energy.

  2. M3D-K Simulations of Sawteeth and Energetic Particle Transport in Tokamak Plasmas

    NASA Astrophysics Data System (ADS)

    Shen, Wei; Fu, Guoyong; Sheng, Zhengmao; Breslau, Joshua; Wang, Feng

    2013-10-01

    Nonlinear simulations of Sawteeth and energetic particle transport are carried out using the kinetic/MHD hybrid code M3D-K. MHD simulations show repeated sawtooth cycles due to a resistive (1,1) internal kink mode for a model tokamak equilibrium. Furthermore, test particle simulations are carried out to study the energetic particle transport due to a sawtooth crash. The results show that energetic particles are redistributed radially in plasma core depending on pitch angle and energy. For trapped particles, the redistribution occurs for particle energy below a critical value in agreement with previous theory. For co-passing particles, the redistribution is strong with little dependence on particle energy. In contrast, the redistribution level of counter-passing particles decreases as particle energy becomes large.

  3. M3D-K simulations of sawteeth and energetic particle transport in tokamak plasmas

    SciTech Connect

    Shen, Wei; Sheng, Zheng-Mao; Fu, G. Y.; Breslau, J. A.; Wang, Feng

    2014-09-15

    Nonlinear simulations of sawteeth and related energetic particle transport are carried out using the kinetic/magnetohydrodynamic (MHD) hybrid code M3D-K. MHD simulations show repeated sawtooth cycles for a model tokamak equilibrium. Furthermore, test particle simulations are carried out to study the energetic particle transport due to a sawtooth crash. The results show that energetic particles are redistributed radially in the plasma core, depending on pitch angle and energy. For trapped particles, the redistribution occurs for particle energy below a critical value in agreement with existing theories. For co-passing particles, the redistribution is strong with little dependence on particle energy. In contrast, the redistribution level of counter-passing particles decreases with increasing particle energy.

  4. DgSMC-B code: A robust and autonomous direct simulation Monte Carlo code for arbitrary geometries

    NASA Astrophysics Data System (ADS)

    Kargaran, H.; Minuchehr, A.; Zolfaghari, A.

    2016-07-01

    In this paper, we describe the structure of a new Direct Simulation Monte Carlo (DSMC) code that takes advantage of combinatorial geometry (CG) to simulate any rarefied gas flows Medias. The developed code, called DgSMC-B, has been written in FORTRAN90 language with capability of parallel processing using OpenMP framework. The DgSMC-B is capable of handling 3-dimensional (3D) geometries, which is created with first-and second-order surfaces. It performs independent particle tracking for the complex geometry without the intervention of mesh. In addition, it resolves the computational domain boundary and volume computing in border grids using hexahedral mesh. The developed code is robust and self-governing code, which does not use any separate code such as mesh generators. The results of six test cases have been presented to indicate its ability to deal with wide range of benchmark problems with sophisticated geometries such as airfoil NACA 0012. The DgSMC-B code demonstrates its performance and accuracy in a variety of problems. The results are found to be in good agreement with references and experimental data.

  5. Gyrokinetic particle simulation of neoclassical transport

    SciTech Connect

    Lin, Z.; Tang, W.M.; Lee, W.W.

    1995-08-01

    A time varying weighting ({delta}{ital f} ) scheme for gyrokinetic particle simulation is applied to a steady-state, multispecies simulation of neoclassical transport. Accurate collision operators conserving momentum and energy are developed and implemented. Simulation results using these operators are found to agree very well with neoclassical theory. For example, it is dynamically demonstrated that like-particle collisions produce no particle flux and that the neoclassical fluxes are ambipolar for an ion--electron plasma. An important physics feature of the present scheme is the introduction of toroidal flow to the simulations. Simulation results are in agreement with the existing analytical neoclassical theory. The poloidal electric field associated with toroidal mass flow is found to enhance density gradient-driven electron particle flux and the bootstrap current while reducing temperature gradient-driven flux and current. Finally, neoclassical theory in steep gradient profile relevant to the edge regime is examined by taking into account finite banana width effects. In general, in the present work a valuable new capability for studying important aspects of neoclassical transport inaccessible by conventional analytical calculation processes is demonstrated. {copyright} {ital 1995} {ital American} {ital Institute} {ital of} {ital Physics}.

  6. Simulation on particle crushing of tailings material under high pressure

    NASA Astrophysics Data System (ADS)

    Liu, Hai-ming; Liu, Yi-ming; Yang, Chun-he; Cao, Jing

    2013-06-01

    With continuous increase of the high tailings dam, it has an important practical and theoretical significance to study the mechanical characteristics of the tailings material under high pressures. It is indicated that strength envelopes of the tailings material have a remarkable nonlinear characteristics through the triaxial test under high pressures. A further study stated that the particle crushing has a critical effect on the mechanical behavior of the tailings material. In order to quantitatively research its influence, the grain size distribution of the tailings material is analyzed for pre-and post-test and the particle crushing of the tailings material is measured. The particle flow code is employed to simulate and monitor the sample during testing. Firstly, a model which considers the particle crushing is built under the plane strain condition. Then, a series of biaxial numerical tests of the tailings specimen are simulated by using the model. It is found that the simulation result agrees with the triaxial test. Finally, a law between the particle crushing and strain of the tailings material under different confining pressures is obtained.

  7. Monte Carlo simulations of intensity profiles for energetic particle propagation

    NASA Astrophysics Data System (ADS)

    Tautz, R. C.; Bolte, J.; Shalchi, A.

    2016-02-01

    Aims: Numerical test-particle simulations are a reliable and frequently used tool for testing analytical transport theories and predicting mean-free paths. The comparison between solutions of the diffusion equation and the particle flux is used to critically judge the applicability of diffusion to the stochastic transport of energetic particles in magnetized turbulence. Methods: A Monte Carlo simulation code is extended to allow for the generation of intensity profiles and anisotropy-time profiles. Because of the relatively low number density of computational particles, a kernel function has to be used to describe the spatial extent of each particle. Results: The obtained intensity profiles are interpreted as solutions of the diffusion equation by inserting the diffusion coefficients that have been directly determined from the mean-square displacements. The comparison shows that the time dependence of the diffusion coefficients needs to be considered, in particular the initial ballistic phase and the often subdiffusive perpendicular coefficient. Conclusions: It is argued that the perpendicular component of the distribution function is essential if agreement between the diffusion solution and the simulated flux is to be obtained. In addition, time-dependent diffusion can provide a better description than the classic diffusion equation only after the initial ballistic phase.

  8. Particle-in-Cell Simulations of Ponderomotive Particle Acceleration in a Plasma

    SciTech Connect

    Startsev, E.A.; McKinstrie, C.J.

    2003-06-17

    (B204)In previous publications the ponderomotive acceleration of electrons by an idealized (one-dimensional) circularly polarized laser pulse in a plasma was studied analytically. Acceleration gradients of order 100 GeV/m were predicted. To verify the predictions of the theoretical model, a two-dimensional relativistic particle-in-cell code was developed. Simulations of the interaction of a preaccelerated electron bunch with a realistic (two-dimensional)laser pulse in a plasma are presented and analyzed. The simulation results validate the theoretical model and show that significant ponderomotive acceleration is possible.

  9. ParaDiS-FEM dislocation dynamics simulation code primer

    SciTech Connect

    Tang, M; Hommes, G; Aubry, S; Arsenlis, A

    2011-09-27

    The ParaDiS code is developed to study bulk systems with periodic boundary conditions. When we try to perform discrete dislocation dynamics simulations for finite systems such as thin films or cylinders, the ParaDiS code must be extended. First, dislocations need to be contained inside the finite simulation box; Second, dislocations inside the finite box experience image stresses due to the free surfaces. We have developed in-house FEM subroutines to couple with the ParaDiS code to deal with free surface related issues in the dislocation dynamics simulations. This primer explains how the coupled code was developed, the main changes from the ParaDiS code, and the functions of the new FEM subroutines.

  10. Low Mach Code with Particle Transport Version 1.0

    Energy Science and Technology Software Center (ESTSC)

    2010-08-09

    Computational technique is based on the firect numerical simulation of the particulate flows using distributed Lagrange multiplier technique (Kanarska et al. 2010 submitted to Computers and Fluids journal). Each particle is explicitly resolved on the Eulerian grid as a separate domain, using solid volume of fractions. The fluid equations are solved through the entire computational domain, and, Lagrange multiplier constrains are applied inside the solid domain to satisfy rigidity contrains.

  11. Overview of Particle and Heavy Ion Transport Code System PHITS

    NASA Astrophysics Data System (ADS)

    Sato, Tatsuhiko; Niita, Koji; Matsuda, Norihiro; Hashimoto, Shintaro; Iwamoto, Yosuke; Furuta, Takuya; Noda, Shusaku; Ogawa, Tatsuhiko; Iwase, Hiroshi; Nakashima, Hiroshi; Fukahori, Tokio; Okumura, Keisuke; Kai, Tetsuya; Chiba, Satoshi; Sihver, Lembit

    2014-06-01

    A general purpose Monte Carlo Particle and Heavy Ion Transport code System, PHITS, is being developed through the collaboration of several institutes in Japan and Europe. The Japan Atomic Energy Agency is responsible for managing the entire project. PHITS can deal with the transport of nearly all particles, including neutrons, protons, heavy ions, photons, and electrons, over wide energy ranges using various nuclear reaction models and data libraries. It is written in Fortran language and can be executed on almost all computers. All components of PHITS such as its source, executable and data-library files are assembled in one package and then distributed to many countries via the Research organization for Information Science and Technology, the Data Bank of the Organization for Economic Co-operation and Development's Nuclear Energy Agency, and the Radiation Safety Information Computational Center. More than 1,000 researchers have been registered as PHITS users, and they apply the code to various research and development fields such as nuclear technology, accelerator design, medical physics, and cosmic-ray research. This paper briefly summarizes the physics models implemented in PHITS, and introduces some important functions useful for specific applications, such as an event generator mode and beam transport functions.

  12. Type I X-ray burst simulation code

    Energy Science and Technology Software Center (ESTSC)

    2007-07-01

    dAGILE is an astrophysical code that simulates accretion of matter onto a neutron star and the subsequent x-ray burst. It is a one-dimensional time-dependent spherically symmetric code with generalized nuclear reaction networks, diffusive radiation/conduction, realistic boundary conditions, and general relativistic hydrodynamics. The code is described in more detail in Astrophysical Journal 650(2006)332 and Astrophysical Journal Supplements 174(2008)261.

  13. Probabilistic load simulation: Code development status

    NASA Technical Reports Server (NTRS)

    Newell, J. F.; Ho, H.

    1991-01-01

    The objective of the Composite Load Spectra (CLS) project is to develop generic load models to simulate the composite load spectra that are included in space propulsion system components. The probabilistic loads thus generated are part of the probabilistic design analysis (PDA) of a space propulsion system that also includes probabilistic structural analyses, reliability, and risk evaluations. Probabilistic load simulation for space propulsion systems demands sophisticated probabilistic methodology and requires large amounts of load information and engineering data. The CLS approach is to implement a knowledge based system coupled with a probabilistic load simulation module. The knowledge base manages and furnishes load information and expertise and sets up the simulation runs. The load simulation module performs the numerical computation to generate the probabilistic loads with load information supplied from the CLS knowledge base.

  14. Gyrokinetic particle simulation of a field reversed configuration

    NASA Astrophysics Data System (ADS)

    Fulton, D. P.; Lau, C. K.; Holod, I.; Lin, Z.; Dettrick, S.

    2016-01-01

    Gyrokinetic particle simulation of the field-reversed configuration (FRC) has been developed using the gyrokinetic toroidal code (GTC). The magnetohydrodynamic equilibrium is mapped from cylindrical coordinates to Boozer coordinates for the FRC core and scrape-off layer (SOL), respectively. A field-aligned mesh is constructed for solving self-consistent electric fields using a semi-spectral solver in a partial torus FRC geometry. This new simulation capability has been successfully verified and driftwave instability in the FRC has been studied using the gyrokinetic simulation for the first time. Initial GTC simulations find that in the FRC core, the ion-scale driftwave is stabilized by the large ion gyroradius. In the SOL, the driftwave is unstable on both ion and electron scales.

  15. Global gyrokinetic particle-in-cell simulations of internal kink instabilities

    SciTech Connect

    Mishchenko, Alexey; Zocco, Alessandro

    2012-12-15

    Internal kink instabilities have been studied in straight tokamak geometry employing an electromagnetic gyrokinetic particle-in-cell (PIC) code. The ideal-MHD internal kink mode and the collisionless m=1 tearing mode have been successfully simulated with the PIC code. Diamagnetic effects on the internal kink modes have also been investigated.

  16. Interactive methods for exploring particle simulation data

    SciTech Connect

    Co, Christopher S.; Friedman, Alex; Grote, David P.; Vay, Jean-Luc; Bethel, E. Wes; Joy, Kenneth I.

    2004-05-01

    In this work, we visualize high-dimensional particle simulation data using a suite of scatter plot-based visualizations coupled with interactive selection tools. We use traditional 2D and 3D projection scatter plots as well as a novel oriented disk rendering style to convey various information about the data. Interactive selection tools allow physicists to manually classify ''interesting'' sets of particles that are highlighted across multiple, linked views of the data. The power of our application is the ability to correspond new visual representations of the simulation data with traditional, well understood visualizations. This approach supports the interactive exploration of the high-dimensional space while promoting discovery of new particle behavior.

  17. Nonlinear particle simulation of ion cyclotron waves in toroidal geometry

    SciTech Connect

    Kuley, A. Lin, Z.; Bao, J.; Wei, X. S.; Xiao, Y.

    2015-12-10

    Global particle simulation model has been developed in this work to provide a first-principles tool for studying the nonlinear interactions of radio frequency (RF) waves with plasmas in tokamak. In this model, ions are considered as fully kinetic particles using the Vlasov equation and electrons are treated as guiding centers using the drift kinetic equation with realistic electron-to-ion mass ratio. Boris push scheme for the ion motion has been developed in the toroidal geometry using magnetic coordinates and successfully verified for the ion cyclotron and ion Bernstein waves in global gyrokinetic toroidal code (GTC). The nonlinear simulation capability is applied to study the parametric decay instability of a pump wave into an ion Bernstein wave side band and a low frequency ion cyclotron quasi mode.

  18. PLASMA ENERGETIC PARTICLES SIMULATION CENTER (PEPSC)

    SciTech Connect

    Berk, Herbert L.

    2014-05-23

    The main effort of the Texas group was to develop theoretical and simplified numerical models to understand chirping phenomena often seen for Alfven and geodesic acoustic waves in experimental plasmas such as D-III-D, NSTX and JET. Its main numerical effort was to modify the AEGIS code, which was originally developed as an eigenvalue solver. To apply to the chirping problem this code has to be able to treat the linear response to the continuum and the response of the plasma to external drive or to an internal drive that comes from the formation of phase space chirping structures. The theoretical underpinning of this investigation still needed to be more fully developed to understand how to best formulate the theoretical problem. Considerable progress was made on this front by B.N. Breizman and his collaborators and a new reduced model was developed by H. L. Berk and his PhD student, G. Wang which can be uses as simplified model to describe chirping in a large aspect ratio tokamak. This final report will concentrate on these two directions that were developed as well as results that were found in the work with the AEGIS code and in the progress in developing a novel quasi-linear formulation for a description of Alfvenic modes destabilized by energetic particles, such as alpha particles in a burning plasma.

  19. Code linkages for occupant safety during roadside impact simulations

    SciTech Connect

    Kay, G.J.; Logan, R.

    1994-01-11

    Current code linkage developments at Lawrence Livermore National Laboratory include coupling of the nonlinear explicit finite element analysis (FEA) code DYNA3D with rigid body crash victim simulation (CVS) codes. This coupling approach takes advantage of the structural response capabilities of DYNA3D and the validated occupant response abilities of the CVS codes. Two types of coupling are described and demonstrated in this paper and a description of the equilibrium initialization method which was employed in the coupling development is also presented.

  20. EvoL: the new Padova Tree-SPH parallel code for cosmological simulations. I. Basic code: gravity and hydrodynamics

    NASA Astrophysics Data System (ADS)

    Merlin, E.; Buonomo, U.; Grassi, T.; Piovan, L.; Chiosi, C.

    2010-04-01

    Context. We present the new release of the Padova N-body code for cosmological simulations of galaxy formation and evolution, EvoL. The basic Tree + SPH code is presented and analysed, together with an overview of the software architectures. Aims: EvoL is a flexible parallel Fortran95 code, specifically designed for simulations of cosmological structure formations on cluster, galactic and sub-galactic scales. Methods: EvoL is a fully Lagrangian self-adaptive code, based on the classical oct-tree by Barnes & Hut (1986, Nature, 324, 446) and on the smoothed particle hydrodynamics algorithm (SPH, Lucy 1977, AJ, 82, 1013). It includes special features like adaptive softening lengths with correcting extra-terms, and modern formulations of SPH and artificial viscosity. It is designed to be run in parallel on multiple CPUs to optimise the performance and save computational time. Results: We describe the code in detail, and present the results of a number of standard hydrodynamical tests.

  1. Full f gyrokinetic method for particle simulation of tokamak transport

    SciTech Connect

    Heikkinen, J.A. Janhunen, S.J.; Kiviniemi, T.P.; Ogando, F.

    2008-05-10

    A gyrokinetic particle-in-cell approach with direct implicit construction of the coefficient matrix of the Poisson equation from ion polarization and electron parallel nonlinearity is described and applied in global electrostatic toroidal plasma transport simulations. The method is applicable for calculation of the evolution of particle distribution function f including as special cases strong plasma pressure profile evolution by transport and formation of neoclassical flows. This is made feasible by full f formulation and by recording the charge density changes due to the ion polarization drift and electron acceleration along the local magnetic field while particles are advanced. The code has been validated against the linear predictions of the unstable ion temperature gradient mode growth rates and frequencies. Convergence and saturation in both turbulent and neoclassical limit of the ion heat conductivity is obtained with numerical noise well suppressed by a sufficiently large number of simulation particles. A first global full f validation of the neoclassical radial electric field in the presence of turbulence for a heated collisional tokamak plasma is obtained. At high Mach number (M{sub p}{approx}1) of the poloidal flow, the radial electric field is significantly enhanced over the standard neoclassical prediction. The neoclassical radial electric field together with the related GAM oscillations is found to regulate the turbulent heat and particle diffusion levels particularly strongly in a large aspect ratio tokamak at low plasma current.

  2. The EMPOWER Code: Electro-Magnetic Particle Operation With Enhanced Resolution

    NASA Astrophysics Data System (ADS)

    Karimabadi, H.; Omelchenko, Y. A.; Vu, H. X.

    2007-11-01

    Large-scale full PIC simulations play a crucial role in the modeling of laser-plasma interactions, accelerators, HPM devices and magnetic reconnection. These simulations ubiquitously employ uniform meshes, which severely limits their CPU speed and in many cases makes high-resolution runs prohibitive even on massively parallel computers. On the other hand, inadequate spatial resolution of realistic features (localized plasma volumes, device boundaries, etc.) is known to result in unacceptable errors. Structured adaptive mesh refinement (SAMR) has successfully been applied to fluid dynamics and MHD simulations. However, extending SAMR to practical electromagnetic particle-in-cell (PIC) models has proven to be nontrivial due to a number of additional numerical challenges, with spurious wave reflection and macro-particle self-force at the coarse-fine mesh interfaces being the most severe. These approximation errors typically result in a significant loss of simulation accuracy, energy/momentum non-conservation and long-time instabilities. We review our progress in resolving these issues in our new EM-PIC code, EMPOWER. We demonstrate the efficiency and accuracy of the new techniques on realistic examples related to simulations of high-power EM pulses and energetic particle beams.

  3. Simulating the transport of heavy charged particles through trabecular spongiosa

    NASA Astrophysics Data System (ADS)

    Gersh, Jacob A.

    As planning continues for manned missions far beyond Low Earth Orbit, a paramount concern remains the flight crew's exposure to galactic cosmic radiation. When humans exit the protective magnetic field of Earth, they become subject to bombardment by highly-reactive heavy charged (HZE) particles. A possible consequence of this two- to three-year-long mission is the onset of radiation-induced leukemia, a disorder with a latency period as short as two to three years. Because data on risk to humans from exposure to HZE particles is non-existent, studies of leukemia in animals are now underway to investigate the relative effectiveness of HZE exposures. Leukemogenesis can result from energy depositions occurring within marrow contained in the trabecular spongiosa. Trabecular spongiosa is found in flat bones and within the ends of long bones, and is characterized by an intricate matrix of interconnected bone tissue forming cavities that house marrow. The microscopic internal dimensions of spongiosa vary between species. As radiation traverses this region, interface-induced dose perturbations that occur at the interfaces between bone and marrow affect the patterns of energy deposition within the region. An aim of this project is to determine the extent by which tissue heterogeneity and microscopic dimensions have on patterns of energy deposition within the trabecular spongiosa. This leads to the development of PATHFIT, a computer code capable of generating simple quadric-based geometric models of trabecular spongiosa for both humans and mice based on actual experimentally-determined internal dimensions of trabecular spongiosa. Following the creation of spongiosa models, focus is placed on the development of HITSPAP, a hybrid Monte Carlo (MC) radiation transport code system that combines capabilities of the MC code PENELOPE and MC code PARTRAC. This code is capable of simulating the transport of HZE particles through accurate models of trabecular spongiosa. The final and

  4. Simulations of collision of ice particles

    NASA Astrophysics Data System (ADS)

    Zamankhan, Piroz

    2010-06-01

    The objective of this paper is to develop a realistic model for ice-structure interaction. To this end, the experiments made by Bridges et al. [Bridges FG, Hatzes A, Liu DNC. Structure, stability and evolution of Saturn's rings. Nature 1984;309:333-5] in order to measure the coefficient of restitution for ice particles are thoroughly analyzed. One particularly troublesome aspect of the aforementioned experiments is fracture of the ice particles during a collision. In the present effort, the collisional properties of the ice particles are investigated using a Finite Element approach. It is found that a major challenge in modeling collision of the ice balls is the prediction of the onset of fracture and crack propagation in them. In simulations of a block of ice collision to a structure, it is crucial that fracture is determined correctly, as it will influence the collisional properties of the ice particles. The results of the simulation, considering fracture criterion implemented into the Finite Element Model [Zamankhan P, Bordbar M-H. Complex flow dynamics in dense granular flows. Part I: experimentation. J Appl Mech (T-ASME) 2006;73:648-57; Zamankhan P, Huang J. Complex flow dynamics in dense granular flows. Part II: simulations. J Appl Mech (T-ASME) 2007;74:691-702] together with a material model for the ice, imply that most of the kinetic energy dissipation occurs as a result of fracturing at the contact surface of the ice particles. The results obtained in the present study suggest that constitutive models such as those proposed by Brilliantov et al. [Brilliantov NV, Spahn F, Hertzsch JM, Poschel T. Model for collisions in granular gases. Phys Rev E;1996;53:5382-92] for collisions of ice particles are highly questionable.

  5. Simulating Coupling Complexity in Space Plasmas: First Results from a new code

    NASA Astrophysics Data System (ADS)

    Kryukov, I.; Zank, G. P.; Pogorelov, N. V.; Raeder, J.; Ciardo, G.; Florinski, V. A.; Heerikhuisen, J.; Li, G.; Petrini, F.; Shematovich, V. I.; Winske, D.; Shaikh, D.; Webb, G. M.; Yee, H. M.

    2005-12-01

    The development of codes that embrace 'coupling complexity' via the self-consistent incorporation of multiple physical scales and multiple physical processes in models has been identified by the NRC Decadal Survey in Solar and Space Physics as a crucial necessary development in simulation/modeling technology for the coming decade. The National Science Foundation, through its Information Technology Research (ITR) Program, is supporting our efforts to develop a new class of computational code for plasmas and neutral gases that integrates multiple scales and multiple physical processes and descriptions. We are developing a highly modular, parallelized, scalable code that incorporates multiple scales by synthesizing 3 simulation technologies: 1) Computational fluid dynamics (hydrodynamics or magneto-hydrodynamics-MHD) for the large-scale plasma; 2) direct Monte Carlo simulation of atoms/neutral gas, and 3) transport code solvers to model highly energetic particle distributions. We are constructing the code so that a fourth simulation technology, hybrid simulations for microscale structures and particle distributions, can be incorporated in future work, but for the present, this aspect will be addressed at a test-particle level. This synthesis we will provide a computational tool that will advance our understanding of the physics of neutral and charged gases enormously. Besides making major advances in basic plasma physics and neutral gas problems, this project will address 3 Grand Challenge space physics problems that reflect our research interests: 1) To develop a temporal global heliospheric model which includes the interaction of solar and interstellar plasma with neutral populations (hydrogen, helium, etc., and dust), test-particle kinetic pickup ion acceleration at the termination shock, anomalous cosmic ray production, interaction with galactic cosmic rays, while incorporating the time variability of the solar wind and the solar cycle. 2) To develop a coronal

  6. Improved modeling of relativistic collisions and collisional ionization in particle-in-cell codes

    SciTech Connect

    Perez, F.; Gremillet, L.; Decoster, A.; Drouin, M.; Lefebvre, E.

    2012-08-15

    An improved Monte Carlo collisional scheme modeling both elastic and inelastic interactions has been implemented into the particle-in-cell code CALDER[E. Lefebvre et al., Nucl. Fusion 43, 629 (2003)]. Based on the technique proposed by Nanbu and Yonemura [J. Comput. Phys. 145, 639 (1998)] allowing to handle arbitrarily weighted macro-particles, this binary collision scheme uses a more compact and accurate relativistic formulation than the algorithm recently worked out by Sentoku and Kemp [J. Comput. Phys. 227, 6846 (2008)]. Our scheme is validated through several test cases, demonstrating, in particular, its capability of modeling the electrical resistivity and stopping power of a solid-density plasma over a broad parameter range. A relativistic collisional ionization scheme is developed within the same framework, and tested in several physical scenarios. Finally, our scheme is applied in a set of integrated particle-in-cell simulations of laser-driven fast electron transport.

  7. An Integer-Coded Chaotic Particle Swarm Optimization for Traveling Salesman Problem

    NASA Astrophysics Data System (ADS)

    Yue, Chen; Yan-Duo, Zhang; Jing, Lu; Hui, Tian

    Traveling Salesman Problem (TSP) is one of NP-hard combinatorial optimization problems, which will experience “combination explosion” when the problem goes beyond a certain size. Therefore, it has been a hot topic to search an effective solving method. The general mathematical model of TSP is discussed, and its permutation and combination based model is presented. Based on these, Integer-coded Chaotic Particle Swarm Optimization for solving TSP is proposed. Where, particle is encoded with integer; chaotic sequence is used to guide global search; and particle varies its positions via “flying”. With a typical 20-citys TSP as instance, the simulation experiment of comparing ICPSO with GA is carried out. Experimental results demonstrate that ICPSO is simple but effective, and better than GA at performance.

  8. CPIC: A Parallel Particle-In-Cell Code for Studying Spacecraft Charging

    NASA Astrophysics Data System (ADS)

    Meierbachtol, Collin; Delzanno, Gian Luca; Moulton, David; Vernon, Louis

    2015-11-01

    CPIC is a three-dimensional electrostatic particle-in-cell code designed for use with curvilinear meshes. One of its primary objectives is to aid in studying spacecraft charging in the magnetosphere. CPIC maintains near-optimal computational performance and scaling thanks to a mapped logical mesh field solver, and a hybrid physical-logical space particle mover (avoiding the need to track particles). CPIC is written for parallel execution, utilizing a combination of both OpenMP threading and MPI distributed memory. New capabilities are being actively developed and added to CPIC, including the ability to handle multi-block curvilinear mesh structures. Verification results comparing CPIC to analytic test problems will be provided. Particular emphasis will be placed on the charging and shielding of a sphere-in-plasma system. Simulated charging results of representative spacecraft geometries will also be presented. Finally, its performance capabilities will be demonstrated through parallel scaling data.

  9. Computer Models Simulate Fine Particle Dispersion

    NASA Technical Reports Server (NTRS)

    2010-01-01

    Through a NASA Seed Fund partnership with DEM Solutions Inc., of Lebanon, New Hampshire, scientists at Kennedy Space Center refined existing software to study the electrostatic phenomena of granular and bulk materials as they apply to planetary surfaces. The software, EDEM, allows users to import particles and obtain accurate representations of their shapes for modeling purposes, such as simulating bulk solids behavior, and was enhanced to be able to more accurately model fine, abrasive, cohesive particles. These new EDEM capabilities can be applied in many industries unrelated to space exploration and have been adopted by several prominent U.S. companies, including John Deere, Pfizer, and Procter & Gamble.

  10. Coded source imaging simulation with visible light

    NASA Astrophysics Data System (ADS)

    Wang, Sheng; Zou, Yubin; Zhang, Xueshuang; Lu, Yuanrong; Guo, Zhiyu

    2011-09-01

    A coded source could increase the neutron flux with high L/ D ratio. It may benefit a neutron imaging system with low yield neutron source. Visible light CSI experiments were carried out to test the physical design and reconstruction algorithm. We used a non-mosaic Modified Uniformly Redundant Array (MURA) mask to project the shadow of black/white samples on a screen. A cooled-CCD camera was used to record the image on the screen. Different mask sizes and amplification factors were tested. The correlation, Wiener filter deconvolution and Richardson-Lucy maximum likelihood iteration algorithm were employed to reconstruct the object imaging from the original projection. The results show that CSI can benefit the low flux neutron imaging with high background noise.

  11. Second order gyrokinetic theory for particle-in-cell codes

    NASA Astrophysics Data System (ADS)

    Tronko, Natalia; Bottino, Alberto; Sonnendrücker, Eric

    2016-08-01

    The main idea of the gyrokinetic dynamical reduction consists in a systematical removal of the fast scale motion (the gyromotion) from the dynamics of the plasma, resulting in a considerable simplification and a significant gain of computational time. The gyrokinetic Maxwell-Vlasov equations are nowadays implemented in for modeling (both laboratory and astrophysical) strongly magnetized plasmas. Different versions of the reduced set of equations exist, depending on the construction of the gyrokinetic reduction procedure and the approximations performed in the derivation. The purpose of this article is to explicitly show the connection between the general second order gyrokinetic Maxwell-Vlasov system issued from the modern gyrokinetic theory and the model currently implemented in the global electromagnetic Particle-in-Cell code ORB5. Necessary information about the modern gyrokinetic formalism is given together with the consistent derivation of the gyrokinetic Maxwell-Vlasov equations from first principles. The variational formulation of the dynamics is used to obtain the corresponding energy conservation law, which in turn is used for the verification of energy conservation diagnostics currently implemented in ORB5. This work fits within the context of the code verification project VeriGyro currently run at IPP Max-Planck Institut in collaboration with others European institutions.

  12. Particle simulation of intense electron cyclotron heating and beat-wave current drive

    SciTech Connect

    Cohen, B.I.

    1987-10-12

    High-power free-electron lasers make new methods possible for heating plasmas and driving current in toroidal plasmas with electromagnetic waves. We have undertaken particle simulation studies with one and two dimensional, relativistic particle simulation codes of intense pulsed electron cyclotron heating and beat-wave current drive. The particle simulation methods here are conventional: the algorithms are time-centered, second-order-accurate, explicit, leap-frog difference schemes. The use of conventional methods restricts the range of space and time scales to be relatively compact in the problems addressed. Nevertheless, experimentally relevant simulations have been performed. 10 refs., 2 figs.

  13. HADES, A Code for Simulating a Variety of Radiographic Techniques

    SciTech Connect

    Aufderheide, M B; Henderson, G; von Wittenau, A; Slone, D M; Barty, A; Martz, Jr., H E

    2004-10-28

    It is often useful to simulate radiographic images in order to optimize imaging trade-offs and to test tomographic techniques. HADES is a code that simulates radiography using ray tracing techniques. Although originally developed to simulate X-Ray transmission radiography, HADES has grown to simulate neutron radiography over a wide range of energy, proton radiography in the 1 MeV to 100 GeV range, and recently phase contrast radiography using X-Rays in the keV energy range. HADES can simulate parallel-ray or cone-beam radiography through a variety of mesh types, as well as through collections of geometric objects. HADES was originally developed for nondestructive evaluation (NDE) applications, but could be a useful tool for simulation of portal imaging, proton therapy imaging, and synchrotron studies of tissue. In this paper we describe HADES' current capabilities and discuss plans for a major revision of the code.

  14. Benchmarking the codes VORPAL, OSIRIS, and QuickPIC with Laser Wakefield Acceleration Simulations

    SciTech Connect

    Paul, Kevin; Huang, C.; Bruhwiler, D.L.; Mori, W.B.; Tsung, F.S.; Cormier-Michel, E.; Geddes, C.G.R.; Cowan, B.; Cary, J.R.; Esarey, E.; Fonseca, R.A.; Martins, S.F.; Silva, L.O.

    2008-09-08

    Three-dimensional laser wakefield acceleration (LWFA) simulations have recently been performed to benchmark the commonly used particle-in-cell (PIC) codes VORPAL, OSIRIS, and QuickPIC. The simulations were run in parallel on over 100 processors, using parameters relevant to LWFA with ultra-short Ti-Sapphire laser pulses propagating in hydrogen gas. Both first-order and second-order particle shapes were employed. We present the results of this benchmarking exercise, and show that accelerating gradients from full PIC agree for all values of a0 and that full and reduced PIC agree well for values of a0 approaching 4.

  15. Benchmarking the codes VORPAL, OSIRIS, and QuickPIC with Laser Wakefield Acceleration Simulations

    SciTech Connect

    Paul, K.; Bruhwiler, D. L.; Cowan, B.; Cary, J. R.; Huang, C.; Mori, W. B.; Tsung, F. S.; Cormier-Michel, E.; Geddes, C. G. R.; Esarey, E.; Fonseca, R. A.; Martins, S. F.; Silva, L. O.

    2009-01-22

    Three-dimensional laser wakefield acceleration (LWFA) simulations have recently been performed to benchmark the commonly used particle-in-cell (PIC) codes VORPAL, OSIRIS, and QuickPIC. The simulations were run in parallel on over 100 processors, using parameters relevant to LWFA with ultra-short Ti-Sapphire laser pulses propagating in hydrogen gas. Both first-order and second-order particle shapes were employed. We present the results of this benchmarking exercise, and show that accelerating gradients from full PIC agree for all values of a{sub 0} and that full and reduced PIC agree well for values of a{sub 0} approaching 4.

  16. Space radiator simulation manual for computer code

    NASA Technical Reports Server (NTRS)

    Black, W. Z.; Wulff, W.

    1972-01-01

    A computer program that simulates the performance of a space radiator is presented. The program basically consists of a rigorous analysis which analyzes a symmetrical fin panel and an approximate analysis that predicts system characteristics for cases of non-symmetrical operation. The rigorous analysis accounts for both transient and steady state performance including aerodynamic and radiant heating of the radiator system. The approximate analysis considers only steady state operation with no aerodynamic heating. A description of the radiator system and instructions to the user for program operation is included. The input required for the execution of all program options is described. Several examples of program output are contained in this section. Sample output includes the radiator performance during ascent, reentry and orbit.

  17. Simulating Marvel with the Stun Code

    SciTech Connect

    Glenn, L A

    2001-05-23

    MARVEL, a nuclear-driven shock-tube experiment, consisted of a 2.2 kiloton nuclear explosive detonated 176 meters underground at one end of a 122-meter long, 1-meter diameter horizontal tunnel. Vaporization of material in the immediate vicinity of the explosive provided the source of high-energy driver gas. The driven gas was the ambient atmospheric air in the tunnel. The event was staged as an experimental and calculational study of the time dependent .ow of energy in the tunnel and surrounding alluvium. In this report we describe the derivation and implementation of a ''1-3/4D'' hydrocode to simulate the experiment. Calculations were performed to study the influence of energy transport to, and mass ablation from, the walls of the tunnel on the shock velocity.

  18. Nexus: a modular workflow management system for quantum simulation codes

    DOE PAGESBeta

    Krogel, Jaron T.

    2015-08-24

    The management of simulation workflows is a significant task for the individual computational researcher. Automation of the required tasks involved in simulation work can decrease the overall time to solution and reduce sources of human error. A new simulation workflow management system, Nexus, is presented to address these issues. Nexus is capable of automated job management on workstations and resources at several major supercomputing centers. Its modular design allows many quantum simulation codes to be supported within the same framework. Current support includes quantum Monte Carlo calculations with QMCPACK, density functional theory calculations with Quantum Espresso or VASP, and quantummore » chemical calculations with GAMESS. Users can compose workflows through a transparent, text-based interface, resembling the input file of a typical simulation code. A usage example is provided to illustrate the process.« less

  19. Nexus: a modular workflow management system for quantum simulation codes

    SciTech Connect

    Krogel, Jaron T.

    2015-08-24

    The management of simulation workflows is a significant task for the individual computational researcher. Automation of the required tasks involved in simulation work can decrease the overall time to solution and reduce sources of human error. A new simulation workflow management system, Nexus, is presented to address these issues. Nexus is capable of automated job management on workstations and resources at several major supercomputing centers. Its modular design allows many quantum simulation codes to be supported within the same framework. Current support includes quantum Monte Carlo calculations with QMCPACK, density functional theory calculations with Quantum Espresso or VASP, and quantum chemical calculations with GAMESS. Users can compose workflows through a transparent, text-based interface, resembling the input file of a typical simulation code. A usage example is provided to illustrate the process.

  20. Nexus: A modular workflow management system for quantum simulation codes

    NASA Astrophysics Data System (ADS)

    Krogel, Jaron T.

    2016-01-01

    The management of simulation workflows represents a significant task for the individual computational researcher. Automation of the required tasks involved in simulation work can decrease the overall time to solution and reduce sources of human error. A new simulation workflow management system, Nexus, is presented to address these issues. Nexus is capable of automated job management on workstations and resources at several major supercomputing centers. Its modular design allows many quantum simulation codes to be supported within the same framework. Current support includes quantum Monte Carlo calculations with QMCPACK, density functional theory calculations with Quantum Espresso or VASP, and quantum chemical calculations with GAMESS. Users can compose workflows through a transparent, text-based interface, resembling the input file of a typical simulation code. A usage example is provided to illustrate the process.

  1. Computation applied to particle accelerator simulations

    SciTech Connect

    Herrmannsfeldt, W.B. ); Yan, Y.T. )

    1991-07-01

    The rapid growth in the power of large-scale computers has had a revolutionary effect on the study of charged-particle accelerators that is similar to the impact of smaller computers on everyday life. Before an accelerator is built, it is now the absolute rule to simulate every component and subsystem by computer to establish modes of operation and tolerances. We will bypass the important and fruitful areas of control and operation and consider only application to design and diagnostic interpretation. Applications of computers can be divided into separate categories including: component design, system design, stability studies, cost optimization, and operating condition simulation. For the purposes of this report, we will choose a few examples taken from the above categories to illustrate the methods and we will discuss the significance of the work to the project, and also briefly discuss the accelerator project itself. The examples that will be discussed are: (1) the tracking analysis done for the main ring of the Superconducting Supercollider, which contributed to the analysis which ultimately resulted in changing the dipole coil diameter to 5 cm from the earlier design for a 4-cm coil-diameter dipole magnet; (2) the design of accelerator structures for electron-positron linear colliders and circular colliding beam systems (B-factories); (3) simulation of the wake fields from multibunch electron beams for linear colliders; and (4) particle-in-cell simulation of space-charge dominated beams for an experimental liner induction accelerator for Heavy Ion Fusion. 8 refs., 9 figs.

  2. PHITS-2.76, Particle and Heavy Ion Transport code System

    Energy Science and Technology Software Center (ESTSC)

    2015-08-01

    Version 03 PHITS can deal with the transport of almost all particles (nucleons, nuclei, mesons, photons, and electrons) over wide energy ranges, using several nuclear reaction models and nuclear data libraries. Geometrical configuration of the simulation can be set with GG (General Geometry) or CG (Combinatorial Geometry). Various quantities such as heat deposition, track length and production yields can be deduced from the simulation, using implemented estimator functions called "tally". The code also has amore » function to draw 2D and 3D figures of the calculated results as well as the setup geometries, using a code ANGEL. The physical processes included in PHITS can be divided into two categories, transport process and collision process. In the transport process, PHITS can simulate motion of particles under external fields such as magnetic and gravity. Without the external fields, neutral particles move along a straight trajectory with constant energy up to the next collision point. However, charge particles interact many times with electrons in the material losing energy and changing direction. PHITS treats ionization processes not as collision but as a transport process, using the continuous-slowing-down approximation. The average stopping power is given by the charge density of the material and the momentum of the particle taking into account the fluctuations of the energy loss and the angular deviation. In the collision process, PHITS can simulate the elastic and inelastic interactions as well as decay of particles. The total reaction cross section, or the life time of the particle is an essential quantity in the determination of the mean free path of the transport particle. According to the mean free path, PHITS chooses the next collision point using the Monte Carlo method. To generate the secondary particles of the collision, we need the information of the final states of the collision. For neutron induced reactions in low energy region, PHITS employs

  3. PHITS-2.76, Particle and Heavy Ion Transport code System

    SciTech Connect

    2015-08-01

    Version 03 PHITS can deal with the transport of almost all particles (nucleons, nuclei, mesons, photons, and electrons) over wide energy ranges, using several nuclear reaction models and nuclear data libraries. Geometrical configuration of the simulation can be set with GG (General Geometry) or CG (Combinatorial Geometry). Various quantities such as heat deposition, track length and production yields can be deduced from the simulation, using implemented estimator functions called "tally". The code also has a function to draw 2D and 3D figures of the calculated results as well as the setup geometries, using a code ANGEL. The physical processes included in PHITS can be divided into two categories, transport process and collision process. In the transport process, PHITS can simulate motion of particles under external fields such as magnetic and gravity. Without the external fields, neutral particles move along a straight trajectory with constant energy up to the next collision point. However, charge particles interact many times with electrons in the material losing energy and changing direction. PHITS treats ionization processes not as collision but as a transport process, using the continuous-slowing-down approximation. The average stopping power is given by the charge density of the material and the momentum of the particle taking into account the fluctuations of the energy loss and the angular deviation. In the collision process, PHITS can simulate the elastic and inelastic interactions as well as decay of particles. The total reaction cross section, or the life time of the particle is an essential quantity in the determination of the mean free path of the transport particle. According to the mean free path, PHITS chooses the next collision point using the Monte Carlo method. To generate the secondary particles of the collision, we need the information of the final states of the collision. For neutron induced reactions in low energy region, PHITS employs the cross

  4. Plasma particle simulation of electrostatic ion thrusters

    NASA Technical Reports Server (NTRS)

    Peng, Xiaohang; Keefer, Dennis; Ruyten, Wilhelmus

    1990-01-01

    Charge exchange collisons between beam ions and neutral propellant gas can result in erosion of the accelerator grid surfaces of an ion engine. A particle in cell (PIC) is developed along with a Monte Carlo method to simulate the ion dynamics and charge exchange processes in the grid region of an ion thruster. The simulation is two-dimensional axisymmetric and uses three velocity components (2d3v) to investigate the influence of charge exchange collisions on the ion sputtering of the accelerator grid surfaces. An example calculation has been performed for an ion thruster operated on xenon propellant. The simulation shows that the greatest sputtering occurs on the downstream surface of the grid, but some sputtering can also occur on the upstream surface as well as on the interior of the grid aperture.

  5. SimTrack: A compact c++ code for particle orbit and spin tracking in accelerators

    SciTech Connect

    Luo, Yun

    2015-08-29

    SimTrack is a compact c++ code of 6-d symplectic element-by-element particle tracking in accelerators originally designed for head-on beam–beam compensation simulation studies in the Relativistic Heavy Ion Collider (RHIC) at Brookhaven National Laboratory. It provides a 6-d symplectic orbit tracking with the 4th order symplectic integration for magnet elements and the 6-d symplectic synchro-beam map for beam–beam interaction. Since its inception in 2009, SimTrack has been intensively used for dynamic aperture calculations with beam–beam interaction for RHIC. Recently, proton spin tracking and electron energy loss due to synchrotron radiation were added. In this article, I will present the code architecture, physics models, and some selected examples of its applications to RHIC and a future electron-ion collider design eRHIC.

  6. SimTrack: A compact c++ code for particle orbit and spin tracking in accelerators

    DOE PAGESBeta

    Luo, Yun

    2015-08-29

    SimTrack is a compact c++ code of 6-d symplectic element-by-element particle tracking in accelerators originally designed for head-on beam–beam compensation simulation studies in the Relativistic Heavy Ion Collider (RHIC) at Brookhaven National Laboratory. It provides a 6-d symplectic orbit tracking with the 4th order symplectic integration for magnet elements and the 6-d symplectic synchro-beam map for beam–beam interaction. Since its inception in 2009, SimTrack has been intensively used for dynamic aperture calculations with beam–beam interaction for RHIC. Recently, proton spin tracking and electron energy loss due to synchrotron radiation were added. In this article, I will present the code architecture,more » physics models, and some selected examples of its applications to RHIC and a future electron-ion collider design eRHIC.« less

  7. Comparison of inversion codes for polarized line formation in MHD simulations. I. Milne-Eddington codes

    NASA Astrophysics Data System (ADS)

    Borrero, J. M.; Lites, B. W.; Lagg, A.; Rezaei, R.; Rempel, M.

    2014-12-01

    Milne-Eddington (M-E) inversion codes for the radiative transfer equation are the most widely used tools to infer the magnetic field from observations of the polarization signals in photospheric and chromospheric spectral lines. Unfortunately, a comprehensive comparison between the different M-E codes available to the solar physics community is still missing, and so is a physical interpretation of their inferences. In this contribution we offer a comparison between three of those codes (VFISV, ASP/HAO, and HeLIx+). These codes are used to invert synthetic Stokes profiles that were previously obtained from realistic non-grey three-dimensional magnetohydrodynamical (3D MHD) simulations. The results of the inversion are compared with each other and with those from the MHD simulations. In the first case, the M-E codes retrieve values for the magnetic field strength, inclination and line-of-sight velocity that agree with each other within σB ≤ 35 (Gauss), σγ ≤ 1.2°, and σv ≤ 10 m s-1, respectively. Additionally, M-E inversion codes agree with the numerical simulations, when compared at a fixed optical depth, within σB ≤ 130 (Gauss), σγ ≤ 5°, and σv ≤ 320 m s-1. Finally, we show that employing generalized response functions to determine the height at which M-E codes measure physical parameters is more meaningful than comparing at a fixed geometrical height or optical depth. In this case the differences between M-E inferences and the 3D MHD simulations decrease to σB ≤ 90 (Gauss), σγ ≤ 3°, and σv ≤ 90 m s-1.

  8. Advanced methods in global gyrokinetic full f particle simulation of tokamak transport

    SciTech Connect

    Ogando, F.; Heikkinen, J. A.; Henriksson, S.; Janhunen, S. J.; Kiviniemi, T. P.; Leerink, S.

    2006-11-30

    A new full f nonlinear gyrokinetic simulation code, named ELMFIRE, has been developed for simulating transport phenomena in tokamak plasmas. The code is based on a gyrokinetic particle-in-cell algorithm, which can consider electrons and ions jointly or separately, as well as arbitrary impurities. The implicit treatment of the ion polarization drift and the use of full f methods allow for simulations of strongly perturbed plasmas including wide orbit effects, steep gradients and rapid dynamic changes. This article presents in more detail the algorithms incorporated into ELMFIRE, as well as benchmarking comparisons to both neoclassical theory and other codes.Code ELMFIRE calculates plasma dynamics by following the evolution of a number of sample particles. Because of using an stochastic algorithm its results are influenced by statistical noise. The effect of noise on relevant magnitudes is analyzed.Turbulence spectra of FT-2 plasma has been calculated with ELMFIRE, obtaining results consistent with experimental data.

  9. Kinetic Simulations of Particle Acceleration at Shocks

    SciTech Connect

    Caprioli, Damiano; Guo, Fan

    2015-07-16

    Collisionless shocks are mediated by collective electromagnetic interactions and are sources of non-thermal particles and emission. The full particle-in-cell approach and a hybrid approach are sketched, simulations of collisionless shocks are shown using a multicolor presentation. Results for SN 1006, a case involving ion acceleration and B field amplification where the shock is parallel, are shown. Electron acceleration takes place in planetary bow shocks and galaxy clusters. It is concluded that acceleration at shocks can be efficient: >15%; CRs amplify B field via streaming instability; ion DSA is efficient at parallel, strong shocks; ions are injected via reflection and shock drift acceleration; and electron DSA is efficient at oblique shocks.

  10. 3-D Particle Simulation of Current Sheet Instabilities

    NASA Astrophysics Data System (ADS)

    Wang, Zhenyu; Lin, Yu; Wang, Xueyi; Tummel, Kurt; Chen, Liu

    2015-11-01

    The electrostatic (ES) and electromagnetic (EM) instabilities of a Harris current sheet are investigated using a 3-D linearized (δf) gyrokinetic (GK) electron and fully kinetic (FK) ion (GeFi) particle simulation code. The equilibrium magnetic field consists of an asymptotic anti-parallel Bx 0 and a guide field BG. The ES simulations show the excitation of lower-hybrid drift instability (LHDI) at the current sheet edge. The growth rate of the 3-D LHDI is scanned through the (kx ,ky) space. The most unstable modes are found to be at k∥ = 0 for smaller ky. As ky increases, the growth rate shows two peaks at k∥ ≠ 0 , consistent with analytical GK theory. The eigenmode structure and growth rate of LHDI obtained from the GeFi simulation agree well with those obtained from the FK PIC simulation. Decreasing BG, the asymptotic βe 0, or background density can destabilize the LHDI. In the EM simulation, tearing mode instability is dominant in the cases with ky kx , there exist two unstable modes: a kink-like (LHDI) mode at the current sheet edge and a sausage-like mode at the sheet center. The results are compared with the GK eigenmode theory and the FK simulation.

  11. NRC model simulations in support of the hydrologic code intercomparison study (HYDROCOIN): Level 1-code verification

    SciTech Connect

    Not Available

    1988-03-01

    HYDROCOIN is an international study for examining ground-water flow modeling strategies and their influence on safety assessments of geologic repositories for nuclear waste. This report summarizes only the combined NRC project temas' simulation efforts on the computer code bench-marking problems. The codes used to simulate thesee seven problems were SWIFT II, FEMWATER, UNSAT2M USGS-3D, AND TOUGH. In general, linear problems involving scalars such as hydraulic head were accurately simulated by both finite-difference and finite-element solution algorithms. Both types of codes produced accurate results even for complex geometrics such as intersecting fractures. Difficulties were encountered in solving problems that invovled nonlinear effects such as density-driven flow and unsaturated flow. In order to fully evaluate the accuracy of these codes, post-processing of results using paricle tracking algorithms and calculating fluxes were examined. This proved very valuable by uncovering disagreements among code results even through the hydraulic-head solutions had been in agreement. 9 refs., 111 figs., 6 tabs.

  12. A GeneralizedWeight-Based Particle-In-Cell Simulation Scheme

    SciTech Connect

    W.W. Lee, T.G. Jenkins and S. Ethier

    2010-02-02

    A generalized weight-based particle simulation scheme suitable for simulating magnetized plasmas, where the zeroth-order inhomogeneity is important, is presented. The scheme is an extension of the perturbative simulation schemes developed earlier for particle-in-cell (PIC) simulations. The new scheme is designed to simulate both the perturbed distribution (δf) and the full distribution (full-F) within the same code. The development is based on the concept of multiscale expansion, which separates the scale lengths of the background inhomogeneity from those associated with the perturbed distributions. The potential advantage for such an arrangement is to minimize the particle noise by using δf in the linear stage stage of the simulation, while retaining the flexibility of a full-F capability in the fully nonlinear stage of the development when signals associated with plasma turbulence are at a much higher level than those from the intrinsic particle noise.

  13. Numerical simulation of optically trapped particles

    NASA Astrophysics Data System (ADS)

    Volpe, Giorgio; Volpe, Giovanni

    2014-07-01

    Some randomness is present in most phenomena, ranging from biomolecules and nanodevices to financial markets and human organizations. However, it is not easy to gain an intuitive understanding of such stochastic phenomena, because their modeling requires advanced mathematical tools, such as sigma algebras, the Itô formula and martingales. Here, we discuss a simple finite difference algorithm that can be used to gain understanding of such complex physical phenomena. In particular, we simulate the motion of an optically trapped particle that is typically used as a model system in statistical physics and has a wide range of applications in physics and biophysics, for example, to measure nanoscopic forces and torques.

  14. Towards robust algorithms for current deposition and dynamic load-balancing in a GPU particle in cell code

    NASA Astrophysics Data System (ADS)

    Rossi, Francesco; Londrillo, Pasquale; Sgattoni, Andrea; Sinigardi, Stefano; Turchetti, Giorgio

    2012-12-01

    We present `jasmine', an implementation of a fully relativistic, 3D, electromagnetic Particle-In-Cell (PIC) code, capable of running simulations in various laser plasma acceleration regimes on Graphics-Processing-Units (GPUs) HPC clusters. Standard energy/charge preserving FDTD-based algorithms have been implemented using double precision and quadratic (or arbitrary sized) shape functions for the particle weighting. When porting a PIC scheme to the GPU architecture (or, in general, a shared memory environment), the particle-to-grid operations (e.g. the evaluation of the current density) require special care to avoid memory inconsistencies and conflicts. Here we present a robust implementation of this operation that is efficient for any number of particles per cell and particle shape function order. Our algorithm exploits the exposed GPU memory hierarchy and avoids the use of atomic operations, which can hurt performance especially when many particles lay on the same cell. We show the code multi-GPU scalability results and present a dynamic load-balancing algorithm. The code is written using a python-based C++ meta-programming technique which translates in a high level of modularity and allows for easy performance tuning and simple extension of the core algorithms to various simulation schemes.

  15. Spacecraft charging analysis with the implicit particle-in-cell code iPic3D

    SciTech Connect

    Deca, J.; Lapenta, G.; Marchand, R.; Markidis, S.

    2013-10-15

    We present the first results on the analysis of spacecraft charging with the implicit particle-in-cell code iPic3D, designed for running on massively parallel supercomputers. The numerical algorithm is presented, highlighting the implementation of the electrostatic solver and the immersed boundary algorithm; the latter which creates the possibility to handle complex spacecraft geometries. As a first step in the verification process, a comparison is made between the floating potential obtained with iPic3D and with Orbital Motion Limited theory for a spherical particle in a uniform stationary plasma. Second, the numerical model is verified for a CubeSat benchmark by comparing simulation results with those of PTetra for space environment conditions with increasing levels of complexity. In particular, we consider spacecraft charging from plasma particle collection, photoelectron and secondary electron emission. The influence of a background magnetic field on the floating potential profile near the spacecraft is also considered. Although the numerical approaches in iPic3D and PTetra are rather different, good agreement is found between the two models, raising the level of confidence in both codes to predict and evaluate the complex plasma environment around spacecraft.

  16. Chemical mixing in smoothed particle hydrodynamics simulations

    NASA Astrophysics Data System (ADS)

    Greif, Thomas H.; Glover, Simon C. O.; Bromm, Volker; Klessen, Ralf S.

    2009-02-01

    We introduce a simple and efficient algorithm for diffusion in smoothed particle hydrodynamics (SPH) simulations and apply it to the problem of chemical mixing. Based on the concept of turbulent diffusion, we link the diffusivity of a pollutant to the local physical conditions and can thus resolve mixing in space and time. We apply our prescription to the evolution of an idealized supernova remnant and find that we can model the distribution of heavy elements without having to explicitly resolve hydrodynamic instabilities in the post-shock gas. Instead, the dispersal of the pollutant is implicitly modelled through its dependence on the local velocity dispersion. Our method can thus be used in any SPH simulation that investigates chemical mixing but lacks the necessary resolution on small scales. Potential applications include the enrichment of the interstellar medium in present-day galaxies, as well as the intergalactic medium at high redshifts.

  17. Development Of Sputtering Models For Fluids-Based Plasma Simulation Codes

    NASA Astrophysics Data System (ADS)

    Veitzer, Seth; Beckwith, Kristian; Stoltz, Peter

    2015-09-01

    Rf-driven plasma devices such as ion sources and plasma processing devices for many industrial and research applications benefit from detailed numerical modeling. Simulation of these devices using explicit PIC codes is difficult due to inherent separations of time and spatial scales. One alternative type of model is fluid-based codes coupled with electromagnetics, that are applicable to modeling higher-density plasmas in the time domain, but can relax time step requirements. To accurately model plasma-surface processes, such as physical sputtering and secondary electron emission, kinetic particle models have been developed, where particles are emitted from a material surface due to plasma ion bombardment. In fluid models plasma properties are defined on a cell-by-cell basis, and distributions for individual particle properties are assumed. This adds a complexity to surface process modeling, which we describe here. We describe the implementation of sputtering models into the hydrodynamic plasma simulation code USim, as well as methods to improve the accuracy of fluids-based simulation of plasmas-surface interactions by better modeling of heat fluxes. This work was performed under the auspices of the Department of Energy, Office of Basic Energy Sciences Award #DE-SC0009585.

  18. Transport and discrete particle noise in gyrokinetic simulations

    NASA Astrophysics Data System (ADS)

    Jenkins, Thomas; Lee, W. W.

    2006-10-01

    We present results from our recent investigations regarding the effects of discrete particle noise on the long-time behavior and transport properties of gyrokinetic particle-in-cell simulations. It is found that the amplitude of nonlinearly saturated drift waves is unaffected by discreteness-induced noise in plasmas whose behavior is dominated by a single mode in the saturated state. We further show that the scaling of this noise amplitude with particle count is correctly predicted by the fluctuation-dissipation theorem, even though the drift waves have driven the plasma from thermal equilibrium. As well, we find that the long-term behavior of the saturated system is unaffected by discreteness-induced noise even when multiple modes are included. Additional work utilizing a code with both total-f and δf capabilities is also presented, as part of our efforts to better understand the long- time balance between entropy production, collisional dissipation, and particle/heat flux in gyrokinetic plasmas.

  19. Aggregation of Thermal Particles in Simulation

    NASA Astrophysics Data System (ADS)

    Chan, Iat Neng

    2011-03-01

    Based on the Schrodinger Equation, energy levels are evaluated for charged particle or atom surrounded by few atoms imitated to atomic cavity situations under multipole or Lennard-Jones interactions. To examine the states of corresponding eigenvalues, the associated wave functions from simulation are plotted in three-dimension to elucidate the space distribution of particles. In cases for testing on effect of different adjacent atomic structures, concentration region of distribution is revealed from a series of results. The range of localization shown also is affected by the type and strength of interactions between particles and atoms, besides the number and position of surrounding atoms. The thermal effect considered in the computation is modeled by average over results from random fluctuation of atom positions for a given heating grade. Moreover, analysis with fuzzy conditions is applied to reduce the complicated and time-consumption approach, also for the training in science education. Even the investigation is limited and tentative, qualitative studies on different parameters and structures can provide the influence of factors and approximate information to compare with the experience evidences. Supported by UM grant No. RG062/09-10S/CIN/FST.

  20. Large eddy simulation and its implementation in the COMMIX code.

    SciTech Connect

    Sun, J.; Yu, D.-H.

    1999-02-15

    Large eddy simulation (LES) is a numerical simulation method for turbulent flows and is derived by spatial averaging of the Navier-Stokes equations. In contrast with the Reynolds-averaged Navier-Stokes equations (RANS) method, LES is capable of calculating transient turbulent flows with greater accuracy. Application of LES to differing flows has given very encouraging results, as reported in the literature. In recent years, a dynamic LES model that presented even better results was proposed and applied to several flows. This report reviews the LES method and its implementation in the COMMIX code, which was developed at Argonne National Laboratory. As an example of the application of LES, the flow around a square prism is simulated, and some numerical results are presented. These results include a three-dimensional simulation that uses a code developed by one of the authors at the University of Notre Dame, and a two-dimensional simulation that uses the COMMIX code. The numerical results are compared with experimental data from the literature and are found to be in very good agreement.

  1. Enhanced Verification Test Suite for Physics Simulation Codes

    SciTech Connect

    Kamm, J R; Brock, J S; Brandon, S T; Cotrell, D L; Johnson, B; Knupp, P; Rider, W; Trucano, T; Weirs, V G

    2008-10-10

    This document discusses problems with which to augment, in quantity and in quality, the existing tri-laboratory suite of verification problems used by Los Alamos National Laboratory (LANL), Lawrence Livermore National Laboratory (LLNL), and Sandia National Laboratories (SNL). The purpose of verification analysis is demonstrate whether the numerical results of the discretization algorithms in physics and engineering simulation codes provide correct solutions of the corresponding continuum equations. The key points of this document are: (1) Verification deals with mathematical correctness of the numerical algorithms in a code, while validation deals with physical correctness of a simulation in a regime of interest. This document is about verification. (2) The current seven-problem Tri-Laboratory Verification Test Suite, which has been used for approximately five years at the DOE WP laboratories, is limited. (3) Both the methodology for and technology used in verification analysis have evolved and been improved since the original test suite was proposed. (4) The proposed test problems are in three basic areas: (a) Hydrodynamics; (b) Transport processes; and (c) Dynamic strength-of-materials. (5) For several of the proposed problems we provide a 'strong sense verification benchmark', consisting of (i) a clear mathematical statement of the problem with sufficient information to run a computer simulation, (ii) an explanation of how the code result and benchmark solution are to be evaluated, and (iii) a description of the acceptance criterion for simulation code results. (6) It is proposed that the set of verification test problems with which any particular code be evaluated include some of the problems described in this document. Analysis of the proposed verification test problems constitutes part of a necessary--but not sufficient--step that builds confidence in physics and engineering simulation codes. More complicated test cases, including physics models of greater

  2. Development of a CFD code for casting simulation

    NASA Technical Reports Server (NTRS)

    Murph, Jesse E.

    1993-01-01

    Because of high rejection rates for large structural castings (e.g., the Space Shuttle Main Engine Alternate Turbopump Design Program), a reliable casting simulation computer code is very desirable. This code would reduce both the development time and life cycle costs by allowing accurate modeling of the entire casting process. While this code could be used for other types of castings, the most significant reductions of time and cost would probably be realized in complex investment castings, where any reduction in the number of development castings would be of significant benefit. The casting process is conveniently divided into three distinct phases: (1) mold filling, where the melt is poured or forced into the mold cavity; (2) solidification, where the melt undergoes a phase change to the solid state; and (3) cool down, where the solidified part continues to cool to ambient conditions. While these phases may appear to be separate and distinct, temporal overlaps do exist between phases (e.g., local solidification occurring during mold filling), and some phenomenological events are affected by others (e.g., residual stresses depend on solidification and cooling rates). Therefore, a reliable code must accurately model all three phases and the interactions between each. While many codes have been developed (to various stages of complexity) to model the solidification and cool down phases, only a few codes have been developed to model mold filling.

  3. DMC (Distinct Motion Code): A rigid body motion code for determining the interaction of multiple spherical particles

    SciTech Connect

    Taylor, L.M.; Preece, D.S.

    1989-07-01

    The computer program DMC (Distinct Motion Code) determines the two-dimensional planar rigid body motion of an arbitrary number of spherical shaped particles. The code uses an explicit central difference time integration algorithm to calculate the motion of the particles. Contact constraints between the particles are enforced using the penalty method. Coulomb friction and viscous damping are included in the collisions. The explicit time integration is conditionally stable with a time increment size which is dependent on the mass of the smallest particle in the mesh and the penalty stiffness used for the contact forces. The code chooses the spring stiffness based on the Young's modulus and Poisson's ratio of the material. The ability to tie spheres in pairs with a constraint condition is included in the code. The code has been written in an extremely efficient manner with particular emphasis placed on vector processing. While this does not impose any restrictions on non-vector processing computers, it does provide extremely fast results on vector processing computers. A bucket sorting or boxing algorithm is used to reduce the number of comparisons which must be made between spheres to determine the contact pairs. The sorting algorithm is completely algebraic and contains no logical branching. 13 refs., 14 figs., 4 tabs.

  4. DMC (Distinct Motion Code): A rigid body motion code for determining the interaction of multiple spherical particles

    NASA Astrophysics Data System (ADS)

    Taylor, L. M.; Preece, D. S.

    1989-07-01

    The computer program Distinct Motion Code (DMC) determines the two-dimensional planar rigid body motion of an arbitrary number of spherical shaped particles. The code uses an explicit central difference time integration algorithm to calculate the motion of the particles. Contact constraints between the particles are enforced using the penalty method. Coulomb friction and viscous damping are included in the collisions. The explicit time integration is conditionally stable with a time increment size which is dependent on the mass of the smallest particle in the mesh and the penalty stiffness used for the contact forces. The code chooses the spring stiffness based on the Young's modulus and Poisson's ratio of the material. The ability to tie spheres in pairs with a constraint condition is included in the code. The code has been written in an extremely efficient manner with particular emphasis placed on vector processing. While this does not impose any restrictions on non-vector processing computers, it does provide extremely fast results on vector processing computers. A bucket sorting or boxing algorithm is used to reduce the number of comparisons which must be made between spheres to determine the contact pairs. The sorting algorithm is completely algebraic and contains no logical branching.

  5. Three-Dimensional Perturbative Particle Simulation of Intense Ion Beams

    NASA Astrophysics Data System (ADS)

    Lee, W. Wei-Li; Stoltz, Peter H.; Davidson, Ronald C.; Qin, Hong

    1998-11-01

    A three-dimensional nonlinear perturbative (δ f) particle simulation scheme is under developement for studying the stability and transport properties of an intense ion beam propagating through background electrons and a periodic focusing lattice,(Q. Qian, W. Lee, and R. C. Davidson, Phys. Plasmas 4), 1915 (1997).^,(P. H. Stoltz, W. W. Lee, R. C. Davidson, this conference.) in which the distribution function is split into equilibrium and perturbed parts. To further facilitate the simulations, a mode expansion scheme (C. Z. Cheng and H. Okuda, J. Comp. Phys. 25), 133 (1977). for the perturbative scheme has been developed, in which only a few long wavelength modes along the direction of propagation are kept. The code will be useful for many applications in beam physics and is an intermediate step toward a fully three-dimensional multi-species code. The algorithm and its applications to the electron-proton instability (R. C. Davidson, P. H. Stoltz, W. W. Lee and T.-S. Wang, this conference.) in proton linacs and storage rings will be reported.

  6. Unsteady Cascade Aerodynamic Response Using a Multiphysics Simulation Code

    NASA Technical Reports Server (NTRS)

    Lawrence, C.; Reddy, T. S. R.; Spyropoulos, E.

    2000-01-01

    The multiphysics code Spectrum(TM) is applied to calculate the unsteady aerodynamic pressures of oscillating cascade of airfoils representing a blade row of a turbomachinery component. Multiphysics simulation is based on a single computational framework for the modeling of multiple interacting physical phenomena, in the present case being between fluids and structures. Interaction constraints are enforced in a fully coupled manner using the augmented-Lagrangian method. The arbitrary Lagrangian-Eulerian method is utilized to account for deformable fluid domains resulting from blade motions. Unsteady pressures are calculated for a cascade designated as the tenth standard, and undergoing plunging and pitching oscillations. The predicted unsteady pressures are compared with those obtained from an unsteady Euler co-de refer-red in the literature. The Spectrum(TM) code predictions showed good correlation for the cases considered.

  7. Refurbishment of the CASSIS code for channeling simulations

    NASA Astrophysics Data System (ADS)

    Kling, A.

    2012-02-01

    Channeling is a powerful method for the investigation of the properties of crystalline materials (e.g. lattice site location, defect structures, etc.). More than a decade ago the program code CASSIS has been developed to extend the possible simulation of channeling phenomena to non-cubic crystal lattices, high foreign atom concentrations and PIXE-channeling. Due to the rapid progress in computer technology it is necessary to review and refurbish the existing code by substituting calculation procedures by more sophisticated and more precise ones. Another topic addressed during this refurbishment was the lack of user-friendliness of the old code. The introduction of a simplified input scheme and automatic procedures for the calculation of necessary secondary inputs resolved this situation. As an example and demonstration of possible applications a detailed large-dimension 2-D scan of silicon is presented and discussed.

  8. Improving code blue response through the use of simulation.

    PubMed

    Huseman, Kelley F

    2012-01-01

    In this research project, the response times to chest compressions, first defibrillation, and first dose of epinephrine in cardiac arrest were measured over a 3-month period through retrospective chart reviews. All nursing staff then participated in random, unannounced mock code blue drills using a high-fidelity patient simulator. After 3 months of code blue drills, the variables were again measured in patient code blue situations and compared with the response times before training. At the conclusion of this study, the response times for start of chest compressions and epinephrine administration improved significantly; the response time to defibrillation did not improve significantly. The response times were measured for an additional 3-month period to assess if the improvement was sustained. PMID:22617782

  9. Pedestal Fueling Simulations with a Coupled Kinetic-kinetic Plasma-neutral Transport Code

    SciTech Connect

    D.P. Stotler, C.S. Chang, S.H. Ku, J. Lang and G.Y. Park

    2012-08-29

    A Monte Carlo neutral transport routine, based on DEGAS2, has been coupled to the guiding center ion-electron-neutral neoclassical PIC code XGC0 to provide a realistic treatment of neutral atoms and molecules in the tokamak edge plasma. The DEGAS2 routine allows detailed atomic physics and plasma-material interaction processes to be incorporated into these simulations. The spatial pro le of the neutral particle source used in the DEGAS2 routine is determined from the uxes of XGC0 ions to the material surfaces. The kinetic-kinetic plasma-neutral transport capability is demonstrated with example pedestal fueling simulations.

  10. Simulations of auroral plasma processes - Electric fields, waves and particles

    NASA Technical Reports Server (NTRS)

    Singh, Nagendra; Thiemann, H.; Schunk, R. W.

    1987-01-01

    Plasma processes driven by current sheets of finite thicknesses in an ambient magnetized plasma are studied using a 2 1/2 dimensional particle-in-cell code, and similarities are found between simulated plasma processes and those observed in the auroral plasma. Current sheets are shown to be bounded by large perpendicular electric fields occurring near their edges above the conducting boundary. Shaped potential structures form when the current sheets are narrow, and when the current sheets are wide, potential structures develop a significant parallel potential drop such that the electrons are accelerated upwards. Downward parallel electric fields of variable strength are noted in the downward current region, and double layer formation is seen in both narrow and wide current sheets. High frequency oscillations near the electron plasma frequency and its harmonic are seen, and low frequency waves are observed.

  11. Particle Simulations of a Linear Dielectric Wall Proton Accelerator

    SciTech Connect

    Poole, B R; Blackfield, D T; Nelson, S D

    2007-06-12

    The dielectric wall accelerator (DWA) is a compact induction accelerator structure that incorporates the accelerating mechanism, pulse forming structure, and switch structure into an integrated module. The DWA consists of stacked stripline Blumlein assemblies, which can provide accelerating gradients in excess of 100 MeV/meter. Blumleins are switched sequentially according to a prescribed acceleration schedule to maintain synchronism with the proton bunch as it accelerates. A finite difference time domain code (FDTD) is used to determine the applied acceleration field to the proton bunch. Particle simulations are used to model the injector as well as the accelerator stack to determine the proton bunch energy distribution, both longitudinal and transverse dynamic focusing, and emittance growth associated with various DWA configurations.

  12. SPLASH: An Interactive Visualization Tool for Smoothed Particle Hydrodynamics Simulations

    NASA Astrophysics Data System (ADS)

    Price, Daniel J.

    2011-03-01

    SPLASH (formerly SUPERSPHPLOT) is a visualization tool for output from (astrophysical) simulations using the Smoothed Particle Hydrodynamics (SPH) method in one, two and three dimensions. It is written in Fortran 90 and utilises the PGPLOT graphics subroutine library to do the actual plotting. It is based around a command-line menu structure but utilises the interactive capabilities of PGPLOT to manipulate data interactively in the plotting window. SPLASH is a fully interactive program; visualizations can be changed rapidly at the touch of a button (e.g. zooming, rotating, shifting cross section positions etc). Data is read directly from the code dump format giving rapid access to results and the visualization is advanced forwards and backwards through timesteps by single keystrokes. SPLASH uses the SPH kernel to render plots of not only density but other physical quantities, giving a smooth representation of the data.

  13. Low-temperature plasma simulations with the LSP PIC code

    NASA Astrophysics Data System (ADS)

    Carlsson, Johan; Khrabrov, Alex; Kaganovich, Igor; Keating, David; Selezneva, Svetlana; Sommerer, Timothy

    2014-10-01

    The LSP (Large-Scale Plasma) PIC-MCC code has been used to simulate several low-temperature plasma configurations, including a gas switch for high-power AC/DC conversion, a glow discharge and a Hall thruster. Simulation results will be presented with an emphasis on code comparison and validation against experiment. High-voltage, direct-current (HVDC) power transmission is becoming more common as it can reduce construction costs and power losses. Solid-state power-electronics devices are presently used, but it has been proposed that gas switches could become a compact, less costly, alternative. A gas-switch conversion device would be based on a glow discharge, with a magnetically insulated cold cathode. Its operation is similar to that of a sputtering magnetron, but with much higher pressure (0.1 to 0.3 Torr) in order to achieve high current density. We have performed 1D (axial) and 2D (axial/radial) simulations of such a gas switch using LSP. The 1D results were compared with results from the EDIPIC code. To test and compare the collision models used by the LSP and EDIPIC codes in more detail, a validation exercise was performed for the cathode fall of a glow discharge. We will also present some 2D (radial/azimuthal) LSP simulations of a Hall thruster. The information, data, or work presented herein was funded in part by the Advanced Research Projects Agency-Energy (ARPA-E), U.S. Department of Energy, under Award Number DE-AR0000298.

  14. Simulation of dynamic material response with the PAGOSA code

    SciTech Connect

    Holian, K.S.; Adams, T.F.

    1993-08-01

    The 3D Eulerian PAGOSA hydrocode is being run on the massively parallel Connection Machine (CM) to simulate the response of materials to dynamic loading, such as by high explosives or high velocity impact. The code has a variety of equation of state forms, plastic yield models, and fracture and fragmentation models. The numerical algorithms in PAGOSA and the implementation of material models are discussed briefly.

  15. Particle kinetic simulation of high altitude hypervelocity flight

    NASA Technical Reports Server (NTRS)

    Haas, Brian L.

    1993-01-01

    In this grant period, the focus has been on enhancement and application of the direct simulation Monte Carlo (DSMC) particle method for computing hypersonic flows of re-entry vehicles. Enhancement efforts dealt with modeling gas-gas interactions for thermal non-equilibrium relaxation processes and gas-surface interactions for prediction of vehicle surface temperatures. Both are important for application to problems of engineering interest. The code was employed in a parametric study to improve future applications, and in simulations of aeropass maneuvers in support of the Magellan mission. Detailed comparisons between continuum models for internal energy relaxation and DSMC models reveals that several discrepancies exist. These include definitions of relaxation parameters and the methodologies for implementing them in DSMC codes. These issues were clarified and all differences were rectified in a paper (Appendix A) submitted to Physics of Fluids A, featuring several key figures in the DSMC community as co-authors and B. Haas as first author. This material will be presented at the Fluid Dynamics meeting of the American Physical Society on November 21, 1993. The aerodynamics of space vehicles in highly rarefied flows are very sensitive to the vehicle surface temperatures. Rather than require prescribed temperature estimates for spacecraft as is typically done in DSMC methods, a new technique was developed which couples the dynamic surface heat transfer characteristics into the DSMC flow simulation code to compute surface temperatures directly. This model, when applied to thin planar bodies such as solar panels, was described in AIAA Paper No. 93-2765 (Appendix B) and was presented at the Thermophysics Conference in July 1993. The paper has been submitted to the Journal of Thermophysics and Heat Transfer. Application of the DSMC method to problems of practical interest requires a trade off between solution accuracy and computational expense and limitations. A

  16. Particle methods for simulation of subsurface multiphase fluid flow and biogeological processes

    SciTech Connect

    Meakin, Paul; Tartakovsky, Alexandre M.; Scheibe, Timothy D.; Tartakovsky, Daniel M.; Redden, George; Long, Philip E.; Brooks, Scott C.; Xu, Zhijie

    2007-08-01

    A number of particle models that are suitable for simulating multiphase fluid flow and biogeological processes have been developed during the last few decades. Here we discuss three of them: a microscopic model - molecular dynamics; a mesoscopic model - dissipative particle dynamics; and a macroscopic model - smoothed particle hydrodynamics. Particle methods are robust and versatile, and it is relatively easy to add additional physical, chemical and biological processes into particle codes. However, the computational efficiency of particle methods is low relative to continuum methods. Multiscale particle methods and hybrid (particle–particle and particle–continuum) methods are needed to improve computational efficiency and make effective use of emerging computational capabilities. These new methods are under development.

  17. Particle simulation of a magnetized plasma contacting the wall

    SciTech Connect

    Daube, T.; Riemann, K.; Schmitz, H.

    1998-01-01

    One-dimensional particle simulations are performed to study the influence of a strong magnetic field on the plasma boundary layer in front of a completely absorbing wall. The magnetic field lines are parallel to the wall, and the ion transport is provided by charge exchange collisions with cold neutrals. The Debye length is small compared with the ion gyroradius and the electrons are Boltzmann distributed. A modified Particle-in-Cell Monte-Carlo-Collision (PIC-MCC) code is developed to avoid the problem of different time scales of electrons and ions. The self-consistent steady-state simulation is performed for a system with one spatial coordinate and two velocity components (1d, 2v). The results are compared with corresponding results of a self-consistent stationary solution of the ion Boltzmann equation. Although the potential and density profiles are essentially confirmed, the ion velocity distribution functions disagree with analytic solutions in certain singular regions unless certain pertubations in the electric field are suppressed. It is shown that this is due to a microscopic instability of the stationary solution. {copyright} {ital 1998 American Institute of Physics.}

  18. Systematic effects in CALOR simulation code to model experimental configurations

    SciTech Connect

    Job, P.K.; Proudfoot, J. ); Handler, T. . Dept. of Physics and Astronomy); Gabriel, T.A. )

    1991-03-27

    CALOR89 code system is being used to simulate test beam results and the design parameters of several calorimeter configurations. It has been bench-marked against the ZEUS, D{theta} and HELIOS data. This study identifies the systematic effects in CALOR simulation to model the experimental configurations. Five major systematic effects are identified. These are the choice of high energy nuclear collision model, material composition, scintillator saturation, shower integration time, and the shower containment. Quantitative estimates of these systematic effects are presented. 23 refs., 6 figs., 7 tabs.

  19. KULL: LLNL's ASCI Inertial Confinement Fusion Simulation Code

    SciTech Connect

    Rathkopf, J. A.; Miller, D. S.; Owen, J. M.; Zike, M. R.; Eltgroth, P. G.; Madsen, N. K.; McCandless, K. P.; Nowak, P. F.; Nemanic, M. K.; Gentile, N. A.; Stuart, L. M.; Keen, N. D.; Palmer, T. S.

    2000-01-10

    KULL is a three dimensional, time dependent radiation hydrodynamics simulation code under development at Lawrence Livermore National Laboratory. A part of the U.S. Department of Energy's Accelerated Strategic Computing Initiative (ASCI), KULL's purpose is to simulate the physical processes in Inertial Confinement Fusion (ICF) targets. The National Ignition Facility, where ICF experiments will be conducted, and ASCI are part of the experimental and computational components of DOE's Stockpile Stewardship Program. This paper provides an overview of ASCI and describes KULL, its hydrodynamic simulation capability and its three methods of simulating radiative transfer. Particular emphasis is given to the parallelization techniques essential to obtain the performance required of the Stockpile Stewardship Program and to exploit the massively parallel processor machines that ASCI is procuring.

  20. A PIC-MCC code for simulation of streamer propagation in air

    SciTech Connect

    Chanrion, O. Neubert, T.

    2008-07-20

    A particle code has been developed to study the distribution and acceleration of electrons in electric discharges in air. The code can follow the evolution of a discharge from the initial stage of a single free electron in a background electric field to the formation of an electron avalanche and its transition into a streamer. The code is in 2D axi-symmetric coordinates, allowing quasi 3D simulations during the initial stages of streamer formation. This is important for realistic simulations of problems where space charge fields are essential such as in streamer formation. The charged particles are followed in a Cartesian mesh and the electric field is updated with Poisson's equation from the charged particle densities. Collisional processes between electrons and air molecules are simulated with a Monte Carlo technique, according to cross section probabilities. The code also includes photoionisation processes of air molecules by photons emitted by excited constituents. The paper describes the code and presents some results of streamer development at 70 km altitude in the mesosphere where electrical discharges (sprites) are generated above severe thunderstorms and at {approx}10 km relevant for lightning and thundercloud electrification. The code is used to study acceleration of thermal seed electrons in streamers and to understand the conditions under which electrons may reach energies in the runaway regime. This is the first study in air, with a particle model with realistic spatial dependencies of the electrostatic field. It is shown that at 1 atm pressure the electric field must exceed {approx}7.5 times the breakdown field to observe runaway electrons in a constant electric field. This value is close to the field where the electric force on an electron equals the maximum frictional force on an electron - found at {approx}100 eV. It is also found that this value is reached in a negative streamer tip at 10 km altitude when the background electric field equals

  1. A PIC-MCC code for simulation of streamer propagation in air

    NASA Astrophysics Data System (ADS)

    Chanrion, O.; Neubert, T.

    2008-07-01

    A particle code has been developed to study the distribution and acceleration of electrons in electric discharges in air. The code can follow the evolution of a discharge from the initial stage of a single free electron in a background electric field to the formation of an electron avalanche and its transition into a streamer. The code is in 2D axi-symmetric coordinates, allowing quasi 3D simulations during the initial stages of streamer formation. This is important for realistic simulations of problems where space charge fields are essential such as in streamer formation. The charged particles are followed in a Cartesian mesh and the electric field is updated with Poisson's equation from the charged particle densities. Collisional processes between electrons and air molecules are simulated with a Monte Carlo technique, according to cross section probabilities. The code also includes photoionisation processes of air molecules by photons emitted by excited constituents. The paper describes the code and presents some results of streamer development at 70 km altitude in the mesosphere where electrical discharges (sprites) are generated above severe thunderstorms and at ∼10 km relevant for lightning and thundercloud electrification. The code is used to study acceleration of thermal seed electrons in streamers and to understand the conditions under which electrons may reach energies in the runaway regime. This is the first study in air, with a particle model with realistic spatial dependencies of the electrostatic field. It is shown that at 1 atm pressure the electric field must exceed ∼7.5 times the breakdown field to observe runaway electrons in a constant electric field. This value is close to the field where the electric force on an electron equals the maximum frictional force on an electron - found at ∼100 eV. It is also found that this value is reached in a negative streamer tip at 10 km altitude when the background electric field equals ∼3 times the

  2. Monte Carlo code for high spatial resolution ocean color simulations.

    PubMed

    D'Alimonte, Davide; Zibordi, Giuseppe; Kajiyama, Tamito; Cunha, José C

    2010-09-10

    A Monte Carlo code for ocean color simulations has been developed to model in-water radiometric fields of downward and upward irradiance (E(d) and E(u)), and upwelling radiance (L(u)) in a two-dimensional domain with a high spatial resolution. The efficiency of the code has been optimized by applying state-of-the-art computing solutions, while the accuracy of simulation results has been quantified through benchmark with the widely used Hydrolight code for various values of seawater inherent optical properties and different illumination conditions. Considering a seawater single scattering albedo of 0.9, as well as surface waves of 5 m width and 0.5 m height, the study has shown that the number of photons required to quantify uncertainties induced by wave focusing effects on E(d), E(u), and L(u) data products is of the order of 10(6), 10(9), and 10(10), respectively. On this basis, the effects of sea-surface geometries on radiometric quantities have been investigated for different surface gravity waves. Data products from simulated radiometric profiles have finally been analyzed as a function of the deployment speed and sampling frequency of current free-fall systems in view of providing recommendations to improve measurement protocols. PMID:20830183

  3. Flow-Based Detection of Bar Coded Particles

    SciTech Connect

    Rose, K A; Dougherty, G M; Santiago, J G

    2005-06-24

    We have developed methods for flow control, electric field alignment, and readout of colloidal Nanobarcodes{copyright}. Our flow-based detection scheme leverages microfluidics and alternate current (AC) electric fields to align and image particles in a well-defined image plane. Using analytical models of the particle rotation in electric fields we can optimize the field strength and frequency necessary to align the particles. This detection platform alleviates loss of information in solution-based assays due to particle clumping during detection.

  4. Boundary conditions in a meshless staggered particle code

    SciTech Connect

    Libersky, L.D.; Randles, P.W.

    1998-07-01

    A meshless method utilizing two sets of particles and generalized boundary conditions is introduced. Companion sets of particles, one carrying velocity and the other carrying stress, are employed to reduce the undesirable effects of colocation of all field variables and increase accuracy. Boundary conditions implemented within this staggered framework include contact, stress-free, stress, velocity, and symmetry constraints. Several test problems are used to evaluate the method. Of particular importance is the motion of stress particles relative to velocity particles in higher dimensions. Early results show promise, but difficulties remain that must be overcome if the staggered technique is to be successful.

  5. Generating performance portable geoscientific simulation code with Firedrake (Invited)

    NASA Astrophysics Data System (ADS)

    Ham, D. A.; Bercea, G.; Cotter, C. J.; Kelly, P. H.; Loriant, N.; Luporini, F.; McRae, A. T.; Mitchell, L.; Rathgeber, F.

    2013-12-01

    This presentation will demonstrate how a change in simulation programming paradigm can be exploited to deliver sophisticated simulation capability which is far easier to programme than are conventional models, is capable of exploiting different emerging parallel hardware, and is tailored to the specific needs of geoscientific simulation. Geoscientific simulation represents a grand challenge computational task: many of the largest computers in the world are tasked with this field, and the requirements of resolution and complexity of scientists in this field are far from being sated. However, single thread performance has stalled, even sometimes decreased, over the last decade, and has been replaced by ever more parallel systems: both as conventional multicore CPUs and in the emerging world of accelerators. At the same time, the needs of scientists to couple ever-more complex dynamics and parametrisations into their models makes the model development task vastly more complex. The conventional approach of writing code in low level languages such as Fortran or C/C++ and then hand-coding parallelism for different platforms by adding library calls and directives forces the intermingling of the numerical code with its implementation. This results in an almost impossible set of skill requirements for developers, who must simultaneously be domain science experts, numericists, software engineers and parallelisation specialists. Even more critically, it requires code to be essentially rewritten for each emerging hardware platform. Since new platforms are emerging constantly, and since code owners do not usually control the procurement of the supercomputers on which they must run, this represents an unsustainable development load. The Firedrake system, conversely, offers the developer the opportunity to write PDE discretisations in the high-level mathematical language UFL from the FEniCS project (http://fenicsproject.org). Non-PDE model components, such as parametrisations

  6. Relativistic Modeling Capabilities in PERSEUS Extended-MHD Simulation Code for HED Plasmas

    NASA Astrophysics Data System (ADS)

    Hamlin, Nathaniel; Seyler, Charles

    2015-11-01

    We discuss the incorporation of relativistic modeling capabilities into the PERSEUS extended MHD simulation code for high-energy-density (HED) plasmas, and present the latest simulation results. The use of fully relativistic equations enables the model to remain self-consistent in simulations of such relativistic phenomena as hybrid X-pinches and laser-plasma interactions. We have overcome a major challenge of a relativistic fluid implementation, namely the recovery of primitive variables (density, velocity, pressure) from conserved quantities at each time step of a simulation. Our code recovers non-relativistic results along with important features of published Particle-In-Cell simulation results for a laser penetrating a super-critical hydrogen gas with Fast Ignition applications. In particular, we recover the penetration of magnetized relativistic electron jets ahead of the laser. Our code also reveals new physics in the modeling of a laser incident on a thin foil. This work is supported by the National Nuclear Security Administration stewardship sciences academic program under Department of Energy cooperative agreements DE-FOA-0001153 and DE-NA0001836.

  7. Some Developments of the Equilibrium Particle Simulation Method for the Direct Simulation of Compressible Flows

    NASA Technical Reports Server (NTRS)

    Macrossan, M. N.

    1995-01-01

    The direct simulation Monte Carlo (DSMC) method is the established technique for the simulation of rarefied gas flows. In some flows of engineering interest, such as occur for aero-braking spacecraft in the upper atmosphere, DSMC can become prohibitively expensive in CPU time because some regions of the flow, particularly on the windward side of blunt bodies, become collision dominated. As an alternative to using a hybrid DSMC and continuum gas solver (Euler or Navier-Stokes solver) this work is aimed at making the particle simulation method efficient in the high density regions of the flow. A high density, infinite collision rate limit of DSMC, the Equilibrium Particle Simulation method (EPSM) was proposed some 15 years ago. EPSM is developed here for the flow of a gas consisting of many different species of molecules and is shown to be computationally efficient (compared to DSMC) for high collision rate flows. It thus offers great potential as part of a hybrid DSMC/EPSM code which could handle flows in the transition regime between rarefied gas flows and fully continuum flows. As a first step towards this goal a pure EPSM code is described. The next step of combining DSMC and EPSM is not attempted here but should be straightforward. EPSM and DSMC are applied to Taylor-Couette flow with Kn = 0.02 and 0.0133 and S(omega) = 3). Toroidal vortices develop for both methods but some differences are found, as might be expected for the given flow conditions. EPSM appears to be less sensitive to the sequence of random numbers used in the simulation than is DSMC and may also be more dissipative. The question of the origin and the magnitude of the dissipation in EPSM is addressed. It is suggested that this analysis is also relevant to DSMC when the usual accuracy requirements on the cell size and decoupling time step are relaxed in the interests of computational efficiency.

  8. Gyrokinetic particle simulation of beta-induced Alfven eigenmode

    SciTech Connect

    Zhang, H. S.; Lin, Z.; Holod, I.; Xiao, Y.; Wang, X.; Zhang, W. L.

    2010-11-15

    The beta-induced Alfven eigenmode (BAE) in toroidal plasmas is studied using global gyrokinetic particle simulations. The BAE real frequency and damping rate measured in the initial perturbation simulation and in the antenna excitation simulation agree well with each other. The real frequency is slightly higher than the ideal magnetohydrodynamic (MHD) accumulation point frequency due to the kinetic effects of thermal ions. Simulations with energetic particle density gradient show exponential growth of BAE with a growth rate sensitive to the energetic particle temperature and density. The nonperturbative contributions by energetic particles modify the mode structure and reduce the frequency relative to the MHD theory. The finite Larmor radius effects of energetic particles reduce the BAE growth rate. Benchmarks between gyrokinetic particle simulation and hybrid MHD-gyrokinetic simulation show good agreement in BAE real frequency and mode structure.

  9. Controlling seepage in discrete particle simulations of biological systems.

    PubMed

    Gardiner, Bruce S; Joldes, Grand R; Wong, Kelvin K L; Tan, Chin Wee; Smith, David W

    2016-08-01

    It is now commonplace to represent materials in a simulation using assemblies of discrete particles. Sometimes, one wishes to maintain the integrity of boundaries between particle types, for example, when modelling multiple tissue layers. However, as the particle assembly evolves during a simulation, particles may pass across interfaces. This behaviour is referred to as 'seepage'. The aims of this study were (i) to examine the conditions for seepage through a confining particle membrane and (ii) to define some simple rules that can be employed to control seepage. Based on the force-deformation response of spheres with various sizes and stiffness, we develop analytic expressions for the force required to move a 'probe particle' between confining 'membrane particles'. We analyse the influence that particle's size and stiffness have on the maximum force that can act on the probe particle before the onset of seepage. The theoretical results are applied in the simulation of a biological cell under unconfined compression. PMID:26629728

  10. Virtual Simulator: An infrastructure for design and performance-prediction of massively parallel codes

    NASA Astrophysics Data System (ADS)

    Perumalla, K.; Fujimoto, R.; Pande, S.; Karimabadi, H.; Driscoll, J.; Omelchenko, Y.

    2005-12-01

    Large parallel/distributed scientific simulations are very complex, and their dynamic behavior is hard to predict. Efficient development of massively parallel codes remains a computational challenge. For example, almost none of the kinetic codes in use in space physics today have dynamic load balancing capability. Here we present a new infrastructure for design and prediction of parallel codes. Performance prediction is useful to analyze, understand and experiment with different partitioning schemes, multiple modeling alternatives and so on, without having to run the application on supercomputers. Instrumentation of the model (with least perturbance to performance) is useful to glean key metrics and understand application-level behavior. Unfortunately, traditional approaches to virtual execution and instrumentation are limited by either slow execution speed or low resolution or both. We present a new framework that provides a high-resolution framework that provides a virtual CPU abstraction (with a full thread context per CPU), yet scales to thousands of virtual CPUs. The tool, called PDES2, presents different levels of modeling interfaces, from general purpose parallel simulations to parallel grid-based particle-in-cell (PIC) codes. The tool itself runs on multiple processors in order to accommodate the high-resolution by distributing the virtual execution across processors. Validation experiments of PIC models in the framework using a 1-D hybrid shock application show close agreement of results from virtual executions with results from actual supercomputer runs. The utility of this tool is further illustrated through an application to a parallel global hybrid code.

  11. Physical Models for Particle Tracking Simulations in the RF Gap

    SciTech Connect

    Shishlo, Andrei P.; Holmes, Jeffrey A.

    2015-06-01

    This document describes the algorithms that are used in the PyORBIT code to track the particles accelerated in the Radio-Frequency cavities. It gives the mathematical description of the algorithms and the assumptions made in each case. The derived formulas have been implemented in the PyORBIT code. The necessary data for each algorithm are described in detail.

  12. Traveling-wave-tube simulation; The IBC code

    SciTech Connect

    Morey, I.J.; Birdsall, C.K. . Dept. of Electrical Engineering and Computer Sciences)

    1990-06-01

    A beam-circuit code is presented, to run interactively on fast PC's or workstations, for purposes of first-cut design of Traveling-Wave Tubes (TWT's) at small and large amplitudes. The new physics parts are the use of particle-in-cell methods to obtain the space-charge forces, and the following of the electron beam over the full length of the tube. The model is fully nonlinear and one-dimensional, with the transverse space-charge fields approximated by one mode. The slow-wave circuit is modeled by a transmission line. All variables are displayed continuously, such as the velocity displacement of all the particles (phase space), beam charge and current densities, space-charge field, circuit field, voltage and current, circuit power, and the location of the added loss. Some initial runs are presented.

  13. Review of recent work using the simulation code PENELOPE

    SciTech Connect

    Salvat, F.; Campos, C.; Segui, S.; Acosta, E.; Fernandez-Varea, J.M.; Llovet, X.; Sempau, J.

    2003-08-26

    The general-purpose Monte Carlo code PENELOPE for the simulation of coupled electron and photon transport is used to generate x-ray emission spectra from targets irradiated by electrons. This code provides a realistic description of the penetration and slowing down of electrons with energies in the range from {approx} 1 keV to 1 GeV. The simulation of bremsstrahlung emission is based on numerical partial-wave cross sections, differential in both the photon energy and the direction of emission. The ionization of K and L shells by electron impact is simulated by using total ionization cross sections calculated from the distorted-wave first Born approximation; these cross sections, which are different from those in the public version 2001 of PENELOPE, provide a better description of the ionization process. The relaxation of ionized atoms is accounted for by combining transition probabilities from the LLNL Evaluated Atomic Data Library with experimental x-ray energies. A systematic comparison of simulated x-ray spectra with absolute spectra measured with an electron microprobe, for various elemental solid targets and 20 keV electron beams will be presented. The discrepancies between Monte Carlo results and experiment will be discussed.

  14. Monte Carlo N Particle code - Dose distribution of clinical electron beams in inhomogeneous phantoms

    PubMed Central

    Nedaie, H. A.; Mosleh-Shirazi, M. A.; Allahverdi, M.

    2013-01-01

    Electron dose distributions calculated using the currently available analytical methods can be associated with large uncertainties. The Monte Carlo method is the most accurate method for dose calculation in electron beams. Most of the clinical electron beam simulation studies have been performed using non- MCNP [Monte Carlo N Particle] codes. Given the differences between Monte Carlo codes, this work aims to evaluate the accuracy of MCNP4C-simulated electron dose distributions in a homogenous phantom and around inhomogeneities. Different types of phantoms ranging in complexity were used; namely, a homogeneous water phantom and phantoms made of polymethyl methacrylate slabs containing different-sized, low- and high-density inserts of heterogeneous materials. Electron beams with 8 and 15 MeV nominal energy generated by an Elekta Synergy linear accelerator were investigated. Measurements were performed for a 10 cm × 10 cm applicator at a source-to-surface distance of 100 cm. Individual parts of the beam-defining system were introduced into the simulation one at a time in order to show their effect on depth doses. In contrast to the first scattering foil, the secondary scattering foil, X and Y jaws and applicator provide up to 5% of the dose. A 2%/2 mm agreement between MCNP and measurements was found in the homogenous phantom, and in the presence of heterogeneities in the range of 1-3%, being generally within 2% of the measurements for both energies in a "complex" phantom. A full-component simulation is necessary in order to obtain a realistic model of the beam. The MCNP4C results agree well with the measured electron dose distributions. PMID:23533162

  15. Monte Carlo N Particle code - Dose distribution of clinical electron beams in inhomogeneous phantoms.

    PubMed

    Nedaie, H A; Mosleh-Shirazi, M A; Allahverdi, M

    2013-01-01

    Electron dose distributions calculated using the currently available analytical methods can be associated with large uncertainties. The Monte Carlo method is the most accurate method for dose calculation in electron beams. Most of the clinical electron beam simulation studies have been performed using non- MCNP [Monte Carlo N Particle] codes. Given the differences between Monte Carlo codes, this work aims to evaluate the accuracy of MCNP4C-simulated electron dose distributions in a homogenous phantom and around inhomogeneities. Different types of phantoms ranging in complexity were used; namely, a homogeneous water phantom and phantoms made of polymethyl methacrylate slabs containing different-sized, low- and high-density inserts of heterogeneous materials. Electron beams with 8 and 15 MeV nominal energy generated by an Elekta Synergy linear accelerator were investigated. Measurements were performed for a 10 cm × 10 cm applicator at a source-to-surface distance of 100 cm. Individual parts of the beam-defining system were introduced into the simulation one at a time in order to show their effect on depth doses. In contrast to the first scattering foil, the secondary scattering foil, X and Y jaws and applicator provide up to 5% of the dose. A 2%/2 mm agreement between MCNP and measurements was found in the homogenous phantom, and in the presence of heterogeneities in the range of 1-3%, being generally within 2% of the measurements for both energies in a "complex" phantom. A full-component simulation is necessary in order to obtain a realistic model of the beam. The MCNP4C results agree well with the measured electron dose distributions. PMID:23533162

  16. Particle-in-cell simulations of plasma accelerators and electron-neutral collisions

    SciTech Connect

    Bruhwiler, David L.; Giacone, Rodolfo E.; Cary, John R.; Verboncoeur, John P.; Mardahl, Peter; Esarey, Eric; Leemans, W.P.; Shadwick, B.A.

    2001-10-01

    We present 2-D simulations of both beam-driven and laser-driven plasma wakefield accelerators, using the object-oriented particle-in-cell code XOOPIC, which is time explicit, fully electromagnetic, and capable of running on massively parallel supercomputers. Simulations of laser-driven wakefields with low ({approx}10{sup 16} W/cm{sup 2}) and high ({approx}10{sup 18} W/cm{sup 2}) peak intensity laser pulses are conducted in slab geometry, showing agreement with theory and fluid simulations. Simulations of the E-157 beam wakefield experiment at the Stanford Linear Accelerator Center, in which a 30 GeV electron beam passes through 1 m of preionized lithium plasma, are conducted in cylindrical geometry, obtaining good agreement with previous work. We briefly describe some of the more significant modifications of XOOPIC required by this work, and summarize the issues relevant to modeling relativistic electron-neutral collisions in a particle-in-cell code.

  17. T-Matrix: Codes for Computing Electromagnetic Scattering by Nonspherical and Aggregated Particles

    NASA Astrophysics Data System (ADS)

    Waterman, Peter; Mishchenko, Michael I.; Travis, Larry D.; Mackowski, Daniel W.

    2015-11-01

    The T-Matrix package includes codes to compute electromagnetic scattering by homogeneous, rotationally symmetric nonspherical particles in fixed and random orientations, randomly oriented two-sphere clusters with touching or separated components, and multi-sphere clusters in fixed and random orientations. All codes are written in Fortran-77. LAPACK-based, extended-precision, Gauss-elimination- and NAG-based, and superposition codes are available, as are double-precision superposition, parallelized double-precision, double-precision Lorenz-Mie codes, and codes for the computation of the coefficients for the generalized Chebyshev shape.

  18. Adaptive dynamic load-balancing with irregular domain decomposition for particle simulations

    NASA Astrophysics Data System (ADS)

    Begau, Christoph; Sutmann, Godehard

    2015-05-01

    We present a flexible and fully adaptive dynamic load-balancing scheme, which is designed for particle simulations of three-dimensional systems with short ranged interactions. The method is based on domain decomposition with non-orthogonal non-convex domains, which are constructed based on a local repartitioning of computational work between neighbouring processors. Domains are dynamically adjusted in a flexible way under the condition that the original topology is not changed, i.e. neighbour relations between domains are retained, which guarantees a fixed communication pattern for each domain during a simulation. Extensions of this scheme are discussed and illustrated with examples, which generalise the communication patterns and do not fully restrict data exchange to direct neighbours. The proposed method relies on a linked cell algorithm, which makes it compatible with existing implementations in particle codes and does not modify the underlying algorithm for calculating the forces between particles. The method has been implemented into the molecular dynamics community code IMD and performance has been measured for various molecular dynamics simulations of systems representing realistic problems from materials science. It is found that the method proves to balance the work between processors in simulations with strongly inhomogeneous and dynamically changing particle distributions, which results in a significant increase of the efficiency of the parallel code compared both to unbalanced simulations and conventional load-balancing strategies.

  19. The T-matrix code Tsym for homogeneous dielectric particles with finite symmetries

    NASA Astrophysics Data System (ADS)

    Kahnert, Michael

    2013-07-01

    A T-matrix code tailored to non-axisymmetric particles with finite symmetries is described. The code exploits geometric symmetries of particles by use of group theoretical methods. Commutation relations of the T-matrix are implemented for reducing CPU-time requirements. Irreducible representations of finite groups are employed for alleviating ill-conditioning problems in numerical computations. Further, an iterative T-matrix method for particles with small-scale surface perturbations is implemented. The code can compute both differential and integrated optical properties of particles in either fixed or random orientation. Methods for testing the convergence and correctness of the computational results are discussed. The package also includes a database of pre-computed group-character tables, as well as an interface to the GAP programming language for computational group theory. The code can be downloaded at http://www.rss.chalmers.se/∼kahnert/Tsym.html.

  20. Computer and laboratory simulation of interactions between spacecraft surfaces and charged-particle environments

    NASA Technical Reports Server (NTRS)

    Stevens, N. J.

    1979-01-01

    Cases where the charged-particle environment acts on the spacecraft (e.g., spacecraft charging phenomena) and cases where a system on the spacecraft causes the interaction (e.g., high voltage space power systems) are considered. Both categories were studied in ground simulation facilities to understand the processes involved and to measure the pertinent parameters. Computer simulations are based on the NASA Charging Analyzer Program (NASCAP) code. Analytical models are developed in this code and verified against the experimental data. Extrapolation from the small test samples to space conditions are made with this code. Typical results from laboratory and computer simulations are presented for both types of interactions. Extrapolations from these simulations to performance in space environments are discussed.

  1. Heat flow between species in one-dimensional particle plasma simulations

    NASA Technical Reports Server (NTRS)

    Lawson, William S.; Gray, Perry C.

    1991-01-01

    The theory of Eldridge and Feix (1962) is presently applied to characterize the rate of heat flow between two one-dimensional particle species. Formulas derived assuming initial Maxwellian distributions, while complex, are judged applicable to simulators. Tests of the theory by simulations using Langdon and Birdsall's (1985) standard code yield results which indicate that heat flow between species may become rapid when the actual (not necessarily the intended) temperatures differ: thereby presenting a substantial hazard.

  2. Heat flow between species in one-dimensional particle plasma simulations

    NASA Astrophysics Data System (ADS)

    Lawson, William S.; Gray, Perry C.

    1991-07-01

    The theory of Eldridge and Feix (1962) is presently applied to characterize the rate of heat flow between two one-dimensional particle species. Formulas derived assuming initial Maxwellian distributions, while complex, are judged applicable to simulators. Tests of the theory by simulations using Langdon and Birdsall's (1985) standard code yield results which indicate that heat flow between species may become rapid when the actual (not necessarily the intended) temperatures differ: thereby presenting a substantial hazard.

  3. Magnetohydrodynamic MACH Code Used to Simulate Magnetoplasmadynamic Thrusters

    NASA Technical Reports Server (NTRS)

    Mikellides, Pavlos G.; LaPointe, Michael R.

    2002-01-01

    The On-Board Propulsion program at the NASA Glenn Research Center is utilizing a state of-the-art numerical simulation to model the performance of high-power electromagnetic plasma thrusters. Such thrusters are envisioned for use in lunar and Mars cargo transport, piloted interplanetary expeditions, and deep-space robotic exploration of the solar system. The experimental portion of this program is described in reference 1. This article describes the numerical modeling program used to guide the experimental research. The synergistic use of numerical simulations and experimental research has spurred the rapid advancement of high-power thruster technologies for a variety of bold new NASA missions. From its inception as a U.S. Department of Defense code in the mid-1980's, the Multiblock Arbitrary Coordinate Hydromagnetic (MACH) simulation tool has been used by the plasma physics community to model a diverse range of plasma problems--including plasma opening switches, inertial confinement fusion concepts, compact toroid formation and acceleration, z-pinch implosion physics, laser-target interactions, and a variety of plasma thrusters. The MACH2 code used at Glenn is a time-dependent, two-dimensional, axisymmetric, multimaterial code with a multiblock structure. MACH3, a more recent three-dimensional version of the code, is currently undergoing beta tests. The MACH computational mesh moves in an arbitrary Lagrangian-Eulerian (ALE) fashion that allows the simulation of diffusive-dominated and dispersive-dominated problems, and the mesh can be refined via a variety of adaptive schemes to capture regions of varying characteristic scale. The mass continuity and momentum equations model a compressible viscous fluid, and three energy equations are used to simulate nonthermal equilibrium between electrons, ions, and the radiation field. Magnetic fields are modeled by an induction equation that includes resistive diffusion, the Hall effect, and a thermal source for magnetic

  4. Micropolar crystal plasticity simulation of particle strengthening

    NASA Astrophysics Data System (ADS)

    Mayeur, J. R.; McDowell, D. L.

    2015-09-01

    The yield and work hardening behavior of a small-scale initial-boundary value problem involving dislocation plasticity in an idealized particle strengthened system is investigated using micropolar single crystal plasticity and is compared with results for the same problem from dislocation dynamics simulations. A micropolar single crystal is a work-conjugate higher-order continuum that treats the lattice rotations as generalized displacements, and supports couple stresses that are work-conjugate to the lattice torsion-curvature, leading to a non-symmetric Cauchy stress. The resolved skew-symmetric component of the Cauchy stress tensor results in slip system level kinematic hardening during heterogeneous deformation that depends on gradients of lattice torsion-curvature. The scale-dependent mechanical response of the micropolar single crystal is dictated both by energetic (higher-order elastic constants) and dissipative (plastic torsion-curvature) intrinsic material length scales. We show that the micropolar model captures essential details of the average stress-strain behavior predicted by discrete dislocation dynamics and of the cumulative slip and dislocation density fields predicted by statistical dislocation dynamics.

  5. Code System for Reactor Physics and Fuel Cycle Simulation.

    Energy Science and Technology Software Center (ESTSC)

    1999-04-21

    Version 00 VSOP94 (Very Superior Old Programs) is a system of codes linked together for the simulation of reactor life histories. It comprises neutron cross section libraries and processing routines, repeated neutron spectrum evaluation, 2-D diffusion calculation based on neutron flux synthesis with depletion and shut-down features, in-core and out-of-pile fuel management, fuel cycle cost analysis, and thermal hydraulics (at present restricted to Pebble Bed HTRs). Various techniques have been employed to accelerate the iterativemore » processes and to optimize the internal data transfer. The code system has been used extensively for comparison studies of reactors, their fuel cycles, and related detailed features. In addition to its use in research and development work for the High Temperature Reactor, the system has been applied successfully to Light Water and Heavy Water Reactors.« less

  6. Upgrades to the NESS (Nuclear Engine System Simulation) Code

    NASA Technical Reports Server (NTRS)

    Fittje, James E.

    2007-01-01

    In support of the President's Vision for Space Exploration, the Nuclear Thermal Rocket (NTR) concept is being evaluated as a potential propulsion technology for human expeditions to the moon and Mars. The need for exceptional propulsion system performance in these missions has been documented in numerous studies, and was the primary focus of a considerable effort undertaken during the 1960's and 1970's. The NASA Glenn Research Center is leveraging this past NTR investment in their vehicle concepts and mission analysis studies with the aid of the Nuclear Engine System Simulation (NESS) code. This paper presents the additional capabilities and upgrades made to this code in order to perform higher fidelity NTR propulsion system analysis and design.

  7. Code System for Reactor Physics and Fuel Cycle Simulation.

    SciTech Connect

    TEUCHERT, E.

    1999-04-21

    Version 00 VSOP94 (Very Superior Old Programs) is a system of codes linked together for the simulation of reactor life histories. It comprises neutron cross section libraries and processing routines, repeated neutron spectrum evaluation, 2-D diffusion calculation based on neutron flux synthesis with depletion and shut-down features, in-core and out-of-pile fuel management, fuel cycle cost analysis, and thermal hydraulics (at present restricted to Pebble Bed HTRs). Various techniques have been employed to accelerate the iterative processes and to optimize the internal data transfer. The code system has been used extensively for comparison studies of reactors, their fuel cycles, and related detailed features. In addition to its use in research and development work for the High Temperature Reactor, the system has been applied successfully to Light Water and Heavy Water Reactors.

  8. Parallelizing a DNA simulation code for the Cray MTA-2.

    PubMed

    Bokhari, Shahid H; Glaser, Matthew A; Jordan, Harry F; Lansac, Yves; Sauer, Jon R; Van Zeghbroeck, Bart

    2002-01-01

    The Cray MTA-2 (Multithreaded Architecture) is an unusual parallel supercomputer that promises ease of use and high performance. We describe our experience on the MTA-2 with a molecular dynamics code, SIMU-MD, that we are using to simulate the translocation of DNA through a nanopore in a silicon based ultrafast sequencer. Our sequencer is constructed using standard VLSI technology and consists of a nanopore surrounded by Field Effect Transistors (FETs). We propose to use the FETs to sense variations in charge as a DNA molecule translocates through the pore and thus differentiate between the four building block nucleotides of DNA. We were able to port SIMU-MD, a serial C code, to the MTA with only a modest effort and with good performance. Our porting process needed neither a parallelism support platform nor attention to the intimate details of parallel programming and interprocessor communication, as would have been the case with more conventional supercomputers. PMID:15838145

  9. ICOOL: A SIMULATION CODE FOR IONIZATION COOLING OF MUON BEAMS.

    SciTech Connect

    FERNOW,R.C.

    1999-03-25

    Current ideas [1,2] for designing a high luminosity muon collider require significant cooling of the phase space of the muon beams. The only known method that can cool the beams in a time comparable to the muon lifetime is ionization cooling [3,4]. This method requires directing the particles in the beam at a large angle through a low Z absorber material in a strong focusing magnetic channel and then restoring the longitudinal momentum with an rf cavity. We have developed a new 3-D tracking code ICOOL for examining possible configurations for muon cooling. A cooling system is described in terms of a series of longitudinal regions with associated material and field properties. The tracking takes place in a coordinate system that follows a reference orbit through the system. The code takes into account decays and interactions of {approx}50-500 MeV/c muons in matter. Material geometry regions include cylinders and wedges. A number of analytic models are provided for describing the field configurations. Simple diagnostics are built into the code, including calculation of emittances and correlations, longitudinal traces, histograms and scatter plots. A number of auxiliary files can be generated for post-processing analysis by the user.

  10. JET ITER-Like Antenna Simulation Using the TOPICA Code

    NASA Astrophysics Data System (ADS)

    Milanesio, Daniele; Maggiora, Riccardo

    2009-11-01

    In this work, we carried out the analysis of the recently installed JET ITER-Like antenna with TOPICA code. Comparisons between TOPICA simulations and measurements taken during the actual experiment are presented. As routinely done for all simulated antennas, TOPICA inputs are the technical drawings of the launcher and the accurate density and temperature profiles, which, in this case, have been provided by the JET team. The standard outputs are the input parameters of the antenna, namely the impedance matrix, the electric current distribution and the electric field pattern at the interface between the antenna region and the plasma column. This work provides an additional proof that the code can be adopted to predict the behavior of the ITER antenna, and to confidently use TOPICA for the challenging task of optimizing the complex design of the actual ITER antenna. More generally viewed, the possibility to reliably simulate the detailed geometry of an ICRF antenna, given a realistic plasma description, and to obtain the actual antenna input parameters, is of paramount importance to evaluate and predict the system performances, and to assist in system operation.

  11. Axisymmetric Plume Simulations with NASA's DSMC Analysis Code

    NASA Technical Reports Server (NTRS)

    Stewart, B. D.; Lumpkin, F. E., III

    2012-01-01

    A comparison of axisymmetric Direct Simulation Monte Carlo (DSMC) Analysis Code (DAC) results to analytic and Computational Fluid Dynamics (CFD) solutions in the near continuum regime and to 3D DAC solutions in the rarefied regime for expansion plumes into a vacuum is performed to investigate the validity of the newest DAC axisymmetric implementation. This new implementation, based on the standard DSMC axisymmetric approach where the representative molecules are allowed to move in all three dimensions but are rotated back to the plane of symmetry by the end of the move step, has been fully integrated into the 3D-based DAC code and therefore retains all of DAC s features, such as being able to compute flow over complex geometries and to model chemistry. Axisymmetric DAC results for a spherically symmetric isentropic expansion are in very good agreement with a source flow analytic solution in the continuum regime and show departure from equilibrium downstream of the estimated breakdown location. Axisymmetric density contours also compare favorably against CFD results for the R1E thruster while temperature contours depart from equilibrium very rapidly away from the estimated breakdown surface. Finally, axisymmetric and 3D DAC results are in very good agreement over the entire plume region and, as expected, this new axisymmetric implementation shows a significant reduction in computer resources required to achieve accurate simulations for this problem over the 3D simulations.

  12. Large-Eddy Simulation Code Developed for Propulsion Applications

    NASA Technical Reports Server (NTRS)

    DeBonis, James R.

    2003-01-01

    A large-eddy simulation (LES) code was developed at the NASA Glenn Research Center to provide more accurate and detailed computational analyses of propulsion flow fields. The accuracy of current computational fluid dynamics (CFD) methods is limited primarily by their inability to properly account for the turbulent motion present in virtually all propulsion flows. Because the efficiency and performance of a propulsion system are highly dependent on the details of this turbulent motion, it is critical for CFD to accurately model it. The LES code promises to give new CFD simulations an advantage over older methods by directly computing the large turbulent eddies, to correctly predict their effect on a propulsion system. Turbulent motion is a random, unsteady process whose behavior is difficult to predict through computer simulations. Current methods are based on Reynolds-Averaged Navier- Stokes (RANS) analyses that rely on models to represent the effect of turbulence within a flow field. The quality of the results depends on the quality of the model and its applicability to the type of flow field being studied. LES promises to be more accurate because it drastically reduces the amount of modeling necessary. It is the logical step toward improving turbulent flow predictions. In LES, the large-scale dominant turbulent motion is computed directly, leaving only the less significant small turbulent scales to be modeled. As part of the prediction, the LES method generates detailed information on the turbulence itself, providing important information for other applications, such as aeroacoustics. The LES code developed at Glenn for propulsion flow fields is being used to both analyze propulsion system components and test improved LES algorithms (subgrid-scale models, filters, and numerical schemes). The code solves the compressible Favre-filtered Navier- Stokes equations using an explicit fourth-order accurate numerical scheme, it incorporates a compressible form of

  13. Traveling-wave-tube simulation: The IBC (Interactive Beam-Circuit) code

    SciTech Connect

    Morey, I.J.; Birdsall, C.K.

    1989-09-26

    Interactive Beam-Circuit (IBC) is a one-dimensional many particle simulation code which has been developed to run interactively on a PC or Workstation, and displaying most of the important physics of a traveling-wave-tube. The code is a substantial departure from previous efforts, since it follows all of the particles in the tube, rather than just those in one wavelength, as commonly done. This step allows for nonperiodic inputs in time, a nonuniform line and a large set of spatial diagnostics. The primary aim is to complement a microwave tube lecture course, although past experience has shown that such codes readily become research tools. Simple finite difference methods are used to model the fields of the coupled slow-wave transmission line. The coupling between the beam and the transmission line is based upon the finite difference equations of Brillouin. The space-charge effects are included, in a manner similar to that used by Hess; the original part is use of particle-in-cell techniques to model the space-charge fields. 11 refs., 11 figs.

  14. Water pipe flow simulation using improved virtual particles on smoothed particle hydrodynamics

    NASA Astrophysics Data System (ADS)

    Ting, E. S.; Yeak, S. H.

    2014-12-01

    Smoothed Particle Hydrodynamics (SPH) is a meshless method used widely to solve problems such as fluid flows. Due to its meshless property, it is ideal to solve problems on complex geometry. In this paper, boundary treatment were implied for the rectangular pipe flow simulations using SPH. The repulsive force is applied to the boundary particles along with the improved virtual particles on different geometry alignment. The water flow is solved using incompressible SPH and will be examined throughout the simulation. Results from this simulation will be compared with single layered virtual particles. Based on the result of the study, it is found that the improved virtual particles is more accurate and stable.

  15. Particle/Continuum Hybrid Simulation in a Parallel Computing Environment

    NASA Technical Reports Server (NTRS)

    Baganoff, Donald

    1996-01-01

    The objective of this study was to modify an existing parallel particle code based on the direct simulation Monte Carlo (DSMC) method to include a Navier-Stokes (NS) calculation so that a hybrid solution could be developed. In carrying out this work, it was determined that the following five issues had to be addressed before extensive program development of a three dimensional capability was pursued: (1) find a set of one-sided kinetic fluxes that are fully compatible with the DSMC method, (2) develop a finite volume scheme to make use of these one-sided kinetic fluxes, (3) make use of the one-sided kinetic fluxes together with DSMC type boundary conditions at a material surface so that velocity slip and temperature slip arise naturally for near-continuum conditions, (4) find a suitable sampling scheme so that the values of the one-sided fluxes predicted by the NS solution at an interface between the two domains can be converted into the correct distribution of particles to be introduced into the DSMC domain, (5) carry out a suitable number of tests to confirm that the developed concepts are valid, individually and in concert for a hybrid scheme.

  16. Heart simulation with surface equations for using on MCNP code

    SciTech Connect

    Rezaei-Ochbelagh, D.; Salman-Nezhad, S.; Asadi, A.; Rahimi, A.

    2011-12-26

    External photon beam radiotherapy is carried out in a way to achieve an 'as low as possible' a dose in healthy tissues surrounding the target. One of these surroundings can be heart as a vital organ of body. As it is impossible to directly determine the absorbed dose by heart, using phantoms is one way to acquire information around it. The other way is Monte Carlo method. In this work we have presented a simulation of heart geometry by introducing of different surfaces in MCNP code. We used 14 surface equations in order to determine human heart modeling. Those surfaces are borders of heart walls and contents.

  17. Heart simulation with surface equations for using on MCNP code

    NASA Astrophysics Data System (ADS)

    Rezaei-Ochbelagh, D.; Salman-Nezhad, S.; Asadi, A.; Rahimi, A.

    2011-12-01

    External photon beam radiotherapy is carried out in a way to achieve an "as low as possible" a dose in healthy tissues surrounding the target. One of these surroundings can be heart as a vital organ of body. As it is impossible to directly determine the absorbed dose by heart, using phantoms is one way to acquire information around it. The other way is Monte Carlo method. In this work we have presented a simulation of heart geometry by introducing of different surfaces in MCNP code. We used 14 surface equations in order to determine human heart modeling. Those surfaces are borders of heart walls and contents.

  18. Microscale Simulations of Shock Interaction with Large Assembly of Particles for Developing Point-Particle Models

    NASA Astrophysics Data System (ADS)

    Thakur, Siddharth; Neal, Chris; Mehta, Yash; Sridharan, Prashanth; Jackson, Tom; Balachandar, S.; University of Florida Team

    2015-06-01

    Micrsoscale simulations are being conducted for developing point-particle models that are needed for macroscale simulations of explosive dispersal of particles. These particle models are required to compute instantaneous force and heat transfer between particles and surroundings. A strategy for a sequence of microscale simulations has been devised for systematic development of hybrid surrogate models that are applicable at conditions representative of explosive dispersal. The microscale simulations examine particle force dependence on: Mach number, Reynolds number, and volume fraction (particle arrangements such as cubic, face-centered cubic, body-centered cubic and random). Future plans include investigation of sequences of fully-resolved microscale simulations consisting of an array of particles subjected to more realistic time-dependent flows that progressively better approximate the problem of explosive dispersal. Additionally, effects of particle shape, size, and number as well as the transient particle deformation dependence on parameters including: (a) particle material, (b) medium material, (c) multiple particles, (d) incoming shock pressure and speed, (e) medium to particle impedance ratio, (f) particle shape and orientation to shock, etc. are being investigated.

  19. DANTSYS: A diffusion accelerated neutral particle transport code system

    SciTech Connect

    Alcouffe, R.E.; Baker, R.S.; Brinkley, F.W.; Marr, D.R.; O`Dell, R.D.; Walters, W.F.

    1995-06-01

    The DANTSYS code package includes the following transport codes: ONEDANT, TWODANT, TWODANT/GQ, TWOHEX, and THREEDANT. The DANTSYS code package is a modular computer program package designed to solve the time-independent, multigroup discrete ordinates form of the boltzmann transport equation in several different geometries. The modular construction of the package separates the input processing, the transport equation solving, and the post processing (or edit) functions into distinct code modules: the Input Module, one or more Solver Modules, and the Edit Module, respectively. The Input and Edit Modules are very general in nature and are common to all the Solver Modules. The ONEDANT Solver Module contains a one-dimensional (slab, cylinder, and sphere), time-independent transport equation solver using the standard diamond-differencing method for space/angle discretization. Also included in the package are solver Modules named TWODANT, TWODANT/GQ, THREEDANT, and TWOHEX. The TWODANT Solver Module solves the time-independent two-dimensional transport equation using the diamond-differencing method for space/angle discretization. The authors have also introduced an adaptive weighted diamond differencing (AWDD) method for the spatial and angular discretization into TWODANT as an option. The TWOHEX Solver Module solves the time-independent two-dimensional transport equation on an equilateral triangle spatial mesh. The THREEDANT Solver Module solves the time independent, three-dimensional transport equation for XYZ and RZ{Theta} symmetries using both diamond differencing with set-to-zero fixup and the AWDD method. The TWODANT/GQ Solver Module solves the 2-D transport equation in XY and RZ symmetries using a spatial mesh of arbitrary quadrilaterals. The spatial differencing method is based upon the diamond differencing method with set-to-zero fixup with changes to accommodate the generalized spatial meshing.

  20. Random walk particle tracking simulations of non-Fickian transport in heterogeneous media

    SciTech Connect

    Srinivasan, G. Tartakovsky, D.M. Dentz, M. Viswanathan, H.; Berkowitz, B.; Robinson, B.A.

    2010-06-01

    Derivations of continuum nonlocal models of non-Fickian (anomalous) transport require assumptions that might limit their applicability. We present a particle-based algorithm, which obviates the need for many of these assumptions by allowing stochastic processes that represent spatial and temporal random increments to be correlated in space and time, be stationary or non-stationary, and to have arbitrary distributions. The approach treats a particle trajectory as a subordinated stochastic process that is described by a set of Langevin equations, which represent a continuous time random walk (CTRW). Convolution-based particle tracking (CBPT) is used to increase the computational efficiency and accuracy of these particle-based simulations. The combined CTRW-CBPT approach enables one to convert any particle tracking legacy code into a simulator capable of handling non-Fickian transport.

  1. Hierarchical agglomerative sub-clustering technique for particles management in PIC simulations

    NASA Astrophysics Data System (ADS)

    Grasso, Giacomo; Frignani, Michele; Rocchi, Federico; Sumini, Marco

    2010-08-01

    The effectiveness of Particle-In-Cell (PIC) codes lies mainly in the robustness of the methods implemented, under the fundamental assumption that a sufficient number of pseudo-particles is concerned for a correct representation of the system. The consequent drawback is the huge increase of computational time required to run a simulation, to what concerns the particles charge assignment to the grid and the motion of the former through the latter. Moreover the coupling of such methods with Monte-Carlo-Collisional (MCC) modules causes another expensive computational cost to simulate particle multiple collisions with background gas and domain boundaries. Particles management techniques are therefore often introduced in PIC-MCC codes in order to improve the distribution of pseudo-particles in the simulation domain: as a matter of facts, the aim at managing the number of samples according to the importance of the considered region is a main question for codes simulating a local phenomenon in a larger domain or a strongly collisional system (e.g.: a ionizing plasma, where the number of particles increases exponentially). A clustering procedure based on the distribution function sampling applied to the 5D phase space (2D in space, 3D in velocity) is here proposed, representing the leading criterion for particles merging and splitting procedures guaranteeing the second order charge moments conservation. Applied to the study of the electrical breakdown in the early discharge phase of a Plasma Focus device, this technique is shown to increase performances of both PIC kernel and MCC module preserving the solution of the electric field and increasing samples representativeness in stochastic calculations (with respect to more traditional merging and splitting procedures).

  2. Global and Kinetic MHD Simulation by the Gpic-MHD Code

    NASA Astrophysics Data System (ADS)

    Hiroshi, Naitou; Yusuke, Yamada; Kenji, Kajiwara; Wei-li, Lee; Shinji, Tokuda; Masatoshi, Yagi

    2011-10-01

    In order to implement large-scale and high-beta tokamak simulation, a new algorithm of the electromagnetic gyrokinetic PIC (particle-in-cell) code was proposed and installed on the Gpic-MHD code [Gyrokinetic PIC code for magnetohydrodynamic (MHD) simulation]. In the new algorithm, the vorticity equation and the generalized Ohm's law along the magnetic field are derived from the basic equations of the gyrokinetic Vlasov, Poisson, and Ampere system and are used to describe the spatio-temporal evolution of the field quantities of the electrostatic potential varphi and the longitudinal component of the vector potential Az. The basic algorithm is equivalent to solving the reduced-MHD-type equations with kinetic corrections, in which MHD physics related to Alfven modes are well described. The estimation of perturbed electron pressure from particle dynamics is dominant, while the effects of other moments are negligible. Another advantage of the algorithm is that the longitudinal induced electric field, ETz = -∂Az/∂t, is explicitly estimated by the generalized Ohm's law and used in the equations of motion. Furthermore, the particle velocities along the magnetic field are used (vz-formulation) instead of generalized momentums (pz-formulation), hence there is no problem of ‘cancellation', which would otherwise appear when Az is estimated from the Ampere's law in the pz-formulation. The successful simulation of the collisionless internal kink mode by the new Gpic-MHD with realistic values of the large-scale and high-beta tokamaks revealed the usefulness of the new algorithm.

  3. Applications of TIERRAS for underground particle cascade simulations

    SciTech Connect

    Tueros, M. J.

    2010-11-24

    In this communication we present some example applications of TIERRAS, a software package for the simulation of High Energy particle cascades underground and underwater. The examples illustrate how this package can be used to study the phenomenology of particle cascades from Extended Air Showers propagated several meters underground, including the effect of the surface ''albedo'' particles that are generated when a cascade reaches ground level. These up-going particles can have a measurable effect on surface or shallow underground detectors. Finally, to show the package ability ro perform simulations of particle cascades in ice, an application for neutrino radio detection is briefly introduced.

  4. Application of TITAN for Simulation of Particle Streaming in a Duct

    NASA Astrophysics Data System (ADS)

    Royston, Katherine; Haghighat, Alireza; Yi, Ce

    2016-02-01

    The TITAN hybrid deterministic transport code is applied to the simulation of particle streaming in a nuclear power plant duct. A simple model is used consisting of a concrete duct emerging from the pressure vessel with an isotropic surface source with a U-235 fission spectrum located at the pressure vessel end. Multiple methods of simulating the duct using the TITAN code are considered to demonstrate the flexibility of the code and the advantages of TITAN's algorithms. These methods include a discrete ordinates (SN) calculation, a characteristics method calculation, and the use of a fictitious quadrature set with simplified ray-tracing. The TITAN code's results are compared with MCNP5 solutions. While all TITAN solutions are obtained in a shorter computation time than the MCNP5 solution, the TITAN solution with the fictitious quadrature set shows the largest speedup.

  5. Computer code for the atomistic simulation of lattice defects and dynamics. [COMENT code

    SciTech Connect

    Schiffgens, J.O.; Graves, N.J.; Oster, C.A.

    1980-04-01

    This document has been prepared to satisfy the need for a detailed, up-to-date description of a computer code that can be used to simulate phenomena on an atomistic level. COMENT was written in FORTRAN IV and COMPASS (CDC assembly language) to solve the classical equations of motion for a large number of atoms interacting according to a given force law, and to perform the desired ancillary analysis of the resulting data. COMENT is a dual-purpose intended to describe static defect configurations as well as the detailed motion of atoms in a crystal lattice. It can be used to simulate the effect of temperature, impurities, and pre-existing defects on radiation-induced defect production mechanisms, defect migration, and defect stability.

  6. Beam-splitting code for light scattering by ice crystal particles within geometric-optics approximation

    NASA Astrophysics Data System (ADS)

    Konoshonkin, Alexander V.; Kustova, Natalia V.; Borovoi, Anatoli G.

    2015-10-01

    The open-source beam-splitting code is described which implements the geometric-optics approximation to light scattering by convex faceted particles. This code is written in C++ as a library which can be easy applied to a particular light scattering problem. The code uses only standard components, that makes it to be a cross-platform solution and provides its compatibility to popular Integrated Development Environments (IDE's). The included example of solving the light scattering by a randomly oriented ice crystal is written using Qt 5.1, consequently it is a cross-platform solution, too. Both physical and computational aspects of the beam-splitting algorithm are discussed. Computational speed of the beam-splitting code is obviously higher compared to the conventional ray-tracing codes. A comparison of the phase matrix as computed by our code with the ray-tracing code by A. Macke shows excellent agreement.

  7. ATES/heat pump simulations performed with ATESSS code

    NASA Astrophysics Data System (ADS)

    Vail, L. W.

    1989-01-01

    Modifications to the Aquifer Thermal Energy Storage System Simulator (ATESSS) allow simulation of aquifer thermal energy storage (ATES)/heat pump systems. The heat pump algorithm requires a coefficient of performance (COP) relationship of the form: COP = COP sub base + alpha (T sub ref minus T sub base). Initial applications of the modified ATES code to synthetic building load data for two sizes of buildings in two U.S. cities showed insignificant performance advantage of a series ATES heat pump system over a conventional groundwater heat pump system. The addition of algorithms for a cooling tower and solar array improved performance slightly. Small values of alpha in the COP relationship are the principal reason for the limited improvement in system performance. Future studies at Pacific Northwest Laboratory (PNL) are planned to investigate methods to increase system performance using alternative system configurations and operations scenarios.

  8. Code System to Simulate 3D Tracer Dispersion in Atmosphere.

    Energy Science and Technology Software Center (ESTSC)

    2002-01-25

    Version 00 SHREDI is a shielding code system which executes removal-diffusion computations for bi-dimensional shields in r-z or x-y geometries. It may also deal with monodimensional problems (infinitely high cylinders or slabs). MESYST can simulate 3D tracer dispersion in the atmosphere. Three programs are part of this system: CRE_TOPO prepares the terrain data for MESYST. NOABL calculates three-dimensional free divergence windfields over complex terrain. PAS computes tracer concentrations and depositions on a given domain. Themore » purpose of this work is to develop a reliable simulation tool for pollutant atmospheric dispersion, which gives a realistic approach and allows one to compute the pollutant concentrations over complex terrains with good accuracy. The factional brownian model, which furnishes more accurate concentration values, is introduced to calculate pollutant atmospheric dispersion. The model was validated on SIESTA international experiments.« less

  9. Simulation study of high-frequency energetic particle driven geodesic acoustic mode

    SciTech Connect

    Wang, Hao Ido, Takeshi; Osakabe, Masaki; Todo, Yasushi

    2015-09-15

    High-frequency energetic particle driven geodesic acoustic modes (EGAM) observed in the large helical device plasmas are investigated using a hybrid simulation code for energetic particles and magnetohydrodynamics (MHD). Energetic particle inertia is incorporated in the MHD momentum equation for the simulation where the beam ion density is comparable to the bulk plasma density. Bump-on-tail type beam ion velocity distribution created by slowing down and charge exchange is considered. It is demonstrated that EGAMs have frequencies higher than the geodesic acoustic modes and the dependence on bulk plasma temperature is weak if (1) energetic particle density is comparable to the bulk plasma density and (2) charge exchange time (τ{sub cx}) is sufficiently shorter than the slowing down time (τ{sub s}) to create a bump-on-tail type distribution. The frequency of high-frequency EGAM rises as the energetic particle pressure increases under the condition of high energetic particle pressure. The frequency also increases as the energetic particle pitch angle distribution shifts to higher transit frequency. It is found that there are two kinds of particles resonant with EGAM: (1) trapped particles and (2) passing particles with transit frequency close to the mode frequency. The EGAMs investigated in this work are destabilized primarily by the passing particles whose transit frequencies are close to the EGAM frequency.

  10. Simulation of Code Spectrum and Code Flow of Cultured Neuronal Networks.

    PubMed

    Tamura, Shinichi; Nishitani, Yoshi; Hosokawa, Chie; Miyoshi, Tomomitsu; Sawai, Hajime

    2016-01-01

    It has been shown that, in cultured neuronal networks on a multielectrode, pseudorandom-like sequences (codes) are detected, and they flow with some spatial decay constant. Each cultured neuronal network is characterized by a specific spectrum curve. That is, we may consider the spectrum curve as a "signature" of its associated neuronal network that is dependent on the characteristics of neurons and network configuration, including the weight distribution. In the present study, we used an integrate-and-fire model of neurons with intrinsic and instantaneous fluctuations of characteristics for performing a simulation of a code spectrum from multielectrodes on a 2D mesh neural network. We showed that it is possible to estimate the characteristics of neurons such as the distribution of number of neurons around each electrode and their refractory periods. Although this process is a reverse problem and theoretically the solutions are not sufficiently guaranteed, the parameters seem to be consistent with those of neurons. That is, the proposed neural network model may adequately reflect the behavior of a cultured neuronal network. Furthermore, such prospect is discussed that code analysis will provide a base of communication within a neural network that will also create a base of natural intelligence. PMID:27239189

  11. Simulation of Code Spectrum and Code Flow of Cultured Neuronal Networks

    PubMed Central

    Tamura, Shinichi; Nishitani, Yoshi; Hosokawa, Chie; Miyoshi, Tomomitsu; Sawai, Hajime

    2016-01-01

    It has been shown that, in cultured neuronal networks on a multielectrode, pseudorandom-like sequences (codes) are detected, and they flow with some spatial decay constant. Each cultured neuronal network is characterized by a specific spectrum curve. That is, we may consider the spectrum curve as a “signature” of its associated neuronal network that is dependent on the characteristics of neurons and network configuration, including the weight distribution. In the present study, we used an integrate-and-fire model of neurons with intrinsic and instantaneous fluctuations of characteristics for performing a simulation of a code spectrum from multielectrodes on a 2D mesh neural network. We showed that it is possible to estimate the characteristics of neurons such as the distribution of number of neurons around each electrode and their refractory periods. Although this process is a reverse problem and theoretically the solutions are not sufficiently guaranteed, the parameters seem to be consistent with those of neurons. That is, the proposed neural network model may adequately reflect the behavior of a cultured neuronal network. Furthermore, such prospect is discussed that code analysis will provide a base of communication within a neural network that will also create a base of natural intelligence. PMID:27239189

  12. The GBS code for tokamak scrape-off layer simulations

    NASA Astrophysics Data System (ADS)

    Halpern, F. D.; Ricci, P.; Jolliet, S.; Loizu, J.; Morales, J.; Mosetto, A.; Musil, F.; Riva, F.; Tran, T. M.; Wersal, C.

    2016-06-01

    We describe a new version of GBS, a 3D global, flux-driven plasma turbulence code to simulate the turbulent dynamics in the tokamak scrape-off layer (SOL), superseding the code presented by Ricci et al. (2012) [14]. The present work is driven by the objective of studying SOL turbulent dynamics in medium size tokamaks and beyond with a high-fidelity physics model. We emphasize an intertwining framework of improved physics models and the computational improvements that allow them. The model extensions include neutral atom physics, finite ion temperature, the addition of a closed field line region, and a non-Boussinesq treatment of the polarization drift. GBS has been completely refactored with the introduction of a 3-D Cartesian communicator and a scalable parallel multigrid solver. We report dramatically enhanced parallel scalability, with the possibility of treating electromagnetic fluctuations very efficiently. The method of manufactured solutions as a verification process has been carried out for this new code version, demonstrating the correct implementation of the physical model.

  13. A framework for control simulations using the TRANSP code

    NASA Astrophysics Data System (ADS)

    Boyer, Mark D.; Andre, Rob; Gates, David; Gerhardt, Stefan; Goumiri, Imene; Menard, Jon

    2014-10-01

    The high-performance operational goals of present-day and future tokamaks will require development of advanced feedback control algorithms. Though reduced models are often used for initial designs, it is important to study the performance of control schemes with integrated models prior to experimental implementation. To this end, a flexible framework for closed loop simulations within the TRANSP code is being developed. The framework exploits many of the predictive capabilities of TRANSP and provides a means for performing control calculations based on user-supplied data (controller matrices, target waveforms, etc.). These calculations, along with the acquisition of ``real-time'' measurements and manipulation of TRANSP internal variables based on actuator requests, are implemented through a hook that allows custom run-specific code to be inserted into the standard TRANSP source code. As part of the framework, a module has been created to constrain the thermal stored energy in TRANSP using a confinement scaling expression. Progress towards feedback control of the current profile on NSTX-U will be presented to demonstrate the framework. Supported in part by an appointment to the U.S. Department of Energy Fusion Energy Postdoctoral Research Program administered by the Oak Ridge Institute for Science and Education.

  14. Color-Coded Three-Dimensional Particle Tracking Velocimetry for Micro-Flow Applications

    NASA Astrophysics Data System (ADS)

    Tien, Wei-Hsin; Dabiri, Dana; Hove, Jay

    2011-11-01

    A color-coded three-dimensional particle image velocimetry is successfully adapted into a microscope setup using a 10X magnification lens. 3 high-power LED with different wavelengths are used as light sources for each color-coded pinhole, and a color separation algorithm based on decorrelation stretch is developed to account for the multiple exposure problem caused by the color filters. Overlapped particle images are then identified with a cascade correlation method, and the triplets are matched to reconstruct the 3D particle locations with a calibration-based epi-polar line search method. The velocity field is reconstructed by a vision-based particle tracking algorithm. With the ability to tack particles in higher particle densities, the experimental setup is used to image an 800 x 800 x 500 micrometer volume of an accelerating backward-facing step micro-channel flow. This work is supported by the National Institute of Health (NIH).

  15. Particle Simulations of DARHT-II Transport System

    SciTech Connect

    Poole, B; Chen, Y J

    2001-06-11

    The DARHT-II beam line utilizes a fast stripline kicker to temporally chop a high current electron beam from a single induction LINAC and deliver multiple temporal electron beam pulses to an x-ray converter target. High beam quality needs to be maintained throughout the transport line from the end of the accelerator through the final focus lens to the x-ray converter target to produce a high quality radiographic image. Issues that will affect beam quality such as spot size and emittance at the converter target include dynamic effects associated with the stripline kicker as well as emittance growth due to the nonlinear forces associated with the kicker and various focusing elements in the transport line. In addition, dynamic effects associated with transverse resistive wall instability as well as gas focusing will affect the beam transport. A particle-in-cell code is utilized to evaluate beam transport in the downstream transport line in DARHT-II. External focusing forces are included utilizing either analytic expressions or field maps. Models for wakefields from the beam kicker, transverse resistive wall instability, and gas focusing are included in the simulation to provide a more complete picture of beam transport in DARHT-II. From these simulations, for various initial beam loads based on expected accelerator performance the temporally integrated target spot size and emittance can be estimated.

  16. Global Hybrid Simulations of Energetic Particle-driven Modes in Toroidal Plasmas

    SciTech Connect

    G.Y. Fu; J. Breslau; E. Fredrickson; W. Park; H.R. Strauss

    2004-12-14

    Global hybrid simulations of energetic particle-driven MHD modes have been carried out for tokamaks and spherical tokamaks using the hybrid code M3D. The numerical results for the National Spherical Tokamak Experiments (NSTX) show that Toroidal Alfven Eigenmodes are excited by beam ions with their frequencies consistent with the experimental observations. Nonlinear simulations indicate that the n=2 mode frequency chirps down as the mode moves out radially. For ITER, it is shown that the alpha-particle effects are strongly stabilizing for internal kink mode when central safety factor q(0) is sufficiently close to unity. However, the elongation of ITER plasma shape reduces the stabilization significantly.

  17. Numerical modeling of laser tunneling ionization in explicit particle-in-cell codes

    SciTech Connect

    Chen, M.; Cormier-Michel, E.; Geddes, C.G.R.; Bruhwiler, D.L.; Yu, L.L.; Esarey, E.; Schroeder, C.B.; Leemans, W.P.

    2013-03-01

    Methods for the calculation of laser tunneling ionization in explicit particle-in-cell codes used for modeling laser–plasma interactions are compared and validated against theoretical predictions. Improved accuracy is obtained by using the direct current form for the ionization rate. Multi level ionization in a single time step and energy conservation have been considered during the ionization process. The effects of grid resolution and number of macro-particles per cell are examined. Implementation of the ionization algorithm in two different particle-in-cell codes is compared for the case of ionization-based electron injection in a laser–plasma accelerator.

  18. Particle-in-cell simulations on spontaneous thermal magnetic field fluctuations

    SciTech Connect

    Simões, F. J. R. Jr.; Pavan, J.; Gaelzer, R.; Ziebell, L. F.; Yoon, P. H.

    2013-10-15

    In this paper an electromagnetic particle code is used to investigate the spontaneous thermal emission. Specifically we perform particle-in-cell simulations employing a non-relativistic isotropic Maxwellian particle distribution to show that thermal fluctuations are related to the origin of spontaneous magnetic field fluctuation. These thermal fluctuations can become seed for further amplification mechanisms and thus be considered at the origin of the cosmological magnetic field, at microgauss levels. Our numerical results are in accordance with theoretical results presented in the literature.

  19. Code System to Calculate Particle Penetration Through Aerosol Transport Lines.

    Energy Science and Technology Software Center (ESTSC)

    1999-07-14

    Version 00 Distribution is restricted to US Government Agencies and Their Contractors Only. DEPOSITION1.03 is an interactive software program which was developed for the design and analysis of aerosol transport lines. Models are presented for calculating aerosol particle penetration through straight tubes of arbitrary orientation, inlets, and elbows. An expression to calculate effective depositional velocities of particles on tube walls is derived. The concept of maximum penetration is introduced, which is the maximum possible penetrationmore » through a sampling line connecting any two points in a three-dimensional space. A procedure to predict optimum tube diameter for an existing transport line is developed. Note that there is a discrepancy in this package which includes the DEPOSITION 1.03 executable and the DEPOSITION 2.0 report. RSICC was unable to obtain other executables or reports.« less

  20. Two- and three-dimensional particle-in-cell simulations of ExB discharges

    NASA Astrophysics Data System (ADS)

    Carlsson, Johan; Kaganovich, Igor; Khrabrov, Alexander; Raitses, Yevgeny; Smolyakov, Andrei

    2015-09-01

    The Large-Scale Plasma (LSP) Particle-In-Cell with Monte-Carlo Collisions (PIC-MCC) code has been used to simulate several crossed-field (ExB) discharges in two and three dimensions. Two-dimensional (2D) simulations of a cold-cathode electric discharge with power-electronics applications and a Penning discharge will be presented. Three-dimensional (3D) simulation results of a cylindrical Hall thruster with scaled plasma parameters will also be shown and compared to experiment [Ellison2012]. To enable the 2D and 3D ExB discharge simulations, several improvements to the LSP code were made, including implementation of a new electrostatic field solver, external-circuit model and models for particle injection and secondary-electron emission. To ensure the correctness of the collision models used (and particularly important for the cold-cathode-discharge simulations), validation and code benchmarking was done with the LSP and EDIPIC codes in 1D for a glow discharge. Results and conclusions will be presented. Work funded by AFOSR and ARPA-E.

  1. Two- and three-dimensional particle-in-cell simulations of ExB discharges

    NASA Astrophysics Data System (ADS)

    Carlsson, Johan; Kaganovich, Igor D.; Khrabrov, Alexander V.; Raitses, Yevgeny; Smolyakov, Andrei

    2015-11-01

    The Large-Scale Plasma (LSP) Particle-In-Cell with Monte-Carlo Collisions (PIC-MCC) code has been used to simulate several crossed-field (ExB) discharges in two and three dimensions. Two-dimensional (2D) simulations of a cold-cathode electric discharge with power-electronics applications and a Penning discharge will be presented. Three-dimensional (3D) simulation results of a cylindrical Hall thruster with scaled plasma parameters will also be shown and compared to experiment [Ellison2012]. To enable the 2D and 3D ExB discharge simulations, several improvements to the LSP code were made, including implementation of a new electrostatic field solver, external-circuit model and models for particle injection and secondary-electron emission. To ensure the correctness of the collision models used (and particularly important for the cold-cathode-discharge simulations), validation and code benchmarking was done with the LSP and EDIPIC codes in 1D for a glow discharge. Results and conclusions will be presented. L. Ellison, Y. Raitses and N. J. Fisch, ``Cross-field electron transport induced by a rotating spoke in a cylindrical Hall thruster,'' Physics of Plasmas 19, 013503 (2012). Research supported by the U.S. Air Force Office of Scientific Research.

  2. The first transport code simulations using the trapped gyro-Landau-fluid model

    SciTech Connect

    Kinsey, J. E.; Staebler, G. M.; Waltz, R. E.

    2008-05-15

    The first transport code simulations using the newly developed trapped gyro-Landau-fluid (TGLF) theory-based transport model are presented. TGLF has comprehensive physics to approximate the turbulent transport due to drift-ballooning modes in tokamaks. The TGLF model is a next generation gyro-Landau-fluid model that improves the accuracy of the trapped particle response and the finite Larmor radius effects compared to its predecessor, GLF23. The model solves for the linear eigenmodes of trapped ion and electron modes, ion and electron temperature gradient modes, and electromagnetic kinetic ballooning modes in either shifted circle or shaped geometry. A database of over 400 nonlinear gyrokinetic simulations using the GYRO code has been created. A subset of 83 simulations with shaped geometry has been used to find a model for the saturation levels. Using a simple quasilinear (QL) saturation rule, remarkable agreement with the energy and particle fluxes from a wide variety of GYRO simulations is found for both shaped or circular geometry and also for low aspect ratio. Using this new QL saturation rule along with a new ExB shear quench rule for shaped geometry, the density and temperature profiles have been predicted in over 500 transport code runs and the results compared against experimental data from 96 tokamak discharges. Compared to GLF23, the TGLF model demonstrates better agreement between the predicted and experimental temperature profiles. Surprisingly, TGLF predicts that the high-k modes are found to play an important role in the central core region of low and high confinement plasmas lacking transport barriers.

  3. Novel methods in the Particle-In-Cell accelerator Code-Framework Warp

    SciTech Connect

    Vay, J-L; Grote, D. P.; Cohen, R. H.; Friedman, A.

    2012-12-26

    The Particle-In-Cell (PIC) Code-Framework Warp is being developed by the Heavy Ion Fusion Science Virtual National Laboratory (HIFS-VNL) to guide the development of accelerators that can deliver beams suitable for high-energy density experiments and implosion of inertial fusion capsules. It is also applied in various areas outside the Heavy Ion Fusion program to the study and design of existing and next-generation high-energy accelerators, including the study of electron cloud effects and laser wakefield acceleration for example. This study presents an overview of Warp's capabilities, summarizing recent original numerical methods that were developed by the HIFS-VNL (including PIC with adaptive mesh refinement, a large-timestep 'drift-Lorentz' mover for arbitrarily magnetized species, a relativistic Lorentz invariant leapfrog particle pusher, simulations in Lorentz-boosted frames, an electromagnetic solver with tunable numerical dispersion and efficient stride-based digital filtering), with special emphasis on the description of the mesh refinement capability. In addition, selected examples of the applications of the methods to the abovementioned fields are given.

  4. An Advanced simulation Code for Modeling Inductive Output Tubes

    SciTech Connect

    Thuc Bui; R. Lawrence Ives

    2012-04-27

    During the Phase I program, CCR completed several major building blocks for a 3D large signal, inductive output tube (IOT) code using modern computer language and programming techniques. These included a 3D, Helmholtz, time-harmonic, field solver with a fully functional graphical user interface (GUI), automeshing and adaptivity. Other building blocks included the improved electrostatic Poisson solver with temporal boundary conditions to provide temporal fields for the time-stepping particle pusher as well as the self electric field caused by time-varying space charge. The magnetostatic field solver was also updated to solve for the self magnetic field caused by time changing current density in the output cavity gap. The goal function to optimize an IOT cavity was also formulated, and the optimization methodologies were investigated.

  5. Simulating immersed particle collisions: the Devil's in the details

    NASA Astrophysics Data System (ADS)

    Biegert, Edward; Vowinckel, Bernhard; Meiburg, Eckart

    2015-11-01

    Simulating densely-packed particle-laden flows with any degree of confidence requires accurate modeling of particle-particle collisions. To this end, we investigate a few collision models from the fluids and granular flow communities using sphere-wall collisions, which have been studied by a number of experimental groups. These collisions involve enough complexities--gravity, particle-wall lubrication forces, particle-wall contact stresses, particle-wake interactions--to challenge any collision model. Evaluating the successes and shortcomings of the collision models, we seek improvements in order to obtain more consistent results. We will highlight several implementation details that are crucial for obtaining accurate results.

  6. Time-Dependent, Parallel Neutral Particle Transport Code System.

    Energy Science and Technology Software Center (ESTSC)

    2009-09-10

    Version 00 PARTISN (PARallel, TIme-Dependent SN) is the evolutionary successor to CCC-547/DANTSYS. The PARTISN code package is a modular computer program package designed to solve the time-independent or dependent multigroup discrete ordinates form of the Boltzmann transport equation in several different geometries. The modular construction of the package separates the input processing, the transport equation solving, and the post processing (or edit) functions into distinct code modules: the Input Module, the Solver Module, and themore » Edit Module, respectively. PARTISN is the evolutionary successor to the DANTSYSTM code system package. The Input and Edit Modules in PARTISN are very similar to those in DANTSYS. However, unlike DANTSYS, the Solver Module in PARTISN contains one, two, and three-dimensional solvers in a single module. In addition to the diamond-differencing method, the Solver Module also has Adaptive Weighted Diamond-Differencing (AWDD), Linear Discontinuous (LD), and Exponential Discontinuous (ED) spatial differencing methods. The spatial mesh may consist of either a standard orthogonal mesh or a block adaptive orthogonal mesh. The Solver Module may be run in parallel for two and three dimensional problems. One can now run 1-D problems in parallel using Energy Domain Decomposition (triggered by Block 5 input keyword npeg>0). EDD can also be used in 2-D/3-D with or without our standard Spatial Domain Decomposition. Both the static (fixed source or eigenvalue) and time-dependent forms of the transport equation are solved in forward or adjoint mode. In addition, PARTISN now has a probabilistic mode for Probability of Initiation (static) and Probability of Survival (dynamic) calculations. Vacuum, reflective, periodic, white, or inhomogeneous boundary conditions are solved. General anisotropic scattering and inhomogeneous sources are permitted. PARTISN solves the transport equation on orthogonal (single level or block-structured AMR) grids in 1-D

  7. Transient dynamics simulations: Parallel algorithms for contact detection and smoothed particle hydrodynamics

    SciTech Connect

    Hendrickson, B.; Plimpton, S.; Attaway, S.; Swegle, J.

    1996-09-01

    Transient dynamics simulations are commonly used to model phenomena such as car crashes, underwater explosions, and the response of shipping containers to high-speed impacts. Physical objects in such a simulation are typically represented by Lagrangian meshes because the meshes can move and deform with the objects as they undergo stress. Fluids (gasoline, water) or fluid-like materials (earth) in the simulation can be modeled using the techniques of smoothed particle hydrodynamics. Implementing a hybrid mesh/particle model on a massively parallel computer poses several difficult challenges. One challenge is to simultaneously parallelize and load-balance both the mesh and particle portions of the computation. A second challenge is to efficiently detect the contacts that occur within the deforming mesh and between mesh elements and particles as the simulation proceeds. These contacts impart forces to the mesh elements and particles which must be computed at each timestep to accurately capture the physics of interest. In this paper we describe new parallel algorithms for smoothed particle hydrodynamics and contact detection which turn out to have several key features in common. Additionally, we describe how to join the new algorithms with traditional parallel finite element techniques to create an integrated particle/mesh transient dynamics simulation. Our approach to this problem differs from previous work in that we use three different parallel decompositions, a static one for the finite element analysis and dynamic ones for particles and for contact detection. We have implemented our ideas in a parallel version of the transient dynamics code PRONTO-3D and present results for the code running on a large Intel Paragon.

  8. Effect of Model Scale and Particle Size Distribution on PFC3D Simulation Results

    NASA Astrophysics Data System (ADS)

    Ding, Xiaobin; Zhang, Lianyang; Zhu, Hehua; Zhang, Qi

    2014-11-01

    This paper investigates the effect of model scale and particle size distribution on the simulated macroscopic mechanical properties, unconfined compressive strength (UCS), Young's modulus and Poisson's ratio, using the three-dimensional particle flow code (PFC3D). Four different maximum to minimum particle size ( d max/ d min) ratios, all having a continuous uniform size distribution, were considered and seven model (specimen) diameter to median particle size ratios ( L/ d) were studied for each d max/ d min ratio. The results indicate that the coefficients of variation (COVs) of the simulated macroscopic mechanical properties using PFC3D decrease significantly as L/ d increases. The results also indicate that the simulated mechanical properties using PFC3D show much lower COVs than those in PFC2D at all model scales. The average simulated UCS and Young's modulus using the default PFC3D procedure keep increasing with larger L/ d, although the rate of increase decreases with larger L/ d. This is mainly caused by the decrease of model porosity with larger L/ d associated with the default PFC3D method and the better balanced contact force chains at larger L/ d. After the effect of model porosity is eliminated, the results on the net model scale effect indicate that the average simulated UCS still increases with larger L/ d but the rate is much smaller, the average simulated Young's modulus decreases with larger L/ d instead, and the average simulated Poisson's ratio versus L/ d relationship remains about the same. Particle size distribution also affects the simulated macroscopic mechanical properties, larger d max/ d min leading to greater average simulated UCS and Young's modulus and smaller average simulated Poisson's ratio, and the changing rates become smaller at larger d max/ d min. This study shows that it is important to properly consider the effect of model scale and particle size distribution in PFC3D simulations.

  9. Application of adaptive mesh refinement to particle-in-cell simulations of plasmas and beams

    SciTech Connect

    Vay, J.-L.; Colella, P.; Kwan, J.W.; McCorquodale, P.; Serafini, D.B.; Friedman, A.; Grote, D.P.; Westenskow, G.; Adam, J.-C.; Heron, A.; Haber, I.

    2003-11-04

    Plasma simulations are often rendered challenging by the disparity of scales in time and in space which must be resolved. When these disparities are in distinctive zones of the simulation domain, a method which has proven to be effective in other areas (e.g. fluid dynamics simulations) is the mesh refinement technique. We briefly discuss the challenges posed by coupling this technique with plasma Particle-In-Cell simulations, and present examples of application in Heavy Ion Fusion and related fields which illustrate the effectiveness of the approach. We also report on the status of a collaboration under way at Lawrence Berkeley National Laboratory between the Applied Numerical Algorithms Group (ANAG) and the Heavy Ion Fusion group to upgrade ANAG's mesh refinement library Chombo to include the tools needed by Particle-In-Cell simulation codes.

  10. An adaptive procedure for the numerical parameters of a particle simulation

    NASA Astrophysics Data System (ADS)

    Galitzine, Cyril; Boyd, Iain D.

    2015-01-01

    In this article, a computational procedure that automatically determines the optimum time step, cell weight and species weights for steady-state multi-species DSMC (direct simulation Monte Carlo) simulations is presented. The time step is required to satisfy the basic requirements of the DSMC method while the weight and relative weights fields are chosen so as to obtain a user-specified average number of particles in all cells of the domain. The procedure allows the conduct of efficient DSMC simulations with minimal user input and is integrable into existing DSMC codes. The adaptive method is used to simulate a test case consisting of two counterflowing jets at a Knudsen number of 0.015. Large accuracy gains for sampled number densities and velocities over a standard simulation approach for the same number of particles are observed.

  11. SPH (smoothed particle hydrodynamics) simulations of hypervelocity impacts

    SciTech Connect

    Cloutman, L.D.

    1991-01-24

    The smoothed particle hydrodynamics (SPH) method has been used to simulate several cases of hypervelocity impact in an exploratory study to determine the suitability of the method for such problems. The calculations compare favorably with experimental results and with other numerical simulations. We discuss the requirements that must be satisfied for SPH to produce accurate simulations of such problems. 18 refs., 9 figs.

  12. Microfluidic CODES: a scalable multiplexed electronic sensor for orthogonal detection of particles in microfluidic channels.

    PubMed

    Liu, Ruxiu; Wang, Ningquan; Kamili, Farhan; Sarioglu, A Fatih

    2016-04-21

    Numerous biophysical and biochemical assays rely on spatial manipulation of particles/cells as they are processed on lab-on-a-chip devices. Analysis of spatially distributed particles on these devices typically requires microscopy negating the cost and size advantages of microfluidic assays. In this paper, we introduce a scalable electronic sensor technology, called microfluidic CODES, that utilizes resistive pulse sensing to orthogonally detect particles in multiple microfluidic channels from a single electrical output. Combining the techniques from telecommunications and microfluidics, we route three coplanar electrodes on a glass substrate to create multiple Coulter counters producing distinct orthogonal digital codes when they detect particles. We specifically design a digital code set using the mathematical principles of Code Division Multiple Access (CDMA) telecommunication networks and can decode signals from different microfluidic channels with >90% accuracy through computation even if these signals overlap. As a proof of principle, we use this technology to detect human ovarian cancer cells in four different microfluidic channels fabricated using soft lithography. Microfluidic CODES offers a simple, all-electronic interface that is well suited to create integrated, low-cost lab-on-a-chip devices for cell- or particle-based assays in resource-limited settings. PMID:27021807

  13. Simulation of plume dynamics using particle graphics

    NASA Astrophysics Data System (ADS)

    Tourtellott, John; Coker, Charles F.; Crow, Dennis R.

    2000-07-01

    To enhance the fidelity of numerical flow field (plume) imagery in hardware-in-the-loop (HIL) systems, new methods using particle system graphics have been developed. To render infrared (IR) images that are consistent with the underlying physical phenomenology, techniques for particle placement, pixel rasterization and drawing were developed and implemented in computer software. The software was integrated into an existing HIL scene generator and used to demonstrate several new capabilities. Moving particle systems were used to depict the internal flow and turbulence common to plumes. Persistent particle systems were used to depict the trail of hot gas and particulates left behind typical plumes. The addition of plume dynamic behaviors such as these can potentially improve HIL systems and, as a result, improve the testing of seekers and other weapon systems.

  14. Histogramming of the Charged Particle Measurements with MSL/RAD - Comparison of Histogram Data with Simulations

    NASA Astrophysics Data System (ADS)

    Ehresmann, B.; Zeitlin, C.; Hassler, D. M.; Wimmer-Schweingruber, R. F.; Boettcher, S.; Koehler, J.; Martin, C.; Brinza, D.; Rafkin, S. C.

    2012-12-01

    The Radiation Assessment Detector (RAD) on-board the Mars Science Laboratory (MSL) is designed to measure a broad range of energetic particle radiation. A significant part of this radiation consists of charged particles, which mainly stem from cosmic background radiation, Solar particle events, and secondaries created by the interaction of these particles with the Martian atmosphere and soil. To measure charged particles RAD is equipped with a set of detectors: a particle telescope consisting of three silicon Solid-State Detectors (SSDs), a CsI scintillator and a plastic scintillator, as well as a further plastic scintillator used as anti-coincidence. RAD uses an elaborate post-processing logic to analyze if a measured event qualifies as a charged particle, as well as to distinguish between particles stopping in any one of the detectors and particles penetrating the whole detector stack. RAD then arranges these qualifying events in an appropriate stopping or penetrating charged particle histogram, reducing the data volume necessary to maintain crucial information about the measured particle. For ground-based data analysis it is of prime importance to derive information, such as particle species or energy, from the data in the downloaded histograms. Here, we will present how the chosen binning of these histograms enables us to derive this information. Pre-flight, we used the Monte-Carlo code GEANT4 to simulate the expected particle radiation and its interactions with a full model of the RAD sensor head. By mirroring the on-board processing logic, we derived statistics of which particle species and energies populate any one bin in the set of charged particle histograms. Finally, we will compare the resulting histogram data from RAD cruise and surface observations with simulations. RAD is supported by NASA (HEOMD) under JPL subcontract #1273039 to SwRI, and by DLR in Germany under contract to Christian-Albrechts-Universitaet zu Kiel (CAU).

  15. Numerical simulations of glass impacts using smooth particle hydrodynamics

    SciTech Connect

    Mandell, D.A.; Wingate, C.A.

    1996-05-01

    As part of a program to develop advanced hydrocode design tools, we have implemented a brittle fracture model for glass into the SPHINX smooth particle hydrodynamics code. We have evaluated this model and the code by predicting data from one-dimensional flyer plate impacts into glass. Since fractured glass properties, which are needed in the model, are not available, we did sensitivity studies of these properties, as well as sensitivity studies to determine the number of particles needed in the calculations. The numerical results are in good agreement with the data. {copyright} {ital 1996 American Institute of Physics.}

  16. Numerical simulations of glass impacts using smooth particle hydrodynamics

    SciTech Connect

    Mandell, D.A.; Wingate, C.A.

    1995-07-01

    As part of a program to develop advanced hydrocode design tools, we have implemented a brittle fracture model for glass into the SPHINX smooth particle hydrodynamics code. We have evaluated this model and the code by predicting data from one-dimensional flyer plate impacts into glass. Since fractured glass properties, which are needed in the model, are not available, we did sensitivity studies of these properties, as well as sensitivity studies to determine the number of particles needed in the calculations. The numerical results are in good agreement with the data.

  17. Lattice Boltzmann Simulations of Peristaltic Particle Transport

    NASA Astrophysics Data System (ADS)

    Connington, Kevin; Kang, Qinjun; Viswanathan, Hari; Chen, Shiyi; Abdel-Fattah, Amr

    2008-11-01

    A peristaltic flow occurs when a tube or channel with flexible walls transports the contained fluid by progressing a series of contraction or expansion waves along the length of those walls. It is a mechanism used to transport fluid and immersed solid particles when it is ineffective or impossible to impose a favorable pressure gradient or desirous to avoid contact between the transported mixture and mechanical moving parts. Peristaltic transport occurs in many physiological situations and has myriad industrial applications. We focus our study on the peristaltic transport of a macroscopic particle in a two dimensional channel using the Lattice Boltzmann Method (LBM). We systematically investigate the effect of variation of the relevant non-dimensional parameters of the system on the particle transport. We examine the particle behavior when the system exhibits the peculiar phenomenon of fluid ``trapping.'' Finally, we analyze how the particle presence affects stress, pressure, and dissipation in the fluid in hopes of determining preferred working conditions for peristaltic transport of shear-sensitive particles.

  18. The Million-Body Problem: Particle Simulations in Astrophysics

    ScienceCinema

    Rasio, Fred [Northwestern University

    2009-09-01

    Computer simulations using particles play a key role in astrophysics. They are widely used to study problems across the entire range of astrophysical scales, from the dynamics of stars, gaseous nebulae, and galaxies, to the formation of the largest-scale structures in the universe. The 'particles' can be anything from elementary particles to macroscopic fluid elements, entire stars, or even entire galaxies. Using particle simulations as a common thread, this talk will present an overview of computational astrophysics research currently done in our theory group at Northwestern. Topics will include stellar collisions and the gravothermal catastrophe in dense star clusters.

  19. Generating Optimal Initial Conditions for Smoothed Particle Hydrodynamics Simulations

    NASA Astrophysics Data System (ADS)

    Diehl, S.; Rockefeller, G.; Fryer, C. L.; Riethmiller, D.; Statler, T. S.

    2015-12-01

    We review existing smoothed particle hydrodynamics setup methods and outline their advantages, limitations, and drawbacks. We present a new method for constructing initial conditions for smoothed particle hydrodynamics simulations, which may also be of interest for N-body simulations, and demonstrate this method on a number of applications. This new method is inspired by adaptive binning techniques using weighted Voronoi tessellations. Particles are placed and iteratively moved based on their proximity to neighbouring particles and the desired spatial resolution. This new method can satisfy arbitrarily complex spatial resolution requirements.

  20. Test-particle Orbit Simulations in Fields from a Realistic 3D MHD Simulation

    NASA Astrophysics Data System (ADS)

    Decker, R. B.; Opher, M.; Hill, M. E.

    2007-05-01

    Models designed to explore the global structure of the heliosphere have become increasing sophisticated. Incentives to increase and to further explore the predictive capabilities of such models include the entry of the Voyager spacecraft into the foreshock region of the termination shock (TS), Voyager 1 in mid-2002 and Voyager 2 in late 2004, and the crossing of the TS and passage into the heliosheath (HSH) of Voyager 1 in 2004 day 351. Using the electric and magnetic fields generated by a MHD model of a 3D, asymmetric heliosphere [Opher et al., Ap. J. L., 640, 2006], we have developed full-particle and adiabatic-orbit codes to simulate the motion of test particles in the solar wind, TS, and HSH environments. The full-particle orbits are necessary to investigate energetic ion (e.g., anomalous and galactic cosmic ray) motion at the TS and within the heliospheric current sheet that is included in the MHD model. Adiabatic orbits are used to study particle motion in the much larger volume of the HSH where the non-homogeneous model fields produce complex guiding center motions, including mirroring in local field compressions. We will present results from these orbit computations, which are intended to provide an initial, albeit simplified, look at the propagation of high-energy charged particles, in the scatter-free limit, in the best model of the TS/HSH field configurations currently available. We will also display drift paths of high-energy ions in the HSH fields using the guiding center drift equations that are applicable in the limit of diffusive propagation.

  1. Assessment of Microphysical Models in the National Combustion Code (NCC) for Aircraft Particulate Emissions: Particle Loss in Sampling Lines

    NASA Technical Reports Server (NTRS)

    Wey, Thomas; Liu, Nan-Suey

    2008-01-01

    This paper at first describes the fluid network approach recently implemented into the National Combustion Code (NCC) for the simulation of transport of aerosols (volatile particles and soot) in the particulate sampling systems. This network-based approach complements the other two approaches already in the NCC, namely, the lower-order temporal approach and the CFD-based approach. The accuracy and the computational costs of these three approaches are then investigated in terms of their application to the prediction of particle losses through sample transmission and distribution lines. Their predictive capabilities are assessed by comparing the computed results with the experimental data. The present work will help establish standard methodologies for measuring the size and concentration of particles in high-temperature, high-velocity jet engine exhaust. Furthermore, the present work also represents the first step of a long term effort of validating physics-based tools for the prediction of aircraft particulate emissions.

  2. Simulation of charged-particle beam transport in a gas using a hybrid particle-fluid plasma model

    NASA Astrophysics Data System (ADS)

    Welch, D. R.; Olson, C. L.; Sanford, T. W. L.

    1994-03-01

    The simulation of charged-particle beam transport in a ˜1 Torr gas requires accurate plasma-electron modeling. A simple resistive model, which assumes local energy deposition and a thermal plasma-electron distribution, is inadequate. A hybrid model has been implemented into the particle-in-cell simulation code, iprop (The iprop Three-Dimensional Beam Propagation Code, AMRC-R-966, available from D. Welch, Mission Research Corporation, 1720 Randolph Road SE, Albuquerque, NM 87106, September 1987), in which plasma electrons are divided into high-energy macroparticle and thermal-fluid components. This model, which includes ``knock-on'' bound-electron collision and runaway sources for high-energy electrons, is then used in the simulation of relativistic electron-beam and ion-beam experiments. Results are found to be in agreement with HERMES III [Performance of the HERMES III Gamma Ray Simulator, in Digest of Technical Papers, 7th IEEE Pulsed Power Conference, Monterey, CA, 11 June 1989 (Institute of Electrical and Electronic Engineers, New York, 1989), pp. 26-31] and GAMBLE II [Phys. Rev. Lett. 70, 2573 (1993)] experimental observables.

  3. Particle kinetic simulation of high altitude hypervelocity flight

    NASA Technical Reports Server (NTRS)

    Boyd, Iain; Haas, Brian L.

    1994-01-01

    Rarefied flows about hypersonic vehicles entering the upper atmosphere or through nozzles expanding into a near vacuum may only be simulated accurately with a direct simulation Monte Carlo (DSMC) method. Under this grant, researchers enhanced the models employed in the DSMC method and performed simulations in support of existing NASA projects or missions. DSMC models were developed and validated for simulating rotational, vibrational, and chemical relaxation in high-temperature flows, including effects of quantized anharmonic oscillators and temperature-dependent relaxation rates. State-of-the-art advancements were made in simulating coupled vibration-dissociation recombination for post-shock flows. Models were also developed to compute vehicle surface temperatures directly in the code rather than requiring isothermal estimates. These codes were instrumental in simulating aerobraking of NASA's Magellan spacecraft during orbital maneuvers to assess heat transfer and aerodynamic properties of the delicate satellite. NASA also depended upon simulations of entry of the Galileo probe into the atmosphere of Jupiter to provide drag and flow field information essential for accurate interpretation of an onboard experiment. Finally, the codes have been used extensively to simulate expanding nozzle flows in low-power thrusters in support of propulsion activities at NASA-Lewis. Detailed comparisons between continuum calculations and DSMC results helped to quantify the limitations of continuum CFD codes in rarefied applications.

  4. Particle kinetic simulation of high altitude hypervelocity flight

    NASA Technical Reports Server (NTRS)

    Boyd, Iain; Haas, Brian L.

    1994-01-01

    Rarefied flows about hypersonic vehicles entering the upper atmosphere or through nozzles expanding into a near vacuum may only be simulated accurately with a direct simulation Monte Carlo (DSMC) method. Under this grant, researchers enhanced the models employed in the DSMC method and performed simulations in support of existing NASA projects or missions. DSMC models were developed and validated for simulating rotational, vibrational, and chemical relaxation in high-temperature flows, including effects of quantized anharmonic oscillators and temperature-dependent relaxation rates. State-of-the-art advancements were made in simulating coupled vibration - dissociation - recombination for post-shock flows. Models were also developed to compute vehicle surface temperatures directly in the code rather than requiring isothermal estimates. These codes were instrumental in simulating aerobraking of NASA's Magellan spacecraft during orbital maneuvers to assess heat transfer and aerodynamic properties of the delicate satellite. NASA also depended upon simulations of entry of the Galileo probe into the atmosphere of Jupiter to provide drag and flow field information essential for accurate interpretation of an onboard experiment. Finally, the codes have been used extensively to simulate expanding nozzle flows in low-power thrusters in support of propulsion activities at NASA-Lewis. Detailed comparisons between continuum calculations and DSMC results helped to quantify the limitations of continuum CFD codes in rarefied applications.

  5. Hybrid PIC Simulations of Particle Dynamics in Coaxial Plasma Jet Accelerators

    NASA Astrophysics Data System (ADS)

    Thoma, Carsten; Hughes, Thomas; Welch, Dale; Hakel, Peter

    2007-11-01

    We describe the results of 1D and 2D simulations of plasma jet accelerators using the particle-in-cell (PIC) code Lsp. Previous studies of 1D cartesian simulations have shown that ion particle dynamics at the plasma-vacuum interface depend critically on the local Hall parameter, which is strongly dependent on electron temperature. In a coaxial accelerator with finite transverse dimensions, large transverse ion motions, predicted at moderate Hall parameters in 1D, can lead to ion loss to the walls. The results of 2D r-z jet simulations are described and compared with the 1D cartesian results. The effects of particle loss and ablation at the wall are considered, as are electron heating mechanisms at the plasma-vacuum interface, including radiation losses. We will apply the results to the plasma jet experiments underway at HyperV Technologies Corp.

  6. VISRAD, 3-D Target Design and Radiation Simulation Code

    NASA Astrophysics Data System (ADS)

    Li, Yingjie; Macfarlane, Joseph; Golovkin, Igor

    2015-11-01

    The 3-D view factor code VISRAD is widely used in designing HEDP experiments at major laser and pulsed-power facilities, including NIF, OMEGA, OMEGA-EP, ORION, LMJ, Z, and PLX. It simulates target designs by generating a 3-D grid of surface elements, utilizing a variety of 3-D primitives and surface removal algorithms, and can be used to compute the radiation flux throughout the surface element grid by computing element-to-element view factors and solving power balance equations. Target set-up and beam pointing are facilitated by allowing users to specify positions and angular orientations using a variety of coordinates systems (e.g., that of any laser beam, target component, or diagnostic port). Analytic modeling for laser beam spatial profiles for OMEGA DPPs and NIF CPPs is used to compute laser intensity profiles throughout the grid of surface elements. We will discuss recent improvements to the software package and plans for future developments.

  7. Particle-in-cell simulations of Hall plasma thrusters

    NASA Astrophysics Data System (ADS)

    Miranda, Rodrigo; Ferreira, Jose Leonardo; Martins, Alexandre

    2016-07-01

    Hall plasma thrusters can be modelled using particle-in-cell (PIC) simulations. In these simulations, the plasma is described by a set of equations which represent a coupled system of charged particles and electromagnetic fields. The fields are computed using a spatial grid (i.e., a discretization in space), whereas the particles can move continuously in space. Briefly, the particle and fields dynamics are computed as follows. First, forces due to electric and magnetic fields are employed to calculate the velocities and positions of particles. Next, the velocities and positions of particles are used to compute the charge and current densities at discrete positions in space. Finally, these densities are used to solve the electromagnetic field equations in the grid, which are interpolated at the position of the particles to obtain the acting forces, and restart this cycle. We will present numerical simulations using software for PIC simulations to study turbulence, wave and instabilities that arise in Hall plasma thrusters. We have sucessfully reproduced a numerical simulation of a SPT-100 Hall thruster using a two-dimensional (2D) model. In addition, we are developing a 2D model of a cylindrical Hall thruster. The results of these simulations will contribute to improve the performance of plasma thrusters to be used in Cubesats satellites currenty in development at the Plasma Laboratory at University of Brasília.

  8. Computational Particle Dynamic Simulations on Multicore Processors (CPDMu) Final Report Phase I

    SciTech Connect

    Schmalz, Mark S

    2011-07-24

    Statement of Problem - Department of Energy has many legacy codes for simulation of computational particle dynamics and computational fluid dynamics applications that are designed to run on sequential processors and are not easily parallelized. Emerging high-performance computing architectures employ massively parallel multicore architectures (e.g., graphics processing units) to increase throughput. Parallelization of legacy simulation codes is a high priority, to achieve compatibility, efficiency, accuracy, and extensibility. General Statement of Solution - A legacy simulation application designed for implementation on mainly-sequential processors has been represented as a graph G. Mathematical transformations, applied to G, produce a graph representation {und G} for a high-performance architecture. Key computational and data movement kernels of the application were analyzed/optimized for parallel execution using the mapping G {yields} {und G}, which can be performed semi-automatically. This approach is widely applicable to many types of high-performance computing systems, such as graphics processing units or clusters comprised of nodes that contain one or more such units. Phase I Accomplishments - Phase I research decomposed/profiled computational particle dynamics simulation code for rocket fuel combustion into low and high computational cost regions (respectively, mainly sequential and mainly parallel kernels), with analysis of space and time complexity. Using the research team's expertise in algorithm-to-architecture mappings, the high-cost kernels were transformed, parallelized, and implemented on Nvidia Fermi GPUs. Measured speedups (GPU with respect to single-core CPU) were approximately 20-32X for realistic model parameters, without final optimization. Error analysis showed no loss of computational accuracy. Commercial Applications and Other Benefits - The proposed research will constitute a breakthrough in solution of problems related to efficient

  9. Gyrokinetic particle simulation of microturbulence for general magnetic geometry and experimental profiles

    SciTech Connect

    Xiao, Yong; Holod, Ihor; Wang, Zhixuan; Lin, Zhihong; Zhang, Taige

    2015-02-15

    Developments in gyrokinetic particle simulation enable the gyrokinetic toroidal code (GTC) to simulate turbulent transport in tokamaks with realistic equilibrium profiles and plasma geometry, which is a critical step in the code–experiment validation process. These new developments include numerical equilibrium representation using B-splines, a new Poisson solver based on finite difference using field-aligned mesh and magnetic flux coordinates, a new zonal flow solver for general geometry, and improvements on the conventional four-point gyroaverage with nonuniform background marker loading. The gyrokinetic Poisson equation is solved in the perpendicular plane instead of the poloidal plane. Exploiting these new features, GTC is able to simulate a typical DIII-D discharge with experimental magnetic geometry and profiles. The simulated turbulent heat diffusivity and its radial profile show good agreement with other gyrokinetic codes. The newly developed nonuniform loading method provides a modified radial transport profile to that of the conventional uniform loading method.

  10. Testing Astrophysics in the Lab: Simulations with the FLASH code

    NASA Astrophysics Data System (ADS)

    Dwarkadas, Vikram

    2003-10-01

    FLASH is a multi-physics, block-structured adaptive mesh refinement code for studying compressible, reactive flows in various astrophysical environments. We compare the results of two- and three-dimensional FLASH simulations to experimental data obtained at Los Alamos National Laboratory (LANL). The LANL experiment (Tomkins et al. 2003, PhFl, 15, 896) involves the lateral interaction between a planar Ma=1.2 shock wave with one or two cylinders of sulphur hexafluoride (SF6) gas. The development of primary and secondary flow instabilities after the passage of the shock, as observed in the experiments and numerical simulations, are reviewed and compared. We investigate the deposition of vorticity due to the impact of the shock wave on the cylinder, and the transition from laminar to turbulent flow. The interaction of shock waves with high-density clouds is a common phenomenon in astrophysics. Shock-cloud interactions are seen in the interstellar medium and within supernova remnants and wind-driven nebulae. On large scales, refraction of galactic radio jets flowing past density gradients provides conditions suitable for strong vorticity generation, jet bending, and eventual jet disruption. On smaller scales, interactions between shocks and clouds have been proposed as a means to trigger the collapse of giant molecular clouds, leading to the onset of star formation. By carefully comparing our numerical simulations with experimental data we will validate FLASH for shock-cloud interactions, albeit in the restricted regime of low-Mach number adiabatic planar shocks and for low density contrasts. Following similarity arguments, such comparisons build confidence that the numerical simulations adequately describe the hydrodynamical evolution of shock-cloud interactions on timescales inaccessible to direct observations.

  11. Virtual detector of synchrotron radiation (VDSR) - A C++ parallel code for particle tracking and radiation calculation

    SciTech Connect

    Rykovanov, S. G.; Chen, M.; Geddes, C. G. R.; Schroeder, C. B.; Esarey, E.; Leemans, W. P.

    2012-12-21

    The Virtual Detector for Synchrotron Radiation (VDSR) is a parallel C++ code developed to calculate the incoherent radiation from a single charged particle or a beam moving in given external electro-magnetic fields. In this proceedings the code structure and features are introduced. An example of radiation generation from the betatron motion of a beam in the focusing fields of the wake in a laser-plasma accelerator is presented.

  12. GATOR: A 3-D time-dependent simulation code for helix TWTs

    SciTech Connect

    Zaidman, E.G.; Freund, H.P.

    1996-12-31

    A 3D nonlinear analysis of helix TWTs is presented. The analysis and simulation code is based upon a spectral decomposition using the vacuum sheath helix modes. The field equations are integrated on a grid and advanced in time using a MacCormack predictor-corrector scheme, and the electron orbit equations are integrated using a fourth order Runge-Kutta algorithm. Charge is accumulated on the grid and the field is interpolated to the particle location by a linear map. The effect of dielectric liners on the vacuum sheath helix dispersion is included in the analysis. Several numerical cases are considered. Simulation of the injection of a DC beam and a signal at a single frequency is compared with a linear field theory of the helix TWT interaction, and good agreement is found.

  13. Combining hydrodynamic modeling with nonthermal test particle tracking to improve flare simulations

    NASA Astrophysics Data System (ADS)

    Winter, Henry Degraffenried, III

    Solar flares remain a subject of intense study in the solar physics community. These huge releases of energy on the Sun have direct consequences for humans on Earth and in space. The processes that impart tremendous amounts of energy are not well understood. In order to test theoretical models of flare formation and evolution, state of the art, numerical codes must be created that can accurately simulate the wide range of electromagnetic radiation emitted by flares. A direct comparison of simulated radiation to increasingly detailed observations will allow scientists to test the validity of theoretical models. To accomplish this task, numerical codes were developed that can simulate both the thermal and nonthermal components of a flaring plasma, their interactions, and their emissions. The HYLOOP code combines a hydrodynamic equation solver with a nonthermal particle tracking code in order to simulate the thermal and nonthermal aspects of a flare. A solar flare was simulated using this new code with a static atmosphere and with a dynamic atmosphere, to illustrate the importance of considering hydrodynamic effects on nonthermal beam evolution. The importance of density gradients in the evolution of nonthermal electron beams was investigated by studying their effects in isolation. The importance of the initial pitch-angle cosine distribution to flare dynamics was investigated. Emission in XRT filters were calculated and analyzed to see if there were soft X-ray signatures that could give clues to the nonthermal particle distributions. Finally the HXR source motions that appeared in the simulations were compared to real observations of this phenomena.

  14. A unified radiative magnetohydrodynamics code for lightning-like discharge simulations

    SciTech Connect

    Chen, Qiang Chen, Bin Xiong, Run; Cai, Zhaoyang; Chen, P. F.

    2014-03-15

    A two-dimensional Eulerian finite difference code is developed for solving the non-ideal magnetohydrodynamic (MHD) equations including the effects of self-consistent magnetic field, thermal conduction, resistivity, gravity, and radiation transfer, which when combined with specified pulse current models and plasma equations of state, can be used as a unified lightning return stroke solver. The differential equations are written in the covariant form in the cylindrical geometry and kept in the conservative form which enables some high-accuracy shock capturing schemes to be equipped in the lightning channel configuration naturally. In this code, the 5-order weighted essentially non-oscillatory scheme combined with Lax-Friedrichs flux splitting method is introduced for computing the convection terms of the MHD equations. The 3-order total variation diminishing Runge-Kutta integral operator is also equipped to keep the time-space accuracy of consistency. The numerical algorithms for non-ideal terms, e.g., artificial viscosity, resistivity, and thermal conduction, are introduced in the code via operator splitting method. This code assumes the radiation is in local thermodynamic equilibrium with plasma components and the flux limited diffusion algorithm with grey opacities is implemented for computing the radiation transfer. The transport coefficients and equation of state in this code are obtained from detailed particle population distribution calculation, which makes the numerical model is self-consistent. This code is systematically validated via the Sedov blast solutions and then used for lightning return stroke simulations with the peak current being 20 kA, 30 kA, and 40 kA, respectively. The results show that this numerical model consistent with observations and previous numerical results. The population distribution evolution and energy conservation problems are also discussed.

  15. Study of self-consistent particle flows in a plasma blob with particle-in-cell simulations

    SciTech Connect

    Hasegawa, Hiroki Ishiguro, Seiji

    2015-10-15

    The self-consistent particle flows in a filamentary coherent structure along the magnetic field line in scrape-off layer (SOL) plasma (plasma blob) have been investigated by means of a three-dimensional electrostatic particle-in-cell simulation code. The presence of the spiral current system composed of the diamagnetic and parallel currents in a blob is confirmed by the particle simulation without any assumed sheath boundary models. Furthermore, the observation of the electron and ion parallel velocity distributions in a blob shows that those distributions are far from Maxwellian due to modification with the sheath formation and that the electron temperature on the higher potential side in a blob is higher than that on the lower potential side. Also, it is found that the ions on the higher potential side are accelerated more intensively along the magnetic field line than those on the lower potential side near the edge. This study indicates that particle simulations are able to provide an exact current closure to analysis of blob dynamics and will bring more accurate prediction of plasma transport in the SOL without any empirical assumptions.

  16. GRMHD Simulations of Jet Formation with a New Code

    NASA Technical Reports Server (NTRS)

    Mizuno, Y.; Nishikawa, K.-I.; Koide, S.; Hardee, P.; Fishman, G. J.

    2006-01-01

    We have developed a new three-dimensional general relativistic magnetohydrodynamic (GRMHD) code by using a conservative, high-resolution shock-capturing scheme. The numerical fluxes are calculated using the HLL approximate Riemann solver scheme. The flux-interpolated, constrained transport scheme is used to maintain a divergence-free magnetic field. Various one-dimensional test problems in both special and general relativity show significant improvements over our previous model. We have performed simulations of jet formations from a geometrically thin accretion disk near both nonrotating and rotating black holes. The new simulation results show that the jet is formed in the same manner as in previous work and propagates outward. In the rotating black hole cases, jets form much closer to the black hole's ergosphere and the magnetic field is strongly twisted due the frame-dragging effect. As the magnetic field strength becomes weaker, a larger amount of matter is launched with the jet. On the other hand, when the magnetic field strength becomes stronger, the jet has less matter and becomes poynting-flux dominated. We will also discuss how the jet properties depend on the rotation of a black hole.

  17. COMPARISON OF SIMULATION CODES FOR MICROWAVE INSTABILITY IN BUNCHED BEAMS

    SciTech Connect

    Bane, K.L.F.; Cai, Y.; Stupakov, G.; /SLAC

    2010-08-25

    In accelerator design, there is often a need to evaluate the threshold to the (longitudinal) microwave instability for a bunched beam in an electron storage ring. Several computational tools are available that allow them, once given the wakefield representing a ring, to numerically find the threshold current and to simulate the development of the instability. In this work, they present results of coputer simulations using two codes recently developed at the SLAC National Accelerator Laboratory: a Vlasov-Fokker-Planck (VFP) solver based on an algorithm by Warnock and Ellison, and a program that find the threshold from the linearized Vlasov equation. They apply the programs to find the instability threshold for three models of ring impedances: that of a Q = 1 resonator, of shielded coherent synchrotron radiation (CSR), and of a resistive wall. The first example is wel-bheaved, but the other two are singular wakes that need special care. Note that similar numerical studies of the threshold of a Q = 1 resonantor wake have been performed by Oide and Yokova, and others. They compare the results of the two programs and discuss their respective capabilities and limitations. In this report they assume the slippage factor {eta} is always positive. They work in Gaussian units.

  18. Advances and future needs in particle production and transport code developments

    SciTech Connect

    Mokhov, N.V.; /Fermilab

    2009-12-01

    The next generation of accelerators and ever expanding needs of existing accelerators demand new developments and additions to Monte-Carlo codes, with an emphasis on enhanced modeling of elementary particle and heavy-ion interactions and transport. Challenges arise from extremely high beam energies and beam power, increasing complexity of accelerators and experimental setups, as well as design, engineering and performance constraints. All these put unprecedented requirements on the accuracy of particle production predictions, the capability and reliability of the codes used in planning new accelerator facilities and experiments, the design of machine, target and collimation systems, detectors and radiation shielding and minimization of their impact on environment. Recent advances in widely-used general-purpose all-particle codes are described for the most critical modules such as particle production event generators, elementary particle and heavy ion transport in an energy range which spans up to 17 decades, nuclide inventory and macroscopic impact on materials, and dealing with complex geometry of accelerator and detector structures. Future requirements for developing physics models and Monte-Carlo codes are discussed.

  19. COOL: A code for Dynamic Monte Carlo Simulation of molecular dynamics

    NASA Astrophysics Data System (ADS)

    Barletta, Paolo

    2012-02-01

    Cool is a program to simulate evaporative and sympathetic cooling for a mixture of two gases co-trapped in an harmonic potential. The collisions involved are assumed to be exclusively elastic, and losses are due to evaporation from the trap. Each particle is followed individually in its trajectory, consequently properties such as spatial densities or energy distributions can be readily evaluated. The code can be used sequentially, by employing one output as input for another run. The code can be easily generalised to describe more complicated processes, such as the inclusion of inelastic collisions, or the possible presence of more than two species in the trap. New version program summaryProgram title: COOL Catalogue identifier: AEHJ_v2_0 Program summary URL:http://cpc.cs.qub.ac.uk/summaries/AEHJ_v2_0.html Program obtainable from: CPC Program Library, Queen's University, Belfast, N. Ireland Licensing provisions: Standard CPC licence, http://cpc.cs.qub.ac.uk/licence/licence.html No. of lines in distributed program, including test data, etc.: 1 097 733 No. of bytes in distributed program, including test data, etc.: 18 425 722 Distribution format: tar.gz Programming language: C++ Computer: Desktop Operating system: Linux RAM: 500 Mbytes Classification: 16.7, 23 Catalogue identifier of previous version: AEHJ_v1_0 Journal reference of previous version: Comput. Phys. Comm. 182 (2011) 388 Does the new version supersede the previous version?: Yes Nature of problem: Simulation of the sympathetic process occurring for two molecular gases co-trapped in a deep optical trap. Solution method: The Direct Simulation Monte Carlo method exploits the decoupling, over a short time period, of the inter-particle interaction from the trapping potential. The particle dynamics is thus exclusively driven by the external optical field. The rare inter-particle collisions are considered with an acceptance/rejection mechanism, that is, by comparing a random number to the collisional probability

  20. DEMOCRITUS: An adaptive particle in cell (PIC) code for object-plasma interactions

    NASA Astrophysics Data System (ADS)

    Lapenta, Giovanni

    2011-06-01

    A new method for the simulation of plasma materials interactions is presented. The method is based on the particle in cell technique for the description of the plasma and on the immersed boundary method for the description of the interactions between materials and plasma particles. A technique to adapt the local number of particles and grid adaptation are used to reduce the truncation error and the noise of the simulations, to increase the accuracy per unit cost. In the present work, the computational method is verified against known results. Finally, the simulation method is applied to a number of specific examples of practical scientific and engineering interest.

  1. Simulation of gas particle flow in a HVOF torch

    SciTech Connect

    Chang, C.H.; Moore, R.L.

    1995-12-31

    A transient two-dimensional numerical simulation of Inconel spraying in an HVOF torch barrel has been performed. The gas flow is treated as a continuum multicomponent chemically reacting flow, while particles are modeled using a stochastic particle spray model, fully coupled to the gas flow. The calculated results agree well with experimental data, and show important statistical aspects of particle flow in the torch.

  2. An optimization method of relativistic backward wave oscillator using particle simulation and genetic algorithms

    SciTech Connect

    Chen, Zaigao; Wang, Jianguo; Wang, Yue; Qiao, Hailiang; Zhang, Dianhui; Guo, Weijie

    2013-11-15

    Optimal design method of high-power microwave source using particle simulation and parallel genetic algorithms is presented in this paper. The output power, simulated by the fully electromagnetic particle simulation code UNIPIC, of the high-power microwave device is given as the fitness function, and the float-encoding genetic algorithms are used to optimize the high-power microwave devices. Using this method, we encode the heights of non-uniform slow wave structure in the relativistic backward wave oscillators (RBWO), and optimize the parameters on massively parallel processors. Simulation results demonstrate that we can obtain the optimal parameters of non-uniform slow wave structure in the RBWO, and the output microwave power enhances 52.6% after the device is optimized.

  3. CHAMBER SIMULATION OF FINE PARTICLE PENETRATION INTO HOUSES

    EPA Science Inventory

    the paper discusses chamber simulation of fine particle penetration into houses. (NOTE: A number of recent studies have shown a correlation of negative health effects with increases in outdoor fine particles. Since people spend up to 90% of their time indoors, the relationship be...

  4. Rescaling of microwave breakdown theory for monatomic gases by particle-in-cell/Monte Carlo simulations

    SciTech Connect

    Wang, Huihui; Meng, Lin; Liu, Dagang; Liu, Laqun

    2013-12-15

    A particle-in-cell/Monte Carlo code is developed to rescale the microwave breakdown theory which is put forward by Vyskrebentsev and Raizer. The results of simulations show that there is a distinct error in this theory when the high energy tail of electron energy distribution function increases. A rescaling factor is proposed to modify this theory, and the change rule of the rescaling factor is presented.

  5. Direct numerical simulation of AC dielectrophoretic particle-particle interactive motions.

    PubMed

    Ai, Ye; Zeng, Zhenping; Qian, Shizhi

    2014-03-01

    Under an AC electric field, individual particles in close proximity induce spatially non-uniform electric field around each other, accordingly resulting in mutual dielectrophoretic (DEP) forces on these particles. The resulting attractive DEP particle-particle interaction could assemble individual colloidal particles or biological cells into regular patterns, which has become a promising bottom-up fabrication technique for bio-composite materials and microscopic functional structures. In this study, we developed a transient multiphysics model under the thin electric double layer (EDL) assumption, in which the fluid flow field, AC electric field and motion of finite-size particles are simultaneously solved using an Arbitrary Lagrangian-Eulerian (ALE) numerical approach. Numerical simulations show that negative DEP particle-particle interaction always tends to attract particles and form a chain parallel to the applied electric field. Particles usually accelerate at the first stage of the attractive motion due to an increase in the DEP interactive force, however, decelerate until stationary at the second stage due to a faster increase in the repulsive hydrodynamic force. Identical particles move at the same speed during the interactive motion. In contrast, smaller particles move faster than bigger particles during the attractive motion. The developed model explains the basic mechanism of AC DEP-based particle assembly technique and provides a versatile tool to design microfluidic devices for AC DEP-based particle or cell manipulation. PMID:24407661

  6. Atomistic Simulation of Sea Spray Particles

    NASA Astrophysics Data System (ADS)

    Gokturk, H.

    2012-12-01

    Particles generated by ocean wave spray play an important role in many atmospheric processes such as cloud condensation, cycling of elements like chlorine, and scattering of sunlight reaching the ocean surface [1-2]. Indeed, artificially spraying droplets of seawater to the atmosphere by marine vessels roaming the ocean has been suggested as a geoengineering method to combat global warming [3]. One of the interesting aspects of ocean spray particles is that they include dissolved salt ions. Typically a liter of seawater contains about 3.5 g of salt which is mostly sodium chloride. Hydrated salt ions of the particle create a molecular structure which is different from that of pure water. An objective of this research is to investigate the influence of the dissolved ions on the properties of the particles by using first principle quantum mechanical calculations. Another objective is to probe the interaction of carbon dioxide (CO2) with such particles to understand whether the ions might enhance the absorption of atmospheric CO2 into the particles. Atomic models used in the calculations consist of a salt ion, for example sodium (Na+) ion surrounded by water molecules. Calculations are performed by using the DFT method with B3LYP hybrid functional and Pople type basis sets augmented with polarization and diffuse functions. Results of the calculations indicate that average binding energy of water molecules nearest to the ion is 0.7 eV per molecule for Na+ and 0.5 eV per molecule for Cl-. Water molecules are bound to the ion with significantly greater energy than that of the hydrogen bond (~0.2 eV) which is the binding mechanism of pure water. Higher binding energy of the particles explains why they serve well as condensation nuclei. As expected, binding energy decreases with increasing distance from the ion. It becomes comparable to that of the hydrogen bond at a distance of about 2 nm which corresponds to approximately 7 layers of water molecules surrounding the ion

  7. ESC-EEC-EPC code system for plasma core and edge equilibrium and particle orbits

    NASA Astrophysics Data System (ADS)

    Li, Xujing

    2013-10-01

    A new Edge Equilibrium Code (EEC), which is a new solver of the Grad-Shafranov equation complementing the existing ESC code (based on Fourier representation) is presented. EEC, being developed specifically for the near edge region with an arbitrary shape of the plasma boundary, uses adaptive flux coordinates with Hermite finite element representation. A special routine for fast solving the sparse matrix equations was created for EEC. The edge solution of EEC is matched with the core solution from ESC through a virtual boundary and the two codes communicate as two parallel processes. This approach addresses the future needs in enhancing functionality of EEC without conflicting with the interface of both codes. The code was complemented by Edge Particle Code (EPC) for massive calculation of collisional particle orbits using GPU. The resulting ESC-EEC-EPC code system acquired unmatched ability (a) in fast free and fixed boundary equilibrium calculations for arbitrary plasma shapes, (b) in using both r - z and different flux coordinates, (c) in choosing different combinations of input profiles, (d) in performing equilibrium reconstruction together with variances analysis, and (e) in assessing the diagnostics used for equilibrium reconstruction. Chinese National Magnetic Confinement Fusion Science Program 2011GB105003, US DOE SBIR grant # 94307S10-II.

  8. Field ionization model implemented in Particle In Cell code and applied to laser-accelerated carbon ions

    SciTech Connect

    Nuter, R.; Gremillet, L.; Lefebvre, E.; Levy, A.; Ceccotti, T.; Martin, P.

    2011-03-15

    A novel numerical modeling of field ionization in PIC (Particle In Cell) codes is presented. Based on the quasistatic approximation of the ADK (Ammosov Delone Krainov) theory and implemented through a Monte Carlo scheme, this model allows for multiple ionization processes. Two-dimensional PIC simulations are performed to analyze the cut-off energies of the laser-accelerated carbon ions measured on the UHI 10 Saclay facility. The influence of the target and the hydrocarbon pollutant composition on laser-accelerated carbon ion energies is demonstrated.

  9. 3D and r,z particle simulations of heavy ion fusion beams

    NASA Astrophysics Data System (ADS)

    Friedman, A.; Grote, D. P.; Callahan, D. A.; Langdon, A. B.; Haber, I.

    1992-08-01

    The space-charge-dominated beams in a heavy ion beam driven inertial fusion (HIF) accelerator must be focused onto small (few mm) spots at the fusion target, and so preservation of a small emittance is crucial. The nonlinear beam self-fields can lead to emittance growth; thus, a self-consistent field description is necessary. We have developed a multi-dimensional time-dependent discrete particle simulation code, WARP, and are using it to study the behavior of HIF beams. The code's 3d package combines features of an accelerator code and a particle-in-cell (PIC) plasma simulation. Novel techniques allow it to follow beams through many accelerator elements over long distances and around bends. We have used the code to understand the emittance growth observed in the MBE4 experiment at Lawrence Berkeley Laboratory (LBL) under conditions of aggressive drift-compression. We are currently applying it to LBL's planned ILSE experiments, and (most recently) to an ESQ injector option being evaluated for ILSE. The code's r, z package is being used to study the axial confinement afforded by the shaped ends of the accelerating pulses, and to study longitudinal instability induced by induction module impedance.

  10. Simulations of Nonaxisymmetric Instability in a Rotating Star: A Comparison between Eulerian and Smooth Particle Hydrodynamics

    NASA Astrophysics Data System (ADS)

    Smith, Scott C.; Houser, Janet L.; Centrella, Joan M.

    1996-02-01

    We have carried out three-dimensional numerical simulations of the dynamical bar instability in a rotating star and the resulting gravitational radiation using both an Eulerian code written in cylindrical coordinates and a smooth particle hydrodynamics (SPH) code. The star is modeled initially as a polytrope with index n = 3/2 and Trot|W| ≍ 0.30, where Trot is the rotational kinetic energy and |W| is the gravitational potential energy. In both codes the gravitational field is purely Newtonian, and the gravitational radiation is calculated in the quadrupole approximation. We have run three simulations with the Eulerian code, varying the number of angular zones and the treatment of the boundary between the star and the vacuum. Using the SPH code we did seven runs, varying the number of particles, the artificial viscosity, and the type of initial model. We compare the growth rate and rotation speed of the bar, the mass, and angular momentum distributions, and the gravitational radiation quantities. We highlight the successes and difficulties of both methods and make suggestions for future improvements.

  11. 24.77 Pflops on a Gravitational Tree-Code to Simulate the Milky Way Galaxy with 18600 GPUs

    NASA Astrophysics Data System (ADS)

    Bédorf, Jeroen; Gaburov, Evghenii; Fujii, Michiko S.; Nitadori, Keigo; Ishiyama, Tomoaki; Portegies Zwart, Simon

    2014-11-01

    We have simulated, for the first time, the long term evolution of the Milky Way Galaxy using 51 billion particles on the Swiss Piz Daint supercomputer with our N-body gravitational tree-code Bonsai. Herein, we describe the scientific motivation and numerical algorithms. The Milky Way model was simulated for 6 billion years, during which the bar structure and spiral arms were fully formed. This improves upon previous simulations by using 1000 times more particles, and provides a wealth of new data that can be directly compared with observations. We also report the scalability on both the Swiss Piz Daint and the US ORNL Titan. On Piz Daint the parallel efficiency of Bonsai was above 95%. The highest performance was achieved with a 242 billion particle Milky Way model using 18600 GPUs on Titan, thereby reaching a sustained GPU and application performance of 33.49 Pflops and 24.77 Pflops respectively.

  12. Verification of particle-in-cell simulations against exact solutions of kinetic equations

    NASA Astrophysics Data System (ADS)

    Turner, Miles

    2015-09-01

    Demonstrating correctness of computer simulations (or verification) has become a matter of increasing concern in recent years. The strongest type of verification is a demonstration that the simulation converges to an exact solution of the mathematical model that is supposed to be solved. Of course, this is possible only if such an exact solution is available. In this paper, we are interested in kinetic simulation using the particle-in-cell method, and consequently a relevant exact solution must be a solution of a kinetic equation. While we know of no such solutions that exercise all the features of a typical particle-in-cell simulation, in this paper we show that the mathematical literature contains several such solutions that involve a large fraction of the functionality of such a code, and which collectively exercise essentially all of the code functionality. These solutions include the plane diode, the neutron criticality problem, and the calculation of ion energy distribution functions in oscillating fields. In each of theses cases, we can show the the particle-in-cell simulation converges to the exact solution in the expected way. These demonstrations are strong evidence of correct implementation. Work supported by Science Foundation Ireland under grant 08/SRC/I1411.

  13. Towards a high performance geometry library for particle-detector simulations

    NASA Astrophysics Data System (ADS)

    Apostolakis, J.; Bandieramonte, M.; Bitzes, G.; Brun, R.; Canal, P.; Carminati, F.; Cosmo, G.; De Fine Licht, J. C.; Duhem, L.; Elvira, V. D.; Gheata, A.; Jun, S. Y.; Lima, G.; Nikitina, T.; Novak, M.; Sehgal, R.; Shadura, O.; Wenzel, S.

    2015-05-01

    Thread-parallelisation and single-instruction multiple data (SIMD) ”vectorisation” of software components in HEP computing has become a necessity to fully benefit from current and future computing hardware. In this context, the Geant-Vector/GPU simulation project aims to re-engineer current software for the simulation of the passage of particles through detectors in order to increase the overall event throughput. As one of the core modules in this area, the geometry library plays a central role and vectorising its algorithms will be one of the cornerstones towards achieving good CPU performance. Here, we report on the progress made in vectorising the shape primitives, as well as in applying new C++ template based optimisations of existing code available in the Geant4, ROOT or USolids geometry libraries. We will focus on a presentation of our software development approach that aims to provide optimised code for all use cases of the library (e.g., single particle and many-particle APIs) and to support different architectures (CPU and GPU) while keeping the code base small, manageable and maintainable. We report on a generic and templated C++ geometry library as a continuation of the AIDA USolids project. The experience gained with these developments will be beneficial to other parts of the simulation software, such as for the optimisation of the physics library, and possibly to other parts of the experiment software stack, such as reconstruction and analysis.

  14. Particle dynamics simulations of Turing patterns

    NASA Astrophysics Data System (ADS)

    Dziekan, P.; Lemarchand, A.; Nowakowski, B.

    2012-08-01

    The direct simulation Monte Carlo method is used to reproduce Turing patterns at the microscopic level in reaction-diffusion systems. In order to satisfy the basic condition for the development of such a spatial structure, we propose a model involving a solvent, which allows for disparate diffusivities of individual reactive species. One-dimensional structures are simulated in systems of various lengths. Simulation results agree with the macroscopic predictions obtained by integration of the reaction-diffusion equations. Additional effects due to internal fluctuations are observed, such as temporal transitions between structures of different wavelengths in a confined system. For a structure developing behind a propagating wave front, the fluctuations suppress the induction period and accelerate the formation of the Turing pattern. These results support the ability of reaction-diffusion models to robustly reproduce axial segmentation including the formation of early vertebrae or somites in noisy biological environments.

  15. Simulations of particle structuring driven by electric fields

    NASA Astrophysics Data System (ADS)

    Hu, Yi; Vlahovska, Petia; Miksis, Michael

    2015-11-01

    Recent experiments (Ouriemi and Vlahovska, 2014) show intriguing surface patterns when a uniform electric field is applied to a droplet covered with colloidal particles. Depending on the particle properties and the electric field intensity, particles organize into an equatorial belt, pole-to-pole chains, or dynamic vortices. Here we present 3D simulations of the collective particle dynamics, which account for electrohydrodynamic flow and dielectrophoresis of particles. In stronger electric fields, particles are expected to undergo Quincke rotation and impose disturbance to the ambient flow. Transition from ribbon-shaped belt to rotating clusters is observed in the presence of the rotation-induced hydrodynamical interactions. Our results provide insight into the various particle assembles discovered in the experiments.

  16. Launch Environment Water Flow Simulations Using Smoothed Particle Hydrodynamics

    NASA Technical Reports Server (NTRS)

    Vu, Bruce T.; Berg, Jared J.; Harris, Michael F.; Crespo, Alejandro C.

    2015-01-01

    This paper describes the use of Smoothed Particle Hydrodynamics (SPH) to simulate the water flow from the rainbird nozzle system used in the sound suppression system during pad abort and nominal launch. The simulations help determine if water from rainbird nozzles will impinge on the rocket nozzles and other sensitive ground support elements.

  17. Simulation of Turbulent Combustion Fields of Shock-Dispersed Aluminum Using the AMR Code

    SciTech Connect

    Kuhl, A L; Bell, J B; Beckner, V E; Khasainov, B

    2006-11-02

    We present a Model for simulating experiments of combustion in Shock-Dispersed-Fuel (SDF) explosions. The SDF charge consisted of a 0.5-g spherical PETN booster, surrounded by 1-g of fuel powder (flake Aluminum). Detonation of the booster charge creates a high-temperature, high-pressure source (PETN detonation products gases) that both disperses the fuel and heats it. Combustion ensues when the fuel mixes with air. The gas phase is governed by the gas-dynamic conservation laws, while the particle phase obeys the continuum mechanics laws for heterogeneous media. The two phases exchange mass, momentum and energy according to inter-phase interaction terms. The kinetics model used an empirical particle burn relation. The thermodynamic model considers the air, fuel and booster products to be of frozen composition, while the Al combustion products are assumed to be in equilibrium. The thermodynamic states were calculated by the Cheetah code; resulting state points were fit with analytic functions suitable for numerical simulations. Numerical simulations of combustion of an Aluminum SDF charge in a 6.4-liter chamber were performed. Computed pressure histories agree with measurements.

  18. Icarus: A 2-D Direct Simulation Monte Carlo (DSMC) Code for Multi-Processor Computers

    SciTech Connect

    BARTEL, TIMOTHY J.; PLIMPTON, STEVEN J.; GALLIS, MICHAIL A.

    2001-10-01

    Icarus is a 2D Direct Simulation Monte Carlo (DSMC) code which has been optimized for the parallel computing environment. The code is based on the DSMC method of Bird[11.1] and models from free-molecular to continuum flowfields in either cartesian (x, y) or axisymmetric (z, r) coordinates. Computational particles, representing a given number of molecules or atoms, are tracked as they have collisions with other particles or surfaces. Multiple species, internal energy modes (rotation and vibration), chemistry, and ion transport are modeled. A new trace species methodology for collisions and chemistry is used to obtain statistics for small species concentrations. Gas phase chemistry is modeled using steric factors derived from Arrhenius reaction rates or in a manner similar to continuum modeling. Surface chemistry is modeled with surface reaction probabilities; an optional site density, energy dependent, coverage model is included. Electrons are modeled by either a local charge neutrality assumption or as discrete simulational particles. Ion chemistry is modeled with electron impact chemistry rates and charge exchange reactions. Coulomb collision cross-sections are used instead of Variable Hard Sphere values for ion-ion interactions. The electro-static fields can either be: externally input, a Langmuir-Tonks model or from a Green's Function (Boundary Element) based Poison Solver. Icarus has been used for subsonic to hypersonic, chemically reacting, and plasma flows. The Icarus software package includes the grid generation, parallel processor decomposition, post-processing, and restart software. The commercial graphics package, Tecplot, is used for graphics display. All of the software packages are written in standard Fortran.

  19. Nonlinear d--ta-f Simulation Studies of Intense Charged Particle Beams with Large Temperature Anisotropy

    SciTech Connect

    Edward A. Startsev; Ronald C. Davidson; Hong Qin

    2002-05-07

    In this paper, a 3-D nonlinear perturbative particle simulation code (BEST) [H. Qin, R.C. Davidson and W.W. Lee, Physical Review Special Topics on Accelerators and Beams 3 (2000) 084401] is used to systematically study the stability properties of intense nonneutral charged particle beams with large temperature anisotropy (T{sub {perpendicular}b} >> T{sub {parallel}b}). The most unstable modes are identified, and their eigen frequencies, radial mode structure, and nonlinear dynamics are determined for axisymmetric perturbations with {partial_derivative}/{partial_derivative}{theta} = 0.

  20. Simulation studies of crystal-photodetector assemblies for the Turkish accelerator center particle factory electromagnetic calorimeter

    NASA Astrophysics Data System (ADS)

    Kocak, F.

    2015-07-01

    The Turkish Accelerator Center Particle Factory detector will be constructed for the detection of the produced particles from the collision of a 1 GeV electron beam against a 3.6 GeV positron beam. PbWO4 and CsI(Tl) crystals are considered for the construction of the electromagnetic calorimeter part of the detector. The generated optical photons in these crystals are detected by avalanche or PIN photodiodes. Geant4 simulation code has been used to estimate the energy resolution of the calorimeter for these crystal-photodiode assemblies.

  1. TWANG-PIC, a novel gyro-averaged one-dimensional particle-in-cell code for interpretation of gyrotron experiments

    SciTech Connect

    Braunmueller, F. Tran, T. M.; Alberti, S.; Genoud, J.; Hogge, J.-Ph.; Tran, M. Q.; Vuillemin, Q.

    2015-06-15

    A new gyrotron simulation code for simulating the beam-wave interaction using a monomode time-dependent self-consistent model is presented. The new code TWANG-PIC is derived from the trajectory-based code TWANG by describing the electron motion in a gyro-averaged one-dimensional Particle-In-Cell (PIC) approach. In comparison to common PIC-codes, it is distinguished by its computation speed, which makes its use in parameter scans and in experiment interpretation possible. A benchmark of the new code is presented as well as a comparative study between the two codes. This study shows that the inclusion of a time-dependence in the electron equations, as it is the case in the PIC-approach, is mandatory for simulating any kind of non-stationary oscillations in gyrotrons. Finally, the new code is compared with experimental results and some implications of the violated model assumptions in the TWANG code are disclosed for a gyrotron experiment in which non-stationary regimes have been observed and for a critical case that is of interest in high power gyrotron development.

  2. SEREN - a new SPH code for star and planet formation simulations. Algorithms and tests

    NASA Astrophysics Data System (ADS)

    Hubber, D. A.; Batty, C. P.; McLeod, A.; Whitworth, A. P.

    2011-05-01

    We present SEREN, a new hybrid Smoothed Particle Hydrodynamics and N-body code designed to simulate astrophysical processes such as star and planet formation. It is written in Fortran 95/2003 and has been parallelised using OpenMP. SEREN is designed in a flexible, modular style, thereby allowing a large number of options to be selected or disabled easily and without compromising performance. SEREN uses the conservative "grad-h" formulation of SPH, but can easily be configured to use traditional SPH or Godunov SPH. Thermal physics is treated either with a barotropic equation of state, or by solving the energy equation and modelling the transport of cooling radiation. A Barnes-Hut tree is used to obtain neighbour lists and compute gravitational accelerations efficiently, and an hierarchical time-stepping scheme is used to reduce the number of computations per timestep. Dense gravitationally bound objects are replaced by sink particles, to allow the simulation to be evolved longer, and to facilitate the identification of protostars and the compilation of stellar and binary properties. At the termination of a hydrodynamical simulation, SEREN has the option of switching to a pure N-body simulation, using a 4th-order Hermite integrator, and following the ballistic evolution of the sink particles (e.g. to determine the final binary statistics once a star cluster has relaxed). We describe in detail all the algorithms implemented in SEREN and we present the results of a suite of tests designed to demonstrate the fidelity of SEREN and its performance and scalability. Further information and additional tests of SEREN can be found at the web-page http://www.astro.group.shef.ac.uk/seren.

  3. MMAPDNG: A new, fast code backed by a memory-mapped database for simulating delayed γ-ray emission with MCNPX package

    NASA Astrophysics Data System (ADS)

    Lou, Tak Pui; Ludewigt, Bernhard

    2015-09-01

    The simulation of the emission of beta-delayed gamma rays following nuclear fission and the calculation of time-dependent energy spectra is a computational challenge. The widely used radiation transport code MCNPX includes a delayed gamma-ray routine that is inefficient and not suitable for simulating complex problems. This paper describes the code "MMAPDNG" (Memory-Mapped Delayed Neutron and Gamma), an optimized delayed gamma module written in C, discusses usage and merits of the code, and presents results. The approach is based on storing required Fission Product Yield (FPY) data, decay data, and delayed particle data in a memory-mapped file. When compared to the original delayed gamma-ray code in MCNPX, memory utilization is reduced by two orders of magnitude and the ray sampling is sped up by three orders of magnitude. Other delayed particles such as neutrons and electrons can be implemented in future versions of MMAPDNG code using its existing framework.

  4. Gyrokinetic Particle Simulation of Turbulent Transport in Burning Plasmas (GPS - TTBP) Final Report

    SciTech Connect

    Chame, Jacqueline

    2011-05-27

    The goal of this project is the development of the Gyrokinetic Toroidal Code (GTC) Framework and its applications to problems related to the physics of turbulence and turbulent transport in tokamaks,. The project involves physics studies, code development, noise effect mitigation, supporting computer science efforts, diagnostics and advanced visualizations, verification and validation. Its main scientific themes are mesoscale dynamics and non-locality effects on transport, the physics of secondary structures such as zonal flows, and strongly coherent wave-particle interaction phenomena at magnetic precession resonances. Special emphasis is placed on the implications of these themes for rho-star and current scalings and for the turbulent transport of momentum. GTC-TTBP also explores applications to electron thermal transport, particle transport; ITB formation and cross-cuts such as edge-core coupling, interaction of energetic particles with turbulence and neoclassical tearing mode trigger dynamics. Code development focuses on major initiatives in the development of full-f formulations and the capacity to simulate flux-driven transport. In addition to the full-f -formulation, the project includes the development of numerical collision models and methods for coarse graining in phase space. Verification is pursued by linear stability study comparisons with the FULL and HD7 codes and by benchmarking with the GKV, GYSELA and other gyrokinetic simulation codes. Validation of gyrokinetic models of ion and electron thermal transport is pursed by systematic stressing comparisons with fluctuation and transport data from the DIII-D and NSTX tokamaks. The physics and code development research programs are supported by complementary efforts in computer sciences, high performance computing, and data management.

  5. IBSIMU: a three-dimensional simulation software for charged particle optics.

    PubMed

    Kalvas, T; Tarvainen, O; Ropponen, T; Steczkiewicz, O; Arje, J; Clark, H

    2010-02-01

    A general-purpose three-dimensional (3D) simulation code IBSIMU for charged particle optics with space charge is under development at JYFL. The code was originally developed for designing a slit-beam plasma extraction and nanosecond scale chopping for pulsed neutron generator, but has been developed further and has been used for many applications. The code features a nonlinear FDM Poisson's equation solver based on fast stabilized biconjugate gradient method with ILU0 preconditioner for solving electrostatic fields. A generally accepted nonlinear plasma model is used for plasma extraction. Magnetic fields can be imported to the simulations from other programs. The particle trajectories are solved using adaptive Runge-Kutta method. Steady-state and time-dependent problems can be modeled in cylindrical coordinates, two-dimensional (slit) geometry, or full 3D. The code is used via C++ programming language for versatility but it features an interactive easy-to-use postprocessing tool for diagnosing fields and particle trajectories. The open source distribution and public documentation make the code well suited for scientific use. IBSIMU has been used for modeling the 14 GHz ECR ion source extraction and for designing a four-electrode extraction for a 2.45 GHz microwave ion source at Jyväskylä. A grid extraction has also been designed for producing large uniform beam for creating conditions similar to solar wind. The code has also been used to design a H(-) extraction with electron dumping for the Cyclotron Institute of Texas A&M University. PMID:20192443

  6. Dissipative Particle Dynamics Simulations at Extreme Scale: GPU Algorithms, Implementation and Applications

    NASA Astrophysics Data System (ADS)

    Tang, Yu-Hang; Karniadakis, George; Crunch Team

    2014-03-01

    We present a scalable dissipative particle dynamics simulation code, fully implemented on the Graphics Processing Units (GPUs) using a hybrid CUDA/MPI programming model, which achieves 10-30 times speedup on a single GPU over 16 CPU cores and almost linear weak scaling across a thousand nodes. A unified framework is developed within which the efficient generation of the neighbor list and maintaining particle data locality are addressed. Our algorithm generates strictly ordered neighbor lists in parallel, while the construction is deterministic and makes no use of atomic operations or sorting. Such neighbor list leads to optimal data loading efficiency when combined with a two-level particle reordering scheme. A faster in situ generation scheme for Gaussian random numbers is proposed using precomputed binary signatures. We designed custom transcendental functions that are fast and accurate for evaluating the pairwise interaction. Computer benchmarks demonstrate the speedup of our implementation over the CPU implementation as well as strong and weak scalability. A large-scale simulation of spontaneous vesicle formation consisting of 128 million particles was conducted to illustrate the practicality of our code in real-world applications. This work was supported by the new Department of Energy Collaboratory on Mathematics for Mesoscopic Modeling of Materials (CM4). Simulations were carried out at the Oak Ridge Leadership Computing Facility through the INCITE program under project BIP017.

  7. Air shower simulation for WASAVIES: warning system for aviation exposure to solar energetic particles.

    PubMed

    Sato, T; Kataoka, R; Yasuda, H; Yashiro, S; Kuwabara, T; Shiota, D; Kubo, Y

    2014-10-01

    WASAVIES, a warning system for aviation exposure to solar energetic particles (SEPs), is under development by collaboration between several institutes in Japan and the USA. It is designed to deterministically forecast the SEP fluxes incident on the atmosphere within 6 h after flare onset using the latest space weather research. To immediately estimate the aircrew doses from the obtained SEP fluxes, the response functions of the particle fluxes generated by the incidence of monoenergetic protons into the atmosphere were developed by performing air shower simulations using the Particle and Heavy Ion Transport code system. The accuracy of the simulation was well verified by calculating the increase count rates of a neutron monitor during a ground-level enhancement, combining the response function with the SEP fluxes measured by the PAMELA spectrometer. The response function will be implemented in WASAVIES and used to protect aircrews from additional SEP exposure. PMID:24344351

  8. Radioactive Sediment Transport on Ogaki Dam Reservoir in Fukushima Evacuated Zone: Numerical Simulation Studies by 2-D River Simulation Code

    NASA Astrophysics Data System (ADS)

    Yamada, Susumu; Kitamura, Akihiro; Kurikami, Hiroshi; Machida, Masahiko

    2015-04-01

    Fukushima Daiichi Nuclear Power Plant (FDNPP) accident on March 2011 released significant quantities of radionuclides to atmosphere. The most significant nuclide is radioactive cesium isotopes. Therefore, the movement of the cesium is one of the critical issues for the environmental assessment. Since the cesium is strongly sorbed by soil particles, the cesium transport can be regarded as the sediment transport which is mainly brought about by the aquatic system such as a river and a lake. In this research, our target is the sediment transport on Ogaki dam reservoir which is located in about 16 km northwest from FDNPP. The reservoir is one of the principal irrigation dam reservoirs in Fukushima Prefecture and its upstream river basin was heavily contaminated by radioactivity. We simulate the sediment transport on the reservoir using 2-D river simulation code named Nays2D originally developed by Shimizu et al. (The latest version of Nays2D is available as a code included in iRIC (http://i-ric.org/en/), which is a river flow and riverbed variation analysis software package). In general, a 2-D simulation code requires a huge amount of calculation time. Therefore, we parallelize the code and execute it on a parallel computer. We examine the relationship between the behavior of the sediment transport and the height of the reservoir exit. The simulation result shows that almost all the sand that enter into the reservoir deposit close to the entrance of the reservoir for any height of the exit. The amounts of silt depositing within the reservoir slightly increase by raising the height of the exit. However, that of the clay dramatically increases. Especially, more than half of the clay deposits, if the exit is sufficiently high. These results demonstrate that the water level of the reservoir has a strong influence on the amount of the clay discharged from the reservoir. As a result, we conclude that the tuning of the water level has a possibility for controlling the

  9. Simulating confined particles with a flat density profile.

    PubMed

    Korolkovas, Airidas

    2016-08-01

    Particle simulations confined by sharp walls usually develop an oscillatory density profile. For some applications, most notably soft matter liquids, this behavior is often unrealistic and one expects a monotonic density climb instead. To reconcile simulations with experiments, we propose mirror-and-shift boundary conditions where each interface is mapped to a distant part of itself. The main result is that the particle density increases almost monotonically from zero to bulk, over a short distance of about one particle diameter. The method is applied to simulate a polymer brush in explicit solvent, grafted on a flat silicon substrate. The simulated density profile agrees favorably with neutron reflectometry measurements and self-consistent field theory results. PMID:27627239

  10. Simulations of Energetic Particles Interacting with Dynamical Magnetic Turbulence

    NASA Astrophysics Data System (ADS)

    Hussein, M.; Shalchi, A.

    2016-02-01

    We explore the transport of energetic particles in interplanetary space by using test-particle simulations. In previous work such simulations have been performed by using either magnetostatic turbulence or undamped propagating plasma waves. In the current paper we simulate for the first time particle transport in dynamical turbulence. To do so we employ two models, namely the damping model of dynamical turbulence and the random sweeping model. We compute parallel and perpendicular diffusion coefficients and compare our numerical findings with solar wind observations. We show that good agreement can be found between simulations and the Palmer consensus range for both dynamical turbulence models if the ratio of turbulent magnetic field and mean field is δB/B0 = 0.5.

  11. Simulating confined particles with a flat density profile

    NASA Astrophysics Data System (ADS)

    Korolkovas, Airidas

    2016-08-01

    Particle simulations confined by sharp walls usually develop an oscillatory density profile. For some applications, most notably soft matter liquids, this behavior is often unrealistic and one expects a monotonic density climb instead. To reconcile simulations with experiments, we propose mirror-and-shift boundary conditions where each interface is mapped to a distant part of itself. The main result is that the particle density increases almost monotonically from zero to bulk, over a short distance of about one particle diameter. The method is applied to simulate a polymer brush in explicit solvent, grafted on a flat silicon substrate. The simulated density profile agrees favorably with neutron reflectometry measurements and self-consistent field theory results.

  12. Pressure calculation in hybrid particle-field simulations.

    PubMed

    Milano, Giuseppe; Kawakatsu, Toshihiro

    2010-12-01

    In the framework of a recently developed scheme for a hybrid particle-field simulation techniques where self-consistent field (SCF) theory and particle models (molecular dynamics) are combined [J. Chem. Phys. 130, 214106 (2009)], we developed a general formulation for the calculation of instantaneous pressure and stress tensor. The expressions have been derived from statistical mechanical definition of the pressure starting from the expression for the free energy functional in the SCF theory. An implementation of the derived formulation suitable for hybrid particle-field molecular dynamics-self-consistent field simulations is described. A series of test simulations on model systems are reported comparing the calculated pressure with those obtained from standard molecular dynamics simulations based on pair potentials. PMID:21142296

  13. Accelerating particle-in-cell simulations using multilevel Monte Carlo

    NASA Astrophysics Data System (ADS)

    Ricketson, Lee

    2015-11-01

    Particle-in-cell (PIC) simulations have been an important tool in understanding plasmas since the dawn of the digital computer. Much more recently, the multilevel Monte Carlo (MLMC) method has accelerated particle-based simulations of a variety of systems described by stochastic differential equations (SDEs), from financial portfolios to porous media flow. The fundamental idea of MLMC is to perform correlated particle simulations using a hierarchy of different time steps, and to use these correlations for variance reduction on the fine-step result. This framework is directly applicable to the Langevin formulation of Coulomb collisions, as demonstrated in previous work, but in order to apply to PIC simulations of realistic scenarios, MLMC must be generalized to incorporate self-consistent evolution of the electromagnetic fields. We present such a generalization, with rigorous results concerning its accuracy and efficiency. We present examples of the method in the collisionless, electrostatic context, and discuss applications and extensions for the future.

  14. Development of a CFD code for casting simulation

    NASA Technical Reports Server (NTRS)

    Murph, Jesse E.

    1992-01-01

    The task of developing a computational fluid dynamics (CFD) code to accurately model the mold filling phase of a casting operation was accomplished in a systematic manner. First the state-of-the-art was determined through a literature search, a code search, and participation with casting industry personnel involved in consortium startups. From this material and inputs from industry personnel, an evaluation of the currently available codes was made. It was determined that a few of the codes already contained sophisticated CFD algorithms and further validation of one of these codes could preclude the development of a new CFD code for this purpose. With industry concurrence, ProCAST was chosen for further evaluation. Two benchmark cases were used to evaluate the code's performance using a Silicon Graphics Personal Iris system. The results of these limited evaluations (because of machine and time constraints) are presented along with discussions of possible improvements and recommendations for further evaluation.

  15. DSC -- Disruption Simulation Code for Tokamaks and ITER applications

    NASA Astrophysics Data System (ADS)

    Galkin, S. A.; Grubert, J. E.; Zakharov, L. E.

    2010-11-01

    Arguably the most important issue facing the further development of magnetic fusion via advanced tokamaks is to predict, avoid, or mitigate disruptions. This recently became the hottest challenging topic in fusion research because of several potentially damaging effects, which could impact the ITER device. To address this issue, two versions of a new 3D adaptive Disruption Simulation Code (DSC) will be developed. The first version will solve the ideal reduced 3D MHD model in the real geometry with a thin conducting wall structure, utilizing the adaptive meshless technique. The second version will solve the resistive reduced 3D MHD model in the real geometry of the conducting structure of the tokamak vessel and will finally be parallelized. The DSC will be calibrated against the JET disruption data and will be capable of predicting the disruption effects in ITER, as well as contributing to the development of the disruption mitigation scheme and suppression of the RE generation. The progress on the first version of the 3D DSC development will be presented.

  16. Self-consistent Monte Carlo simulations of proton acceleration in coronal shocks: Effect of anisotropic pitch-angle scattering of particles

    NASA Astrophysics Data System (ADS)

    Afanasiev, A.; Battarbee, M.; Vainio, R.

    2015-12-01

    Context. Solar energetic particles observed in association with coronal mass ejections (CMEs) are produced by the CME-driven shock waves. The acceleration of particles is considered to be due to diffusive shock acceleration (DSA). Aims: We aim at a better understanding of DSA in the case of quasi-parallel shocks, in which self-generated turbulence in the shock vicinity plays a key role. Methods: We have developed and applied a new Monte Carlo simulation code for acceleration of protons in parallel coronal shocks. The code performs a self-consistent calculation of resonant interactions of particles with Alfvén waves based on the quasi-linear theory. In contrast to the existing Monte Carlo codes of DSA, the new code features the full quasi-linear resonance condition of particle pitch-angle scattering. This allows us to take anisotropy of particle pitch-angle scattering into account, while the older codes implement an approximate resonance condition leading to isotropic scattering. We performed simulations with the new code and with an old code, applying the same initial and boundary conditions, and have compared the results provided by both codes with each other, and with the predictions of the steady-state theory. Results: We have found that anisotropic pitch-angle scattering leads to less efficient acceleration of particles than isotropic. However, extrapolations to particle injection rates higher than those we were able to use suggest the capability of DSA to produce relativistic particles. The particle and wave distributions in the foreshock as well as their time evolution, provided by our new simulation code, are significantly different from the previous results and from the steady-state theory. Specifically, the mean free path in the simulations with the new code is increasing with energy, in contrast to the theoretical result.

  17. NIMROD Code Simulation of Plasma Exhaust Expansion in the VASIMR Magnetic Nozzle

    NASA Astrophysics Data System (ADS)

    Tarditi, Alfonso G.

    2001-10-01

    The Variable Specific Impulse Magnetoplasma Rocket (VASIMR, [1]) engine is an advanced propulsion concept that uses radio frequency waves to accelerate a propellant (typically a Hydrogen or Helium plasma) at much higher speeds than can be reached by any conventional chemical rocket. The high exhaust speed results in a very efficient spacecraft design, as much less propellant mass is required to achieve the same acceleration of a vehicle in space. An experimental VASIMR prototype is currently under development at the Advanced Space Propulsion Laboratory, NASA Johnson Space Center. A magnetic nozzle is used to convert the thermal plasma energy into thrust along the longitudinal direction. A 3D, two-fluid simulation has been developed with the NIMROD code [2,3] to study the details of this process and the properties of the plasma detachment from the nozzle. The code has been customized with the introduction of a plasma source term and open-end boundary conditions for a cylindrical geometry. In the simulation, a source injects plasma in the nozzle-shaped external magnetic field. The initial plasma pulse expands in the vacuum region following the field lines and eventually evolves into a steady state profile where the plasma flow that crosses the open-end boundaries is balanced by the flow injected at the source. The NIMROD runs have been benchmarked with 2D simulations with a particle trajectory code. Initial comparisons with experimental probe measurements are also presented. The results of these test runs are being used to optimize the design parameters of the engine plasma acceleration section and of the magnetic nozzle field profile. [1] F. R. Chang-Diaz, Scientific American, p. 90, Nov. 2000. [2] A. H. Glasser, et al., Plasma Phys. Control. Fusion, 41, A74 (1999). [3] C. R. Sovinec, Int. Sherwood Fusion Theory Conf., Los Angeles, CA (USA), March 2000

  18. Implicit Particle-in-Cell simulations of wave-particle interactions between electrons and whistler waves in the radiation belt

    NASA Astrophysics Data System (ADS)

    Camporeale, Enrico

    2014-05-01

    Whistler wave chorus are believed to play a crucial role in the radiation belt dynamics, possibly being responsible for the loss and acceleration of energetic electrons. For this reason, the mechanisms related to the formation and propagation of whistlers in the radiation belt have been intensively investigated during the last decade. It is now generally acknowledged, via observational and simulation studies, that the whistler waves generated close to the magnetic equator through linear temperature anisotropy instabilities undergo an amplitude amplification that is essentially regulated by nonlinear mechanisms. In this work we focus on the wave-particle interaction between electrons and whistler chorus by employing two-dimensional fully-kinetic Particle-in-Cell simulations. The magnetic field is assumed to form a magnetic bottle that captures the particle bouncing motions and mimics the Earth's magnetic dipole. The code employs a semi-implicit time stepping algorithm that, in this context, is shown to be important in order to achieve accurate results with realistic parameters. We analyze and discuss the pitch-angle/energy scattering of energetic particles and comment on the applicability of the quasi-linear diffusion paradigm.

  19. Particle entry into the inner magnetosphere during duskward IMF By: Global three-dimensional electromagnetic full particle simulations

    NASA Astrophysics Data System (ADS)

    Cai, D.; Yan, X. Y.; Nishikawa, K.-I.; Lembege, B.

    2006-06-01

    The change of the interplanetary magnetic field (IMF) direction from northward to duskward has an important impact on the inner magnetosphere. This impact is analyzed with the help of a new parallel version of the global three-dimensional full particle simulation code. For northward IMF, bands of weak magnetic field (sash) form poleward of the cusp at high latitudes in each hemisphere. These sashes move to the equator (within opposite quadrants) as the IMF rotates duskward and merge into one another to form the characteristic ``Crosstail-S'' within the neutral sheet of the magnetotail. These macroscopic magnetic patterns (sashes and Crosstail-S) evidenced herein are in a good agreement with results of previous 3D MHD simulations and experimental observations. Moreover, the analysis of particle fluxes shows that ``sashes'' and ``Crosstail-S'' act as magnetic groove to facilitate the entry and injection of magnetosheath particles into the inner magnetosphere. Injected particles are accelerated after the IMF changes its direction from northward to duskward.

  20. PIC/MCC simulation of capacitively coupled discharges: Effect of particle management and integration

    NASA Astrophysics Data System (ADS)

    Sun, Anbang; Becker, Markus M.; Loffhagen, Detlef

    2016-09-01

    A PIC/MCC simulation model for the analysis of low-temperature discharge plasmas is represented which takes the common leapfrog and the velocity Verlet algorithm for the particle integration, adaptive particle management as well as parallel computing using MPI into account. Main features of the model including the impact of super particle numbers, adaptive particle management and the time step size for the different integration methods are represented. The investigations are performed for low-pressure capacitively coupled radio frequency discharges in helium and argon. Besides a code verification by comparison with benchmark simulation results in helium it is shown that an adaptive particle management is particularly suitable for the simulation of discharges at elevated pressures where boundary effects and processes in the sheath regions are important. Furthermore, it is pointed out that the velocity Verlet integration scheme allows to speed up the PIC/MCC simulations compared to the leapfrog method because it makes the use of larger time steps at the same accuracy possible.

  1. DNA strand breaks induced by electrons simulated with Nanodosimetry Monte Carlo Simulation Code: NASIC.

    PubMed

    Li, Junli; Li, Chunyan; Qiu, Rui; Yan, Congchong; Xie, Wenzhang; Wu, Zhen; Zeng, Zhi; Tung, Chuanjong

    2015-09-01

    The method of Monte Carlo simulation is a powerful tool to investigate the details of radiation biological damage at the molecular level. In this paper, a Monte Carlo code called NASIC (Nanodosimetry Monte Carlo Simulation Code) was developed. It includes physical module, pre-chemical module, chemical module, geometric module and DNA damage module. The physical module can simulate physical tracks of low-energy electrons in the liquid water event-by-event. More than one set of inelastic cross sections were calculated by applying the dielectric function method of Emfietzoglou's optical-data treatments, with different optical data sets and dispersion models. In the pre-chemical module, the ionised and excited water molecules undergo dissociation processes. In the chemical module, the produced radiolytic chemical species diffuse and react. In the geometric module, an atomic model of 46 chromatin fibres in a spherical nucleus of human lymphocyte was established. In the DNA damage module, the direct damages induced by the energy depositions of the electrons and the indirect damages induced by the radiolytic chemical species were calculated. The parameters should be adjusted to make the simulation results be agreed with the experimental results. In this paper, the influence study of the inelastic cross sections and vibrational excitation reaction on the parameters and the DNA strand break yields were studied. Further work of NASIC is underway. PMID:25883312

  2. Numerical simulation of X-ray fluorescence production using MCNPX code

    NASA Astrophysics Data System (ADS)

    Kim, Kyeong Ja; Park, Junghun Park

    Numerical simulation for the production of X-ray fluorescence by an active X-ray spectrometer was accomplished by MCNPX (Monte Carlo N-particle eXtended) Code. Purpose of this study is to cross check between the simulation result and the actual measurement to validate the numerical simulation for prospective usage for various possible cases of measurements which are not easily accessible in a laboratory environment. This study was initiated as a conjunction of Phase A study for the SELENE-2 science payload proposed in 2011. The active X-ray Spectrometer includes an X-ray spectrometer and a pyroelectric crystal-used X-ray generator. For Phase A study, we used both XRS and XRG available from the commercial company, Amptek Inc. Numerical simulation is important to optimize both instrument design and geometry of measurement to perform the best measurement output of an experiment planned. The main purpose of this study is to understand the production of X-ray fluorescence by an active X-ray spectrometer which could be onboard for future planetary spacecraft. For the numerical simulation, we used the lunar simulant FSJ-1 composition, and the input parameters for X-ray flux and energy distribution were accessed from the information of the X-ray generator, Cool-X. The parameters for geometry setting were defined as the experimental setting used for the actual measurement. It was found that the spectrum of numerical simulation is compared well with the actual measurement at the laboratory setting with respect to the number of elements, peak counts, and energy spectrum. To find optimal distance and geometry settings toward the production of X-ray fluorescence, multiple simulations at various geometry settings are currently under investigation.

  3. ANNarchy: a code generation approach to neural simulations on parallel hardware

    PubMed Central

    Vitay, Julien; Dinkelbach, Helge Ü.; Hamker, Fred H.

    2015-01-01

    Many modern neural simulators focus on the simulation of networks of spiking neurons on parallel hardware. Another important framework in computational neuroscience, rate-coded neural networks, is mostly difficult or impossible to implement using these simulators. We present here the ANNarchy (Artificial Neural Networks architect) neural simulator, which allows to easily define and simulate rate-coded and spiking networks, as well as combinations of both. The interface in Python has been designed to be close to the PyNN interface, while the definition of neuron and synapse models can be specified using an equation-oriented mathematical description similar to the Brian neural simulator. This information is used to generate C++ code that will efficiently perform the simulation on the chosen parallel hardware (multi-core system or graphical processing unit). Several numerical methods are available to transform ordinary differential equations into an efficient C++code. We compare the parallel performance of the simulator to existing solutions. PMID:26283957

  4. ANNarchy: a code generation approach to neural simulations on parallel hardware.

    PubMed

    Vitay, Julien; Dinkelbach, Helge Ü; Hamker, Fred H

    2015-01-01

    Many modern neural simulators focus on the simulation of networks of spiking neurons on parallel hardware. Another important framework in computational neuroscience, rate-coded neural networks, is mostly difficult or impossible to implement using these simulators. We present here the ANNarchy (Artificial Neural Networks architect) neural simulator, which allows to easily define and simulate rate-coded and spiking networks, as well as combinations of both. The interface in Python has been designed to be close to the PyNN interface, while the definition of neuron and synapse models can be specified using an equation-oriented mathematical description similar to the Brian neural simulator. This information is used to generate C++ code that will efficiently perform the simulation on the chosen parallel hardware (multi-core system or graphical processing unit). Several numerical methods are available to transform ordinary differential equations into an efficient C++code. We compare the parallel performance of the simulator to existing solutions. PMID:26283957

  5. Particle simulation of plasmas on the massively parallel processor

    NASA Technical Reports Server (NTRS)

    Gledhill, I. M. A.; Storey, L. R. O.

    1987-01-01

    Particle simulations, in which collective phenomena in plasmas are studied by following the self consistent motions of many discrete particles, involve several highly repetitive sets of calculations that are readily adaptable to SIMD parallel processing. A fully electromagnetic, relativistic plasma simulation for the massively parallel processor is described. The particle motions are followed in 2 1/2 dimensions on a 128 x 128 grid, with periodic boundary conditions. The two dimensional simulation space is mapped directly onto the processor network; a Fast Fourier Transform is used to solve the field equations. Particle data are stored according to an Eulerian scheme, i.e., the information associated with each particle is moved from one local memory to another as the particle moves across the spatial grid. The method is applied to the study of the nonlinear development of the whistler instability in a magnetospheric plasma model, with an anisotropic electron temperature. The wave distribution function is included as a new diagnostic to allow simulation results to be compared with satellite observations.

  6. Particle-based simulations of self-motile suspensions

    NASA Astrophysics Data System (ADS)

    Hinz, Denis F.; Panchenko, Alexander; Kim, Tae-Yeon; Fried, Eliot

    2015-11-01

    A simple model for simulating flows of active suspensions is investigated. The approach is based on dissipative particle dynamics. While the model is potentially applicable to a wide range of self-propelled particle systems, the specific class of self-motile bacterial suspensions is considered as a modeling scenario. To mimic the rod-like geometry of a bacterium, two dissipative particle dynamics particles are connected by a stiff harmonic spring to form an aggregate dissipative particle dynamics molecule. Bacterial motility is modeled through a constant self-propulsion force applied along the axis of each such aggregate molecule. The model accounts for hydrodynamic interactions between self-propelled agents through the pairwise dissipative interactions conventional to dissipative particle dynamics. Numerical simulations are performed using a customized version of the open-source software package LAMMPS (Large-scale Atomic/Molecular Massively Parallel Simulator) software package. Detailed studies of the influence of agent concentration, pairwise dissipative interactions, and Stokes friction on the statistics of the system are provided. The simulations are used to explore the influence of hydrodynamic interactions in active suspensions. For high agent concentrations in combination with dominating pairwise dissipative forces, strongly correlated motion patterns and a fluid-like spectral distributions of kinetic energy are found. In contrast, systems dominated by Stokes friction exhibit weaker spatial correlations of the velocity field. These results indicate that hydrodynamic interactions may play an important role in the formation of spatially extended structures in active suspensions.

  7. Code OK2—A simulation code of ion-beam illumination on an arbitrary shape and structure target

    NASA Astrophysics Data System (ADS)

    Ogoyski, A. I.; Kawata, S.; Someya, T.

    2004-08-01

    irradiation and non-uniformity evaluations are sophisticated and difficult to calculate analytically. Based on our code one can numerically obtain a three-dimensional profile of energy deposition onto an arbitrary shape and structure target. Method of solution: OK2 code works on the base of OK1 [1-9]. The code simulates a multi-beam illumination on a target with arbitrary shape and structure, and obtains the 3D energy deposition profile. Restrictions on the complexity of the problem: None Typical running time: The execution time depends on the pellet mesh number and the number of beams in the simulated illumination as well as on the beam characteristics (beam radius on the pellet surface, beam subdivision, projectile particle energy and so on). In almost of the practical running tests performed, the typical running time for one beam deposition is about 40 s on a PC with a CPU of Pentium 4, 2.4 GHz. Unusual features of the program: None References: [1] A.I. Ogoyski, et al., Code OK1—Simulation of multi-beam irradiation on a spherical target in heavy ion fusion, Comput. Phys. Commun. 157 (2004) 160-172. [2] J.J. Barnard, et al., Lawrence Livermore National Laboratory Research Report, UCRL-LR-108095 (1991). [3] C. Deutsch, et al., J. Plasma and Fusion Res. 77 (2001) 33. [4] T. Someya, et al., Fusion Science Tech. 43 (2003) 282-289. [5] S.V. Bulanov, et al., Phys. Lett. A 299 (2002) 240-247. [6] M.H. Emery, et al., Phys. Rev. Lett. 48 (1982) 253. [7] S. Kawata, et al., J. Phys. Soc. Japan 53 (1984) 3416. [8] T. Mehlhorn, Sandia Report, SAND80-0038 (1980). [9] H.H. Andersen, J.F. Ziegler, The Stopping and Ranges of Ions in Matter, vol. 3, Pergamon Press, Elmsford, NY, 1977.

  8. Earth's Magnetosphere 3D Simulation by Coupling Particle-In-Cell and Magnetohydrodynamics Models: Parametric Study

    NASA Astrophysics Data System (ADS)

    Baraka, S. M.; Ben-Jaffel, L. B.

    2014-12-01

    We use particle-in-cell PIC 3D Electromagnetic, relativistic global code to address large-scale problems in magnetosphere electrodynamics. Terrestrial bow shock is simulated as an example. 3D Magnetohydrodynamics model ,MHD GUMICS in CCMC project, have been used in parallel with PIC under same scaled Solar wind (SW) and IMF conditions. We report new results from the coupling between the two models. Further investigations are required for confirmations of these results. In both codes the Earth's bow shock position is found at ~14.8 RE along the Sun-Earth line, and ~29 RE on the dusk side which is consistent with past in situ observation. Both simulations reproduce the theoretical jump conditions at the shock. However, PIC code density and temperature distributions are inflated and slightly shifted sunward when compared to MHD results. Reflected ions upstream of the bow shock may cause this sunward shift for density and temperature. Distribution of reflected ions and electrons are shown in the foreshock region, within the transition of the shock and in the downstream. The current version of PIC code can be run under modest computing facilities and resources. Additionally, existing MHD simulations should be useful to calibrate scaled properties of plasma resulting from PIC simulations for comparison with observations. Similarities and drawbacks of the results obtained by the two models are listed. The ultimate goal of using these different models in a complimentary manner rather than competitive is to better understand the macrostructure of the magnetosphere

  9. Data decomposition of Monte Carlo particle transport simulations via tally servers

    SciTech Connect

    Romano, Paul K.; Siegel, Andrew R.; Forget, Benoit; Smith, Kord

    2013-11-01

    An algorithm for decomposing large tally data in Monte Carlo particle transport simulations is developed, analyzed, and implemented in a continuous-energy Monte Carlo code, OpenMC. The algorithm is based on a non-overlapping decomposition of compute nodes into tracking processors and tally servers. The former are used to simulate the movement of particles through the domain while the latter continuously receive and update tally data. A performance model for this approach is developed, suggesting that, for a range of parameters relevant to LWR analysis, the tally server algorithm should perform with minimal overhead on contemporary supercomputers. An implementation of the algorithm in OpenMC is then tested on the Intrepid and Titan supercomputers, supporting the key predictions of the model over a wide range of parameters. We thus conclude that the tally server algorithm is a successful approach to circumventing classical on-node memory constraints en route to unprecedentedly detailed Monte Carlo reactor simulations.

  10. Particle in cell simulation of laser-accelerated proton beams for radiation therapy.

    PubMed

    Fourkal, E; Shahine, B; Ding, M; Li, J S; Tajima, T; Ma, C M

    2002-12-01

    In this article we present the results of particle in cell (PIC) simulations of laser plasma interaction for proton acceleration for radiation therapy treatments. We show that under optimal interaction conditions protons can be accelerated up to relativistic energies of 300 MeV by a petawatt laser field. The proton acceleration is due to the dragging Coulomb force arising from charge separation induced by the ponderomotive pressure (light pressure) of high-intensity laser. The proton energy and phase space distribution functions obtained from the PIC simulations are used in the calculations of dose distributions using the GEANT Monte Carlo simulation code. Because of the broad energy and angular spectra of the protons, a compact particle selection and beam collimation system will be needed to generate small beams of polyenergetic protons for intensity modulated proton therapy. PMID:12512712

  11. Simulating the effects of multiple scattering on images of dense sprays and particle fields.

    PubMed

    Jermy, Mark C; Allen, Andrew

    2002-07-10

    Most optical measurements in turbid media (including sprays, fogs, particulate and colloidal suspensions) assume single scattering of the detected photons. Multiple scattering introduces error, which has been quantified in very few systems. To quantify this error, we have written a flexible Monte Carlo photon transport simulation code capable of handling any three-dimensional geometry. Simulations of planar laser spray imaging with large, nonabsorbing particles show that up to 50% of the photons reaching the camera are multiply scattered. Because forward scattering dominates, the image is affected little. For particles with more absorption or with size closer to the wavelength of the light than those we have simulated, the effects are expected to be more serious. PMID:12141519

  12. Simulation and phases of macroscopic particles in vortex flow

    NASA Astrophysics Data System (ADS)

    Rice, Heath Eric

    Granular materials are an interesting class of media in that they exhibit many disparate characteristics depending on conditions. The same set of particles may behave like a solid, liquid, gas, something in-between, or something completely unique depending on the conditions. Practically speaking, granular materials are used in many aspects of manufacturing, therefore any new information gleaned about them may help refine these techniques. For example, learning of a possible instability may help avoid it in practical application, saving machinery, money, and even personnel. To that end, we intend to simulate a granular medium under tornado-like vortex airflow by varying particle parameters and observing the behaviors that arise. The simulation itself was written in Python from the ground up, starting from the basic simulation equations in Poschel [1]. From there, particle spin, viscous friction, and vertical and tangential airflow were added. The simulations were then run in batches on a local cluster computer, varying the parameters of radius, flow force, density, and friction. Phase plots were created after observing the behaviors of the simulations and the regions and borders were analyzed. Most of the results were as expected: smaller particles behaved more like a gas, larger particles behaved more like a solid, and most intermediate simulations behaved like a liquid. A small subset formed an interesting crossover region in the center, and under moderate forces began to throw a few particles at a time upward from the center in a fountain-like effect. Most borders between regions appeared to agree with analysis, following a parabolic critical rotational velocity at which the parabolic surface of the material dips to the bottom of the mass of particles. The fountain effects seemed to occur at speeds along and slightly faster than this division. [1] Please see thesis for references.

  13. 3D Direct Simulation Monte Carlo Code Which Solves for Geometrics

    Energy Science and Technology Software Center (ESTSC)

    1998-01-13

    Pegasus is a 3D Direct Simulation Monte Carlo Code which solves for geometries which can be represented by bodies of revolution. Included are all the surface chemistry enhancements in the 2D code Icarus as well as a real vacuum pump model. The code includes multiple species transport.

  14. PEGASUS. 3D Direct Simulation Monte Carlo Code Which Solves for Geometrics

    SciTech Connect

    Bartel, T.J.

    1998-12-01

    Pegasus is a 3D Direct Simulation Monte Carlo Code which solves for geometries which can be represented by bodies of revolution. Included are all the surface chemistry enhancements in the 2D code Icarus as well as a real vacuum pump model. The code includes multiple species transport.

  15. A vectorized code for the pseudofermion simulation of QCD with dynamical quarks

    NASA Astrophysics Data System (ADS)

    Campostrini, Massimo; Moriarty, Kevin J. M.; Potvin, Jean; Rebbi, Claudio

    1988-08-01

    We present a FORTRAN code for the Monte Carlo simulation of Quantum Chromodynamics with dynamical fermions, using the pseudofermion algorithm. The code is fully vectorized and optimized for the CDC CYBER 205, taking advantage of high performance features like 32-bit arithmetic, gather/scatter hardware and asynchronous I/O. Nonetheless, the code is largely portable and performs well on other vector computers.

  16. PLASIM: A computer code for simulating charge exchange plasma propagation

    NASA Technical Reports Server (NTRS)

    Robinson, R. S.; Deininger, W. D.; Winder, D. R.; Kaufman, H. R.

    1982-01-01

    The propagation of the charge exchange plasma for an electrostatic ion thruster is crucial in determining the interaction of that plasma with the associated spacecraft. A model that describes this plasma and its propagation is described, together with a computer code based on this model. The structure and calling sequence of the code, named PLASIM, is described. An explanation of the program's input and output is included, together with samples of both. The code is written in ANSI Standard FORTRAN.

  17. Lattice Boltzmann simulations of settling behaviors of irregularly shaped particles

    NASA Astrophysics Data System (ADS)

    Zhang, Pei; Galindo-Torres, S. A.; Tang, Hongwu; Jin, Guangqiu; Scheuermann, A.; Li, Ling

    2016-06-01

    We investigated the settling dynamics of irregularly shaped particles in a still fluid under a wide range of conditions with Reynolds numbers Re varying between 1 and 2000, sphericity ϕ and circularity c both greater than 0.5, and Corey shape factor (CSF) less than 1. To simulate the particle settling process, a modified lattice Boltzmann model combined with a turbulence module was adopted. This model was first validated using experimental data for particles of spherical and cubic shapes. For irregularly shaped particles, two different types of settling behaviors were observed prior to particles reaching a steady state: accelerating and accelerating-decelerating, which could be distinguished by a critical CSF value of approximately 0.7. The settling dynamics were analyzed with a focus on the projected areas and angular velocities of particles. It was found that a minor change in the starting projected area, an indicator of the initial particle orientation, would not strongly affect the settling velocity for low Re. Periodic oscillations developed for all simulated particles when Re>100 . The amplitude of these oscillations increased with Re. However, the periods were not sensitive to Re. The critical Re that defined the transition between the steady and periodically oscillating behaviors depended on the inertia tensor. In particular, the maximum eigenvalue of the inertia tensor played a major role in signaling this transition in comparison to the intermediate and minimum eigenvalues.

  18. Flow and particle deposition in the Turbuhaler: a CFD simulation.

    PubMed

    Milenkovic, J; Alexopoulos, A H; Kiparissides, C

    2013-05-01

    In this work the steady-state flow in a commercial dry powder inhaler device, DPI (i.e., Turbuhaler) is described using computational fluid dynamics. The Navier-Stokes equations are solved using commercial CFD software considering different flow models, i.e., laminar, k-ε, k-ε RNG, and k-ω SST as well as large Eddy simulation. Particle motion and deposition are described using a Eulerian-fluid/Lagrangian-particle approach. Particle collisions with the DPI walls are taken to result in deposition when the normal collision velocity is less than a critical capture velocity. Flow and particle deposition, for a range of mouthpiece pressure drops (i.e., 800-8800 Pa), as well as particle sizes corresponding to single particles and aggregates (i.e., 0.5-20 μm), are examined. The total volumetric outflow rate, the overall particle deposition as well as the spatial distribution of deposition sites in the DPI are determined. The transitional k-ω SST model for turbulent flow was found to produce results most similar to a reference solution obtained with LES, as well as experimental results for the pressure drop in the DPI. Overall, the simulation results are found to be in agreement with the available experimental data for local and total particle deposition. PMID:23528279

  19. Wave-Particle Interactions with Whistlers: Comparison Between Particle-in-Cell and Quasi-Linear Simulations

    NASA Astrophysics Data System (ADS)

    Camporeale, E.; Zimbardo, G.

    2015-12-01

    We study the wave-particle interactions between lower band chorus whistlers and an anisotropic tenuous population of relativistic electrons. We present the first direct comparison of first-principle particle-in-cell (PIC) simulations with a quasi-linear diffusion code. In the PIC approach, the waves are self-consistently generated by the temperature anisotropy instability that quickly saturates and relaxes the system toward marginal stability. We show that the quasi-linear diffusion and PIC results have significant quantitative mismatch in regions of energy/pitch angle where the resonance condition is not satisfied. Moreover, for pitch angles close to the loss cone the diffusion code overestimates the scattering, particularly at low energies. This suggests that higher-order nonlinear theories should be taken in consideration in order to capture non-resonant interactions, resonance broadening, and to account for scattering at angles close to 90 degree. Finally, we show that pitch angle diffusion is enhanced during the linear wave growth phase, and it rapidly saturates well before a single bounce period. We discuss how the saturation is related to the fact that the domain in which the particles pitch angle diffuse is bounded, and to the well-known problem of 90 degree diffusion barrier.

  20. Simulation of particle acceleration in the PLASMONX project

    NASA Astrophysics Data System (ADS)

    Benedetti, Carlo

    2010-02-01

    In this paper I will present some numerical studies and parameter scans performed with the electromagnetic, rela-tivistic, fully-self consistent particle-in-cell (PIC) code ALaDyn (Acceleration by LAser and DYNamics of charged particles), concerning electron acceleration via plasma waves in the framework of the INFN-PLASMONX (PLASma acceleration and MONochromatic X-ray production) project. In particular I will focus on the modelling of the SITE (Self Injection Test Experiment) which will be a relevant part of the commissioning of the FLAME laser. Some issues related to the quality of the accelerated bunch will be discussed.

  1. Relativistic Particle-In-Cell Simulations of Particle Accleration in Relativistic Jets

    NASA Technical Reports Server (NTRS)

    Nishikawa, K.-I.; Hardee, P.; Mizuno, Y.; Medvedev, M.; Hartmann, D. H.; Fishman, J. F.

    2008-01-01

    Highly accelerated particles are observed in astrophysical systems containing relativistic jets and shocks, e.g., active galactic nuclei (AGNs), microquasars, and Gamma-Ray Bursts (GRBs). Particle-In-Cell (PIC) simulations of relativistic electron-ion and electron-positron jets injected into a stationary medium show that efficient acceleration occurs downstream in the jet. In collisionless relativistic shocks particle acceleration is due to plasma waves and their associated instabilities, e.g., the Buneman instability, other two-stream instabilities, and the Weibel (filamentation) instability. Simulations show that the Weibel instability is responsible for generating and amplifying highly non-uniform, small-scale magnetic fields. The instability depends on strength and direction of the magnetic field. Particles in relativistic jets may be accelerated in a complicated dynamics of relativistic jets with magnetic field. We present results of our recent PIC simulations.

  2. Single-particle Lagrangian and structure statistics in kinematically simulated particle-laden turbulent flows

    NASA Astrophysics Data System (ADS)

    Murray, S.; Lightstone, M. F.; Tullis, S.

    2016-03-01

    Kinematic simulation (KS) is a means of generating a turbulent-like velocity field, in a manner that enforces a desired input Eulerian energy spectrum. Such models have also been applied in particle-laden flows, due to their ability to enforce spatial organization of the fluid velocity field when simulating the trajectories of individual Lagrangian particles. A critical evaluation of KS is presented; in particular, we examine its ability to reproduce single-particle Lagrangian statistics. Also the ability of KS to reproduce the preferential concentration of inertial particles is examined. Some computational results are presented, in which particles are transported alternatively by (1) turbulence generated by direct numerical simulation (DNS) of the incompressible Navier-Stokes equations, and (2) KS. The effect of unsteadiness formulation in particular is examined. We find that even steady KS qualitatively reproduces the continuity effect, clustering of inertial particles, the elevated dispersion of inertial particles over fluid particles, and the intermittency of Lagrangian velocity signals, but generally not to the same extent as is seen in the DNS.

  3. Particle behavior simulation in thermophoresis phenomena by direct simulation Monte Carlo method

    NASA Astrophysics Data System (ADS)

    Wada, Takao

    2014-07-01

    A particle motion considering thermophoretic force is simulated by using direct simulation Monte Carlo (DSMC) method. Thermophoresis phenomena, which occur for a particle size of 1 μm, are treated in this paper. The problem of thermophoresis simulation is computation time which is proportional to the collision frequency. Note that the time step interval becomes much small for the simulation considering the motion of large size particle. Thermophoretic forces calculated by DSMC method were reported, but the particle motion was not computed because of the small time step interval. In this paper, the molecule-particle collision model, which computes the collision between a particle and multi molecules in a collision event, is considered. The momentum transfer to the particle is computed with a collision weight factor, where the collision weight factor means the number of molecules colliding with a particle in a collision event. The large time step interval is adopted by considering the collision weight factor. Furthermore, the large time step interval is about million times longer than the conventional time step interval of the DSMC method when a particle size is 1 μm. Therefore, the computation time becomes about one-millionth. We simulate the graphite particle motion considering thermophoretic force by DSMC-Neutrals (Particle-PLUS neutral module) with above the collision weight factor, where DSMC-Neutrals is commercial software adopting DSMC method. The size and the shape of the particle are 1 μm and a sphere, respectively. The particle-particle collision is ignored. We compute the thermophoretic forces in Ar and H2 gases of a pressure range from 0.1 to 100 mTorr. The results agree well with Gallis' analytical results. Note that Gallis' analytical result for continuum limit is the same as Waldmann's result.

  4. Hydrodynamics in adaptive resolution particle simulations: Multiparticle collision dynamics

    NASA Astrophysics Data System (ADS)

    Alekseeva, Uliana; Winkler, Roland G.; Sutmann, Godehard

    2016-06-01

    A new adaptive resolution technique for particle-based multi-level simulations of fluids is presented. In the approach, the representation of fluid and solvent particles is changed on the fly between an atomistic and a coarse-grained description. The present approach is based on a hybrid coupling of the multiparticle collision dynamics (MPC) method and molecular dynamics (MD), thereby coupling stochastic and deterministic particle-based methods. Hydrodynamics is examined by calculating velocity and current correlation functions for various mixed and coupled systems. We demonstrate that hydrodynamic properties of the mixed fluid are conserved by a suitable coupling of the two particle methods, and that the simulation results agree well with theoretical expectations.

  5. Silt motion simulation using finite volume particle method

    NASA Astrophysics Data System (ADS)

    Jahanbakhsh, E.; Vessaz, C.; Avellan, F.

    2014-03-01

    In this paper, we present a 3-D FVPM which features rectangular top-hat kernels. With this method, interaction vectors are computed exactly and efficiently. We introduce a new method to enforce the no-slip boundary condition. With this boundary enforcement, the interaction forces between fluid and wall are computed accurately. We employ the boundary force to predict the motion of rigid spherical silt particles inside the fluid. To validate the model, we simulate the 2-D sedimentation of a single particle in viscous fluid tank and compare results with benchmark data. The particle resolution is verified by convergence study. We also simulate the sedimentation of two particles exhibiting drafting, kissing and tumbling phenomena in 2-D and 3-D. We compare the results with other numerical solutions.

  6. Update on the Development and Validation of MERCURY: A Modern, Monte Carlo Particle Transport Code

    SciTech Connect

    Procassini, R J; Taylor, J M; McKinley, M S; Greenman, G M; Cullen, D E; O'Brien, M J; Beck, B R; Hagmann, C A

    2005-06-06

    An update on the development and validation of the MERCURY Monte Carlo particle transport code is presented. MERCURY is a modern, parallel, general-purpose Monte Carlo code being developed at the Lawrence Livermore National Laboratory. During the past year, several major algorithm enhancements have been completed. These include the addition of particle trackers for 3-D combinatorial geometry (CG), 1-D radial meshes, 2-D quadrilateral unstructured meshes, as well as a feature known as templates for defining recursive, repeated structures in CG. New physics capabilities include an elastic-scattering neutron thermalization model, support for continuous energy cross sections and S ({alpha}, {beta}) molecular bound scattering. Each of these new physics features has been validated through code-to-code comparisons with another Monte Carlo transport code. Several important computer science features have been developed, including an extensible input-parameter parser based upon the XML data description language, and a dynamic load-balance methodology for efficient parallel calculations. This paper discusses the recent work in each of these areas, and describes a plan for future extensions that are required to meet the needs of our ever expanding user base.

  7. Particle-in-cell simulations of particle energization from low Mach number fast mode shocks

    NASA Astrophysics Data System (ADS)

    Park, Jaehong; Workman, Jared; Blackman, Eric; Ren, Chuang; Siller, Robert

    2012-10-01

    Low Mach number, high plasma beta, fast mode shocks likely occur in the outflows from reconnection sites associated with solar flares. These shocks are sites of particle energization with observable consequences, but there has been much less work on understanding the underlying physics compared to that of Mach number shocks. To make progress, we have simulated a low Mach number/high beta shock using 2D particle-in-cell simulations with a ``moving wall'' method and studied the shock structure and particle acceleration processes therein [Park et. al (2012), Phys. Plasmas, 19, 062904]. The moving wall method can control the shock speed in the simulation frame to allow smaller simulation boxes and longer simulation times. We found that the modified two-stream instability in the shock transition region is responsible for shock sustenance via turbulent dissipation and entropy creation throughout the downstream region long after the initial shock formation. Particle tracking and the particle energy distributions show that both electrons and ions participate in shock-drift-acceleration (SDA). The simulation combined with a theoretical analysis reveals a two-temperature Maxwellian distribution for the electron energy distribution via SDA.

  8. A New Multiphase Model for Simulating Energetically Driven Particles

    SciTech Connect

    Stevens, D E; Murphy, M J

    2010-02-02

    The proper representation of particulate phenomena is important for the simulation of many non-ideal particle loaded explosives. These explosives present severe numerical difficulties to simulate because numerical approaches for packed particle beds often behave poorly for the dilute regime and the reverse is often true for methods developed for the dilute regime. This paper presents a multiphase framework for the simulation of these non-ideal explosives that accurately accounts for the particulate behavior in both of these regimes. The capability of this framework is enhanced by the use of prescribed PDF methods for both particle size distributions and the representation of chemical processes. We have validated this framework using several experimental methods that accommodate the separation of momentum flux measurements in two-phase blast flows.

  9. Waste Evaporator Accident Simulation Using RELAP5 Computer Code

    SciTech Connect

    POLIZZI, L.M.

    2004-04-28

    An evaporator is used on liquid waste from processing facilities to reduce the volume of the waste through heating the waste and allowing some of the water to be separated from the waste through boiling. This separation process allows for more efficient processing and storage of liquid waste. Commonly, the liquid waste consists of an aqueous solution of chemicals that over time could induce corrosion, and in turn weaken the tubes in the steam tube bundle of the waste evaporator that are used to heat the waste. This chemically induced corrosion could escalate into a possible tube leakage and/or the severance of a tube(s) in the tube bundle. In this paper, analyses of a waste evaporator system for the processing of liquid waste containing corrosive chemicals are presented to assess the system response to this accident scenario. This accident scenario is evaluated since its consequences can propagate to a release of hazardous material to the outside environment. It is therefore important to ensure that the evaporator system component structural integrity is not compromised, i.e. the design pressure and temperature of the system is not exceeded during the accident transient. The computer code used for the accident simulation is RELAP5-MOD31. The accident scenario analyzed includes a double-ended guillotine break of a tube in the tube bundle of the evaporator. A mitigated scenario is presented to evaluate the excursion of the peak pressure and temperature in the various components of the evaporator system to assess whether the protective actions and controls available are adequate to ensure that the structural integrity of the evaporator system is maintained and that no atmospheric release occurs.

  10. Simulating Magnetic Reconnection Experiment (MRX) with a Guide Field using Fluid Code, HiFi

    NASA Astrophysics Data System (ADS)

    Budner, Tamas; Chen, Yangao; Meier, Eric; Ji, Hantao; MRX Team

    2015-11-01

    Magnetic reconnection is a phenomenon that occurs in plasmas when magnetic field lines effectively ``break'' and reconnect resulting in a different topological configuration. In this process, energy that was once stored in the magnetic field is transfered into the thermal velocity of the particles, effectively heating the plasma. MRX at the Princeton Plasma Physics Laboratory creates the conditions under which reconnection can occur by initially ramping the current in two adjacent coils and then rapidly decreasing with and without a guide magnetic field along the reconnecting current. We simulate this experiment using a fluid code called HiFi, an implicit and adaptive high order spectral element modeling framework, and compare our results to experimental data from MRX. The purpose is to identify physics behind the observed reconnection process for the field line break and the resultant plasma heating.

  11. Shock interaction with a deformable particle: Direct numerical simulation and point-particle modeling

    NASA Astrophysics Data System (ADS)

    Ling, Y.; Haselbacher, A.; Balachandar, S.; Najjar, F. M.; Stewart, D. S.

    2013-01-01

    The interaction of shock waves with deformable particles is an important fundamental problem. In some applications, e.g., the detonation of explosives loaded with metal particles, the pressure behind the shock wave can be significantly larger than the yield strength of the particle material. This means that particles can deform severely during their interaction with the shock wave. The experimental and theoretical studies of shock interaction with deformable particles (SIDP) are extremely challenging because of its highly transient nature. As a result, no accurate model exists yet that can be used in simulations. The objective of this paper is to develop a simple point-particle model that accurately captures the unsteady force and heat-transfer in SIDP. In the development of this model, we build on earlier models by Ling et al. (Int. J. Multiphase Flow 37, 1026-1044 (2011)) for the unsteady force and heat-transfer contributions for rigid particles. Insights gained from direct numerical simulations (DNS) guide the extension of these models to deforming particles. Results obtained with the extended model for the interaction of a deforming particle with a shock wave and a Chapman-Jouguet detonation wave compare well with DNS results and therefore offer significant improvements over standard models.

  12. Simulated electron holography of PSD particles

    NASA Astrophysics Data System (ADS)

    Conbhuí, Pádraig Ó.; Williams, Wyn; Nagy, Les

    2016-04-01

    Electron holography is an experimental technique that is capable of observing magnetic microstructures on the same scale as can be determined using numerical modeling and thus bridge the gap between experimental measurements and theory. I will present a technique for simulating holographic images from the results of micromagnetic models and demonstrate an easily used tool for generating holograms on the fly in an interactive environment (ie in ParaView). Since holography flattens 3D information onto a 2D image, some useful information can be lost. By looking at some examples of holograms of interesting 3D magnetizations (ie PSD structures), particularly how they change as they're rotated, along with comparisons of different structures, I will examine what information can be retrieved and what might be lost. The existance of an external dipole can be indicative of an in-plane component of a seemingly out-of-plane vortex core. It is also seen, however, that two quite different structures (in this case a [111] vortex core and a [111] uniform magnetization) can sometimes be quite indistinguishable.

  13. Turbulent Particle Pair Diffusion Using Kinematic Simulations

    NASA Astrophysics Data System (ADS)

    Malik, Nadeem

    2015-11-01

    Sweeping errors in Kinematic Simulations (KS) have been shown to be negligible in turbulent flows with extended inertial subranges up to at least 1 in KS may therefore be a genuine effect, challenging previous assumptions that in turbulence with generalized power-law energy spectra, E (k) ~k-p for 1 <= 3, locality would lead to, K ~σΔγ , where σΔ = [ <Δ2 > ]1/2 , Δ is the pair separation, v is the pair relative velocity, < > is the ensemble average, and γ = (1 + p) / 2 . For Kolmogorov turbulence this gives, K ~σΔ4 / 3 . A new analysis, supported by KS confirms that both local and non-local effects govern the pair diffusion process, leading to, K ~σΔγp , where now γp > γ for Kolmogorov turbulence, K ~σΔ1 . 53 . Thus non-local diffusional processes cannot be neglected, and this may have important consequences for the general theory of turbulence. The author acknowledge financial support from SABIC, #SB101011.

  14. Study and simulation of low rate video coding schemes

    NASA Technical Reports Server (NTRS)

    Sayood, Khalid; Chen, Yun-Chung; Kipp, G.

    1992-01-01

    The semiannual report is included. Topics covered include communication, information science, data compression, remote sensing, color mapped images, robust coding scheme for packet video, recursively indexed differential pulse code modulation, image compression technique for use on token ring networks, and joint source/channel coder design.

  15. Classical radiation reaction in particle-in-cell simulations

    NASA Astrophysics Data System (ADS)

    Vranic, M.; Martins, J. L.; Fonseca, R. A.; Silva, L. O.

    2016-07-01

    Under the presence of ultra high intensity lasers or other intense electromagnetic fields the motion of particles in the ultrarelativistic regime can be severely affected by radiation reaction. The standard particle-in-cell (PIC) algorithms do not include radiation reaction effects. Even though this is a well known mechanism, there is not yet a definite algorithm nor a standard technique to include radiation reaction in PIC codes. We have compared several models for the calculation of the radiation reaction force, with the goal of implementing an algorithm for classical radiation reaction in the Osiris framework, a state-of-the-art PIC code. The results of the different models are compared with standard analytical results, and the relevance/advantages of each model are discussed. Numerical issues relevant to PIC codes such as resolution requirements, application of radiation reaction to macro particles and computational cost are also addressed. For parameters of interest where the classical description of the electron motion is applicable, all the models considered are shown to give comparable results. The Landau and Lifshitz reduced model is chosen for implementation as one of the candidates with the minimal overhead and no additional memory requirements.

  16. Distortion and flow of nematics simulated by dissipative particle dynamics.

    PubMed

    Zhao, Tongyang; Wang, Xiaogong

    2014-05-14

    In this study, we simulated distortion and flow of nematics by dissipative particle dynamics (DPD). The nematics were modeled by a binary mixture that contained rigid rods composed of DPD particles as mesogenic units and normal DPD particles as solvent. Elastic distortions were investigated by monitoring director orientation in space under influences of boundary anchoring and external fields. Static distortion demonstrated by the simulation is consistent with the prediction of Frank elastic theory. Spatial distortion profile of the director was examined to obtain static elastic constants. Rotational motions of the director under influence of the external field were simulated to understand the dynamic process. The rules revealed by the simulation are in a good agreement with those obtained from dynamical experiments and classical theories for nematics. Three Miesowicz viscosities were obtained by using external fields to hold the orientation of the rods in shear flows. The simulation showed that the Miesowicz viscosities have the order of ηc > ηa > ηb and the rotational viscosity γ1 is about two orders larger than the Miesowicz viscosity ηb. The DPD simulation correctly reproduced the non-monotonic concentration dependence of viscosity, which is a unique property of lyotropic nematic fluids. By comparing simulation results with classical theories for nematics and experiments, the DPD nematic fluids are proved to be a valid model to investigate the distortion and flow of lyotropic nematics. PMID:24832301

  17. Distortion and flow of nematics simulated by dissipative particle dynamics

    NASA Astrophysics Data System (ADS)

    Zhao, Tongyang; Wang, Xiaogong

    2014-05-01

    In this study, we simulated distortion and flow of nematics by dissipative particle dynamics (DPD). The nematics were modeled by a binary mixture that contained rigid rods composed of DPD particles as mesogenic units and normal DPD particles as solvent. Elastic distortions were investigated by monitoring director orientation in space under influences of boundary anchoring and external fields. Static distortion demonstrated by the simulation is consistent with the prediction of Frank elastic theory. Spatial distortion profile of the director was examined to obtain static elastic constants. Rotational motions of the director under influence of the external field were simulated to understand the dynamic process. The rules revealed by the simulation are in a good agreement with those obtained from dynamical experiments and classical theories for nematics. Three Miesowicz viscosities were obtained by using external fields to hold the orientation of the rods in shear flows. The simulation showed that the Miesowicz viscosities have the order of ηc > ηa > ηb and the rotational viscosity γ1 is about two orders larger than the Miesowicz viscosity ηb. The DPD simulation correctly reproduced the non-monotonic concentration dependence of viscosity, which is a unique property of lyotropic nematic fluids. By comparing simulation results with classical theories for nematics and experiments, the DPD nematic fluids are proved to be a valid model to investigate the distortion and flow of lyotropic nematics.

  18. Neoclassical Simulations of Fusion Alpha Particles in Pellet Charge Exchange Experiments on the Tokamak Fusion Test Reactor

    SciTech Connect

    Batha, S.H.; Budny, R.V.; Darrow, D.S.; Levinton, F.M.; Redi, M.H.; et al

    1999-02-01

    Neoclassical simulations of alpha particle density profiles in high fusion power plasmas on the Tokamak Fusion Test Reactor (TFTR) [Phys. Plasmas 5 (1998) 1577] are found to be in good agreement with measurements of the alpha distribution function made with a sensitive active neutral particle diagnostic. The calculations are carried out in Hamiltonian magnetic coordinates with a fast, particle-following Monte Carlo code which includes the neoclassical transport processes, a recent first-principles model for stochastic ripple loss and collisional effects. New global loss and confinement domain calculations allow an estimate of the actual alpha particle densities measured with the pellet charge exchange diagnostic.

  19. GGOD: A Comprehensive Monte-Carlo Simulation Package of Particle Interaction

    NASA Astrophysics Data System (ADS)

    Lei, F.; Bird, A. J.; Dean, A. J.; Green, A. R.; Bird, A. J.; Dean, A. J.

    1996-12-01

    Monte-Carlo simulation is an indispensable tool in the development of gamma-ray telescopes. One of the critical issues in the development phase is the estimation of the background noise expected in the detector in the space evironment. The main sources of this background are cosmic ray and trapped particle radidations as well as solar particles. In the last 30 years many simulation packages have been written but most of them were not designed for gamma-ray telescopes. None of these packages can perform an end to end simulation, i.e., predict the detector background noise based on the inputs of radiation environment and detector and spacecraft design. The solution to this problem is to combine the power of the each individual package and have an integrated suite of codes. GGOD is such a suite of codes which consists of the GEANT, GCALOR, OIRHET and DECAY packages and was compiled and developed at Southampton. One of the best used detector modelling packages is GEANT which was developed by CERN . It deals with all types of electro-magnetic interactions, but its main feature is the capability of modelling exceptionally complex systems. GCALOR is the GEANT interfaced version of the widely used CALOR code which is developed for calorimeter designs in high energy particle physics. In the GGOD suite GCALOR is responsible for simulating all hadronic particles, from thermal neutrons to TeV protons. ORIHET is a modified and expanded version of the code ORIGEN, which is responsible for the calculation of the build-up of induced radioactivity in the detector and spacecraft system. The DECAY code is used to convert the ORIHET calculated radioactivity into emission spectra using the decay data obtained from the Nuclear Data Bank. In this paper we report the successful applications of the GGOD simulation to some operational gamma-ray telescopes such as the HEAO-1, BATSE/CGRO and TGRE/WIND. We will discuss its application for future gamma-ray telescope development in the context

  20. FLY. A parallel tree N-body code for cosmological simulations

    NASA Astrophysics Data System (ADS)

    Antonuccio-Delogu, V.; Becciani, U.; Ferro, D.

    2003-10-01

    FLY is a parallel treecode which makes heavy use of the one-sided communication paradigm to handle the management of the tree structure. In its public version the code implements the equations for cosmological evolution, and can be run for different cosmological models. This reference guide describes the actual implementation of the algorithms of the public version of FLY, and suggests how to modify them to implement other types of equations (for instance, the Newtonian ones). Program summary Title of program: FLY Catalogue identifier: ADSC Program summary URL: http://cpc.cs.qub.ac.uk/summaries/ADSC Program obtainable from: CPC Program Library, Queen's University of Belfast, N. Ireland Computer for which the program is designed and others on which it has been tested: Cray T3E, Sgi Origin 3000, IBM SP Operating systems or monitors under which the program has been tested: Unicos 2.0.5.40, Irix 6.5.14, Aix 4.3.3 Programming language used: Fortran 90, C Memory required to execute with typical data: about 100 Mwords with 2 million-particles Number of bits in a word: 32 Number of processors used: parallel program. The user can select the number of processors >=1 Has the code been vectorized or parallelized?: parallelized Number of bytes in distributed program, including test data, etc.: 4615604 Distribution format: tar gzip file Keywords: Parallel tree N-body code for cosmological simulations Nature of physical problem: FLY is a parallel collisionless N-body code for the calculation of the gravitational force. Method of solution: It is based on the hierarchical oct-tree domain decomposition introduced by Barnes and Hut (1986). Restrictions on the complexity of the program: The program uses the leapfrog integrator schema, but could be changed by the user. Typical running time: 50 seconds for each time-step, running a 2-million-particles simulation on an Sgi Origin 3800 system with 8 processors having 512 Mbytes RAM for each processor. Unusual features of the program: FLY

  1. Leap frog integrator modifications in highly collisional particle-in-cell codes

    NASA Astrophysics Data System (ADS)

    Hanzlikova, N.; Turner, M. M.

    2014-07-01

    Leap frog integration method is a standard, simple, fast, and accurate way to implement velocity and position integration in particle-in-cell codes. Due to the direct solution of kinetics of particles in phase space central to the particle-in-cell procedure, important information can be obtained on particle velocity distributions, and consequently on transport and heating processes. This approach is commonly associated with physical situations where collisional effects are weak, but can also be profitably applied in some highly collisional cases, such as occur in semiconductor devices and gaseous discharges at atmospheric pressure. In this paper, we show that the implementation of the leap frog integration method in these circumstances can violate some of the assumptions central to the accuracy of this scheme. Indeed, without adaptation, the method gives incorrect results. We show here how the method must be modified to deal correctly with highly collisional cases.

  2. Simulation of hydrodynamically interacting particles confined by a spherical cavity

    NASA Astrophysics Data System (ADS)

    Aponte-Rivera, Christian; Zia, Roseanna N.

    2016-06-01

    from the forced particle. Surprisingly, however, there is a separation beyond which entrainment changes sign. For some configurations, the passive particle is dragged along with the forced particle, and at others, it is driven in the opposite direction, consistent with observations of recirculating flow and reverse particle migration in eukaryotic cells. The mobility functions presented here can be utilized to model the motion of any number of enclosed particles, making them ideal for use in dynamic simulation.

  3. Gyrokinetic simulation studies on the energetic-particle-induced geodesic acoustic mode

    NASA Astrophysics Data System (ADS)

    Miki, Kazuhiro; Idomura, Yasuhiro

    2014-10-01

    Understanding of the energetic particles physics is of great interest in the future burning plasmas. Particularly, particle loss in the presence of EGAM may be critical for ITER. We thus need to know how EGAM is excited and interacts with turbulence. We here introduce energetic particles in a full-f gyrokinetic code (GT5D). (i) We find linear dynamics of the EGAM driven by bump-on-tail particle distributions. We examine flat-q, homogeneous, axisymmetric, electrostatic gyrokinetic simulations. Above a certain level of the beam intensity, an oscillatory mode grows with about a half of the standard GAM. The observed frequencies are consistent with the eigenmode analyses derived from the perturbed gyrokinetic equations. The theoretical analyses also indicate a bifurcation of the excited modes depending on q-value. Estimation of the finite-orbit-width effects can provide a size dependency of the EGAM growth rate. (ii) We find linear and nonlinear dynamics of the EGAM driven by slowing-down distributions. We examine the axisymmetric gyrokinetic simulations with DIII-D-like parameters. The observed growth rates and frequencies are consistent with results of other hybrid code. Furthermore, we will focus on nonlinear phase space dynamics, namely chirping mode. This work is supported by HPCI Strategic Program Field No.4: Next-Generation Industrial Innovations, funded by the MEXT, Japan.

  4. Soil signature simulation of complex mixtures and particle size distributions

    NASA Astrophysics Data System (ADS)

    Carson, Tyler; Bachmann, Charles M.; Salvaggio, Carl

    2015-09-01

    Soil reflectance signatures were modeled using the digital imaging and remote sensing image generation model and Blender three-dimensional (3-D) graphic design software. Using these tools, the geometry, radiometry, and chemistry of quartz and magnetite were exploited to model the presence of particle size and porosity effects in the visible and the shortwave infrared spectrum. Using the physics engines within the Blender 3-D graphic design software, physical representations of granular soil scenes were created. Each scene characterized a specific particle distribution and density. Chemical and optical properties of pure quartz and magnetite were assigned to particles in the scene based on particle size. This work presents a model to describe an observed phase-angle dependence of beach sand density. Bidirectional reflectance signatures were simulated for targets of varying size distribution and density. This model provides validation for a phenomenological trade space between density and particle size distribution in complex, heterogeneous soil mixtures. It also confirms the suggestion that directional reflectance signatures can be defined by intimate mixtures that depend on pore spacing. The study demonstrated that by combining realistic target geometry and spectral measurements of pure quartz and magnetite, effects of soil particle size and density could be modeled without functional data fitting or rigorous analysis of material dynamics. This research does not use traditional function-based models for simulation. The combination of realistic geometry, physically viable particle structure, and first-principles ray-tracing enables the ability to represent signature changes that have been observed in experimental observations.

  5. A PARALLEL MONTE CARLO CODE FOR SIMULATING COLLISIONAL N-BODY SYSTEMS

    SciTech Connect

    Pattabiraman, Bharath; Umbreit, Stefan; Liao, Wei-keng; Choudhary, Alok; Kalogera, Vassiliki; Memik, Gokhan; Rasio, Frederic A.

    2013-02-15

    We present a new parallel code for computing the dynamical evolution of collisional N-body systems with up to N {approx} 10{sup 7} particles. Our code is based on the Henon Monte Carlo method for solving the Fokker-Planck equation, and makes assumptions of spherical symmetry and dynamical equilibrium. The principal algorithmic developments involve optimizing data structures and the introduction of a parallel random number generation scheme as well as a parallel sorting algorithm required to find nearest neighbors for interactions and to compute the gravitational potential. The new algorithms we introduce along with our choice of decomposition scheme minimize communication costs and ensure optimal distribution of data and workload among the processing units. Our implementation uses the Message Passing Interface library for communication, which makes it portable to many different supercomputing architectures. We validate the code by calculating the evolution of clusters with initial Plummer distribution functions up to core collapse with the number of stars, N, spanning three orders of magnitude from 10{sup 5} to 10{sup 7}. We find that our results are in good agreement with self-similar core-collapse solutions, and the core-collapse times generally agree with expectations from the literature. Also, we observe good total energy conservation, within {approx}< 0.04% throughout all simulations. We analyze the performance of the code, and demonstrate near-linear scaling of the runtime with the number of processors up to 64 processors for N = 10{sup 5}, 128 for N = 10{sup 6} and 256 for N = 10{sup 7}. The runtime reaches saturation with the addition of processors beyond these limits, which is a characteristic of the parallel sorting algorithm. The resulting maximum speedups we achieve are approximately 60 Multiplication-Sign , 100 Multiplication-Sign , and 220 Multiplication-Sign , respectively.

  6. Noiseless Vlasov–Poisson simulations with linearly transformed particles

    SciTech Connect

    Campos Pinto, Martin; Sonnendrücker, Eric; Friedman, Alex; Grote, David P.; Lund, Steve M.

    2014-10-15

    We introduce a deterministic discrete-particle simulation approach, the Linearly-Transformed Particle-In-Cell (LTPIC) method, that employs linear deformations of the particles to reduce the noise traditionally associated with particle schemes. Formally, transforming the particles is justified by local first order expansions of the characteristic flow in phase space. In practice the method amounts of using deformation matrices within the particle shape functions; these matrices are updated via local evaluations of the forward numerical flow. Because it is necessary to periodically remap the particles on a regular grid to avoid excessively deforming their shapes, the method can be seen as a development of Denavit's Forward Semi-Lagrangian (FSL) scheme (Denavit, 1972 [8]). However, it has recently been established (Campos Pinto, 2012 [20]) that the underlying Linearly-Transformed Particle scheme converges for abstract transport problems, with no need to remap the particles; deforming the particles can thus be seen as a way to significantly lower the remapping frequency needed in the FSL schemes, and hence the associated numerical diffusion. To couple the method with electrostatic field solvers, two specific charge deposition schemes are examined, and their performance compared with that of the standard deposition method. Finally, numerical 1d1v simulations involving benchmark test cases and halo formation in an initially mismatched thermal sheet beam demonstrate some advantages of our LTPIC scheme over the classical PIC and FSL methods. Benchmarked test cases also indicate that, for numerical choices involving similar computational effort, the LTPIC method is capable of accuracy comparable to or exceeding that of state-of-the-art, high-resolution Vlasov schemes.

  7. Noiseless Vlasov-Poisson simulations with linearly transformed particles

    SciTech Connect

    Pinto, Martin C.; Sonnendrucker, Eric; Friedman, Alex; Grote, David P.; Lund, Steve M.

    2014-06-25

    We introduce a deterministic discrete-particle simulation approach, the Linearly-Transformed Particle-In-Cell (LTPIC) method, that employs linear deformations of the particles to reduce the noise traditionally associated with particle schemes. Formally, transforming the particles is justified by local first order expansions of the characteristic flow in phase space. In practice the method amounts of using deformation matrices within the particle shape functions; these matrices are updated via local evaluations of the forward numerical flow. Because it is necessary to periodically remap the particles on a regular grid to avoid excessively deforming their shapes, the method can be seen as a development of Denavit's Forward Semi-Lagrangian (FSL) scheme (Denavit, 1972 [8]). However, it has recently been established (Campos Pinto, 2012 [20]) that the underlying Linearly-Transformed Particle scheme converges for abstract transport problems, with no need to remap the particles; deforming the particles can thus be seen as a way to significantly lower the remapping frequency needed in the FSL schemes, and hence the associated numerical diffusion. To couple the method with electrostatic field solvers, two specific charge deposition schemes are examined, and their performance compared with that of the standard deposition method. Finally, numerical 1d1v simulations involving benchmark test cases and halo formation in an initially mismatched thermal sheet beam demonstrate some advantages of our LTPIC scheme over the classical PIC and FSL methods. Lastly, benchmarked test cases also indicate that, for numerical choices involving similar computational effort, the LTPIC method is capable of accuracy comparable to or exceeding that of state-of-the-art, high-resolution Vlasov schemes.

  8. Noiseless Vlasov-Poisson simulations with linearly transformed particles

    DOE PAGESBeta

    Pinto, Martin C.; Sonnendrucker, Eric; Friedman, Alex; Grote, David P.; Lund, Steve M.

    2014-06-25

    We introduce a deterministic discrete-particle simulation approach, the Linearly-Transformed Particle-In-Cell (LTPIC) method, that employs linear deformations of the particles to reduce the noise traditionally associated with particle schemes. Formally, transforming the particles is justified by local first order expansions of the characteristic flow in phase space. In practice the method amounts of using deformation matrices within the particle shape functions; these matrices are updated via local evaluations of the forward numerical flow. Because it is necessary to periodically remap the particles on a regular grid to avoid excessively deforming their shapes, the method can be seen as a development ofmore » Denavit's Forward Semi-Lagrangian (FSL) scheme (Denavit, 1972 [8]). However, it has recently been established (Campos Pinto, 2012 [20]) that the underlying Linearly-Transformed Particle scheme converges for abstract transport problems, with no need to remap the particles; deforming the particles can thus be seen as a way to significantly lower the remapping frequency needed in the FSL schemes, and hence the associated numerical diffusion. To couple the method with electrostatic field solvers, two specific charge deposition schemes are examined, and their performance compared with that of the standard deposition method. Finally, numerical 1d1v simulations involving benchmark test cases and halo formation in an initially mismatched thermal sheet beam demonstrate some advantages of our LTPIC scheme over the classical PIC and FSL methods. Lastly, benchmarked test cases also indicate that, for numerical choices involving similar computational effort, the LTPIC method is capable of accuracy comparable to or exceeding that of state-of-the-art, high-resolution Vlasov schemes.« less

  9. Noiseless Vlasov-Poisson simulations with linearly transformed particles

    NASA Astrophysics Data System (ADS)

    Campos Pinto, Martin; Sonnendrücker, Eric; Friedman, Alex; Grote, David P.; Lund, Steve M.

    2014-10-01

    We introduce a deterministic discrete-particle simulation approach, the Linearly-Transformed Particle-In-Cell (LTPIC) method, that employs linear deformations of the particles to reduce the noise traditionally associated with particle schemes. Formally, transforming the particles is justified by local first order expansions of the characteristic flow in phase space. In practice the method amounts of using deformation matrices within the particle shape functions; these matrices are updated via local evaluations of the forward numerical flow. Because it is necessary to periodically remap the particles on a regular grid to avoid excessively deforming their shapes, the method can be seen as a development of Denavit's Forward Semi-Lagrangian (FSL) scheme (Denavit, 1972 [8]). However, it has recently been established (Campos Pinto, 2012 [20]) that the underlying Linearly-Transformed Particle scheme converges for abstract transport problems, with no need to remap the particles; deforming the particles can thus be seen as a way to significantly lower the remapping frequency needed in the FSL schemes, and hence the associated numerical diffusion. To couple the method with electrostatic field solvers, two specific charge deposition schemes are examined, and their performance compared with that of the standard deposition method. Finally, numerical 1d1v simulations involving benchmark test cases and halo formation in an initially mismatched thermal sheet beam demonstrate some advantages of our LTPIC scheme over the classical PIC and FSL methods. Benchmarked test cases also indicate that, for numerical choices involving similar computational effort, the LTPIC method is capable of accuracy comparable to or exceeding that of state-of-the-art, high-resolution Vlasov schemes.

  10. Electrostatic Characteristics of Materials Exposed to Martian Simulant Dust Particles

    NASA Astrophysics Data System (ADS)

    Calle, C. I.; Kim, H. S.; Young, S.; Jackson, D.; Lombardi, A. J.

    1998-11-01

    The Pathfinder mission to Mars identified Andesitic rock as the primary type of rock at the landing site. Several experiments were designed at NASA/Kennedy Space Center to determine the charging characteristics of common space materials exposed to small particles derived from those rocks. MARS-1, a Martian soil simulant prepared from Andesitic rocks by NASA/JSC was used in this work. Characterization of this simulant was made using scanning electron microscopy and inductively coupled argon plasma spectroscopy coupled with a carbon-sulfur detector. These results were compared to the Alpha Proton X-Ray Spectrometer analysis on Pathfinder. The simulant was found to be a suitable substitute for Martian soil for our purposes. Two experimental designs and methods to simulate the exposure of different materials to wind-blown dust were made. These designs permit dust particle delivery to samples at different speeds. Initial experiments made with these designs to determine their viability were promising.

  11. Nonlinear delta(f) Simulations of Collective Effects in Intense Charged Particle Beams

    SciTech Connect

    Hong Qin

    2003-01-21

    A nonlinear delta(f) particle simulation method based on the Vlasov-Maxwell equations has been recently developed to study collective processes in high-intensity beams, where space-charge and magnetic self-field effects play a critical role in determining the nonlinear beam dynamics. Implemented in the Beam Equilibrium, Stability and Transport (BEST) code [H. Qin, R.C. Davidson, and W.W. Lee, Physical Review -- Special Topics on Accelerator and Beams 3 (2000) 084401; 3 (2000) 109901.], the nonlinear delta(f) method provides a low-noise and self-consistent tool for simulating collective interactions and nonlinear dynamics of high-intensity beams in modern and next-generation accelerators and storage rings, such as the Spallation Neutron Source and heavy ion fusion drivers. A wide range of linear eigenmodes of high-intensity charged-particle beams can be systematically studied using the BEST code. Simulation results for the electron-proton two-stream instability in the Proton Storage Ring experiment [R. Macek, et al., in Proc. of the Particle Accelerator Conference, Chicago, 2001 (IEEE, Piscataway, NJ, 2001), Vol. 1, p. 688.] at the Los Alamos National Laboratory agree well with experimental observations. Large-scale parallel simulations have also been carried out for the ion-electron two-stream instability in the very-high-intensity heavy ion beams envisioned for heavy ion fusion applications. In both cases, the simulation results indicate that the dominant two-stream instability has a dipole-mode (hose-like) structure and can be stabilized by a modest axial momentum spread of the beam particles.

  12. New Capabilities in Mercury: A Modern, Monte Carlo Particle Transport Code

    SciTech Connect

    Procassini, R J; Cullen, D E; Greenman, G M; Hagmann, C A; Kramer, K J; McKinley, M S; O'Brien, M J; Taylor, J M

    2007-03-08

    The new physics, algorithmic and computer science capabilities of the Mercury general-purpose Monte Carlo particle transport code are discussed. The new physics and algorithmic features include in-line energy deposition and isotopic depletion, significant enhancements to the tally and source capabilities, diagnostic ray-traced particles, support for multi-region hybrid (mesh and combinatorial geometry) systems, and a probability of initiation method. Computer science enhancements include a second method of dynamically load-balancing parallel calculations, improved methods for visualizing 3-D combinatorial geometries and initial implementation of an in-line visualization capabilities.

  13. Simulation of Power and Particle Flows in the NSTX Edge Plasma

    SciTech Connect

    Rensink, M.E.; Kugel, H.; Maingi, R.; Paoletti, F.; Porter, G.D.; Rognlien, T.D.; Sabbagh, S.; Xu, X.

    2000-05-18

    We simulate edge plasmas in NSTX double-null divertor configurations with the UEDGE two-dimensional fluid code. The carbon impurity density in the core plasma and total radiated power increase with the core heating power and the magnitude of the physical and chemical sputtering in the divertor. Up/down plasma asymmetries are generated by classical cross-field particle drifts. With the standard toroidal magnetic field direction (ion {del}B drift toward the lower x-point) the highest density occurs at the lower inboard divertor plate and the highest heat flux at the upper outboard divertor plate. Simulations of 3-d edge plasma turbulence with the BOUT code show that anomalous radial transport at the outboard midplane should be similar in magnitude for NSTX and DIII-D.

  14. Particle simulation of auroral double layers. Doctoral thesis

    SciTech Connect

    Smith, B.L.

    1992-06-01

    Externally driven magnetic reconnection has been proposed as a possible mechanism for production of auroral electrons during magnetic substorms. Fluid simulations of magnetic reconnection lead to strong plasma flows towards the increasing magnetic field of the earth. These plasma flows must generate large scale potential drops to preserve global charge neutrality. We have examined currentless injection of plasma along a dipole magnetic field into a bounded region using both analytic techniques and particle simulation.

  15. Global particle-in-cell simulations of Alfvenic modes

    SciTech Connect

    Mishchenko, A.; Koenies, A.; Hatzky, R.

    2008-11-01

    Global linear gyro-kinetic particle-in-cell (PIC) simulations of electromagnetic modes in pinch and tokamak geometries are reported. The Toroidal Alfven Eigenmode and the Kinetic Ballooning Mode have been simulated. All plasma species have been treated kinetically (i.e. no hybrid fluid-kinetic or reduced-kinetic model has been applied). The main intention of the paper is to demonstrate that the global Alfven modes can be treated with the gyro-kinetic PIC method.

  16. PEREGRINE: An all-particle Monte Carlo code for radiation therapy

    SciTech Connect

    Hartmann Siantar, C.L.; Chandler, W.P.; Rathkopf, J.A.; Svatos, M.M.; White, R.M.

    1994-09-01

    The goal of radiation therapy is to deliver a lethal dose to the tumor while minimizing the dose to normal tissues. To carry out this task, it is critical to calculate correctly the distribution of dose delivered. Monte Carlo transport methods have the potential to provide more accurate prediction of dose distributions than currently-used methods. PEREGRINE is a new Monte Carlo transport code developed at Lawrence Livermore National Laboratory for the specific purpose of modeling the effects of radiation therapy. PEREGRINE transports neutrons, photons, electrons, positrons, and heavy charged-particles, including protons, deuterons, tritons, helium-3, and alpha particles. This paper describes the PEREGRINE transport code and some preliminary results for clinically relevant materials and radiation sources.

  17. Prediction of material strength and fracture of glass using the SPHINX smooth particle hydrodynamics code

    SciTech Connect

    Mandell, D.A.; Wingate, C.A.

    1994-08-01

    The design of many military devices involves numerical predictions of the material strength and fracture of brittle materials. The materials of interest include ceramics, that are used in armor packages; glass that is used in truck and jeep windshields and in helicopters; and rock and concrete that are used in underground bunkers. As part of a program to develop advanced hydrocode design tools, the authors have implemented a brittle fracture model for glass into the SPHINX smooth particle hydrodynamics code. The authors have evaluated this model and the code by predicting data from one-dimensional flyer plate impacts into glass, and data from tungsten rods impacting glass. Since fractured glass properties, which are needed in the model, are not available, the authors did sensitivity studies of these properties, as well as sensitivity studies to determine the number of particles needed in the calculations. The numerical results are in good agreement with the data.

  18. Prediction of material strength and fracture of brittle materials using the SPHINX smooth particle hydrodynamics code

    SciTech Connect

    Mandell, D.A.; Wingate, C.A.; Stellingwwerf, R.F.

    1995-12-31

    The design of many devices involves numerical predictions of the material strength and fracture of brittle materials. The materials of interest include ceramics that are used in armor packages; glass that is used in windshields; and rock and concrete that are used in oil wells. As part of a program to develop advanced hydrocode design tools, the authors have implemented a brittle fracture model for glass into the SPHINX smooth particle hydrodynamics code. The authors have evaluated this model and the code by predicting data from tungsten rods impacting glass. Since fractured glass properties, which are needed in the model, are not available, they did sensitivity studies of these properties, as well as sensitivity studies to determine the number of particles needed in the calculations. The numerical results are in good agreement with the data.

  19. Simulation of current generations in a three-dimensional particle model

    NASA Astrophysics Data System (ADS)

    Tsung, Frank Shih-Yu

    1999-07-01

    Noninductively generated current is important for the steady state operation of tokamak plasmas. In the CCT (Continuous Current Tokamak) experiment here at UCLA, a continuous current has been observed in ECRH-generated plasmas, and in plasmas generated by electron beams, in both co- and counter-streaming cases. In 2+1/2D simulation works done by Nunan et al, a continuous toroidal current was maintained by particle fueling alone. In Nunan's work, the ``preferential loss'' model was proposed to explain the noninductive generation of toroidal currents in magnetized plasmas. However, this model assumes the conservation of the canonical toroidal momentum and therefore may not exist in three dimensional simulations. The aim of this thesis is to demonstrate this effect in a 3-D plasma model. A scalable 3-D electromagnetic PIC (Particle-in-Cell) code was developed for this purpose. Because the electromagnetic signals travels a short distance during each time-step, this code need not communicate globally and therefore has a parallel overhead independent of the number of processors. On the SP2 at Cornell Theory Center, the program is over 96% efficient on 128 nodes. Optimization techniques for RISC- based processors are also discussed. Using the parallel 3-D code, we have carried out the TDC simulations using 32 grids in the previously ignorable (toroidal) direction and 160 times as many particles as before ( 1.6˙107 particles). These 3-D calculations agree qualitatively with the 2+1/2D results. In addition, particle scans were performed in both the 2+1/2D and 3-D to identify the source of particle transport in these simulations. In addition, test particle calculations were carried out to address issues related to the TDC problem. In one test charge calculation, we showed how the curvature drift breaks up the toroidal symmetry during start-up and generates current. Because of the 1/r dependence of the curvature drift, this effect becomes important when the radius is small

  20. Particle-in-Cell laser-plasma simulation on Xeon Phi coprocessors

    NASA Astrophysics Data System (ADS)

    Surmin, I. A.; Bastrakov, S. I.; Efimenko, E. S.; Gonoskov, A. A.; Korzhimanov, A. V.; Meyerov, I. B.

    2016-05-01

    This paper concerns the development of a high-performance implementation of the Particle-in-Cell method for plasma simulation on Intel Xeon Phi coprocessors. We discuss the suitability of the method for Xeon Phi architecture and present our experience in the porting and optimization of the existing parallel Particle-in-Cell code PICADOR. Direct porting without code modification gives performance on Xeon Phi close to that of an 8-core CPU on a benchmark problem with 50 particles per cell. We demonstrate step-by-step optimization techniques, such as improving data locality, enhancing parallelization efficiency and vectorization leading to an overall 4.2 × speedup on CPU and 7.5 × on Xeon Phi compared to the baseline version. The optimized version achieves 16.9 ns per particle update on an Intel Xeon E5-2660 CPU and 9.3 ns per particle update on an Intel Xeon Phi 5110P. For a real problem of laser ion acceleration in targets with surface grating, where a large number of macroparticles per cell is required, the speedup of Xeon Phi compared to CPU is 1.6 ×.

  1. The three-dimensional, discrete ordinates neutral particle transport code TORT: An overview

    SciTech Connect

    Azmy, Y.Y.

    1996-12-31

    The centerpiece of the Discrete Ordinates Oak Ridge System (DOORS), the three-dimensional neutral particle transport code TORT is reviewed. Its most prominent features pertaining to large applications, such as adjustable problem parameters, memory management, and coarse mesh methods, are described. Advanced, state-of-the-art capabilities including acceleration and multiprocessing are summarized here. Future enhancement of existing graphics and visualization tools is briefly presented.

  2. First experience with particle-in-cell plasma physics code on ARM-based HPC systems

    NASA Astrophysics Data System (ADS)

    Sáez, Xavier; Soba, Alejandro; Sánchez, Edilberto; Mantsinen, Mervi; Mateo, Sergi; Cela, José M.; Castejón, Francisco

    2015-09-01

    In this work, we will explore the feasibility of porting a Particle-in-cell code (EUTERPE) to an ARM multi-core platform from the Mont-Blanc project. The used prototype is based on a system-on-chip Samsung Exynos 5 with an integrated GPU. It is the first prototype that could be used for High-Performance Computing (HPC), since it supports double precision and parallel programming languages.

  3. Comparison of DAC and MONACO DSMC Codes with Flat Plate Simulation

    NASA Technical Reports Server (NTRS)

    Padilla, Jose F.

    2010-01-01

    Various implementations of the direct simulation Monte Carlo (DSMC) method exist in academia, government and industry. By comparing implementations, deficiencies and merits of each can be discovered. This document reports comparisons between DSMC Analysis Code (DAC) and MONACO. DAC is NASA's standard DSMC production code and MONACO is a research DSMC code developed in academia. These codes have various differences; in particular, they employ distinct computational grid definitions. In this study, DAC and MONACO are compared by having each simulate a blunted flat plate wind tunnel test, using an identical volume mesh. Simulation expense and DSMC metrics are compared. In addition, flow results are compared with available laboratory data. Overall, this study revealed that both codes, excluding grid adaptation, performed similarly. For parallel processing, DAC was generally more efficient. As expected, code accuracy was mainly dependent on physical models employed.

  4. Kinetic Particle-In Simulations of Transport in a Tokamak Scrape-Off Layer.

    NASA Astrophysics Data System (ADS)

    Procassini, Richard Joseph

    1990-01-01

    The focus of this thesis is the application of particle-in-cell (PIC) simulation techniques to the study of particle and energy transport in the scrape-off layer (SOL) of a tokamak fusion device. The PIC computer code that is used in this endeavor provides a fully-kinetic, self-consistent description of plasma transport in one spatial dimension (along the open magnetic field lines in the SOL) and two velocity components (v_ {|} and v_{ |}). The diverted-tokamak SOL system was modeled with various levels of physical complexity. The most rudimentary system studied, a collisionless bounded plasma-sheath region, was used to investigate the dependence of the potential structure on the source distribution function used to inject plasma into the SOL. The results from this study were in reasonable agreement with the predictions of previously developed analytic theories. The next level of complexity included the effects of Coulomb collisions. Plasma transport in the SOL was modeled over the wide range of collisionality encountered in current and near-term devices. The electron heat conduction flux in these simulations was limited to 11-21% of the free-streaming thermal flux. Finally, the atomic physics processes of charge exchange and ionization were included in the collisional model. These interactions between the charged-plasma and recycled-neutral particles can significantly affect energy transport through the SOL. This complete version of the kinetic PIC model was used to simulate SOL transport for various values of neutral particle density between the low-and high-recycling limits. The electron and ion kinetic energy fluxes to the divertor plate exhibit a marked decrease as the level of neutral particle recycling increases. The performance of the direct implicit PIC code has been determined with regard to the size of the time step Delta t and grid spacing Delta z. Each of the physics packages incorporated into the PIC code has been benchmarked against either available

  5. Finite-size particle simulations in the drift-kinetic approximation

    NASA Astrophysics Data System (ADS)

    Evstatiev, Evstati; Spencer, Andy; Kim, Jin-Soo; Shadwick, Bradley

    2013-10-01

    We extend previous variational formulations of finite-size particle plasma simulation methods to the drift-kinetic approximation. Such approximation is applicable to strongly magnetized plasmas, e.g., in tokamacs and magnetic mirrors. In our numerical examples we apply the drift-kinetic approximation to the electron population of the plasma in an electron cyclotron heating ion source (ECRIS) device. The electrons in an ECRIS device are strongly non-Maxwellian (due to the radio-frequency heating) and require kinetic treatment. The drift-kinetic approximation has allowed us to reduce the computational load associated with resolving the electron motion by about two orders of magnitude and to extend the simulation time to hundreds of microseconds. Details of the algorithms and some numerical results will be presented. Simulations are done with FAR-TECH's SIMulation of PLasmas code, SIMPL. Work supported by the DOE-SBIR office of Nuclear Physics.

  6. Electron-Anode Interactions in Particle-in-Cell Simulations of Applied-B Ion Diodes

    SciTech Connect

    Bailey, J.E.; Cuneo, M.D.; Johnson, D.J.; Mehlhorn, T.A.; Pointon, T.D.; Renk, T.J.; Stygar, W.A.; Vesey, R.A.

    1998-11-12

    Particle-in-cell simulations of applied-B ion diodes using the QUICKSILVER code have been augmented with Monte Carlo calculations of electron-anode interactions (reflection and energy deposition). Extraction diode simulations demonstrate a link between the instability evolution and increased electron loss and anode heating. Simulations of radial and extraction ion diodes show spatial non-uniformity in the predicted electron loss profile leading to hot spots on the anode that rapidly exceed the 350-450 {degree}C range, known to be sufficient for plasma formation on electron-bombarded surfaces. Thermal resorption calculations indicate complete resorption of contaminants with 15-20 kcal/mole binding energies in high-dose regions of the anode during the power pulse. Comparisons of parasitic ion emission simulations and experiment show agreement in some aspects; but also highlight the need for better ion source, plasma, and neutral gas models.

  7. The analog linear interpolation approach for Monte Carlo simulation of PGNAA: The CEARPGA code

    NASA Astrophysics Data System (ADS)

    Zhang, Wenchao; Gardner, Robin P.

    2004-01-01

    The analog linear interpolation approach (ALI) has been developed and implemented to eliminate the big weight problem in the Monte Carlo simulation code CEARPGA. The CEARPGA code was previously developed to generate elemental library spectra for using the Monte Carlo - library least-squares (MCLLS) approach in prompt gamma-ray neutron activation analysis (PGNAA). In addition, some other improvements to this code have been introduced, including (1) adopting the latest photon cross-section data, (2) using an improved detector response function, (3) adding the neutron activation backgrounds, (4) generating the individual natural background libraries, (5) adding the tracking of annihilation photons from pair production interactions outside of the detector and (6) adopting a general geometry package. The simulated result from the new CEARPGA code is compared with those calculated from the previous CEARPGA code and the MCNP code and experimental data. The new CEARPGA code is found to give the best result.

  8. Pegasus: A new hybrid-kinetic particle-in-cell code for astrophysical plasma dynamics

    NASA Astrophysics Data System (ADS)

    Kunz, Matthew W.; Stone, James M.; Bai, Xue-Ning

    2014-02-01

    We describe Pegasus, a new hybrid-kinetic particle-in-cell code tailored for the study of astrophysical plasma dynamics. The code incorporates an energy-conserving particle integrator into a stable, second-order-accurate, three-stage predictor-predictor-corrector integration algorithm. The constrained transport method is used to enforce the divergence-free constraint on the magnetic field. A δf scheme is included to facilitate a reduced-noise study of systems in which only small departures from an initial distribution function are anticipated. The effects of rotation and shear are implemented through the shearing-sheet formalism with orbital advection. These algorithms are embedded within an architecture similar to that used in the popular astrophysical magnetohydrodynamics code Athena, one that is modular, well-documented, easy to use, and efficiently parallelized for use on thousands of processors. We present a series of tests in one, two, and three spatial dimensions that demonstrate the fidelity and versatility of the code.

  9. An improved sink particle algorithm for SPH simulations

    NASA Astrophysics Data System (ADS)

    Hubber, D. A.; Walch, S.; Whitworth, A. P.

    2013-04-01

    Numerical simulations of star formation frequently rely on the implementation of sink particles: (a) to avoid expending computational resource on the detailed internal physics of individual collapsing protostars, (b) to derive mass functions, binary statistics and clustering kinematics (and hence to make comparisons with observation), and (c) to model radiative and mechanical feedback; sink particles are also used in other contexts, for example to represent accreting black holes in galactic nuclei. We present a new algorithm for creating and evolving sink particles in smoothed particle hydrodynamic (SPH) simulations, which appears to represent a significant improvement over existing algorithms - particularly in situations where sinks are introduced after the gas has become optically thick to its own cooling radiation and started to heat up by adiabatic compression. (i) It avoids spurious creation of sinks. (ii) It regulates the accretion of matter on to a sink so as to mitigate non-physical perturbations in the vicinity of the sink. (iii) Sinks accrete matter, but the associated angular momentum is transferred back to the surrounding medium. With the new algorithm - and modulo the need to invoke sufficient resolution to capture the physics preceding sink formation - the properties of sinks formed in simulations are essentially independent of the user-defined parameters of sink creation, or the number of SPH particles used.

  10. Microscale simulation of particle deposition in porous media.

    PubMed

    Boccardo, Gianluca; Marchisio, Daniele L; Sethi, Rajandrea

    2014-03-01

    In this work several geometries, each representing a different porous medium, are considered to perform detailed computational fluid dynamics simulation for fluid flow, particle transport and deposition. Only Brownian motions and steric interception are accounted for as deposition mechanisms. Firstly pressure drop in each porous medium is analyzed in order to determine an effective grain size, by fitting the results with the Ergun law. Then grid independence is assessed. Lastly, particle transport in the system is investigated via Eulerian steady-state simulations, where particle concentration is solved for, not following explicitly particles' trajectories, but solving the corresponding advection-diffusion equation. An assumption was made in considering favorable collector-particle interactions, resulting in a "perfect sink" boundary condition for the collectors. The gathered simulation data are used to calculate the deposition efficiency due to Brownian motions and steric interception. The original Levich law for one simple circular collector is verified; subsequently porous media constituted by a packing of collectors are scrutinized. Results show that the interactions between the different collectors result in behaviors which are not in line with the theory developed by Happel and co-workers, highlighting a different dependency of the deposition efficiency on the dimensionless groups involved in the relevant correlations. PMID:24407681

  11. Five-field simulations of peeling-ballooning modes using BOUT++ code

    SciTech Connect

    Xia, T. Y.; Xu, X. Q.

    2013-05-15

    The simulations of edge localized modes (ELMs) with a 5-field peeling-ballooning (P-B) model using BOUT++ code are reported in this paper. In order to study the particle and energy transport in the pedestal region, the pressure equation is separated into ion density and ion and electron temperature equations. Through the simulations, the length scale L{sub n} of the gradient of equilibrium density n{sub i0} is found to destabilize the P-B modes in ideal MHD model. With ion diamagnetic effects, the growth rate is inversely proportional to n{sub i0} at medium toroidal mode number n. For the nonlinear simulations, the gradient of n{sub i0} in the pedestal region can more than double the ELM size. This increasing effect can be suppressed by thermal diffusivities χ{sub ∥}, employing the flux limited expression. Thermal diffusivities are sufficient to suppress the perturbations at the top of pedestal region. These suppressing effects lead to smaller ELM size of P-B modes.

  12. Five-field simulations of peeling-ballooning modes using BOUT++ code

    NASA Astrophysics Data System (ADS)

    Xia, T. Y.; Xu, X. Q.

    2013-05-01

    The simulations of edge localized modes (ELMs) with a 5-field peeling-ballooning (P-B) model using BOUT++ code are reported in this paper. In order to study the particle and energy transport in the pedestal region, the pressure equation is separated into ion density and ion and electron temperature equations. Through the simulations, the length scale Ln of the gradient of equilibrium density ni0 is found to destabilize the P-B modes in ideal MHD model. With ion diamagnetic effects, the growth rate is inversely proportional to ni0 at medium toroidal mode number n. For the nonlinear simulations, the gradient of ni0 in the pedestal region can more than double the ELM size. This increasing effect can be suppressed by thermal diffusivities χ∥, employing the flux limited expression. Thermal diffusivities are sufficient to suppress the perturbations at the top of pedestal region. These suppressing effects lead to smaller ELM size of P-B modes.

  13. 3-D Spreadsheet Simulation of a Modern Particle Detector

    ERIC Educational Resources Information Center

    Scott, Alan J.

    2004-01-01

    A spreadsheet simulation of a modern particle detector has been developed and can be readily used as an instructional tool in the physics classroom. The spreadsheet creates a three-dimensional model that can be rotated and helical trajectories can be highlighted. An associated student worksheet is also presented.

  14. Water Flow Simulation using Smoothed Particle Hydrodynamics (SPH)

    NASA Technical Reports Server (NTRS)

    Vu, Bruce; Berg, Jared; Harris, Michael F.

    2014-01-01

    Simulation of water flow from the rainbird nozzles has been accomplished using the Smoothed Particle Hydrodynamics (SPH). The advantage of using SPH is that no meshing is required, thus the grid quality is no longer an issue and accuracy can be improved.

  15. Diffusion of Particle in Hyaluronan Solution, a Brownian Dynamics Simulation

    NASA Astrophysics Data System (ADS)

    Takasu, Masako; Tomita, Jungo

    2004-04-01

    Diffusion of a particle in hyaluronan solution is investigated using Brownian dynamics simulation. The slowing down of diffusion is observed, in accordance with the experimental results. The temperature dependence of the diffusion is calculated, and a turnover is obtained when the temperature is increased.

  16. Computer simulations of single particles in external electric fields.

    PubMed

    Zhou, Jiajia; Schmid, Friederike

    2015-09-14

    Applying electric fields is an attractive way to control and manipulate single particles or molecules, e.g., in lab-on-a-chip devices. However, the response of nanosize objects in electrolyte solution to external fields is far from trivial. It is the result of a variety of dynamical processes taking place in the ion cloud surrounding charged particles and in the bulk electrolyte, and it is governed by an intricate interplay of electrostatic and hydrodynamic interactions. Already systems composed of one single particle in electrolyte solution exhibit a complex dynamical behaviour. In this review, we discuss recent coarse-grained simulations that have been performed to obtain a molecular-level understanding of the dynamic and dielectric response of single particles and single macromolecules to external electric fields. We address both the response of charged particles to constant fields (DC fields), which can be characterized by an electrophoretic mobility, and the dielectric response of both uncharged and charged particles to alternating fields (AC fields), which is described by a complex polarizability. Furthermore, we give a brief survey of simulation algorithms and highlight some recent developments. PMID:26238433

  17. Particle track simulation by N2 laser radiation

    NASA Astrophysics Data System (ADS)

    Gushchin, E.; Lebedev, A. N.; Somov, S. V.

    1984-07-01

    The use of N2 high-power pulsed lasers to simulate particle tracks is discussed. In gas-filled detectors, the tracks are attributed to either direct photoionization of the surface of dust particles or to two-photon ionization of unidentified molecular impurities with an ionization potential less than 2 hnu. Two-photon ionization of various saturated organic vapors is investigated and it is found that the addition of these substances to the working gas makes it possible to decrease the laser power and obtain laser tracks with virtually any electron density. It is also shown that the electron density is proportional to the square of the light power. Laser track simulation has applications in spatial and energy calibration of positive-sensitive detectors, the measurement of the drift of particle tracks in streamer, spark, and bubble chambers, and photoionization molecular spectroscopy.

  18. Multiscale simulation of ideal mixtures using smoothed dissipative particle dynamics.

    PubMed

    Petsev, Nikolai D; Leal, L Gary; Shell, M Scott

    2016-02-28

    Smoothed dissipative particle dynamics (SDPD) [P. Español and M. Revenga, Phys. Rev. E 67, 026705 (2003)] is a thermodynamically consistent particle-based continuum hydrodynamics solver that features scale-dependent thermal fluctuations. We obtain a new formulation of this stochastic method for ideal two-component mixtures through a discretization of the advection-diffusion equation with thermal noise in the concentration field. The resulting multicomponent approach is consistent with the interpretation of the SDPD particles as moving volumes of fluid and reproduces the correct fluctuations and diffusion dynamics. Subsequently, we provide a general multiscale multicomponent SDPD framework for simulations of molecularly miscible systems spanning length scales from nanometers to the non-fluctuating continuum limit. This approach reproduces appropriate equilibrium properties and is validated with simulation of simple one-dimensional diffusion across multiple length scales. PMID:26931689

  19. Multiscale simulation of ideal mixtures using smoothed dissipative particle dynamics

    NASA Astrophysics Data System (ADS)

    Petsev, Nikolai D.; Leal, L. Gary; Shell, M. Scott

    2016-02-01

    Smoothed dissipative particle dynamics (SDPD) [P. Español and M. Revenga, Phys. Rev. E 67, 026705 (2003)] is a thermodynamically consistent particle-based continuum hydrodynamics solver that features scale-dependent thermal fluctuations. We obtain a new formulation of this stochastic method for ideal two-component mixtures through a discretization of the advection-diffusion equation with thermal noise in the concentration field. The resulting multicomponent approach is consistent with the interpretation of the SDPD particles as moving volumes of fluid and reproduces the correct fluctuations and diffusion dynamics. Subsequently, we provide a general multiscale multicomponent SDPD framework for simulations of molecularly miscible systems spanning length scales from nanometers to the non-fluctuating continuum limit. This approach reproduces appropriate equilibrium properties and is validated with simulation of simple one-dimensional diffusion across multiple length scales.

  20. A Hamiltonian Particle Method with a Staggered Particle Technique for Simulating Seismic Wave Propagation

    NASA Astrophysics Data System (ADS)

    Takekawa, Junichi; Mikada, Hitoshi; Goto, Tada-nori

    2014-08-01

    We present a Hamiltonian particle method (HPM) with a staggered particle technique for simulating seismic wave propagation. In the conventional HPM, physical variables, such as particle displacement and stress, are defined at the center, i.e., at the same position, of each particle. As most seismic simulations using finite difference methods (FDM) are practiced with staggered grid techniques, we know the staggered alignment of space variables could improve the numerical accuracy. In the present study, we hypothesized that staggered technique could improve the numerical accuracy also in the HPM and tested the hypothesis. First, we conducted a plane wave analysis for the HPM with the staggered particles in order to verify the validity of our strategy. The comparison of grid dispersion in our strategy with that in the conventional one suggests that the accuracy would be improved dramatically by use of the staggered technique. It is also observed that the dispersion of waves is dependent on the propagation direction due to the difference in the average spacing of the neighboring two particles for the same parameters, as is usually observed in FDM with a rotated staggered grid. Next, we compared the results from the conventional Lamb's problem using our HPM with those from an analytical approach in order to demonstrate the effectiveness of the staggered particle technique. Our results showed better agreement with the analytical solutions than those from HPM without the staggered particles. We conclude that the staggered particle technique would be a method to improve the calculation accuracy in the simulation of seismic wave propagation.