Giter Club home page Giter Club logo

bernaise's Introduction

BERNAISE

BERNAISE (Binary ElectRohydrodyNAmIc SolvEr) is a flexible high-level solver of electrohydrodynamic flows in complex geometries. It is written in Python and built on the FEniCS project, which in turn effectively interfaces to optimized linear algebra backends such as PETSc. The solver is described and documented in our recent paper.

Buoyancy-driven droplet
Buoyancy-driven droplet.

Colliding oppositely charged droplets
Two colliding oppositely charged droplets. Red: positive charge, blue: negative charge.

Two-phase dielectricum.
Two-phase dielectricum/capacitor. Red: positive charge, blue: negative charge. Top: negative surface charge, bottom: positive surface charge.

Snøvsen. Snøvsen, neutral.
Enhanced oil recovery by application of a surface charge to the pore wall, and ions dissolved in the water phase. The color indicates the charge. The flow is driven by a constant velocity at the top (Couette flow). Left: With (uniform) surface charge, the droplet is released into the bulk. Right: Without surface charge, the droplet stays within the pore. Note that the droplet is slightly asymmetric due to the imposed flow.

Hourglass with surface charge and zero bias pressure Hourglass with surface charge and small bias pressure Hourglass with surface charge and large bias pressure

Hourglass without  surface charge and zero bias pressure Hourglass without surface charge and small bias pressure Hourglass without surface charge and large bias pressure
Enhanced oil recovery in a pore throat by application of a surface charge to the pore wall, and ions dissolved in the water phase. The color indicates the charge (as above). In the four figures to the right, the flow is driven by a pressure difference; in the two to the left there is zero pressure difference between the two sides. Upper: With (uniform) surface charge in the throat, the droplet is released into the bulk even without external forcing. Lower: Without surface charge, the droplet stays within the pore, except for large external forcing.

A dolphin being cleaned from oil spill.
Animal decontamination: A dolphin initially immersed in oil is fully cleaned by the application of surface charge to the dolphin's skin, and ions in the water. Red: positive charge, blue: negative charge.

Features

  • Simulates time-dependent two-phase electrohydrodynamics in two and three dimensions using a phase-field approach.
  • Supports complex geometries represented by unstructured meshes.
  • Easy implementation of new problems and solvers.

Planned features

  • Adaptive time-stepping based on a local Courant number.

Dependencies

  • FEniCS/Dolfin
  • fenicstools (for post-processing)
  • simplejson
  • mpi4py
  • h5py (parallel)
  • numpy
  • skimage (for polygon extraction tool)
  • tabulate (for post-processing)

Contributors

  • Asger Bolet
  • Gaute Linga

bernaise's People

Contributors

gautelinga avatar asgerbolet avatar

Watchers

Marc Stieglitz 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.