首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到18条相似文献,搜索用时 111 毫秒
1.
周雪  于平  翁爱华  陈瑞鼎 《世界地质》2018,37(3):897-904
为提高重力及重力梯度数据的正演效率,笔者引入基于MPI (Message Passing Interface)和OpenMP (Open Multi-Processing)的并行计算,通过对比分析不同数据规模的网格数和模型体个数对并行效率和加速比的影响,得出随着正演数据规模的增加,并行效率和加速比均得到提高。同时对比了基于MPI和基于OpenMP的两种并行方式的性能,结果表明,重力及重力梯度数据正演的并行计算中MPI的提速能力优于OpenMP,且在较大规模数据的正演计算中基于MPI的并行效率优于基于OpenMP的并行效率。  相似文献   

2.
付晓东  盛谦  张勇慧 《岩土力学》2014,35(8):2401-2407
非连续变形分析(DDA)方法严格满足平衡要求和能量守恒,具有完全的运动学及数值可靠性,但对大规模岩土工程问题的数值模拟耗时太长,尤其是线性方程组求解,并行计算可以很好地解决该问题。首先基于DDA方法的基本理论,阐述了适用于DDA方法中的基于块的行压缩法和基于“试验-误差”迭代格式的非零位置记录;其次,引入块雅可比迭代法并行求解DDA方法的线性方程组,并改进了相应的非零存储方法;最后,基于OpenMP实现了DDA线性方程组求解并行计算,并将其应用于地下洞室群的破坏过程分析,以加速比为并行效率的指标评价,结果表明,该并行计算策略可以极大提高DDA的计算效率,而且适合各种规模的问题。  相似文献   

3.
王翀  刘承论 《岩土力学》2016,37(3):875-882
在对传统锚杆荷载传递机制分析的基础上,提出了一种考虑托板、锚杆与岩体相互作用的数值模拟方法:通过Kelvin基本解计算出锚杆集中力对围岩的影响,同时就锚杆自由段与相应岩体两端点的位移差相等建立位移方程,结合先前开发的3D-FSM数值模拟系统中的表面受力平衡方程进行联立求解,利用所得结果可以计算域内任意点的应力及位移变化,形成完整的预紧力端锚边界元数值模拟系统。通过与Flac3D系统模拟对比,验证了该系统的可靠性。为提高运算效率,对该系统进行基于OpenMP的多核并行化改进,给出了改进的基本思路和加速比对比图。由于边界元本身具有建模简单、计算区域大、计算精度高等优点,因此,这种模拟方法有很大的应用价值。  相似文献   

4.
时间域有限元算法已被广泛应用于航空电磁三维正演模拟当中,然而由于航空电磁测区面积大,且采样密集,造成正演计算量巨大,传统的串行算法已经无法满足计算效率要求,为此,开展了并行加速算法研究以解决计算效率不足的问题。基于航空电磁系统的影响范围有限,采用局部网格技术将计算任务划分成多个子网格,即每个发射源一套网格,各网格的正演计算相互独立,不存在数据依赖性,具有很好的可并行性;利用MPI技术对多个子网格正演任务进行分配,在各个进程上进行并行计算;针对每个正演子网格,在进行时间域有限元算法正演模拟过程中,采用OpenMP技术对单元矩阵进行并行计算。典型地电模型的数值模拟结果表明本文开发的MPI+OpenMP并行正演算法可以有效提高正演速度,最高加速比可达10倍。  相似文献   

5.
基于TOUGH2数值模拟器中存在处理复杂地质条件难的问题,提出了将三维地质模型与TOUGH2数值模型耦合的具体思路和方法,并在Windows平台上编制了相应的程序,利用该程序可以直接将地质模型(如GMS和Petrel建立)与TOUGH2的数值模型进行有机融合,并进行了算法验证。通过CO2地质储存的实例,可以看出地层构造对CO2的空间运移起着控制作用,模拟结果显示CO2会沿着背斜面地层进行运移扩散。因此通过此转换程序,能够增强TOUGH2模拟器处理地层起伏、断层、褶被等常见地质构造,以及地质属性随空间变化的地质体,提高了模拟器的使用效率。  相似文献   

6.
应用并行PEST算法优化地下水模型参数   总被引:1,自引:0,他引:1  
基于列文伯格-马夸尔特(Levenberg-Marquardt)算法的PEST参数优化程序具有寻优速度快、健壮性好的优点,在地下水模型参数优化研究中有许多成功的应用实例。但是,对于大尺度、高精度和高复杂性的大规模地下水模拟,使用PEST进行参数优化需要大量的计算时间,优化效率较低。本文应用OpenMP并行编程方法对PEST算法进行了并行化,使之可以在共享存储并行计算机上进行参数优化的并行计算。并将此方法应用于甘肃北山区域地下水模型的参数优化中,并行实验表明,使用并行化的PEST可以将地下水模型参数优化效率提高3.7倍。   相似文献   

7.
在成熟应用的缝洞型碳酸盐岩油藏模拟器KarstSim的基础上,针对更加精细和大规模网格的模拟需求,开发了KarstSim的并行模拟器。并行化主要通过网格分区、大型线性方程解法和处理器之间信息通讯3个部分实现,同时借助了Aztec库和METIS软件。基于Buckley-Leverett两相纵向流动理论和塔河油田某区块的模型,对并行版与解析解、单机版计算结果的对比,验证了并行模拟结果的准确性以及计算的效率性。将并行模拟器应用至64万网格非均质的缝洞型油藏,在最高采用128核服务器中模型计算时间最低为7.3h,计算效率提升显著。最后对不同网格规模的均质油藏进行了模拟,网格规模从1万逐渐增加到1千万规模,结果显示对于千万级网格的均质油藏,并行模拟器计算时间为85min,证实了并行模拟器在大规模油藏模拟中的实用性。  相似文献   

8.
针对高阶交错网格技术的计算效率瓶颈,研究了一种基于OpenMP的一阶声波方程波场并行算法。通过对多组不同规模的模型测试,分析了并行效率在不同并行粒度下模型和CPU核心数目的关系。实验结果表明,该方法达到了与串行方法相同的数据精度,在微机商用多核CPU上获得了2倍多的性能提升。  相似文献   

9.
针对微地震数据量和计算量大的特点,选择云平台作为解决微地震数值模拟的基础条件,架设了云平台架构并采用并行化技术设计,开发了基于射线追踪算法和波动方程的微地震正演系统,实现了云平台上的微地震资料处理与三维展示,为储层预测分析提供借鉴。  相似文献   

10.
电偶极子场源在水平层状介质中传播的电磁场的数值解是通过求解含有零阶和一阶贝塞尔函数的积分(汉克尔变换)所得,可控源音频大地电磁法(CSAMT)一维正演计算就是计算各个频率的视电阻率,使用传统串行方式对频点逐一计算,速度相对较慢。本文旨在使用Intel Visual Fortran 2013和VS2012软件,编写基于OpenMP的CSAMT一维正演并行计算程序。与一维CSAMT串行程序的对比:相同的计算量下,并行程序运行时间少于串行运行时间,计算量越大并行加速比越明显;验证了并行程序的可行性,为CSAMT多维复杂模型正演计算提供了并行研究基础。  相似文献   

11.
The distinct lattice spring model (DLSM) is a newly developed numerical tool for modeling rock dynamics problems, i.e. dynamic failure and wave propagation. In this paper, parallelization of DLSM is presented. With the development of parallel computing technologies in both hardware and software, parallelization of a code is becoming easier than before. There are many available choices now. In this paper, Open Multi‐Processing (OpenMP) with multicore personal computer (PC) and message passing interface (MPI) with cluster are selected as the environments to parallelize DLSM. Performances of these parallel DLSM codes are tested on different computers. It is found that the parallel DLSM code with OpenMP can reach a maximum speed‐up of 4.68× on a quad‐core PC. The parallel DLSM code with MPI can achieve a speed‐up of 40.886× when 256 CPUs are used on a cluster. At the end of this paper, a high‐resolution model with four million particles, which is too big to handle by the serial code, is simulated by using the parallel DLSM code on a cluster. It is concluded that the parallelization of DLSM is successful. Copyright © 2011 John Wiley & Sons, Ltd.  相似文献   

12.
This paper describes an implementation of a highly scalable parallel computational facility with high speedup efficiency using relatively low-cost hardware, which consists of a cluster of desktop personal computers (PCs) connected via a 10-Gigabit Ethernet. Two-levels of parallelization were implemented. Communication between different PCs was achieved using message passing interface (MPI) protocol. Domain decomposition was automated and based on element numbering. Domain continuity was assured largely by re-numbering the elements using a “front squasher” code prior to decomposition. Within each PC, the shared memory parallelization was implemented using either the open-multiprocessing (OpenMP) or the MPI protocol. Analysis of three different problems with number of degrees-of-freedom ranging from about 129,000 to about 2,260,000 shows a speedup efficiency generally above 70%. Super-linear speedup was achieved in several of the cases examined in this study, with the hybrid MPI-OpenMP approach generally performing better compared to the pure MPI method for parallelization. The results demonstrate the feasibility of acquiring a parallel computing facility with relatively modest outlay that is within the reach of consulting or engineering offices.  相似文献   

13.
Large‐scale engineering computing using the discontinuous deformation analysis (DDA) method is time‐consuming, which hinders the application of the DDA method. The simulation result of a typical numerical example indicates that the linear equation solver is a key factor that affects the efficiency of the DDA method. In this paper, highly efficient algorithms for solving linear equations are investigated, and two modifications of the DDA programme are presented. The first modification is a linear equation solver with high efficiency. The block Jacobi (BJ) iterative method and the block conjugate gradient with Jacobi pre‐processing (Jacobi‐PCG) iterative method are introduced, and the key operations are detailed, including the matrix‐vector product and the diagonal matrix inversion. Another modification consists of a parallel linear equation solver, which is separately constructed based on the multi‐thread and CPU‐GPU heterogeneous platforms with OpenMP and CUDA, respectively. The simulation results from several numerical examples using the modified DDA programme demonstrate that the Jacobi‐PCG is a better iterative method for large‐scale engineering computing and that adoptive parallel strategies can greatly enhance computational efficiency. Copyright © 2015 John Wiley & Sons, Ltd.  相似文献   

14.
Technology of CO2 capture and sequestration (CCS) is one of the many solutions to reduce greenhouse gases and alleviate the current global warming, but its security is important and needs to be evaluated. A simulator which links TOUGHREACT and FLAC3D was used to simulate the process of coupled temperature-hydrologic-mechanics (THM) in CCS. A test on laboratory scale was set up and water was injected into compacted sand covered by low permeability clay to study the land uplift displacement. The results were used to verify the accuracy of the simulator for calculating the THM coupling. The effects of injection quantity, injection time, and injection mode on land uplift were also studied on the constructed model. At last, a land uplift evaluation system was built to quantify the CO2 escape if any. The evaluation process can be divided into five steps: model generalization, acquisition of model parameters, numerical modeling, simulation and analysis, monitor comparison, and evaluation of model results. The major output of this study will provide a feasible method for quantitative analysis of CO2 leakage in CCS projects.  相似文献   

15.
无人飞行器在飞行过程中受地球外部扰动引力影响,对其精确控制需要计算飞行轨迹点扰动引力。为有效恢复地球外部引力场,常采用地球重力场位系数模型进行计算,但其计算耗时随模型阶数的升高而呈指数增加。本文提出一种扰动引力矢量计算的向量化方法,推导出利用地球重力场模型计算扰动引力三分量的向量化表达公式,并利用CUDA(compute unified device architecture)异构并行算法进行并行化以达到快速计算单点扰动引力的目的。通过仿真实验可知,本文所提方法可有效减少单点扰动引力计算耗时,利用跨阶次递推法进行单点计算加速比可达8以上,最高可达13.20;利用Belikov递推法进行单点计算加速比可达6以上,最高可达8.99。  相似文献   

16.
This study reports a Graphics Processing Unit (GPU)-based parallelization of the Distinct Lattice Spring Model (DLSM) for geomechanics simulation. The DLSM is a newly developed numerical model for rock dynamics problems, i.e., dynamic failure and wave propagation. Despite its applicability, one of the drawbacks of this model is the high computational load for practical simulations. To tackle this problem, a GPU with a Compute Unified Device Architecture (CUDA) is adopted to parallelize the DLSM code. The performance of the GPU DLSM code is tested on two computers equipped with modern GPU cards. The results show that significant performance improvements are gained from GPU parallelization of the DLSM code (the maximum speed up achieved was 23×).  相似文献   

17.
多孔介质渗透系数的空间尺度效应研究进展   总被引:6,自引:1,他引:5  
多孔介质渗透系数的空间尺度问题是一个与地下流体运动和溶质运移的数值模拟密切相关的应用性课题,广泛的应用需求和新的计算方法使其成为近年的热门课题之一。它涉及到相互联系的两个方面:①非均质介质场渗透系数空间尺度行为的分析与模拟;②将局部测量尺度下的试验参数转化为数值模拟网格尺度下的参数输入值的升尺度(upscaling)方法和计算模型。首先介绍了该课题在概念上的拓展及其物理含义,进而以方法为主线,对这一领域具有代表性的研究成果进行了分类和评述,讨论了该课题的研究对地下水流和溶质运移的模拟分析乃至整个多孔介质流体运动研究的意义。  相似文献   

18.
It is becoming easier to combine geographical data and dynamic models to provide information for problem solving and geographical cognition. However, the scale dependencies of the data, model, and process can confuse the results. This study extends traditional scale research in static geographical patterns to dynamic processes and focuses on the combined scale effect of multiscale geographical data and dynamic models. The capacity for topographical expression under the combined scale effect was investigated by taking multiscale topographical data and meteorological processes in Hong Kong as a case study. A meteorological simulation of the combined scale effect was evaluated against data from Hong Kong Observatory stations. The experiments showed that (1) a digital elevation model (DEM) using 3 arc sec data with a 1 km resolution Weather Research and Forecasting (WRF) model gives better topographical expression and meteorological reproduction in Hong Kong; (2) a fine-scale model is sensitive to the resolution of the DEM data, whereas a coarse-scale model is less sensitive to it; (3) better topographical expression alone does not improve weather process simulation; and (4) uncertainty arising from a scale mismatch between the DEM data and the dynamic model may account for 38 % of the variance in certain meteorological variables (e.g., temperature). This case study gives a clear explanation of the significance and implementation of scale matching for multiscale geographical data and dynamic models.  相似文献   

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

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