Installation Overview

Kernel

pythonFlu can be installed as from binaries, as from sources. Most easiest and straightforward way get a feeling about pythonFlu is to install pythonFlu from binaries. Even if you can not find the pythonFlu binaries suitable for your OS version and OpenFOAM distribution you are working with, it is still better to try pythonFlu binary installation first (might be on other machine and different version of OpenFOAM).

Installation from sources will require moderate knowledge in Linux (experience in compiling OpenFOAM from sources this will be more than enough), about 1 Gb of RAM installed on the machine and some patience to wait for the compilation (it usually takes about 45 minutes).

Solvers

Starting from the 8.1-Elvis version, all pythonFlu solvers were separated from the kernel functionality and started its own life as standalone, pure Python, platform independent packages. This decision were taken from the following reasons :

  • Definition of pythonFlu kernel and pythonFlu based solvers are logically independent
  • pythonFlu solvers are written in pure Python and could use simpler distribution technique (just source code)

So, pythonFlu solver developers can advance and distribute their work on their own - independently from pythonFlu kernel development. Therefore, if you have a great CFD idea, define it in pythonFlu terms and let people know about your achievements.

The full catalog and a way to install the referenced pythonFlu solvers can be found here.

Models

Physical models could be treated in the same way as solvers - defined in pure Python and distributed separately from the kernel. Have look at newStressAnalysis/materialModels, as an example.

SALOME binding

Starting from 8.2-hybrid version pythonFlu project is coming with full grown example of SALOME to OpenFOAM binding. Because of SALOME is usually distributed with its own Python and SWIG, the whole set of sources (including pythonFlu) need to be compiled from scratch in SALOME environment. The hybridFlu functionality was tested with SALOME r5.1.3 and OpenFOAM r1.7.1 under Ubuntu Maverick Linux.