Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Framework for studying fluid dynamics with simulations.

Project Description

Fluidsim is a framework for studying fluid dynamics with numerical simulations using Python. It is part of the wider project FluidDyn.

Fluidsim has first been developed by Pierre Augier (CNRS researcher at LEGI, Grenoble) at KTH (Stockholm) as a numerical code to solve fluid equations in a periodic two-dimensional space with pseudo-spectral methods.

Now, Fluidsim is an object-oriented library to develop solvers (mainly using pseudo-spectral methods) by writing mainly Python code. The result is really efficient compared to a pure Fortran or C++ code since the time-consuming tasks are performed by optimized compiled functions.

Fluidsim is a HPC code written mostly in Python. It uses the library fluidfft to use very efficient FFT libraries. Fluidfft is written in C++, Cython and python. Fluidfft and fluidsim take advantage of Pythran, a new static Python compiler which produces very efficient binaries by compiling Python via C++11.

An advantage of a CFD code written mostly in Python is that to run simulations and analyze the results, the users communicate (possibly interactively) together and with the machine with Python, which is nowadays among the best languages to do these tasks. Moreover, it is much simpler and faster than with pure Fortran or C++ codes to add any complicate analysis or to write a modified solver.

We have created fluidsim to be easy and nice to use and to develop, efficient and robust.

Key words and ambitions: fluid dynamics research with Python (2.7 or >= 3.4); modular, object-oriented, collaborative, tested and documented, free and open-source software.

License

FluidDyn is distributed under the CeCILL License, a GPL compatible french license.

Installation

You can get the source code from Bitbucket or from the Python Package Index.

The development mode is often useful. From the root directory:

python setup.py develop

Tests

From the root directory:

make tests
make tests_mpi

Or, from the root directory or from any of the “test” directories:

python -m unittest discover

Alternatively, if you have installed FluidSim using pip or easy_install:

fluidsim-test
mpirun -np 2 fluidsim-test
Release History

Release History

This version
History Node

0.1.0.post2

History Node

0.1.0.post1

History Node

0.1.0

History Node

0.0.4

History Node

0.0.3a1

History Node

0.0.2a1

History Node

0.0.1a0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
fluidsim-0.1.0.post2.tar.gz (365.9 kB) Copy SHA256 Checksum SHA256 Source Nov 4, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting