python-crunchflow – A Python Library for Working with the CrunchFlow Reactive Transport Code
python-crunchflow is an open source python package designed for working with the the reactive
transport model CrunchFlow. This library provides a set
of tools for managing and manipulating CrunchFlow input files, as well as quickly reading and
plotting model output.
If you use the crunchflow package in published work, please cite the paper for which it was originally developed:
Perzan, Z., Babey, T., Caers, J., Bargar, J.R. and Maher, K., 2021, Local and global sensitivity analysis of a reactive transport model simulating floodplain redox cycling, Water Resources Research, doi: 10.1029/2021WR029723
This library consists of two main subpackages:
crunchflow.outputcontains theTimeSeriesandSpatialProfileclasses for working with CrunchFlowtime_seriesandspatial_profileoutput, respectively. These include concentration histories at a given grid cell as well as spatially-variable geochemical conditions and sediment properties at a given snapshot in time.crunchflow.inputcontains theInputFileandKeywordBlockclasses for working with CrunchFlow input files.
Contents
Tutorials. Most of the functionality of this package is documented in the Tutorials section. There is one tutorial each for the
crunchflow.inputandcrunchflow.outputsubpackages.Documentation. Some documentation of individual classes and functions is also included in the API Reference.