GithubHelp home page GithubHelp logo

kiraofsin / vampy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexdiem/vampy

0.0 2.0 0.0 4.27 MB

Python package implementing the 1D blood flow equations using the Lax-Wendroff method.

License: BSD 3-Clause "New" or "Revised" License

Python 56.78% Makefile 0.32% TeX 42.90%

vampy's Introduction

VaMpy logo

An implementation of finite difference methods (FDM) to solve partial differential equations (PDE).

The first method to be implemented is Richtmyer's 2 step Lax-Wendroff method.

This is the README file for the project.


Journal paper

A paper on the VaMpy Python package has been published in the Journal of Open Research Software. Whenever using VaMpy for your research, please cite it as

Diem AK, Bressloff NW (2017) VaMpy: A Python Package to Solve 1D Blood Flow Problems. Journal of Open Research Software 5: 17, http://doi.org/10.5334/jors.159


Installation

The package is available on Github. To clone the package run

git clone https://github.com/akdiem/VaMpy.git

To ensure all package dependencies are met it is easiest to set up a new Anaconda environment for VaMpy. This step is optional. The file vampy.yml can be used for this by calling

conda env create -f vampy.yml
source activate vampy

The first command creates the Anaconda environment vampy which contains all required packages, whilst the second command sets the current terminal to use this environment. To install VaMpy run

python setup.py install

Running the example files

To execute one of the example files run

python bifurcation_example.py bifurcation.cfg

To plot the data created from the example run

python plot_example.py bifurcation.cfg

Issues fixed and features added since latest release


Module Documentation

The module documentation can be found on

http://akdiem.github.io/vampy/


Artery setup walkthrough

The module documentation also contains a section on setting up an artery simulation, explaining parameters in the configuration file and code used to set up a simulation.

vampy's People

Contributors

alexdiem avatar maxalbert avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.