Skip to main content

A discontinuous Galerkin FEM solver for multiphase free surface flows

Project description

Ocellaris is a mass conserving DG FEM solver for sharp interface multiphase free surface flows. Ocellaris can 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. Some examples of what Ocellaris can do, including videos of the results, are shown in the Ocellaris Blog on www.ocellaris.org.

Ocellaris is implemented in Python and C++ with FEniCS as the backend for the mesh and finite element assembly. PETSc is used for solving the resulting linear systems.

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

Picture of an Ocellaris clownfish in a triangulated style

Installation and running

Ocellaris requires a full installation of FEniCS with the PETSc linear algebra backend. You can install the dependencies yourself (you need at least dolfin, h5py, matplotlib and PyYAML), but the easiest way by far is to use a preconfigured Singularity or Docker container. More information on these and installation in general can be found in the user guide.

When Ocellaris is installed you can run the solver with an Ocellaris input file:

ocellaris INPUTFILE.INP

Example input files can be found in the demos/ sub-directory of the Ocellaris source code and a description of the Ocellaris input file format and the possible input parameters is given in the user guide.

First steps

To test the code there are some demo input files in the demos/ directory. Complete input files along with driver scripts are provided for several of the standard benchmark cases like Kovasznay flow and the Taylor-Green vortex in the cases/ directory. 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

  • Ocellaris is tested with FEniCS Version 2018.1. Earlier versions will NOT work, later version may possibly work.

  • This is an ongoing research project, do not expect results to be correct without proper validation!

Documentation

The documentation can be found on the Ocellaris web page.

Development

Ocellaris is developed in Python and C++ on Bitbucket by use of the Git version control system. If you are reading this on github, please be aware that you are seeing a mirror that could potentially be months out of date. The github mirror is only updated sporadically—to trigger new Singularity and Docker Hub container builds. All pull requests and issues should go to the Bitbucket repository. If you want to contribute to Ocellaris, please read the guide to contributing.

Ocellaris is automatically tested on CircleCI and the current CI build status is circleci_status.

Project details


Download files

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

Source Distribution

ocellaris-2019.0.2.tar.gz (243.2 kB view details)

Uploaded Source

Built Distribution

ocellaris-2019.0.2-py3-none-any.whl (331.2 kB view details)

Uploaded Python 3

File details

Details for the file ocellaris-2019.0.2.tar.gz.

File metadata

  • Download URL: ocellaris-2019.0.2.tar.gz
  • Upload date:
  • Size: 243.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for ocellaris-2019.0.2.tar.gz
Algorithm Hash digest
SHA256 e4c6ca794632a49d4a1156b432d9e994acb6f8e48484091e2e294cc128d28f1f
MD5 b7b624a82ab17a7e41bd1b7f31d105b1
BLAKE2b-256 27bcbcf6a7ff49918adc55b7fcfa573f633bcfbad91641bf432625ed40bf7d38

See more details on using hashes here.

File details

Details for the file ocellaris-2019.0.2-py3-none-any.whl.

File metadata

  • Download URL: ocellaris-2019.0.2-py3-none-any.whl
  • Upload date:
  • Size: 331.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for ocellaris-2019.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 03a8e3d070ebee1a2d0de55d97c5180da5efc2adcff1147c9ded44442dfc2100
MD5 4f6874e961f0a47e3192122ef99ae7aa
BLAKE2b-256 a02d4ca798124d6f12f00a20037a86eefd19bd992faca7fa3a6e5f5c32ca92c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page