549 research outputs found

    A random projection method for sharp phase boundaries in lattice Boltzmann simulations

    Get PDF
    Existing lattice Boltzmann models that have been designed to recover a macroscopic description of immiscible liquids are only able to make predictions that are quantitatively correct when the interface that exists between the fluids is smeared over several nodal points. Attempts to minimise the thickness of this interface generally leads to a phenomenon known as lattice pinning, the precise cause of which is not well understood. This spurious behaviour is remarkably similar to that associated with the numerical simulation of hyperbolic partial differential equations coupled with a stiff source term. Inspired by the seminal work in this field, we derive a lattice Boltzmann implementation of a model equation used to investigate such peculiarities. This implementation is extended to different spacial discretisations in one and two dimensions. We shown that the inclusion of a quasi-random threshold dramatically delays the onset of pinning and facetting

    Lattice-Boltzmann coupled models for advection–diffusion flow on a wide range of Péclet numbers

    Get PDF
    Traditional Lattice-Boltzmann modelling of advection–diffusion flow is affected by numerical instability if the advective term becomes dominant over the diffusive (i.e., high-Péclet flow). To overcome the problem, two 3D one-way coupled models are proposed. In a traditional model, a Lattice-Boltzmann Navier–Stokes solver is coupled to a Lattice-Boltzmann advection–diffusion model. In a novel model, the Lattice-Boltzmann Navier–Stokes solver is coupled to an explicit finite-difference algorithm for advection–diffusion. The finite-difference algorithm also includes a novel approach to mitigate the numerical diffusivity connected with the upwind differentiation scheme. The models are validated using two non-trivial benchmarks, which includes discontinuous initial conditions and the case Peg_{g}->∞\infty for the first time, where Peg_{g} is the grid Péclet number. The evaluation of Peg_{g} alongside Pe is discussed. Accuracy, stability and the order of convergence are assessed for a wide range of Péclet numbers. Recommendations are then given as to which model to select depending on the value Peg_{g} - in particular, it is shown that the coupled finite-difference/Lattice-Boltzmann provide stable solutions in the case Pe->∞\infty, Peg_{g}->$\infty

    Moment-based formulation of Navier–Maxwell slip boundary conditions for lattice Boltzmann simulations of rarefied flows in microchannels

    Get PDF
    We present an implementation of first-order Navier–Maxwell slip boundary conditions for simulating near-continuum rarefied flows in microchannels with the lattice Boltzmann method. Rather than imposing boundary conditions directly on the particle velocity distribution functions, following the existing discrete analogs of the specular and diffuse reflection conditions from continuous kinetic theory, we use a moment-based method to impose the Navier–Maxwell slip boundary conditions that relate the velocity and the strain rate at the boundary. We use these conditions to solve for the unknown distribution functions that propagate into the\ud domain across the boundary. We achieve second-order accuracy by reformulating these conditions for the second set of distribution functions that arise in the derivation of the lattice Boltzmann method by an integration along characteristics. The results are in excellent agreement with asymptotic solutions of the compressible Navier-Stokes equations for microchannel flows in the slip regime. Our moment formalism is also valuable for analysing the existing boundary conditions, and explains the origin of numerical slip in the bounce-back and other common boundary conditions that impose explicit conditions on the higher moments instead of on the local tangential velocity

    Detailed analysis of the lattice Boltzmann method on unstructured grids

    Full text link
    The lattice Boltzmann method has become a standard for efficiently solving problems in fluid dynamics. While unstructured grids allow for a more efficient geometrical representation of complex boundaries, the lattice Boltzmann methods is often implemented using regular grids. Here we analyze two implementations of the lattice Boltzmann method on unstructured grids, the standard forward Euler method and the operator splitting method. We derive the evolution of the macroscopic variables by means of the Chapman-Enskog expansion, and we prove that it yields the Navier-Stokes equation and is first order accurate in terms of the temporal discretization and second order in terms of the spatial discretization. Relations between the kinetic viscosity and the integration time step are derived for both the Euler method and the operator splitting method. Finally we suggest an improved version of the bounce-back boundary condition. We test our implementations in both standard benchmark geometries and in the pore network of a real sample of a porous rock.Comment: 42 page

    Lattice Boltzmann methods for direct numerical simulation of turbulent fluid flows

    Get PDF
    We study the use of lattice Boltzmann (LB) methods for simulation of turbulent fluid flows motivated by their high computational throughput and amenability to highly parallel platforms such as graphics processing units (GPUs). Several algorithmic improvements are unearthed including work on non-unit Courant numbers, the force operator, use of alternative topologies based on face and body centered cubic lattices and a new formulation using a generalized eigendecomposition that allows a new freedom in tuning the eigenvectors of the linearised collision operator. Applications include a variable bulk viscosity and the use of a stretched grid, our implementation of which reduces errors present in previous efforts. We present details for numerous lattices including all required matrices, their moments the procedures and programs used to generate these and perform linear stability analysis. Small Mach number flows where density variations are negligible except in the buoyancy force term allow the use of a highly accurate finite volume solver to simulate the evolution of the buoyancy field which is coupled to the LB simulation as an external force. We use a multidimensional flux limited third order flux integral based advection scheme. The simplified algorithm we have devised is easier to implement, has higher performance and does not sacrifice any accuracy compared to the leading alternative. Our algorithm is particularly suited to an outflow based implementation which furthers the stated benefits. We present numerical experiments confirming the third order accuracy of our scheme when applied to multidimensional advection. The coupled solver is implemented in a new code that runs in parallel across multiple machines using GPUs. Our code achieves high computational throughput and accuracy and is used to simulate a range of turbulent flows. Details regarding turbulent channel flow and sheared convective boundary layer simulations are presented including some new insight into the scaling properties of the latter flow
    • …
    corecore