/README.md (0c953b080b0c626c4ccc220d9c7d77005b8f2b1b) (1871 bytes) (mode 100644) (type blob)

# multiphaseDisperseFoam

CFD-PBM solver for dispersed multiphase flows. This solver is built on the OpenFOAM solver multiphaseEulerFoam and the OpenQBMM library.

## Prerequisites

* [OpenFOAM-4.x](https://github.com/OpenFOAM/OpenFOAM-4.x) - Open-source CFD toolbox version 4.x
* [OpenQBMM-2.0.0](https://github.com/OpenQBMM/OpenQBMM) - Open-source implementation of the Quadrature-Based Moment Method (QBMM)

## Installation

1. Ensure that you have a working OpenFOAM-4.x installation. If not, install OpenFOAM-4.x using the instructions given [here](https://openfoam.org/download/source/) or [here](https://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-4.x/Ubuntu).

2. Install the OpenQBMM-2.0.0 library for OpenFOAM using the instructions given [here](https://www.openqbmm.org/installation/)

3. Build the multiphaseQBMM project with the following steps:

* Download and extract the contents of this repository to a directory

* Open a terminal in the same directory and source/activate the OpenFOAM's shell environment:

```
source ~/opt/openfoam4/etc/bashrc
```

* Now execute the compilation script

```
./Allwmake
```

If the build is successful, no error messages will be shown, and the OpenQBMM solvers will be ready to use. You can test the installation by executing:

```
which multiphaseDisperseFoam
```

## Use

Set up the case directory, using the accompanying tutorial case (testCase) as template. For each dispersed phase, the associated initial moments (moment.*.phase), number of quadrature nodes (populationBalanceProperties.phase) and type of interactions(quadratureProperties.phase) need to be specified. 

Once the case has been setup, run the solver in the case directory using:

```
multiphaseDisperseFoam
```

## License

This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details

Mode Type Size Ref File
100644 blob 1678 eafd65dc86ce0addd22b8a6fc9f915452304e6a0 .gitignore
100644 blob 35087 388bc6322ccd6364794f92bdc22c3bc7121d4be0 LICENSE
100644 blob 1871 0c953b080b0c626c4ccc220d9c7d77005b8f2b1b README.md
040000 tree - d1f7ee27a1a04274eb1e539108870fc6bada9d59 multiphaseEulerPbeFoam
040000 tree - f9a7003d143a63a933e01eb9e150798b0ee54168 squareSettler
040000 tree - 4093cc709bb89943c79dbded845b542990ac3e45 testCase
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/velagala/MultiPhaseQBMM

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/velagala/MultiPhaseQBMM

Clone this repository using git:
git clone git://git.rocketgit.com/user/velagala/MultiPhaseQBMM

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main