Git Product home page Git Product logo

aphros's Introduction

Aphrós

Finite volume solver for incompressible multiphase flows with surface tension.

Key features:

  • implementation in C++14
  • scalability to thousands of compute nodes with the Cubism library for distributed computing on structured grids
  • coroutines to enable encapsulation in the block-wise processing framework
  • fluid solver based on SIMPLE or Bell-Colella-Glaz methods
  • conservative split PLIC advection solver
  • particle method for curvature estimation improving the accuracy at low resolutions [online demo] [4]
  • coalescence prevention [online demo] [8]

Clone

git clone https://github.com/cselab/aphros.git

Documentation

https://cselab.github.io/aphros/doc

Generated in doc/sphinx.

Requirements

C++14, CMake

Optional dependencies: MPI, parallel HDF5, python3, python3-numpy

Bundled optional dependencies: hypre, eigen, overlap, vofi, fpzip

Build and install

Follow instructions from deploy/README.md to prepare environment and install dependencies.

Configure, build, install and run tests:

cd src
make -j4
make test

Docker

Instead of building the code in your system, you can build and run a Docker container

docker build github.com/cselab/aphros --tag aphros
docker run -i aphros

Minimal build without CMake

This is a minimal build without dependencies and tests.

cd src
APHROS_PREFIX=PREFIX make -f Makefile_legacy install

where PREFIX is the installation location (e.g. ~/.local).

Online demos

curvature estimation coalescence prevention

Videos

Examples of simulations visualized using ParaView and OSPRay in collaboration with Jean M. Favre at CSCS.

Coalescence of bubbles [4] Taylor-Green vortex with bubbles [2] [5]
Bubble trapped by vortex ring [5] Plunging jet [2]
Electrochemical reactor [1] Bubbles through mesh
Rising bubbles clustering on the surface [6] [7] Foaming waterfall [8]
APS Gallery of Fluid Motion 2019 award winner: Breaking waves: to foam or not to foam? [6]

Developers

Aphros is developed and maintained by researchers at ETH Zurich

under the supervision of

Publications

  1. S. M. H. Hashemi, P. Karnakov, P. Hadikhani, E. Chinello, S. Litvinov, C. Moser, P. Koumoutsakos, and D. Psaltis, "A versatile and membrane-less electrochemical reactor for the electrolysis of water and brine", Energy & environmental science, 2019 10.1039/C9EE00219G
  2. P. Karnakov, F. Wermelinger, M. Chatzimanolakis, S. Litvinov, and P. Koumoutsakos, "A high performance computing framework for multiphase, turbulent flows on structured grids" in Proceedings of the platform for advanced scientific computing conference on – PASC ’19, 2019 10.1145/3324989.3325727
  3. P. Karnakov, S. Litvinov, P. Koumoutsakos "Coalescence and transport of bubbles and drops" 10th International Conference on Multiphase Flow (ICMF), 2019
  4. P. Karnakov, S. Litvinov, and P. Koumoutsakos, "A hybrid particle volume-of-fluid method for curvature estimation in multiphase flows”, International journal of multiphase flow, 2020 10.1016/j.ijmultiphaseflow.2020.103209
  5. Z. Wan, P. Karnakov, P. Koumoutsakos, T. Sapsis, "Bubbles in Turbulent Flows: Data-driven, kinematic models with history terms”, International journal of multiphase flow, 2020 10.1016/j.ijmultiphaseflow.2020.103286
  6. P. Karnakov, S. Litvinov, J. M. Favre, P. Koumoutsakos "V0018: Breaking waves: to foam or not to foam?" Gallery of Fluid Motion Award 10.1103/APS.DFD.2019.GFM.V0018
  7. Annual report 2019 of the Swiss National Supercomputing Centre (cover page) [link]
  8. P. Karnakov, F. Wermelinger, S. Litvinov, and P. Koumoutsakos, "Aphros: High Performance Software for Multiphase Flows with Large Scale Bubble and Drop Clusters" in Proceedings of the platform for advanced scientific computing conference on – PASC ’20, 2020 10.1145/3394277.3401856

aphros's People

Contributors

pkarnakov avatar slitvinov 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.