<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Modeling of Rock Scour using Coupled 3-D Discrete Element and Lattice Boltzmann Methods</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2018 June</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10066919</idno>
					<idno type="doi"></idno>
					<title level='j'>52nd US Rock Mechanics/Geomechancs Symposium</title>
<idno>0085-574X</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Michael H. Gardner</author><author>Nicholas Sitar</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Scour of rock in unlined rock spillway channels is a critical issue facing many of the world’s dams. From a modeling point of view this poses a challenging and interesting problem that combines rock mechanics and hydraulics of turbulent flow. We analyze this interaction between the blocky rock mass and water by directly modeling the solid and fluid phases—the individual polyhedral blocks are modeled using the Discrete Element Method (DEM) while the water is modeled using the Lattice Boltzmann Method (LBM). The LBM mesh is entirely independent of the DEM discretization, making it possible to refine the LBM mesh such that transient and varied fluid pressures acting of the rock surface are directly modeled. This provides the capability to investigate the effect of water pressure inside the fractured rock mass, along potential sliding planes, and can be extended to rock falls and slides into standing bodies of water such as lakes and reservoirs. Herein we present preliminary results to demonstrate the capabilities of the methodology.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">INTRODUCTION</head><p>Scour of rock is a very challenging and interesting problem that combines rock mechanics and hydraulics of turbulent flow. On a practical level, rock erosion is a critical issue facing many of the world's dams at which excessive scour of the dam foundation or spillway can compromise the stability of the dam resulting in significant remediation costs, if not direct personal property damage or even loss of life. The most current example of this problem is Oroville Dam in Northern California-massive scour damage to both the service and emergency spillways during the flood events of February 2017 led to the evacuation of more the 188,000 people living downstream of the dam.</p><p>In order to effectively model rock scour, it is necessary to consider the interaction between the blocky rock mass and the water flowing over and through it. Simulations modeling this process can follow one of two approaches:</p><p>&#61623; Account for fluid-solid interaction based on a locally averaged approach <ref type="bibr">(Anderson &amp; Jackson, 1967</ref><ref type="bibr">, Tsuji et al., 2008</ref><ref type="bibr">, Furuichi et al., 2014)</ref> &#61623; Directly simulate hydrodynamic forces on the solid particles <ref type="bibr">(Noble &amp; Torczynksi, 1998</ref><ref type="bibr">, Holdych, 2003</ref><ref type="bibr">, H&#246;lzer &amp; Sommerfeld, 2009)</ref> In the locally averaged approach, the number of solid particles is greater than the number of fluid cells, making this approach less computationally expensive. However, since the fluid-solid coupling is done on a volumeaveraged basis, all particles within a local region will experience the same hydrodynamic forces. In certain applications this may be appropriate, but for rock scour this approach does not offer sufficient resolution. The second approach attempts to overcome this shortcoming by directly simulating the hydrodynamic forces on the solid particles. To achieve this, it is necessary to have a much higher resolution fluid mesh and consequently many more fluid cells compared to solid particles. This added accuracy makes direct simulations significantly more computationally expensive. Our approach falls into the second category where fluidsolid interaction is directly simulated. This is achieved by coupling the Discrete Element Method (DEM) with the Lattice Boltzmann Method (LBM) in three dimensions. The solid polyhedral particles are modeled using DEM while the fluid phase is simulated using LBM. As previously mentioned, this approach is computationally intensive and requires parallel computing to accelerate computations. We implemented our computations in parallel using the Kokkos C++ library <ref type="bibr">(Edwards et al. 2014)</ref>. Kokkos achieves performance portability among different computing platforms, allowing the same code to be compiled to target the hardware it will be executed on. The resulting software, written in C++, is capable of modeling fluid-solid interaction in three dimensions and can be executed in parallel to accelerate computations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">SOLID PHASE MODEL</head><p>In fractured rock, the displacements occur primarily along the joints within the fractured rock mass-the three dimensional orientation of the discontinuities largely influence the block removability, kinematics and stability <ref type="bibr">(Goodman &amp; Shi, 1985)</ref>. Therefore, it is important that any numerical model used to describe the mechanical behavior of rock is able to capture the discontinuous nature of the rock. Continuum models are not able to capture this behavior since the rock is not continuous at all. Distinct particle methods such as the Discrete Element Method <ref type="bibr">(Cundall &amp; Strack, 1979)</ref> and Discontinuous Deformation Analysis <ref type="bibr">(Shi &amp; Goodman, 1988</ref>) directly model individual particles, making them ideal for modeling fractured rock.</p><p>We chose to use DEM since the time integration formulation is explicit. This means that all block force and moment computations are local and, once all contact detection has been completed for a particular time step, the block displacements and rotations can be updated without needing any additional information about neighboring blocks. This local nature of the calculations makes them attractive for parallel computing.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Formulation</head><p>The equations of translational and rotational motion for an individual rock block are:</p><p>where i x&#61478; &#61478; and represent the translational and rotational acceleration of the block; F i and M i are the total force and moment acting on the block; &#945; is the damping constant; and g i is the gravitational acceleration. These equations are integrated over time using a velocity Verlet time integrator for translation and a quaternion-based time integrator <ref type="bibr">(Johnson et al., 2008)</ref> for rotation.</p><p>The total force and torque acting on the block are determined based on contact between blocks. Contact forces and moments are calculated following the method of <ref type="bibr">Hart et al., 1988</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Contact Detection</head><p>In order to determine the contact forces and moments, it is necessary to establish which blocks are in contact with each other. This is the most computationally expensive portion of DEM-approximately 80% of computation time is spent here <ref type="bibr">(Horner et al., 2000)</ref>.</p><p>Establishing contact between blocks is done in two phases: first, a neighbor search to establish which blocks are close enough to possibly be in contact and, second, checking whether those blocks are actually in contact. We implemented the CGRID algorithm <ref type="bibr">(Williams et al., 2003)</ref> to perform the neighbor search. Unlike other neighbor search algorithms, such as NBS <ref type="bibr">(Munjiza &amp; Andrews, 1998)</ref>, CGRID is able to maintain O(N) operations to complete spatial binning even if the particle sizes are substantially different-often the case for fractured rock. Once the neighbor search has established which blocks could possibly be in contact, the neighboring blocks are checked to determine which pairs are actually in contact. For this phase of the computations, we used a linear programming approach as described by Boon et al., 2012. As shown in Figure <ref type="figure">1</ref>, each polyhedral block can be defined as a set of linear inequalities describing the faces of the block. Using this formulation, contact detection can be recast as a convex optimization. This algorithm greatly simplifies the contact detection process-the only data necessary for describing the blocks is the normal of each of the block faces and the distance of that face from the block centroid. Contact is established by solving a linear program; if contact exists, the contact point is taken as the analytical center of the region of overlap, indicated by the hashed region in Figure <ref type="figure">1</ref>. The contact normal is calculated using the gradient vector of "potential particles" within each of the contacting blocks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">FLUID PHASE MODEL</head><p>The behavior of viscous fluid is described by the Navier Stokes equation. In computational fluid dynamics, several methods have been used to simulate the behavior of fluid by approximating the Navier Stokes equation numerically. The Finite Element Method (FEM) and Finite Volume Method (FVM) are two of the most popular methods; they can capture shocks and can offer higher order accuracy. However, when a solid phase is allowed to move through the fluid phase; these methods can become prohibitively computationally expensive and complicated: As the fluid moves through the FEM domain, it is necessary to re-mesh the fluid in the vicinity of the block and translate solutions from the old mesh to the updated one. For the FVM, establishing the support for higher order solutions is no longer clear when fluid cells are covered by solids.</p><p>An alternative to using the FEM or FVM, is the Lattice Boltzmann Method (LBM). Instead of solving the Navier Stokes equations, the LBM is based on kinetic theory and solves a mesoscopic description of fluid behaviordistributions of particles form the fundamental description of fluid behavior. It can be shown that the LBM recovers the macroscopic Navier-Stokes equations through a Chapman-Enskog expansion <ref type="bibr">(Succi, 2001)</ref>. The LBM formulation is intrinsically parallelizable and the method is able to deal with complex geometries and solids moving through the fluid mesh in a relatively straightforward fashion.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Formulation</head><p>In addition to discretizing physical space and time, the LBM also discretizes velocity space in the Boltzmann equation. The set of discrete velocities and accompanying weights are selected to satisfy the correct macroscopic conservation laws <ref type="bibr">(Kr&#252;ger et al., 2016)</ref>. Figure <ref type="figure">2</ref> shows two such sets, one with 9 discrete velocities in two dimensions and another with 27 discrete velocities in three dimensions. </p><p>This equation describes the two steps in the LBM: streaming and collision. In the streaming step, particle populations f i (x,t) move to neighboring point x + c i &#916;t with velocity c i at the next time step t + &#916;t. The collision step is described by the collision operator, &#937; i , which models particle collisions by redistributing particles among the populations f i (x,t) at each node in the fluid mesh.</p><p>There are many different collision operators available. The simplest is the single relaxation time Bhatnagar-Gross-Krook (BGK) operator <ref type="bibr">(Bhatnagar et al., 1954)</ref> while other models offer increasingly more relaxation times to account for the difference in rates at which hydrodynamic quantities relax toward equilibrium. We implemented a three-dimensional, 27 discrete velocity, multiple relaxation time model (D3Q27 MRT) as described by <ref type="bibr">Suga et al., 2015</ref>. This model offers more numerical stability and accuracy by decoupling the relaxation of different hydrodynamic quantities in moment space rather than population space, allowing them to relax to equilibrium at different rates. Once relaxation is completed, moments are transformed back to population space where the streaming step is done as described in the lattice Boltzmann equation.</p><p>A full description of the D3Q27 MRT collision operator is available in Suga et al., 2015, but it is important to mention that as with all LBM methods the spatial and temporal discretization are tied to the fluid viscosity by at least one of the relaxation times. The relation for the D3Q27 MRT model is:</p><p>where c s is the sound speed ratio, 1/&#8730;3, and s 5 and s 7 are relaxation times. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Body Forces</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Turbulent Flow</head><p>Turbulence is accounted for using the Large Eddy Simulation (LES) approach. In this approach, scales smaller than the fluid mesh size are accounted for through an added subgrid scale eddy viscosity as a function of a subgrid scale tensor. We applied the wall-adapting local eddy-viscosity (WALE) model <ref type="bibr">(Nicoud &amp; Ducros, 1999)</ref> which is a function of the velocity gradient tensor.</p><p>The velocity gradient tensor can be calculated using second order finite differences-this requires only knowing the fluid velocity at the nearest neighboring fluid nodes. Using the WALE model, the subgrid scale viscosity is then calculated based on the velocity gradient at each node and added to the fluid viscosity at that node:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">FLUID-SOLID COUPLING</head><p>There are several different approaches to describe boundary conditions for fluid-solid interaction. We adopted the so-called partially saturated method (PSM) of Noble &amp; Torczynski, 1998, as modified by <ref type="bibr">Holdych, 2003</ref>. As shown in Figure <ref type="figure">3</ref>, as a solid particle moves through the fluid mesh it will partially or completely cover fluid cells-near the boundary of the solid particle, cells will be part solid and part fluid while they will be entirely solid in the interior of the particle. This is accounted for by modifying the lattice Boltzmann equation to have an additional collision operator for the solid phase:</p><p>where</p><p>&#61527; is the fluid collision operator and s i &#61527; is a collision operator for solid nodes:</p><p>Here, u is the local velocity of the fluid and s u is the velocity of the solid at point x; is the particle equilibrium population where the subscript &#773; indicates the population with opposite velocity to . The weighting factor, B, is determined based on the volumetric solid fraction, &#949;, of the fluid cell:</p><p>The additional collision operator accounts for the presence of the solid in the fluid, but the fluid action on the solid also needs to be accounted for. The hydrodynamic forces and torques on the solid are calculated according to Owen et al., 2010:</p><p>where x n are all the lattice nodes covered or partially covered by the solid and X p is the location of the center of mass of the solid particle. Computing systems and hardware are evolving rapidly, providing tools to expand the types and sizes of analyses possible. However, these developments are heterogenous and do not necessarily interface easily with each other or maintain backward compatibility. When developing software that exploits a certain accelerator, it can be challenging and cumbersome to update the source code as the hardware that it targets is updated. To help alleviate some of the difficulties associated with this aspect of code development, the Kokkos C++ library <ref type="bibr">(Edwards et al., 2014)</ref> abstracts both the data parallelism and memory access on a range of multi-core architectures. This allows the same source code to be compiled for different architectures while still maintaining performance.</p><p>Using Kokkos, we parallelized the fluid portion of the computations such that the most computationally cumbersome calculations can be executed on either the central processing unit (CPU) or graphics processing unit (GPU). Approximately 30% of computing time is spent on the collision step, 30% on generating the output for visualizations and 20% on the fluid-solid coupling in terms of identifying which nodes are covered by solids moving through the fluid mesh. The collision step can be accelerated using either the CPU or GPU, while the fluidsolid coupling and output generation can be accelerated using the CPU.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">EXAMPLES</head><p>The following examples are presented to demonstrate the capability of our software. It is capable of modeling coupled fluid-solid interaction but can also be used to model only fluid or dry rock. The figures in the examples were rendered using ParaView <ref type="bibr">(Ayachit, 2015)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1.">DEM Example: Rock Slope Failure</head><p>The source code for the application has been heavily unit tested to ensure that the underlying formulation is working as expected. Additionally, we have compared numerical results to the analytical solution for a block sliding down an inclined plane to verify the correctness of the DEM implementation. This provides confidence in the ability of the software to capture the behavior of more complex analyses, such as shown in the rock avalanche example in Figure <ref type="figure">4</ref>. The configuration of the fractured rock mass was generated using SparkRocks (Gardner et al., 2017) using joint set data from a field site in the Sierra Nevada. The software is capable of capturing the behavior of the individual blocks and how they interact with each other as they move downslope. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2.">LBM Example: Stagnation Point Analysis</head><p>The LBM portion of the source code has also been rigorously unit tested and compared to the analytical solution of several fluid dynamics problems-Couette flow, gravity-driven planar Poiseuille flow and flow down and inclined plane. Beyond that, we ran a simplified stagnation point analysis to verify that the software can correctly predict the location of the stagnation point compared to the work done by Frizell, 2007. Figure <ref type="figure">5</ref> shows the velocity magnitude in the channel and Figure <ref type="figure">6</ref> shows the accompanying pressure profile. Figure <ref type="figure">7</ref> shows stream tracers for a single snapshot in the solution-the stream tracers indicate how particles might travel through the velocity field at that instant in time. These results match the location of the stagnation point and show the recirculation zone identified in similar analyses by Frizell, 2007. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.3.">Coupled DEM-LBM Example: Block in Flow Down Inclined Plane</head><p>This example shows the results from a coupled, threedimensional analysis considering hydrodynamic forces on a polyhedral rock block in water flowing down n plane inclined at 30&#176;. Figure <ref type="figure">8</ref> shows the block as it moves  The software implementation is structured so that it can be compiled to execute in parallel on either the CPU and GPU or CPU only. This is made possible by applying the Kokkos library to execute the most computationally expensive portions of the analyses.</p><p>Future work will be focused on further comparisons of coupled fluid-solid numerical analyses with analytical and experimental results to validate the accuracy of the numerical schemes. Ultimately, multiphase capability can be added to the LBM such that free-surface simulations involving rock falls and slides into water can be modeled as well. Additionally, the software will be expanded to have the capability to run on multiple compute nodes, whether on a super computer or on the Cloud, such that larger, real-world scale problems can be analyzed. This scalability will allow users to run large scale simulations on the Cloud, eliminating the need for investing and maintaining their own local computing resources.</p></div></body>
		</text>
</TEI>
