zhangya9741 / Palabos-PFM

Palabos with PFM addons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Palabos-PFM

This repository contains a (largely unmodified) fork of the LB code Palabos as distributed by FlowKit Ltd. via palabos.org.

Maintainer: Philippe Seil (philippe.seil@jku.at), Johannes Kepler University Linz, Austria

Branches

The existence of three branches in this repository is guaranteed:

  • master: contains both Palabos and additional utilities developed by PFM/JKU. Palabos is usually unmodified except for minor bugfixes in case they arise and a few tiny issues (see next section). Utilities are found in externalLibraries/plb/utils.
  • develop: Development version. May contain newer features, but may break.
  • plb-vanilla: contains the unmodified content of the latest version of Palabos.

Other branches present are usually temporary feature branches and should by no means used in any productive environement.

Changes to vanilla Palabos

MRT dynamics

In Palabos, the relaxation rates for MRT dynamics are preset to values from literature. However, most people nowadays use either the TRT relaxation by Ginzburg et al. (2008) or the relaxation rates of Pan et al. (2006). Those two settings can now be used by defining

#define MRT_USE_TRT_RELAXATION

or

#define MRT_USE_PAN_RELAXATION 

before the

#include "palabos3D.h
#include "palabos3D.hh"

commands in your case file. A "magic number" of 3/16 is hardcoded (gives best bounceback).

Utilities

About

Palabos with PFM addons

License:GNU Affero General Public License v3.0


Languages

Language:C++ 88.8%Language:Python 10.1%Language:Java 0.5%Language:C 0.3%Language:Makefile 0.1%Language:Hack 0.1%Language:Shell 0.1%Language:CMake 0.1%Language:MATLAB 0.0%