首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 109 毫秒
1.
讨论了格子Boltzmann方法LBGK D2Q9模型的计算过程和计算特点。通过该模型模拟了一类典型的流体绕流问题的计算及其可视化,研究并实现了利用Matlab分布式计算工具箱进行分布式并行处理的问题。讨论了利用虚拟目录及文件的方式传递数据的过程,实现了跟踪方式的LBGK流体计算模型科学计算可视化系统。  相似文献   

2.
讨论了格子Boltzmann方法LBGK D2Q9模型的计算过程和计算特点。通过该模型模拟了一类典型的流体绕流问题的计算及其可视化,研究并实现了利用Matlab分布式计算工具箱进行分布式并行处理的问题。讨论了利用虚拟目录及文件的方式传递数据的过程,实现了跟踪方式的LBGK流体计算模型科学计算可视化系统。  相似文献   

3.
在大规模三维复杂流动的数值模拟中,针对具有良好数值稳定性的多弛豫时间模型格子Boltzmann方法(MRT-LBM),并结合大涡模拟湍流模型和曲面边界插值格式,分析了在D3Q19离散速度模型下的网格生成、流场信息初始化和迭代计算3部分的可并行性.采用MPI编程模型,从分布式集群的特点和计算量负载均衡的角度出发,分别提出了适合于大规模分布式集群的网格生成、流场信息初始化和迭代计算的并行算法.该并行算法也能有效适用于D3Q15和D3Q27离散速度模型.通过在国产神威蓝光超级计算机上的测试,分别针对求解问题总体计算规模固定和保持每个计算核中计算量一致的2种情况的并行性能分析,验证了该并行算法在十万计算核的量级下仍具有良好的加速比和可扩展性.  相似文献   

4.
以二维9速模型D2Q9(LBGK)为例,针对不同集合形状的流场,研究了数据分布与通信量及并行效率之间的关系。在“自强3000”集群式超级计算机上就流场网格的不同规模、多种数据分布及通信方案进行了数值实验。测试结果表明,LBGK模型的并行效率高、可扩展性好,在数据分布方案与流场网格形状相似时,并行效率最高。该结论与理论分析相吻合。  相似文献   

5.
刘智翔  宋安平  徐磊  郑汉垣  张武 《计算机应用》2014,34(11):3065-3068
针对复杂流动数值模拟中的格子Boltzmann方法存在计算网格量大、收敛速度慢的缺点,提出了基于三维几何边界的多重笛卡儿网格并行生成算法,并基于该网格生成方法提出了多重网格并行格子Boltzmann方法(LBM)。该方法结合不同尺度网格间的耦合计算,有效减少了计算网格量,提高了收敛速度;而且测试结果也表明该并行算法具有良好的可扩展性。  相似文献   

6.
针对格子Boltzmann方法(Lattice Boltzmann Method,LBM)广泛采用的LBGK模型虽然简单易行,但对高雷诺数流动模拟稳定性不佳的问题,分别采用结合亚格子模型的LBM(LBM with Sub Grid Scale(SGS),LB-SGS)方法和多松驰时间LBM(Multiple Relaxation Time(MRT)LBM,MRT-LBM)方法对高雷诺数顶盖驱动流进行数值模拟.取Re=7 500对比2种方法得到的涡位置与标准解之间的误差,结果表明LB-SGS方法更接近标准解;保持雷诺数和顶盖速度不变并减少格点数观察收敛情况,结果表明MRT-LBM方法更稳定.  相似文献   

7.
张丹丹  徐莹  徐磊 《计算机科学》2012,39(4):296-298,303
对CPU+GPU异构平台下的多种并行编程模式进行了研究,并针对格子Boltzmann方法实现了CUDA,MPI+CUDA,MPI+OpenMP+CUDA多级并行算法。结果表明,算法具有较好的加速性能;提出的根据计算量比例参数调节CPU和GPU之间负载均衡的方法,对于在异构平台上实现多级并行处理及资源的有效利用具有一定的参考和应用价值。  相似文献   

8.
格子Boltzmann方法广泛应用于流体计算领域,针对其应用中计算规模过大的问题提出了一种粒子空间压缩算法,改善了格子Boltzmann并行算法空间消耗过大的问题;合并了迁移与碰撞过程,减少了内存的I/O次数,加快了计算速度;该算法拥有良好的可扩展性。实验结果表明,优化后的程序空间消耗明显减少,性能提高50%以上。  相似文献   

9.
兰中周  乐励华  高云 《计算机应用》2013,33(9):2432-2435
基于格子Boltzmann方法(LBM)的一维Burgers方程的数值解法,已有2-bit和4-bit模型。文中通过选择合适的离散速度模型构造出恰当的平衡态分布函数; 然后, 利用单松弛的格子Bhatnagar-Gross-Krook模型、Chapman-Enskog展开和多尺度技术, 提出了用于求解一维Burgers方程的3-bit的格子Boltzmann模型,即D1Q3模型,并进行了数值实验。实验结果表明,该方法的数值解与解析解吻合的程度很好,且误差比现有文献中的误差更小,从而验证了格子Boltzamnn模型的有效性。  相似文献   

10.
LBM在多核并行编程模型中的应用   总被引:1,自引:0,他引:1  
LBGK(Lattice Bhatnagar-Gross-Krook)模IV不仅是LBM(Lattice Boltzmann Method)理论及应用上的新突破,而且是一种非常新颖的数值计算方法,适合大规模并行计算.多线程并行编程接11库(Multi-Thread Interface,MTI)充分利用多核处理器的资源来提升计算的性能,为在多核环境下方便地开发高效的并行程序提供了一个接口,大大地减轻了开发人员的负担.MTI提供了使用cache块技术划分数据集实现单任务数据并行计算,以及采用任务密取调度策略实现多任务并行处理.应用MI实现了LBGK模型模拟斑图形成的并行计算,并获得了较高的并行效率.  相似文献   

11.
The artificial compressibility method and the lattice Boltzmann method yield the solutions of the incompressible Navier–Stokes equations in the limit of the vanishing Mach number. The inclusion of the bulk viscosity is considered to be one of the reasons for the success of the lattice Boltzmann method at least in the 2D case. In the present paper, the robustness of the artificial compressibility method is enhanced by introducing a new dissipation term, which makes high cell-Reynolds number computation possible. The increase of the stability is also confirmed in the linear stability analysis; the magnitude of the eigenvalues are drastically reduced for low resolution. Comparisons are made with the lattice Boltzmann method. It is confirmed that the fortified ACM is more robust as well as more accurate than the lattice Boltzmann method.  相似文献   

12.
The lattice Boltzmann method has attracted more and more attention as an alternative numerical scheme to traditional numerical methods for solving partial differential equations and modeling physical systems. The idea of the lattice Boltzmann method is to construct a simplified discrete microscopic dynamics to simulate the macroscopic model described by the partial differential equations. The use of the lattice Boltzmann method has allowed the study of a broad class of systems that would have been difficult by other means. The advantage of the lattice Boltzmann method is that it provides easily implemented fully parallel algorithms and the capability of handling complicated boundaries. In this paper, we present two lattice Boltzmann models for nonlinear anisotropic diffusion of images. We show that image feature selective diffusion (smoothing) can be achieved by making the relaxation parameter in the lattice Boltzmann equation be image feature and direction dependent. The models naturally lead to the numerical algorithms that are easy to implement. Experimental results on both synthetic and real images are described.  相似文献   

13.
The lattice Boltzmann method is an important technique for the numerical solution of partial differential equations because it has nearly ideal scalability on parallel computers for many applications. However, to achieve the scalability and speed potential of the lattice Boltzmann technique, the issues of data reusability in cache‐based computer architectures must be addressed. Utilizing the two‐dimensional diffusion equation, , this paper examines cache optimization for the lattice Boltzmann method in both serial and parallel implementations. In this study, speedups due to cache optimization were found to be 1.9–2.5 for the serial implementation and 3.6–3.8 for the parallel case in which the domain decomposition was optimized for stride‐one access. In the parallel non‐cached implementation, the method of domain decomposition (horizontal or vertical) used for parallelization did not significantly affect the compute time. In contrast, the cache‐based implementation of the lattice Boltzmann method was significantly faster when the domain decomposition was optimized for stride‐one access. Additionally, the cache‐optimized lattice Boltzmann method in which the domain decomposition was optimized for stride‐one access displayed superlinear scalability on all problem sizes as the number of processors was increased. Copyright © 2004 John Wiley & Sons, Ltd.  相似文献   

14.
A lattice Boltzmann (LB) framework to solve fluid flow control and optimisation problems numerically is presented. Problems are formulated on a mesoscopic basis. In a side condition, the dynamics of a Newtonian fluid is described by a family of simplified Boltzmann-like equations, namely BGK–Boltzmann equations, which are linked to an incompressible Navier–Stokes equation. It is proposed to solve the non-linear optimisation problem by a line search algorithm. The needed derivatives are obtained by deriving the adjoint equations, referred to as adjoint BGK–Boltzmann equations. The primal equations are discretised by standard lattice Boltzmann methods (LBM) while for the adjoint equations a novel discretisation strategy is introduced. The approach follows the main ideas behind LBM and is therefore referred to as adjoint lattice Boltzmann methods (ALBM). The corresponding algorithm retains most of the basic features of LB algorithms. In particular, it enables a highly-efficient parallel implementation and thus solving large-scale fluid flow control and optimisation problems. The overall solution strategy, the derivation of a prototype adjoint BGK–Boltzmann equation, the novel ALBM and its parallel realisation as well as its validation are discussed in detail in this article. Numerical and performance results are presented for a series of steady-state distributed control problems with up to approximately 1.6 million unknown control parameters obtained on a high performance computer with up to 256 processing units.  相似文献   

15.
Two multi-thread based parallel implementations of the lattice Boltzmann method for non-uniform grids on different hardware platforms are compared in this paper: a multi-core CPU implementation and an implementation on General Purpose Graphics Processing Units (GPGPU). Both codes employ second order accurate compact interpolation at the interfaces, coupling grids of different resolutions. Since the compact interpolation technique is both simple and accurate, it produces almost no computational overhead as compared to the lattice Boltzmann method for uniform grids in terms of node updates per second. To the best of our knowledge, the current paper presents the first study on multi-core parallelization of the lattice Boltzmann method with inhomogeneous grid spacing and nested time stepping for both CPUs and GPUs.  相似文献   

16.
研究了对流扩散方程、Burgers方程和Modified-Burgers方程等具有相同形式的一类偏微分方程。并且构建了带修正函数项的D1Q3格子Boltzmann模型求解这类方程。为了能准确地恢复出此宏观方程,利用Chapman-Enskog展开和多尺度分析技术,推导出了各个方向的平衡态分布函数和修正函数的具体表达式。数值计算结果表明该模型是稳定、有效的。  相似文献   

17.
Classical Cartesian domain decompositions for parallel lattice Boltzmann simulations of fluid flow through heterogeneous porous media are doomed to workload imbalance as the number of processors increases, thus leading to decreasing parallel performance. A one-lattice lattice Boltzmann method (LBM) implementation with vector data structure combined with even fluid node partitioning domain decomposition and fully-optimized data transfer layout is presented. It is found to provide nearly-optimal workload balance, lower memory usage and better computational performance than classical slice decomposition techniques using sparse matrix data structures. Predictive memory usage and parallel performance models are also established and observed to be in very good agreement with data corresponding to numerical fluid flow simulations performed through 3-dimensional packings of cylinders and polydisperse spheres.  相似文献   

18.
Over the last decade, lattice Boltzmann methods have proven to be reliable and efficient tools for the numerical simulation of complex flows. The specifics of such methods as turbulence solvers, however, are not yet completely documented. This paper provides results of direct numerical simulations (DNS), by a lattice Boltzmann scheme, of fully developed, incompressible, pressure-driven turbulence between two parallel plates. These are validated against results from simulations using a standard Chebyshev pseudo-spectral method. Detailed comparisons, in terms of classical one-point turbulence statistics at moderate Reynolds number, with both numerical and experimental data show remarkable agreement.

Consequently, the choice of numerical method has, in sufficiently resolved DNS computations, no dominant effect at least on simple statistical quantities such as mean flow and Reynolds stresses. Since only the method-independent statistics can be credible, the choice of numerical method for DNS should be determined mainly through considerations of computational efficiency. The expected practical advantages of the lattice Boltzmann method, for instance against pseudo-spectral methods, are found to be significant even for the simple geometry and the moderate Reynolds number considered here. This permits the conclusion that the lattice Boltzmann approach is a promising DNS tool for incompressible turbulence.  相似文献   


19.
The free surface lattice Boltzmann method in the parallel software framework waLBerla solves a wide range of two-phase flow scenarios efficiently by neglecting the gas flow and only taking the gas pressure into account. To obtain a good parallel efficiency, an extensive algorithm computes the curvature needed to calculate the surface tension pressure by using only a restricted set of neighboring data, reducing the communication effort. This, however, is assumed to be the main limitation of the accuracy of the surface tension computation. Nevertheless, this work shows that this method is able to simulate typical two-phase applications accurately enough. It is validated by comparing the evolution of capillary waves to analytical solution, and checking the agreement of a rising bubble’s velocity with experiments. The results show that the method differs less than 10% from theory in the micro-scale, and lies well within the confidence interval of experimental measurements.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号