An open API service indexing awesome lists of open source software.

https://github.com/hugomvale/pbepack

Package to solve population balance equations for particulate processes.
https://github.com/hugomvale/pbepack

aggregation breakage coagulation fortran pbe population-balance-equation

Last synced: 4 months ago
JSON representation

Package to solve population balance equations for particulate processes.

Awesome Lists containing this project

README

          

# pbepack

[![CI](https://github.com/HugoMVale/pbetools/actions/workflows/CI.yml/badge.svg)](https://github.com/HugoMVale/pbetools/actions)
[![codecov](https://codecov.io/gh/HugoMVale/pbepack/graph/badge.svg?token=HPSERAGMA4)](https://codecov.io/gh/HugoMVale/pbepack)
[![Language](https://img.shields.io/badge/-Fortran-734f96?logo=fortran&logoColor=white)](https://github.com/topics/fortran)

## Status

`pbepack` is currently being developed and not yet ready for use.

## Description

`pbepack` is a modern-Fortran package to solve population balance equations (PBE) for one- and two-component aggregation processes using the (extended) fixed pivot method. For single component systems, the code implements the method of [Kumar & Ramkrishna (1996)](https://doi.org/10.1016/0009-2509(96)88489-2), and for bivariate aggregation the method of [Vale & McKenna (2005)](https://doi.org/10.1021/ie050179s).

## Underlying PBE

If the system is spatially homogeneous, a two-component aggregation process is described by the following PBE:

where is the number of particles of state per unit volume at time and is the aggregation rate coefficient. The internal coordinates and denote the amount (mass, moles, etc.) of each component in the particle.

## Getting started

### Build

The easiest way to build/test the code and run the examples is by means of [`fpm`](https://fpm.fortran-lang.org/en/index.html). To run a given example, just do:

```
fpm run --example "example-filename"
```

and the numerical results will be stored in the [`output`](/output) subfolder. You can then use the provided Python script to read the data and plot the results.

### Usage

comming soon...

## Examples

comming soon...