CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Discretizer on Mac.

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2011, 03:24
Default Discretizer on Mac.
  #1
Senior Member
 
Join Date: Mar 2009
Posts: 225
Rep Power: 18
paka is on a distinguished road
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

Last edited by paka; May 25, 2011 at 03:26. Reason: Added source information.
paka is offline   Reply With Quote

Old   June 3, 2011, 20:33
Default
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 225
Rep Power: 18
paka is on a distinguished road
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
paka is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extend Project 1.6-ext Binary Release for Mac OS X hjasak OpenFOAM Announcements from Other Sources 26 November 5, 2013 17:50
Caelinux discretizer front end to openfoam Thouelfaqar OpenFOAM 34 April 26, 2013 14:23
Discretizer questions be_inspired OpenFOAM 3 June 4, 2011 10:46
[Discretizer] Discretizer Rajshekar OpenFOAM Community Contributions 2 November 23, 2010 12:13
MAC + SOLA for free surface T Main CFD Forum 1 April 11, 2001 14:43


All times are GMT -4. The time now is 06:28.