Skip to main content


Project description

<p align="center">
<a href="" target="_blank" >
<img alt="Python Dynamic Mode Decomposition" src="readme/logo_EZyRB_small.png" width="200" />
<p align="center">
<a href="" target="_blank">
<img alt="Software License" src="">
<a href="" target="_blank">
<img alt="Build Status" src="">
<a href="" target="_blank">
<img alt="Coverage Status" src="">
<a class="badge-align" href=";utm_medium=referral&amp;utm_content=mathLab/EZyRB&amp;utm_campaign=Badge_Grade">
<img src=""/>

**EZyRB**: Easy Reduced Basis method

## Table of contents
* [Description](#description)
* [Dependencies and installation](#dependencies-and-installation)
* [Documentation](#documentation)
* [Testing](#testing)
* [Examples](#examples)
* [How to cite](#how-to-cite)
* [Recent works with EZyRB](#recent-works-with-ezyrb)
* [Authors and contributors](#authors-and-contributors)
* [How to contribute](#how-to-contribute)
* [Submitting a patch](#submitting-a-patch)
* [License](#license)

## Description
**EZyRB** is a python library for the Model Order Reduction based on **baricentric triangulation** for the selection of the parameter points and on **Proper Orthogonal Decomposition** for the selection of the modes. It is ideally suited for actual industrial problems, since its structure can interact with several simulation software simply providing the output file of the simulations. Up to now, it handles files in the vtk and mat formats. It has been used for the model order reduction of problems solved with matlab and openFOAM.

See the [**Examples**](#examples) section below and the **Tutorials** to have an idea of the potential of this package.

## Dependencies and installation
**EZyRB** requires `numpy`, `scipy` and `matplotlib`. They can be easily installed via `pip`. Moreover **EZyRB** depends on `vtk`. These requirements cannot be satisfied through `pip`.
Please see the table below for instructions on how to satisfy the requirements.

| Package | Version | Comment |
| vtk | >= 5.0 | Simplest solution is `conda install vtk` |

The official distribution is on GitHub, and you can clone the repository using

> git clone

To install the package just type:

> python install

To uninstall the package you have to rerun the installation and record the installed files in order to remove them:

> python install --record installed_files.txt
> cat installed_files.txt | xargs rm -rf

## Documentation
**EZyRB** uses [Sphinx]( for code documentation. To build the html versions of the docs simply:

> cd docs
> make html

The generated html can be found in `docs/build/html`. Open up the `index.html` you find there to browse.

## Testing
We are using Travis CI for continuous intergration testing. You can check out the current status [here](

To run tests locally:

> python

## Examples

You can find useful tutorials on how to use the package in the `tutorials` folder.
Here we show an applications taken from the **automotive** engineering fields

<p align="center">
<img src="readme/pod_modes.png" alt>
<p align="center">
<em>The first POD modes of the pressure field on the DrivAer model.</em>

<p align="center">
<img src="readme/errors.png" alt>
<p align="center">
<em>DrivAer model online evaluation: pressure (left) and wall shear stress (right) fields and errors.</em>

## How to cite
If you use this package in your publications please cite the package as follows:

{EZyRB: Easy Reduced Basis method. Available at}: \href{}{}.

### Recent works with EZyRB
Here there is a list of the scientific works involving **EZyRB** you can consult and/or cite. If you want to add one, please open a PR.

## Authors and contributors
**EZyRB** is currently developed and mantained at [SISSA mathLab]( by
* [Nicola Demo](
* [Marco Tezzele](

under the supervision of [Prof. Gianluigi Rozza]( We thank [Filippo Salmoiraghi]( for the original idea behind this package and the major contributions.

Contact us by email for further information or questions about **EZyRB**, or suggest pull requests. **EZyRB** is at an early development stage, so contributions improving either the code or the documentation are welcome!

## How to contribute
We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.

### Submitting a patch

1. It's generally best to start by opening a new issue describing the bug or
feature you're intending to fix. Even if you think it's relatively minor,
it's helpful to know what people are working on. Mention in the initial
issue that you are planning to work on that bug or feature so that it can
be assigned to you.

2. Follow the normal process of [forking][] the project, and setup a new
branch to work in. It's important that each group of changes be done in
separate branches in order to ensure that a pull request only includes the
commits related to that bug or feature.

3. To ensure properly formatted code, please make sure to use 4
spaces to indent the code. The easy way is to run on your bash the provided
script: ./ You should also run [pylint][] over your code.
It's not strictly necessary that your code be completely "lint-free",
but this will help you find common style issues.

4. Any significant changes should almost always be accompanied by tests. The
project already has good test coverage, so look at some of the existing
tests if you're unsure how to go about it. We're using [coveralls][] that
is an invaluable tools for seeing which parts of your code aren't being
exercised by your tests.

5. Do your best to have [well-formed commit messages][] for each change.
This provides consistency throughout the project, and ensures that commit
messages are able to be formatted properly by various git tools.

6. Finally, push the commits to your fork and submit a [pull request][]. Please,
remember to rebase properly in order to maintain a clean, linear git history.

[well-formed commit messages]:
[pull request]:

## License

See the [LICENSE](LICENSE.rst) file for license rights and limitations (MIT).

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ezyrb-0.2-py2.7.egg (66.4 kB) Copy SHA256 hash SHA256 Egg 2.7
ezyrb-0.2.tar.gz (17.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page