Skip to main content

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.

Picture of Ocellaris

About this image

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ocellaris-2017.1.dev1-py2-none-any.whl (185.8 kB view hashes)

Uploaded Python 2

Supported by

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