An Open Source mesh generator for Open Foam
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
|
Re: An Open Source mesh generator for Open Foam
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 |
Re: An Open Source mesh generator for Open Foam
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. |
Re: An Open Source mesh generator for Open Foam
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 |
Re: An Open Source mesh generator for Open Foam
Yes, I did install those libraries. I installed fox related stuff from suse repos and ruby-opengl using "gem install ruby-opengl".
Victor. |
Re: An Open Source mesh generator for Open Foam
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
|
Re: An Open Source mesh generator for Open Foam
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 |
Re: An Open Source mesh generator for Open Foam
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 |
Re: An Open Source mesh generator for Open Foam
Yes, that did the trick. Thanks Björn.
Victor. |
Re: An Open Source mesh generator for Open Foam
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
|
Re: An Open Source mesh generator for Open Foam
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!!
|
Discretizer on Windows
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 |
Thanks Björn!
This is great news! Please let us know when it is done. Pei Quote:
|
Revision 117 at sourceforge should work on Windows. I've only made changes to Discretizer-Setup in that commit.
Björn |
|
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 |
All times are GMT -4. The time now is 22:37. |