[ANN] PySPH-1.0a3: Smoothed Particle Hydrodynamics with Python

Prabhu Ramachandran prabhu at aero.iitb.ac.in
Fri Aug 28 09:41:43 CEST 2015


Hi,

I am pleased to release PySPH version 1.0a3.

PySPH is an open source (BSD licensed) framework for Smoothed Particle
Hydrodynamics (SPH) simulations. It is implemented in Python and the
performance critical parts are implemented in Cython.  A wide variety of
SPH formulations are available and new ones can be easily added.

PySPH allows users to write their high-level code in pure Python.  This
Python code is automatically converted to high-performance Cython which
is compiled and executed.  PySPH can also be configured to work
seamlessly with OpenMP and MPI.

Documentation: http://pysph.readthedocs.org
Download: http://pypi.python.org/pypi/PySPH/
Development: http://pysph.bitbucket.org
Changelog: http://pythonhosted.org/PySPH/overview.html#changelog

Quick changelog
---------------

- Improve the Application class to make it very easy to do a variety of
  things including user-defined command line arguments, adding new tools
  and pre/post-step callbacks.
- Add a convenient pysph script to run examples, run tests and view the
  results.
- Bundle all examples with the installation so ``pip install PySPH`` is all
  you need to run the examples and use the library.
- Use a platform and Python specific directory to store auto-generated
  code.
- Silence distracting compiler warnings and only show them when an error
  occurs.

For more details see the detailed changelog here:

http://pythonhosted.org/PySPH/overview.html#changelog

Installation
------------

Please see the documentation above for detailed instructions.  You
should be able to:

    $ pip install pysph

If you need to run the tests you can run ``pip install pysph[test]`` to
automatically fetch the additional dependencies (nose and mock).  To use the
viewer you will need mayavi installed.  ``pip install pysph[all]`` should fetch
all the dependencies.


Features
--------

- Flexibility to define arbitrary SPH equations in pure Python
- Define your own multi-step integrators in pure Python
- High-performance: our performance is comparable to hand-written
  solvers implemented in low-level languages
- Seamless multi-core support with OpenMP
- Seamless MPI support using: http://www.cs.sandia.gov/zoltan/

PySPH supports a variety of SPH formulations including:

 - Weakly compressible SPH
 - Transport Velocity Formulation
 - SPH for elastic dynamics
 - Compressible flows


cheers,
Prabhu Ramachandran
Department of Aerospace Engineering,
IIT Bombay

http://www.aero.iitb.ac.in/~prabhu


More information about the Python-announce-list mailing list