Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

A discontinuous Galerkin FEM solver for multiphase free surface flows

Project description

Ocellaris is a work in progress to make a continuous and discontinuous Galerkin FEM solver for multiphase free surface flows. The current goal of the project is to simulate water entry and exit of objects in ocean waves with accurate capturing of the force on the object and the behaviour of the free surface.

Ocellaris is implemented in Python and C++ with FEniCS as the backend for numerics, mesh and finite element calculations.

Ocellaris is named after the Amphiprion Ocellaris clownfish and is written as part of a PhD project at the University of Oslo.

Installation and running

Ocellaris requires a full installation of FEniCS with the PETSc linear algebra backend. There is no installation other than downloading the code and running the following command with both the Ocellaris Python package and the FEniCS and SciPy packages in the Python PATH (dolfin/numpy/matplotlib etc):

python -m ocellaris INPUTFILE.INP

To test the code there are some demos in the demos/ directory. Complete input files are provided for several of the normal benchmark cases like lid driven cavity flow and the Taylor-Green vortex. More information can be found in the documentation which also contains a description of the input file format.

Please feel free to test Ocellaris, but please keep in mind:

  • Ocellaris is in a state of constant development and does not have a stable API or input file format
  • Ocellaris supports Python 2 only, not Python 3 (currently).
  • This is a research project, do not expect anything to work properly without testing it thoroughly first!

Documentation

The documentation can be found on the Ocellaris web page.

Project details


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
ocellaris-2017.1.dev1-py2-none-any.whl (185.8 kB) Copy SHA256 hash SHA256 Wheel py2

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