233 research outputs found
DualSPHysics: from fluid dynamics to multiphysics problems
DualSPHysics is a weakly compressible smoothed particle hydrodynamics (SPH) Navier–Stokes solver initially conceived to deal with coastal engineering problems, especially those related to wave impact with coastal structures. Since the first release back in 2011, DualSPHysics has shown to be robust and accurate for simulating extreme wave events along with a continuous improvement in efficiency thanks to the exploitation of hardware such as graphics processing units for scientific computing or the coupling with wave propagating models such as SWASH and OceanWave3D. Numerous additional functionalities have also been included in the DualSPHysics package over the last few years which allow the simulation of fluid-driven objects. The use of the discrete element method has allowed the solver to simulate the interaction among different bodies (sliding rocks, for example), which provides a unique tool to analyse debris flows. In addition, the recent coupling with other solvers like Project Chrono or MoorDyn has been a milestone in the development of the solver. Project Chrono allows the simulation of articulated structures with joints, hinges, sliders and springs and MoorDyn allows simulating moored structures. Both functionalities make DualSPHysics especially suited for the simulation of offshore energy harvesting devices. Lately, the present state of maturity of the solver goes beyond single-phase simulations, allowing multi-phase simulations with gas–liquid and a combination of Newtonian and non-Newtonian models expanding further the capabilities and range of applications for the DualSPHysics solver. These advances and functionalities make DualSPHysics an advanced meshless solver with emphasis on free-surface flow modelling
GAMER: a GPU-Accelerated Adaptive Mesh Refinement Code for Astrophysics
We present the newly developed code, GAMER (GPU-accelerated Adaptive MEsh
Refinement code), which has adopted a novel approach to improve the performance
of adaptive mesh refinement (AMR) astrophysical simulations by a large factor
with the use of the graphic processing unit (GPU). The AMR implementation is
based on a hierarchy of grid patches with an oct-tree data structure. We adopt
a three-dimensional relaxing TVD scheme for the hydrodynamic solver, and a
multi-level relaxation scheme for the Poisson solver. Both solvers have been
implemented in GPU, by which hundreds of patches can be advanced in parallel.
The computational overhead associated with the data transfer between CPU and
GPU is carefully reduced by utilizing the capability of asynchronous memory
copies in GPU, and the computing time of the ghost-zone values for each patch
is made to diminish by overlapping it with the GPU computations. We demonstrate
the accuracy of the code by performing several standard test problems in
astrophysics. GAMER is a parallel code that can be run in a multi-GPU cluster
system. We measure the performance of the code by performing purely-baryonic
cosmological simulations in different hardware implementations, in which
detailed timing analyses provide comparison between the computations with and
without GPU(s) acceleration. Maximum speed-up factors of 12.19 and 10.47 are
demonstrated using 1 GPU with 4096^3 effective resolution and 16 GPUs with
8192^3 effective resolution, respectively.Comment: 60 pages, 22 figures, 3 tables. More accuracy tests are included.
Accepted for publication in ApJ
Free-Surface Flow Simulations with Smoothed Particle Hydrodynamics Method using High-Performance Computing
Today, the use of modern high-performance computing (HPC) systems, such as clusters equipped with graphics processing units (GPUs), allows solving problems with resolutions unthinkable only a decade ago. The demand for high computational power is certainly an issue when simulating free-surface flows. However, taking the advantage of GPU’s parallel computing techniques, simulations involving up to 109 particles can be achieved. In this framework, this chapter shows some numerical results of typical coastal engineering problems obtained by means of the GPU-based computing servers maintained at the Environmental Physics Laboratory (EPhysLab) from Vigo University in Ourense (Spain) and the Tier-1 Galileo cluster of the Italian computing centre CINECA. The DualSPHysics free package based on smoothed particle hydrodynamics (SPH) technique was used for the purpose. SPH is a meshless particle method based on Lagrangian formulation by which the fluid domain is discretized as a collection of computing fluid particles. Speedup and efficiency of calculations are studied in terms of the initial interparticle distance and by coupling DualSPHysics with a NLSW wave propagation model. Water free-surface elevation, orbital velocities and wave forces are compared with results from experimental campaigns and theoretical solutions
Recommended from our members
Particle Dynamics Simulation toward High-Shear Mixing Process in Many Particle Systems
Granular materials appear in a broad range of industrial processes, including mineral processing, plastics manufacturing, ceramic component, pharmaceutical tablets and food products. Engineers and scientists are always seeking efficient tools that can characterize, predict, or simulate the effective material properties in a timely manner and with acceptable accuracy, such that the cost for design and develop novel composite granular materials could be reduced.
The major scope of this dissertation covers the development, verification and validation of particle system simulations, including solid-liquid two-phase particle mixing process and foaming asphalt process. High shear mixing process is investigated in detail with different types of mixers. Besides particle mixing study, one liquid-gas two phase foaming asphalt simulation is studied to show the broad capacity of our particulate dynamics simulation scheme. Methodologies and numerical studies for different scenarios are presented, and acceleration plans to speed up the simulations are discussed in detail.
The dissertation starts with the problem statement, which briefly demonstrates the background of the problem and introduces the numerical models built from the physical world. In this work, liquid-solid two-phase particle mixing process is mainly studied. These mixing processes are conducted in a sealed mixer and different types of particles are mixed with the rotation of the mixer blades, to obtain a homogeneous particle mixture. In addition to the solid-liquid particle mixing problem, foaming asphalt problem, which is a liquid-gas two phase flow problem is also investigated. Foaming asphalt is generated by injecting a small amount of liquid additive (usually water) to asphalt at a high temperature. The volume change during this asphalt foaming process is studied.
Given the problem statement, detailed methodologies of particle dynamics simulation are illustrated. For solid-liquid particle mixing, Smoothed Particle Hydrodynamics (SPH) and Discrete Element Method (DEM) are introduced and implemented to simulate the dynamics of solid and liquid particles, respectively. Solid-liquid particle interactions are computed according to Darcy`s Law. Then the proposed SPH coupling DEM model is verified by three classical case studies.
For foaming asphalt problems, a SPH numerical model for foaming asphalt simulation is proposed, and simulations with different water contents, pressures and temperatures are conducted and the results agree with the experiments well. The coupled SPH-DEM method is applied to the particle mixing process, and several particle mixing numerical studies are conducted and these simulations are analyzed in multiple aspects. For the solid-liquid particle mixing problem, liquid plays an important role in the mixing performance. The effects of liquid content and liquid viscosity on mixing performance are studied. The mixing indexes of the mixture are applied to analyze the mixing quality, and the differences between three kinds of mixing indexes are discussed. Then mixers commonly used in industry such as Double Planetary Mixer (DPM) are modeled in mixing simulation and their results are compared with the experiments.
Similar to other numerical simulation problems, the scale of the model and the accuracy of the simulation results are constrained by the computational capacity. Our in-house software package Particle Dynamics Parallel Simulator(PDPS) has been used as a platform to implement the algorithms above and conduct the simulations. Two parallel computing methods of Message Passing Interface (MPI) parallel computing and Graphics Processing Unit (GPU) acceleration have been used to accelerate the simulations. Speedup results for both MPI parallel computing and GPU methods are illustrated in the case studies.
In summary, a comprehensive approach for particle simulation is proposed and applied to particle mixing process and asphalt foaming simulation. The simulation results are analyzed in various aspects to provide valuable insights to the problems studied in this work. Given the improvement of computational capacity, particle dynamics in higher resolution and simulations in more complex configurations can be obtained. This particle simulation platform is general and it can be straightforwardly extended to many-particle systems with more particle phases and solid-liquid-gas dynamics problems
Smoothed particle hydrodynamics method for free surface flow based on MPI parallel computing
In the field of computational fluid dynamics (CFD), smoothed particle hydrodynamics (SPH) is very suitable for simulating problems with large deformation, free surface flow and other types of flow scenarios. However, traditional smoothed particle hydrodynamics methods suffer from the problem of high computation complexity, which constrains their application in scenarios with accuracy requirements. DualSPHysics is an excellent smoothed particle hydrodynamics software proposed in academia. Based on this tool, this paper presents a largescale parallel smoothed particle hydrodynamics framework: parallelDualSPHysics, which can solve the simulation of large-scale free surface flow. First, an efficient domain decomposition algorithm is proposed. And the data structure of DualSPHysics in a parallel framework is reshaped. Secondly, we proposed a strategy of overlapping computation and communication to the parallel particle interaction and particle update module, which greatly improves the parallel efficiency of the smoothed particle hydrodynamics method. Finally, we also added the pre-processing and post-processing modules to enable parallelDualSPHysics to run in modern high performance computers. In addition, a thorough evaluation shows that the 3 to 120 million particles tested can still maintain more than 90% computing efficiency, which demonstrates that the parallel strategy can achieve superior parallel efficiency
Intelligent Computational Transportation
Transportation is commonplace around our world. Numerous researchers dedicate great efforts to vast transportation research topics. The purpose of this dissertation is to investigate and address a couple of transportation problems with respect to geographic discretization, pavement surface automatic examination, and traffic ow simulation, using advanced computational technologies. Many applications require a discretized 2D geographic map such that local information can be accessed efficiently. For example, map matching, which aligns a sequence of observed positions to a real-world road network, needs to find all the nearby road segments to the individual positions. To this end, the map is discretized by cells and each cell retains a list of road segments coincident with this cell. An efficient method is proposed to form such lists for the cells without costly overlapping tests. Furthermore, the method can be easily extended to 3D scenarios for fast triangle mesh voxelization. Pavement surface distress conditions are critical inputs for quantifying roadway infrastructure serviceability. Existing computer-aided automatic examination techniques are mainly based on 2D image analysis or 3D georeferenced data set. The disadvantage of information losses or extremely high costs impedes their effectiveness iv and applicability. In this study, a cost-effective Kinect-based approach is proposed for 3D pavement surface reconstruction and cracking recognition. Various cracking measurements such as alligator cracking, traverse cracking, longitudinal cracking, etc., are identified and recognized for their severity examinations based on associated geometrical features. Smart transportation is one of the core components in modern urbanization processes. Under this context, the Connected Autonomous Vehicle (CAV) system presents a promising solution towards the enhanced traffic safety and mobility through state-of-the-art wireless communications and autonomous driving techniques. Due to the different nature between the CAVs and the conventional Human- Driven-Vehicles (HDVs), it is believed that CAV-enabled transportation systems will revolutionize the existing understanding of network-wide traffic operations and re-establish traffic ow theory. This study presents a new continuum dynamics model for the future CAV-enabled traffic system, realized by encapsulating mutually-coupled vehicle interactions using virtual internal and external forces. A Smoothed Particle Hydrodynamics (SPH)-based numerical simulation and an interactive traffic visualization framework are also developed
The Astrophysical Multipurpose Software Environment
We present the open source Astrophysical Multi-purpose Software Environment
(AMUSE, www.amusecode.org), a component library for performing astrophysical
simulations involving different physical domains and scales. It couples
existing codes within a Python framework based on a communication layer using
MPI. The interfaces are standardized for each domain and their implementation
based on MPI guarantees that the whole framework is well-suited for distributed
computation. It includes facilities for unit handling and data storage.
Currently it includes codes for gravitational dynamics, stellar evolution,
hydrodynamics and radiative transfer. Within each domain the interfaces to the
codes are as similar as possible. We describe the design and implementation of
AMUSE, as well as the main components and community codes currently supported
and we discuss the code interactions facilitated by the framework.
Additionally, we demonstrate how AMUSE can be used to resolve complex
astrophysical problems by presenting example applications.Comment: 23 pages, 25 figures, accepted for A&
- …