非静压水动力学模型的并行计算方法  

Parallel computing method on a non-static pressure hydrostatics

在线阅读下载全文

作  者:康玲[1] 靖争[1] Kang Ling J ing Zheng(School of Hydropower and Information Engineering, Huazhong University of Science and Technology, Wuhan 430074, Chin)

机构地区:[1]华中科技大学水电与数字化工程学院,湖北武汉430074

出  处:《华中科技大学学报(自然科学版)》2017年第7期46-50,73,共6页Journal of Huazhong University of Science and Technology(Natural Science Edition)

基  金:国家重点研究发展计划资助项目(2016YFC0402204);湖北省科技支撑计划资助项目(2015BCA291)

摘  要:针对非静压模型计算效率低下的问题,提出一个基于Windows多线程并行计算的非静压水动力学模型.推导了水深平均的非静压水动力学模型方程组;采用分块并行计算的策略,将计算域进行分区并创建两条子线程分别负责两个子区域的计算,利用生产者-消费者模型和线程互锁-解锁机制实现子线程的同步通信.最后通过孤波实验和正弦波实验的算例验证了模型的有效性,结果显示:并行计算方案能有效提高计算效率,比串行程序节省20%~30%的计算时间.Aiming at low computing efficiency of the non-hydrostatic model, a depth-integrated non hydrostatic model using a muItithreading parallel computing method in Windows system was presen- ted. A strategy of block parallel calculation was adopted. The simulated domain was divided into two subdomains. Threads were created to be responsible for computing task in each subdomain. Synchro- nous communication among the threads was implemented by producer-consurner communication model and thread lock technique. Finally, the model was validated with the propagation of a solitary wave and sinusoidal wave, indicating that it can predict free surface flows well. The efficiency could be im proved by using the proposed parallel computing method, and the parallel method can save by 20- 30% of the computing time than the serial one.

关 键 词:水动力学 数学模型 非静压 并行计算 水波演进 

分 类 号:TV672[水利工程—水利水电工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象