An Incompressible Rayleigh Benard Equation solver that uses FEniCS with with PETSc backend. BRICS is written in python 2.7
- Implicit time stepping with adaptivity accurate to O(dt^2)
- Generates Non-uniform meshes that are denser towards corners
- Parallel execution on CPU/GPU due to FEniCS, PETSc
- Object oriented code makes creating new domains and defining equations in curved geometries easy.
- No-slip/free-slip or periodic boundary conditions
- python 2.7.xx
- PETSc
- FEniCS (1.4 and above)
- Numpy
- Matplotlib
$ git clone https://[email protected]/bshankar/brics.git
$ python2 input2d.py # sample input file for 2d box
$ python2 input3d.py # sample input file for 3d box
$ python2 input2d.py <folder> # specify optional output folder
Brics is free, and distributed under the GNU General Public License (GPL). Essentially, this means that you are free to do almost exactly what you want with the program, including distributing it among your friends, making it available for download from your web site, selling it (either by itself or as part of some bigger software package), or using it as the starting point for a software project of your own.
The only real limitation is that whenever you distribute Brics in some way, you must always include the full source code, or a pointer to where the source code can be found. If you make any changes to the source code, these changes must also be made available under the GPL.
For full details, read the copy of the GPL found in the file named Copying.txt
- FEniCS http://fenicsproject.org/
- tests Brics passed so far. https://github.com/bshankar/brics/wiki/Tests