A interactive mesh creation tool. Discretizer will create geometry and meshes for three dimensional flow simulations (CFD). Geometry import is not a goal: Discretizer will be furiously fast geometry builder (on many common engineering applications at least.
I want to do reusable already meshed geometries for parametrization and optimization.
Install FXRuby:
sudo apt-get install libfox-1.6-0 libfox-1.6-dev libfox-1.6-doc libopengl-ruby1.8 libruby1.8-extras ruby1.8-dev g++ libxrandr-dev subversion
sudo gem-install fxruby
svn co https://discretizer.svn.sourceforge.net/svnroot/discretizer discretizer
cd discretizer/discretizer/lib
ruby discretizer.rb
Install OpenFOAM.

There are still some things broken after the implementation of new mesh export.
I tried to do a slightly more complex geometry. This is some kind of flow splitter.

Just did a very long pipe. It was easy, almost fun. Mesh took 27 seconds to export and contain 145719 cells, it's just one block.

Oh, this kind of work now too.

I just made a longer pipe...

Now the the internals of Discretizer allow this kind of extruded mesh. 97020 cells in 5 minutes. Think I will commit soon.

It will be nice when this thing work 100%

I've wanted to extrude face-faces a long time. But I have to go to sleep :-(

Now I don't try to use stitchMesh anymore
Now it will be easy to add some useful features.

The new mesh export is in the svn repository at sourceforge
Things are starting to shape up with the new mesh export.

There are no results yet of the new mesh export. That is because I've done a boring exercise in 2d to get all things right. I think I have sorted out all issues now. The 3d version for Discretizer will be available within weeks. Then the implementation of extrusions (face-face ones below) will be possible with ease (mergeprog.rb, mergeprog.xls).
Seems like I can't get stitchMesh to work so I will just redo the mesh export in Discretizer... This time it has to be great.

Vertices extruded from facefaces
I want to make Discretizer usable as fast as possible. Then the OpenFOAM utility stitchMesh seemed as a good idea. Only problem is that it is broken. I hope the version that Hrvoje Jasak makes is better it is called OpenFOAM-1.5-dev and can be downloaded from http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/
Also I like to mention that OpenCFD does not acknowledge contributions which I don't like at all. Even if I like Henry Weller to make a lot of money I still think OpenCFD should try to have only one good version of OpenFOAM. I have a sense that Cd-Adapco bought his snappyHexMesh. And they have a version with feature lines. Don't think Cd-Adapco would like any contributions adding featurelines to OpenFOAM. Maybe OpenCFD also want to avoid featurelines for a certain time. For how long?
It's possible to use multiline on Ruby <1.8.7 now. I removed the usage of Fixnum#odd? which is only available on Ruby 1.8.7 and higher. This makes it possible to use multiline in Windows and other operating systems with older versions of Ruby.

Faces from edges extruded along a multiline.
Last updated April 8, 2009