Skip to content
Bhavani Shankar edited this page Jul 18, 2014 · 1 revision

Brics*

An Incompressible Rayleigh Benard Equation solver that uses FEniCS with with PETSc backend that aims to be efficient and parallel. BRICS is written in python 2.7

Features:

  1. Implicit time stepping with adaptivity accurate to O(dt^2)
  2. Generates Non-uniform meshes that are denser towards corners
  3. Parallel execution on CPU/GPU due to FEniCS, PETSc
  4. Object oriented code makes creating new domains and defining equations in curved geometries easy.
  5. No-slip/free-slip or periodic boundary conditions

Dependencies:

  • python 2.7.xx
  • PETSc
  • FEniCS (compiled with PETSc and its other dependencies)
  • Numpy
  • Matplotlib

Running the code:

$ git clone https://bshankar@bitbucket.org/bshankar/brics.git
$ python2 input.py   # input file

Useful links:

  • FEniCS
  • Incompressible Rayleigh benard equations and the Boundary conditions
  • tests BRICS passed so far.
Clone this wiki locally