robertsawko / OpenPBE

An implementation of population balance solution strategies for OpenFOAM.
10 stars 6 forks source link

OpenPBE

Join the chat at https://gitter.im/robertsawko/OpenPBE

An implementation of population balance solution strategies for OpenFOAM.

Copyright information

Copyright (C) 2013-2016
OpenPBE developers
Cranfield University, UK

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Development objectives

Build

Requirements

Basic

# Clone the project
# Load OpenFOAM environment

cd <project_dir>
mkdir build
cd build
cmake ../
make # alternatively make -j 4 for parallell build

Development

# Clone the project
# Load OpenFOAM environment

cd <project_dir>

# Donload benchmark
git submodule init
git submodule update 

# Build the project
mkdir build
cd build
ccmake ../  # Alternatively cmake with appropriate options
# Configure require options
make # alternatively make -j 4 for parallell build

Usage

The current version uses canonical twoPhaseEulerFoam. The only necessary change is to include

libs ("libPBE.so")

in your controlDict. See tests/validation/ for example usages against some known experimental cases.