uw-comphys / openccm

OpenCCM is a CFD-based compartment modelling software package. It is primarily intended for convection dominated reactive flows which feature a weak or one-way coupling between the reactive species and the carrier fluid, i.e. the reaction does not substantially influence the fluid flow over the course of the simulation.
https://uw-comphys.github.io/openccm/
GNU Lesser General Public License v2.1
0 stars 3 forks source link

OpenCCM

TODO: DOI

Getting Started | Issues | Contribute | Citation | Authors

What is OpenCCM?

OpenCCM is a CFD-based compartment modelling software package. It is primarily intended for convection dominated reactive flows which feature a weak or one-way coupling between the reactive species and the carrier fluid, i.e. the reaction does not substantially influence the fluid flow over the course of the simulation.

OpenCCM supports CFD results from OpenCMP and OpenFOAM, and has been written in such a way that support for other simulation packages can be easily added. It provides built-in post-processing for calculating residence time distributions and can output compartment model simulation results in either ParaView format or the original simulation packages' native format for use as input in subsequent CFD simulations.

Compartmental models have been researched in several chemical engineering fields, including:

The OpenCCM package provides reference code and documentation for the methods described in:

OpenCCM development follows the principles of ease of use, performance, and extensibility. The configuration file-based user interface is intended to be concise, readable, and intuitive. Similarly, the code base is structured such that experienced users can support for their simulation package of choice with minimal modifications to existing code. OpenCCM comes with built-in support for performing reactive flow simulations with the compartment model. Reactions are specified by the user on a per-reaction basis in the form for (A + B -> C + D) and are automatically parsed into ODEs. Spatial discretization, if needed, is performed using the finite difference scheme.

Getting Started

  1. Ensure you have Python 3.10+ installed and then install OpenCCM using either pip (pip install openccm) or see the INSTALL.md file for complete installation instructions.
  2. Several examples are provided inside the examples/ folder for specifics of how to create the compartmental model, run simulations, and output visualizations.

If you plan to use the OpenCCM package for your own work, please cite appropriately using the citation below.

Issues

If you encounter any bugs or problems with OpenCCM, please create a post using our package issue tracker. Please provide a clear and concise description of the problem, with images or code-snippets where appropriate. We will do our best to address these problems as fast and efficiently as possible.

Contribute

We welcome external contributions to the source code. This process will be easiest if users adhere to the contribution policy:

Citation

If you plan to use OpenCCm in your own work, please cite using the following Bibtex citation: TODO: Fill in after having DOI

@article{VasileOpenCCM202X,
    author  = {Vasile, Alexandru Andrei and Tino, Matthew Peres an Aseri, Yuvraj and Abukhdeir, Nasser Mohieddin},
    title   = {},
    doi     = {},
    journal = {Journal of Open Source Software},
    number  = {},
    pages   = {},
    volume  = {},
    year    = {202X},
    url     = {}
}

Authors