arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1310.1905physics.ao-phphysics.comp-ph
收藏

libcloudph++ 0.2:C++中的单矩体、双矩体和基于粒子的暖雨微物理库

libcloudph++ 0.2: single-moment bulk, double-moment bulk, and particle-based warm-rain microphysics library in C++

Sylwester Arabas, Anna Jaruga, Hanna Pawlowska, Wojciech W. Grabowski

摘要:

本文介绍了一个图书馆的算法表示云微物理数值模式。该库是用C++编写的,因此命名为libcloudph++。在当前版本中,该库涵盖了三种暖雨方案:单矩和双矩整体方案,以及基于粒子的Monte-Carlo聚结方案。这三个方案的目的是为不同维度和复杂性的建模框架,从包裹模型到多维云解析(例如大涡)模拟。一个二维的规定流框架中使用的文件中提出的示例模拟的目的是突出库的功能。libcloudph++及其所有强制依赖项都是免费的开源软件。units库用于在编译时对代码进行零开销维度分析。基于粒子的方案使用Thrust库实现,该库允许利用图形处理单元(GPU)的功能,保留编译未更改的代码以在单个或多个标准处理器(CPU)上执行的可能性。该文件包括库的编程接口(API)的完整描述和性能分析,包括GPU和CPU设置的比较。

英文摘要:

This paper introduces a library of algorithms for representing cloud microphysics in numerical models. The library is written in C++, hence the name libcloudph++. In the current release, the library covers three warm-rain schemes: the single- and double-moment bulk schemes, and the particle-based scheme with Monte-Carlo coalescence. The three schemes are intended for modelling frameworks of different dimensionality and complexity ranging from parcel models to multi-dimensional cloud-resolving (e.g. large-eddy) simulations. A two-dimensional prescribed-flow framework is used in example simulations presented in the paper with the aim of highlighting the library features. The libcloudph++ and all its mandatory dependencies are free and open-source software. The Boost.units library is used for zero-overhead dimensional analysis of the code at compile time. The particle-based scheme is implemented using the Thrust library that allows to leverage the power of graphics processing units (GPU), retaining the possibility to compile the unchanged code for execution on single or multiple standard processors (CPUs). The paper includes complete description of the programming interface (API) of the library and a performance analysis including comparison of GPU and CPU setups.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑