CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Discretizer on Mac. (https://www.cfd-online.com/Forums/openfoam/88748-discretizer-mac.html)

paka May 25, 2011 03:24

Discretizer on Mac.
 
FYI. I couldn't find any information regarding Discretizer (http://www.discretizer.org/) running on Mac. I did download the source and played a little bit to try to make it work. Appears it runs well and fine on Mac. Below you can find a short guideline what to do in order to make it work:

1. Download the source:
http://www.discretizer.org/files/dis...7-12-01.tar.gz

2. Put the unpacked files into desired destination, i.e. /opt/

3. Add required Ruby libraries by running following commands:
- sudo gem install fxruby
- sudo gem install ruby-opengl

4. Get into the folder where you copied discretizer, i.e.: $DISCRETIZER_PATH/discretizer/
Inside the folder there should 'discretizer.rb' file. Open it and add in the list of all require calls (i.e. on top of them) following statement:
require 'rubygems' and save.

5. In the same folder run Discretizer by invoking:
ruby discretizer.rb

Hope it helps! Enjoy!
Krystian

Threads which were somewhat helpful in the process:
http://www.cfd-online.com/Forums/ope...scretizer.html
http://www.ruby-forum.com/topic/131049
http://www.discretizer.org/node/2

paka June 3, 2011 20:33

To get discretizerSetup running, do the following:

svn co http://fiscretizer.svn.sourceforge.n...r/discretizer/

then launch running: ruby discretizersetup.rb within discretizersetup/ folder.

Hope that helps. Best,
K


All times are GMT -4. The time now is 10:02.