U.S. Geological Survey, Integrated Modeling and Prediction Division, 2280 Woodale Drive, Mounds View, MN, USA.
U.S. Geological Survey, California Water Science Center, 3130 Skyway Drive, Suite 602, Santa Maria, CA, USA.
Ground Water. 2024 Jan-Feb;62(1):124-139. doi: 10.1111/gwat.13327. Epub 2023 Jun 12.
FloPy is a Python package for creating, running, and post-processing MODFLOW-based groundwater flow and transport models. FloPy functionality has expanded to support the latest version of MODFLOW (MODFLOW 6) including support for unstructured grids. FloPy can simplify the process required to download MODFLOW-based and other executables for Linux, MacOS, and Windows operating systems. Expanded FloPy capabilities include (1) full support for structured and unstructured spatial discretizations; (2) geoprocessing of spatial features and raster data to develop model input for supported discretization types; (3) the addition of functionality to provide direct access to simulated output data; (4) extension of plotting capabilities to unstructured MODFLOW 6 discretization types; and (5) the ability to export model data to shapefiles, NetCDF, and VTK formats for processing, analysis, and visualization by other software products. Examples of using expanded FloPy capabilities are presented for a hypothetical watershed. An unstructured groundwater flow and transport model, with several advanced stress packages, is presented to demonstrate how FloPy can be used to develop complicated unstructured model datasets from original source data (shapefiles and rasters), post-process model results, and plot simulated results.
FloPy 是一个用于创建、运行和后处理基于 MODFLOW 的地下水流动和传输模型的 Python 包。FloPy 的功能已扩展到支持最新版本的 MODFLOW(MODFLOW 6),包括对非结构化网格的支持。FloPy 可以简化在 Linux、MacOS 和 Windows 操作系统上下载基于 MODFLOW 的和其他可执行文件的过程。扩展的 FloPy 功能包括:(1)对结构化和非结构化空间离散化的完全支持;(2)对空间特征和栅格数据的地理处理,以开发支持的离散化类型的模型输入;(3)添加功能,提供对模拟输出数据的直接访问;(4)扩展到非结构化 MODFLOW 6 离散化类型的绘图功能;以及(5)能够将模型数据导出到 shapefile、NetCDF 和 VTK 格式,以便其他软件产品进行处理、分析和可视化。使用扩展的 FloPy 功能的示例是针对一个假设的流域提出的。展示了一个非结构化的地下水流动和传输模型,以及几个高级压力包,演示了如何使用 FloPy 从原始源数据(shapefile 和栅格)开发复杂的非结构化模型数据集,对模型结果进行后处理,并绘制模拟结果。