In recent years, generative artificial neural networks based on restricted Boltzmann machines (RBMs) have been successfully employed as accurate and flexible variational wave functions for clean quantum many-body systems. In this article we explore their use in simulations of disordered quantum spin models. The standard dense RBM with all-to-all inter-layer connectivity is not particularly appropriate for large disordered systems, since in such systems one cannot exploit translational invariance to reduce the amount of parameters to be optimized. To circumvent this problem, we implement sparse RBMs, whereby the visible spins are connected only to a subset of local hidden neurons, thus reducing the amount of parameters. We assess the performance of sparse RBMs as a function of the range of the allowed connections, and compare it with the one of dense RBMs. Benchmark results are provided for two sign-problem free Hamiltonians, namely pure and random quantum Ising chains. The RBM ansatzes are trained using the unsupervised learning scheme based on projective quantum Monte Carlo (PQMC) algorithms. We find that the sparse connectivity facilitates the training process and allows sparse RBMs to outperform the dense counterparts. Furthermore, the use of sparse RBMs as guiding functions for PQMC simulations allows us to perform PQMC simulations at a reduced computational cost, avoiding possible biases due to finite random-walker populations. We obtain unbiased predictions for the ground-state energies and the magnetization profiles with fixed boundary conditions, at the ferromagnetic quantum critical point. The magnetization profiles agree with the Fisher-de Gennes scaling relation for conformally invariant systems, including the scaling dimension predicted by the renormalization-group analysis.
In this study, we propose an alternative way to simulate particle suspensions using the lattice Boltzmann method. The main idea is to impose the non-slip boundary condition in the lattice sites located on the particle boundaries. The focus on the lattice sites, instead of the links between them, as done in the more used methods, represents a great simplification in the algorithm. A fully description of the method will be presented, in addition to simulations comparing the proposed method with other methods and, also, with experimental results.
In this paper, a multiple-relaxation-time (MRT) lattice Boltzmann (LB) model is developed for simulating incompressible axisymmetric thermal flows in porous media at the representative elementary volume (REV) scale. In the model, a D2Q9 MRT-LB equation is proposed to solve the flow field in addition to the D2Q5 LB equation for the temperature field. The source terms of the model are simple and contain no velocity and temperature gradient terms. The generalized axisymmetric Navier-Stokes equations for axisymmetric flows in porous media are correctly recovered from the MRT-LB model through the C…
The LBM is combined with the Volume Penalization (VP LBM) approach to simulate flows in the presence of obstacles. The single relaxation time LBM and the multiple relaxation time LBM are used. For cases where the fluid motion is enhanced by moving boundaries, the comparison of our results with analytical results is satisfactory. The flow around a cylinder at a relatively high Reynolds number is also calculated. For that case,the VP LBM method was parallelized. A comparison of our results with those found in the literature, demonstrates the reliability of the VP LBM to treat complex flows.
The purposes of this paper are testing an efficiency algorithm based on LBM and using it to analyze two-dimensional natural convection with low Prandtl number. Steady state or oscillatory results are obtained using double multiple-relaxation-time thermal lattice Boltzmann method. The velocity and temperature fields are solved using D2Q9 and D2Q5 models, respectively. With different Rayleigh number, the tested natural convection can either achieve to steady state or oscillatory. With fixed Rayleigh number, lower Prandtl number leads to a weaker convection effect, longer oscillation period and h…
Double-diffusive convection in porous media is a common phenomenon in nature, and has received considerable attention in a wide variety of engineering applications. In this paper, a multiple-relaxation-time (MRT) lattice Boltzmann (LB) model is developed for simulating double-diffusive convection in porous media at the representative elementary volume scale. The MRT-LB model is constructed in the framework of the triple-distribution-function approach: the velocity field, the temperature and concentration fields are solved separately by three different MRT-LB equations. The present model has tw…
Significant improvements in the computational performance of the lattice-Boltzmann (LB) model, coded in FORTRAN90, were achieved through application of enhancement techniques. Applied techniques include optimization of array memory layouts, data structure simplification, random number generation outside the simulation thread(s), code parallelization via OpenMP, and intra- and inter-timestep task pipelining. Effectiveness of these optimization techniques was measured on three benchmark problems: (i) transient flow of multiple particles in a Newtonian fluid in a heterogeneous fractured porous do…
The lattice Boltzmann method (LBM) has shown its promising capability in simulating microscale gas flows. However, the suitable boundary condition is still one of the critical issues for the LBM to model microgaseous flows involving curved geometries. In this paper, a local boundary condition of the LBM is proposed to treat curved solid walls of microgaseous flows. The developed boundary treatment combines the Maxwellian diffuse reflection scheme and a single-node boundary scheme which contains a free parameter as well as the distance ratio. The curved boundary condition is analyzed within the…
In this paper, we extend a lattice Boltzmann equation (LBE) with continuous surface fore (CSF) to simulate thermocapillary flows. The model is designed on our previous CSF LBE for athermal two phase flow, in which the interfacial tension forces and the Marangoni stresses as the results of the interface interactions between different phases are described by a conception of CSF. In this model, the sharp interfaces between different phases are separated by a narrow transition layers, and the kinetics and morphology evolution of phase separation would be characterized by an order parameter visa Ca…
The lattice Boltzmann (LB) method intrinsically links to the Boltzmann equation with the Bhatnagar-Gross-Krook collision operator; however, it has been questioned to be able to simulate noncontinuum bounded gas flows at the micro and nanoscale, where gas moves at a low speed but has a large Knudsen number. In this article, this point has been verified by simulating Couette flows at moderate and large Knudsen numbers (e.g., Kn=10 and Kn=100) by the linearized LB models based on the popular half-space Gaussian Hermite (HGH) quadrature. The underlying cause for poor accuracy of these conventional…
We present and discuss a variance-reduced stochastic particle method for simulating the relaxation-time model of the Boltzmann transport equation. The present paper focuses on the dilute gas case, although the method is expected to directly extend to all fields (carriers) for which the relaxation-time approximation is reasonable. The variance reduction, achieved by simulating only the deviation from equilibrium, results in a significant computational efficiency advantage compared to traditional stochastic particle methods in the limit of small deviation from equilibrium. More specifically, the…
In this paper, we present TLBfind, a GPU code for simulating the hydrodynamics of droplets along with a dynamic temperature field. TLBfind hinges on a two-dimensional multi-component lattice Boltzmann (LB) model simulating a concentrated emulsion with finite-size droplets evolving in a thermal convective state, just above the transition from conduction to convection. The droplet concentration of the emulsion system is tenable, and at the core of the code lies the possibility to measure a large number of physical observables characterising the flow and droplets. Furthermore, TLBfind includes a …
We present a novel lattice Boltzmann method that has a capability of simulating thermodynamic multiphase flows. This approach is fully thermodynamically consistent at the macroscopic level. Using this new method, a liquid-vapor boiling process, including liquid-vapor formation and coalescence together with a full coupling of temperature, is simulated for the first time.
This work presented a block triple-relaxation-time (B-TriRT) lattice Boltzmann model for simulating melting in a rectangular cavity heated from below at high Rayleigh (Ra) number (Ra = 108). The test of benchmark problem shows that present B-TriRT can dramatically reduce the numerical diffusion across the phase interface. In addition, the influences of the location of the heated region are investigated. The results indicate that the location of heated region plays an essential role in melting rate and the full melting occur earliest when the heated region is located in the middle region.
We developed a general framework for simulating multicomponent and multiphase systems using the lattice Boltzmann framework. Despite the fact that there is no restriction on the number of components in principle, in this article we focus an application to two-component mixtures, but we also demonstrate that the algorighm works for larger numbers of components. To validate our algorithm we separately minimized this underlying free energy to generate theoretical phase diagrams for mixtures of fluids with a van der Waals-like free energy. All the theoretical phase diagrams are well recovered by o…
In this paper, an improved thermal lattice Boltzmann (LB) model is proposed for simulating liquid-vapor phase change, which is aimed at improving an existing thermal LB model for liquid-vapor phase change [S. Gong and P. Cheng, Int. J. Heat Mass Transfer 55, 4923 (2012)]. First, we emphasize that the replacement of \[{\left( {ρ{c_V}} \right)^{ - 1}}\nabla \cdot \left( {λ\nabla T} \right)\] with \[\nabla \cdot \left( {χ\nabla T} \right)\] is an inappropriate treatment for diffuse interface modeling of liquid-vapor phase change. Furthermore, the error terms ${\partial_{t0}}\left( {Tv} \right) + …
In this paper, we develop an efficient lattice Boltzmann (LB) model for simulating immiscible incompressible $N$-phase flows $(N \geq 2)$ based on the Cahn-Hilliard phase field theory. In order to facilitate the design of LB model and reduce the calculation of the gradient term, the governing equations of the $N$-phase system are reformulated, and they satisfy the conservation of mass, momentum and the second law of thermodynamics. In the present model, $(N-1)$ LB equations are employed to capture the interface, and another LB equation is used to solve the Navier-Stokes (N-S) equations, where …
In this paper, we deploy a Lattice Boltzmann - Particle Dynamics (LBPD) method to dissect the transport properties within arterioles and venules. First, the numerical approach is applied to study the transport of Red Blood Cells (RBC) through plasma and validated by means of comparison with the experimental data in the seminal work by Fåhræus and Lindqvist. Then, the presence of micro-scale, soft spheres within the blood flow is considered: the evolution in time of the position of such spheres is studied, in order to highlight the presence of possible \textit{margination} effects. The results …
Graphics processing units (GPUs) are recently being used to an increasing degree for general computational purposes. This development is motivated by their theoretical peak performance, which significantly exceeds that of broadly available CPUs. For practical purposes, however, it is far from clear how much of this theoretical performance can be realized in actual scientific applications. As is discussed here for the case of studying classical spin models of statistical mechanics by Monte Carlo simulations, only an explicit tailoring of the involved algorithms to the specific architecture unde…
Boltzmann sampling based on Metropolis algorithm has been extensively used for simulating a canonical ensemble. An estimate of a mechanical property, like energy, of an equilibrium system, can be made by averaging over a large number microstates generated by Boltzmann Monte Carlo methods. However, a thermal property like entropy is not easily accessible to these methods. The reason is simple. We can assign a numerical value for energy to each microstate. But we can not assign a numerical value for entropy, to a microstate. Entropy is not a property associated with any single microstate.It is a…
We introduce Spline Moment Equations (SME) for kinetic equations using a new weighted spline ansatz of the distribution function and investigate the ansatz, the model, and its performance by simulating the one-dimensional Boltzmann-BGK equation. The new basis is composed of weighted constrained splines for the approximation of distribution functions that preserves mass, momentum, and energy. This basis is then used to derive moment equations using a Galerkin approach for a shifted and scaled Boltzmann-BGK equation, to allow for an accurate and efficient discretization in velocity space with an…
In this paper, a thermal cascaded lattice Boltzmann method (TCLBM) is developed in combination with the double-distribution-function (DDF) approach. A density distribution function relaxed by the cascaded scheme is employed to solve the flow field, and a total energy distribution function relaxed by the BGK scheme is used to solve temperature field, where two distribution functions are coupled naturally. The forcing terms are incorporated by means of central moments, which is consistent with the previous force scheme [Premnath \emph{et al.}, Phys. Rev. E \textbf{80}, 036702 (2009)] but the der…
Contact angle is an essential physical quantity that characterizes the wettability of a substrate. Although it is widely used in the studies of surface wetting, capillary phenomena and moving contact lines, measuring contact angles in experiments and simulations is still complicated and time-consuming. In this paper, we present an efficient scheme for the real-time and on-the-spot measurement of contact angles on curved wetting surfaces in lattice Boltzmann simulations. The measuring results are in excellent agreement with the theoretical predictions by the spherical cap method without conside…
A hybrid computational method coupling the lattice-Boltzmann (LB) method and a Langevin-dynamics (LD) method is developed to simulate nanoscale particle and polymer (NPP) suspensions in the presence of both thermal fluctuation and long-range many-body hydrodynamic interactions (HI). Brownian motion of the NPP is explicitly captured by a stochastic forcing term in the LD method. The LD method is two-way coupled to the non-fluctuating LB fluid through a discrete LB forcing source distribution to capture the long-range HI. To ensure intrinsically linear scalability with respect to the number of p…