Download page

Windows binary release

Download: (53 MB)
Uncompress the zip-file in c:\discretizer
If you want to install in another location, edit the bat-files (discretizer.bat and discretizersetup.bat).
For full functionality OpenFOAM has to be installed. If you like to cross-compile stuff with mingw. Please go ahead (link). For mortals blueCFD has high quality OpenFOAM binaries It's the best OpenFOAM I've used on Windows. Even snappyHexMesh works!

Binary release for Linux, discretizer_mesh, discretizer170 (for OpenFOAM 1.7.x) and discretizer200 (for OpenFOAM 2.x)

SnappyHexMesh and simpleFoam corrected for OpenFOAM 2.x usage.

Binary release, 32 and 64-bit. Both Discretizer and Discretizer::Setup (Linux)

discretizer-32bit.tar.gz (13 MB)
discretizer-64bit.tar.gz (13 MB)
Just unpack and run "" (example). For OpenFOAM functionality, start in a shell with OpenFOAM commands enabled.

Alpha release June 9th, 2008
Uncompress and run discretizer.rb after you installed FXRuby.

On system with OpenFOAM 1.4 CFD solver installed you can read the tut01.dtz file and apply boundaries. Then run the OpenFOAM solver from Discretizer run dialog. I've just set it up for simpleFoam, stationary incompressible flow with the k-epsilon turbulence model. The fluid is air. This feature might be broken.

Installation Archlinux

pacman -S fox
pacman -S make
gem install fxruby
gem install ruby-opengl

Some graphics boards require that desktop effects are disabled for opengl to work properly.

Install on Ubuntu (tested on 64-bit 8.04), not very updated instruction

If someone want to update this instruction I will put it here.

sudo apt-get install g++ libxrandr-dev libgemplugin-ruby rubygems libopengl-ruby ruby1.8-dev libfox-1.6-0 libfox-1.6-dev libfox-1.6-doc libfxscintilla17 libfxscintilla-dev subversion subversion-tools


sudo gem install fxruby-1.6.16.gem

svn co discretizer

cd discretizer/discretizer
ruby discretizer.rb

Script containing the above commands:

sh ubuntu.txt

When you want to run discretizer again, double-click on discretizer.rb and click on "Run in Terminal"

Run Discretizer on windows

Download Discretizer from Subversion repository:

Installation on Linux:

Uncompress the file. Put the discretizer folder in /opt and run /opt/discretizer/bin/discretizer
If you put it in the home directory use instead. I noticed that the supplied discretizer.home doesn't work.
Install OpenFoam for full functionality:
Main thing about OpenFOAM installation is to put: . $HOME/OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4/bashrc in your .bashrc file.
". $HOME/OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4/bashrc"


Discretizer: (14.6 MB)
GPG detached signature:
Version: GnuPG v1.4.6 (GNU/Linux)


Build it yourself

If you want to compile it for your self:
I noticed that in last Ubuntu version the fox toolkit was in the repositories. Then you just have to compile FXRuby, please get the 1.6.13 or later version.

This is still Pre-Alpha software, don't report any bugs or missing features.

Last updated December 10th, 2008