GithubHelp home page GithubHelp logo

tormodlandet / ocellaris Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 3.25 MB

This is a github MIRROR of the main ocellaris repo on bitbucket (https://bitbucket.org/ocellarisproject/ocellaris). NO pull request or issues should go to this repo, please! This repository is only here to support Singularity Hub which lacks bitbucket support. The code in this repository may be severely out of date! It is synced with bitbucket manually and may be months or years behind!

Home Page: https://www.ocellaris.org

License: Apache License 2.0

Python 96.47% GLSL 0.04% C++ 3.32% Dockerfile 0.16%

ocellaris's Introduction

Ocellaris

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

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.

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!

The documentation can be found on the Ocellaris web page.

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.

Ocellaris is copyright Tormod Landet, 2014-2019, and the Ocellaris project contributors from 2019 and onwards. Ocellaris is licensed under the Apache 2.0 license, a permissive free software license compatible with version 3 of the GNU GPL. See License of Ocellaris for the details.

ocellaris's People

Watchers

 avatar  avatar  avatar

Forkers

jakobes

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.