|
[Sponsors] |
March 16, 2008, 15:40 |
An Open Source mesh generator for Open Foam
|
#1 |
Guest
Posts: n/a
|
Has any one on this forum downloaded and successfully installed and run the programme Discretizer http://www.discretizer.org/on a windows system, It looks a bit complicated to have to install all other RUBY programmes before being able to run the proper programme. I would like to know his opinion on the subject. Thank you for your comments
|
|
March 18, 2008, 02:44 |
Re: An Open Source mesh generator for Open Foam
|
#2 |
Guest
Posts: n/a
|
Hello, it is like installing java to run a java program, or install .NET in order to run applications using .NET libraries.
To run discretizer you have to install Ruby + FXRuby. In the future there might be a "one click installer" for discretizer including FXRuby. If you think it is a bit complicated I wonder if you have installed OpenFOAM on Windows? I thought that was a bit complicated. Regards Björn Bergqvist http://www.discretizer.org |
|
March 18, 2008, 13:39 |
Re: An Open Source mesh generator for Open Foam
|
#3 |
Guest
Posts: n/a
|
Actually, I installed it on Windows with no problems. But on linux (specifically OpenSuse 10.3) I couldn't get it to work. It says "Sorry, this example depends on the OpenGL extension". Also, in the script I had to change "#!/usr/bin/env ruby1.8" to "#!/usr/bin/env ruby" to get even that far.
Victor. |
|
March 18, 2008, 17:23 |
Re: An Open Source mesh generator for Open Foam
|
#4 |
Guest
Posts: n/a
|
Maybe you should install ruby-opengl (rbogl). http://www2.giganet.net/~yoshi/rbogl-0.32g.tar.gz
Did you install ruby-FXRuby from opensuse repositories? http://packages.opensuse-community.o...rchTerm=fxruby Regards, Björn Bergqvist http://www.discretizer.org |
|
March 18, 2008, 18:10 |
Re: An Open Source mesh generator for Open Foam
|
#5 |
Guest
Posts: n/a
|
Yes, I did install those libraries. I installed fox related stuff from suse repos and ruby-opengl using "gem install ruby-opengl".
Victor. |
|
March 18, 2008, 23:08 |
Re: An Open Source mesh generator for Open Foam
|
#6 |
Guest
Posts: n/a
|
I have installed the following 1- TortoiseSVN-1.4.7.11792-win32-svn-1.4.6 2- ruby186-26 3- FXRuby-1.613-ruby186 I still have the same problem, i.e., when I click on discretizer.rb a window opens and closes in less than a second. Cygwin is already installed. I went through the Readme file that comes with the Ruby installation and because they use the MicroSoft Visual C to compile the Ruby interpreter they say some I/O functions may not work. Any clues. Your comments are highly appreciated
|
|
March 19, 2008, 02:26 |
Re: An Open Source mesh generator for Open Foam
|
#7 |
Guest
Posts: n/a
|
Did you install FXRuby in the same directory as ruby?
You can open a dos command prompt and execute ruby from that to see what happends. cd *to where you have discretizer.rb* ruby discretizer.rb or c:\ruby\bin\ruby discretizer.rb if it's not in your path Björn Bergqvist http://www.discretizer.org |
|
March 19, 2008, 16:26 |
Re: An Open Source mesh generator for Open Foam
|
#8 |
Guest
Posts: n/a
|
Hello, I have not installed from gem, only from tar-files. Maybe it will work if you put require 'rubygems' in the discretizer.rb file.
Björn Bergqvist - creator of discretizer - http://www.discretizer.org |
|
March 19, 2008, 16:36 |
Re: An Open Source mesh generator for Open Foam
|
#9 |
Guest
Posts: n/a
|
Yes, that did the trick. Thanks Björn.
Victor. |
|
March 20, 2008, 14:40 |
Re: An Open Source mesh generator for Open Foam
|
#10 |
Guest
Posts: n/a
|
Yes, Ruby installes in c:ruby and FXRuby installes in c:ruby\ruby, these are the default values and I have not changed them. Any way, I guess I will have to wait till you come up with the Beta version, sorry to cause you such distractions, you see, OpenFoam is an excellent programme but it lacks the preprocessor which you are developing, I must express my appreciation and encouragment to what you are doing. Cheers and keep up with the good work. I will keep an eye on your web site
|
|
September 8, 2010, 11:03 |
Re: An Open Source mesh generator for Open Foam
|
#11 |
New Member
Wai Sam Wong
Join Date: Sep 2010
Posts: 7
Rep Power: 16 |
Hi, although this one seems to be an old post. I have been having the same problem as Ahmed there. I've installed Ruby and FXRuby. Ruby.exe seems to be in the PATH since I was able to execute it directly in the command prompt. I have tried "ruby discretizer.rb" and "discretizer.rb" without success. Any suggestions? Thanks!!
|
|
September 22, 2010, 04:49 |
Discretizer on Windows
|
#12 |
Member
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 17 |
Hello,
I've made some changes in Discretizer in order to make it compatible with Windows. Changes will be committed later this week. Regards Björn Bergqvist
__________________
________________________________________ Björn Bergqvist, creator of Discretizer, a free mesh generator for OpenFOAM _________http://www.discretizer.org_____________
|
|
September 22, 2010, 08:25 |
|
#13 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
||
September 23, 2010, 04:55 |
|
#14 |
Member
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 17 |
Revision 117 at sourceforge should work on Windows. I've only made changes to Discretizer-Setup in that commit.
Björn
__________________
________________________________________ Björn Bergqvist, creator of Discretizer, a free mesh generator for OpenFOAM _________http://www.discretizer.org_____________
|
|
September 23, 2010, 14:54 |
|
#15 |
Member
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 17 |
__________________
________________________________________ Björn Bergqvist, creator of Discretizer, a free mesh generator for OpenFOAM _________http://www.discretizer.org_____________
|
|
September 23, 2010, 19:39 |
|
#16 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Hi, Björn,
I prefer to run OpenFOAM on OpenSuSE. But, I really would like to use discretizer on MS Windows. Is it possible to setup the case in Discretizer, then, copy the case to OpenSuSE, then, run the case? PHsieh |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dual Boot Windows and Linux and Go Open Source | andyj | Main CFD Forum | 2 | October 21, 2010 17:49 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 19:10 |