skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Memory access optimization for particle operations in computational fluid dynamics-discrete element method simulations

Journal Article · · Particuology
ORCiD logo [1]; ORCiD logo [1];  [1];  [2];  [2];  [3]
  1. National Renewable Energy Laboratory (NREL), Golden, CO (United States)
  2. University of Colorado, Boulder, CO (United States)
  3. National Energy Technology Laboratory (NETL), Pittsburgh, PA, Morgantown, WV, and Albany, OR (United States)

Computational Fluid Dynamics - Discrete Element Method is used to model gas-solid systems in several applications in energy, pharmaceutical and petrochemical industries. Computational performance bottlenecks often limit the problem sizes that can be simulated at industrial scale. The data structures used to store several millions of particles in such large-scale simulations have a large memory footprint that does not fit into the processor cache hierarchies on current high-performance-computing platforms, leading to reduced computational performance. This paper specifically addresses this aspect of memory access bottlenecks in industrial scale simulations. The use of space-filling curves to improve memory access patterns is described and their impact on computational performance is quantified in both shared and distributed memory parallelization paradigms. The Morton space filling curve applied to uniform grids and k-dimensional tree partitions are used to reorder the particle data-structure thus improving spatial and temporal locality in memory. The performance impact of these techniques when applied to two benchmark problems, namely the homogeneous-cooling-system and a fluidized-bed, are presented. We report these optimization techniques lead to approximately two-fold performance improvement in particle focused operations such as neighbor-list creation and data-exchange, with ~ 1.5 times overall improvement in a fluidization simulation with 1.27 million particles.

Research Organization:
National Renewable Energy Laboratory (NREL), Golden, CO (United States)
Sponsoring Organization:
USDOE Office of Energy Efficiency and Renewable Energy (EERE); USDOE Office of Fossil Energy (FE)
Grant/Contract Number:
AC36-08GO28308; FE0026298
OSTI ID:
1906320
Report Number(s):
NREL/JA-2C00-79825; MainId:39043; UUID:d578def6-b8e9-40fc-938e-d42037e66dcc; MainAdminID:68281
Journal Information:
Particuology, Vol. 78; ISSN 1674-2001
Publisher:
ElsevierCopyright Statement
Country of Publication:
United States
Language:
English

References (25)

Drag force of intermediate Reynolds number flow past mono- and bidisperse arrays of spheres journal January 2007
Multidimensional binary search trees used for associative searching journal September 1975
Renumbering unstructured grids to improve the performance of codes on hierarchical memory machines journal April 1997
A bubbling fluidization model using kinetic theory of granular flow journal April 1990
Performance Evaluation of Parallel Count Sort using GPU Computing with CUDA journal May 2016
A GPU-based DEM approach for modelling of particulate systems journal November 2016
An Algorithm for Reducing the Bandwidth and Profile of a Sparse Matrix journal April 1976
Grain flow as a fluid-mechanical phenomenon journal September 1983
Advanced parallelization strategies using hybrid MPI-CUDA octree DSMC method for modeling flow through porous media journal June 2017
The NETL MFiX Suite of multiphase flow models: A brief review and recent applications of MFiX-TFM to fossil energy Technologies journal September 2017
Some useful renumbering strategies for unstructured grids journal October 1993
The Homogeneous Cooling State as a Verification Test for Kinetic Theory-Based Continuum Models of Gas–Solid Flows journal December 2017
An error-controlled adaptive time-stepping method for particle advancement in coupled CFD-DEM simulations journal February 2021
Granular temperature: Comparison of Magnetic Resonance measurements with Discrete Element Model simulations journal May 2008
Validation of a discrete element model using magnetic resonance measurements journal August 2009
Parallel-vector algorithms for particle simulations on shared-memory multiprocessors journal March 2011
Computational fluid dynamics study of full-scale aerobic bioreactors: Evaluation of gas–liquid mass transfer, oxygen uptake, and dynamic oxygen distribution journal November 2018
Balancing conflicting requirements for grid and particle decomposition in continuum-Lagrangian solvers journal February 2016
A matrix free implicit scheme for solution of resistive magneto-hydrodynamics equations on unstructured grids journal October 2013
A Primer on Memory Consistency and Cache Coherence book January 2020
Cluster patterns in circulating fluidized beds predicted by numerical simulation (discrete particle model versus two-fluid model) journal March 1998
On a quasi-static discrete element model of granular materials journal January 1996
Morton ordering of 2D arrays for efficient access to hierarchical memory journal August 2017
Roofline: an insightful visual performance model for multicore architectures journal April 2009
AMReX: a framework for block-structured adaptive mesh refinement journal May 2019