Journal cover Journal topic
Geoscientific Model Development An interactive open-access journal of the European Geosciences Union
Geosci. Model Dev., 8, 1677-1707, 2015
https://doi.org/10.5194/gmd-8-1677-2015
© Author(s) 2015. This work is distributed under
the Creative Commons Attribution 3.0 License.
Model description paper
09 Jun 2015
libcloudph++ 1.0: a single-moment bulk, double-moment bulk, and particle-based warm-rain microphysics library in C++
S. Arabas1, A. Jaruga1, H. Pawlowska1, and W. W. Grabowski2 1Institute of Geophysics, Faculty of Physics, University of Warsaw, Warsaw, Poland
2National Center for Atmospheric Research (NCAR), Boulder, CO, USA
Abstract. 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 dimensionalities and complexities ranging from parcel models to multi-dimensional cloud-resolving (e.g. large-eddy) simulations. A two-dimensional (2-D) prescribed-flow framework is used in the paper to illustrate 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 one to leverage the power of graphics processing units (GPU), retaining the possibility of compiling the unchanged code for execution on single or multiple standard processors (CPUs). The paper includes a complete description of the programming interface (API) of the library and a performance analysis including comparison of GPU and CPU set-ups.

Citation: Arabas, S., Jaruga, A., Pawlowska, H., and Grabowski, W. W.: libcloudph++ 1.0: a single-moment bulk, double-moment bulk, and particle-based warm-rain microphysics library in C++, Geosci. Model Dev., 8, 1677-1707, https://doi.org/10.5194/gmd-8-1677-2015, 2015.
Publications Copernicus
Download
Short summary
This paper introduces a free and open-source C++ library of algorithms for representing cloud microphysics in numerical models. 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 dimensionalities and complexities ranging from parcel models to multi-dimensional cloud-resolving (e.g. large-eddy) simulations.
This paper introduces a free and open-source C++ library of algorithms for representing cloud...
Share