Skip to main content

A flexible Python package for lattice Boltzmann method

Project description

pylbm

Binder GithubAction Doc badge Join the chat at https://gitter.im/pylbm/pylbm

pylbm is an all-in-one package for numerical simulations using Lattice Boltzmann solvers.

This package gives all the tools to describe your lattice Boltzmann scheme in 1D, 2D and 3D problems.

We choose the D’Humières formalism to describe the problem. You can have complex geometry with a set of simple shape like circle, sphere, …

pylbm performs the numerical scheme using Cython, NumPy or Loo.py from the scheme and the domain given by the user. Pythran and Numba wiil be available soon. pylbm has MPI support with mpi4py.

Installation

You can install pylbm in several ways

With mamba or conda

mamba install pylbm -c conda-forge
conda install pylbm -c conda-forge

With Pypi

pip install pylbm

or

pip install pylbm --user

From source

You can also clone the project and install the latest version

git clone https://github.com/pylbm/pylbm

To install pylbm from source, we encourage you to create a fresh environment using conda.

conda create -n pylbm_env python

As mentioned at the end of the creation of this environment, you can activate it using the comamnd line

conda activate pylbm_env

Now, you just have to go into the pylbm directory that you cloned and install the dependencies

conda install --file requirements-dev.txt -c conda-forge

and then, install pylbm

pip install .

For more information about what you can achieve with pylbm, take a look at the documentation

http://pylbm.readthedocs.io

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylbm-0.10.0.tar.gz (114.8 kB view details)

Uploaded Source

Built Distribution

pylbm-0.10.0-py3-none-any.whl (150.7 kB view details)

Uploaded Python 3

File details

Details for the file pylbm-0.10.0.tar.gz.

File metadata

  • Download URL: pylbm-0.10.0.tar.gz
  • Upload date:
  • Size: 114.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for pylbm-0.10.0.tar.gz
Algorithm Hash digest
SHA256 4a3241a654ed6b647216e64866fc3e96a82dbe5676f72a06084194f853787eff
MD5 47232ca5783f30084b1a5b4a99cfd73a
BLAKE2b-256 c74d36d5edd01f940acea4dc79adbb061b7e45d4a6d12224fbb3ea75d6552c6c

See more details on using hashes here.

File details

Details for the file pylbm-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: pylbm-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 150.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for pylbm-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa9d21ff63f5a3ec7963b9e7d616433f56e62849b3da47fa94d519c0338388f3
MD5 64da9f3d1fe0edb27f2037c9945338a6
BLAKE2b-256 cfcfd8c279df52224d576a4531b28743a00c0b23a8cfcd2a163de69f0271185e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page