taraspiotr / TCLB

CudneLB - Templated MPI+CUDA/CPU Lattice Boltzmann code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CudneLB - the templated version

Build Status Coverage Status

CudneLB is a MPI+CUDA or MPI+CPU high-performance CFD simulation code, based on Lattice Boltzmann Method.

It provides a clear interface for calculation of complex physics, and implementing new models.

Installation

Dependencies

You'll need:

You can install lot of these with the tools/install.sh script (if you are not afraid of running a script with sudo):

sudo tools/install.sh cuda 6.5-14
sudo tools/install.sh r
sudo tools/install.sh openmpi
     tools/install.sh rdep
sudo tools/install.sh python-dev
     tools/install.sh rpython

The install.sh script is designed to work on Ubuntu (e.g. on the Travis-CI VMs). You can install the sudo parts by yourself, and use script to install R packages: rdep and rpython.

Compilation

This should work:

make configure
./configure --enable-double --enable-graphics --with-cuda-arch=sm_20
make d2q9

Usage

This should also work:

CLB/d2q9/main example/karman.xml

Authors

Author: Łukasz Łaniewski-Wołłk

Co-authors:

Contributors:

Developed at: C-CFD Group at Warsaw University of Technology from 2012

License

The software is free to use for non-commercial purposes.

Any usage should be acknowledged accordingly (at least with a reference to this repository).

  • Author wanting to use this software in scientific publications should consult the author for the apropriate reference.
  • Any commercial use should be consulted beforehead with the author
  • Any derived code (even if only on a specific model) should be acknowledged

And, most importantly: if the software proved to be useful for you, please write!

Contact: llaniewski(monkey)meil.pw.edu.pl

About

CudneLB - Templated MPI+CUDA/CPU Lattice Boltzmann code


Languages

Language:C++ 54.8%Language:R 21.2%Language:C 16.4%Language:Python 4.3%Language:M4 2.0%Language:Cuda 1.0%Language:Makefile 0.2%Language:Rebol 0.0%