| 注册
首页|期刊导航|人民黄河|基于国产编程语言的并行水动力模型开发及初步调优

基于国产编程语言的并行水动力模型开发及初步调优

王明阳 王静 李娜 俞茜 宫啸天

人民黄河2026,Vol.48Issue(2):41-46,6.
人民黄河2026,Vol.48Issue(2):41-46,6.DOI:10.3969/j.issn.1000-1379.2026.02.007

基于国产编程语言的并行水动力模型开发及初步调优

Parallel Hydrodynamic Model and Preliminary Performance Tuning Based on a Domestic Programming Language

王明阳 1王静 1李娜 1俞茜 1宫啸天2

作者信息

  • 1. 中国水利水电科学研究院,北京 100038||水利部防洪抗旱减灾工程技术研究中心,北京 100038
  • 2. 通辽水文水资源分中心,内蒙古 通辽 028000
  • 折叠

摘要

Abstract

A high-performance two-dimensional hydrodynamic model FRAS was developed using the domestic programming language Taichi,featuring cross-platform parallel computing capability.FRAS provides excellent parallelization flexibility and is well compatible with both hom-ogeneous CPU-CPU and heterogeneous CPU-GPU computing architectures.It supports multiple parallel acceleration backends,including multi-core CPUs,CUDA,OpenGL,Metal,and Vulkan,demonstrating outstanding cross-platform performance.In this study,the two-dimensional domain is discretized with an unstructured mesh,and the continuity and momentum equations are numerically discretized using the finite volume method.FRAS was applied to flood simulations of the Raoyang River in Liaoning Province.Compared with the original serial code,the parallel implementation achieves a speedup of up to 14.7 times.By optimizing the data layout of variables,computational perform-ance is further improved by approximately 2 times due to enhanced memory locality,resulting in an overall speedup of about 30.1 times after preliminary optimizations.

关键词

二维水动力模型/并行计算/跨平台/Taichi编程语言

Key words

two-dimensional hydrodynamic model/parallel computing/cross-platform/Taichi programming language

分类

建筑与水利

引用本文复制引用

王明阳,王静,李娜,俞茜,宫啸天..基于国产编程语言的并行水动力模型开发及初步调优[J].人民黄河,2026,48(2):41-46,6.

基金项目

国家重点研发计划项目(2022YFC3006400,2022YFC3006403) (2022YFC3006400,2022YFC3006403)

国家自然科学基金资助项目(U2340225) (U2340225)

人民黄河

1000-1379

访问量0
|
下载量0
段落导航相关论文