CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

Discretizer, a free mesh program for CFD (Computational Fluid Dynamics)

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

Like Tree3Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   April 23, 2009, 09:51
Default Discretizer, a free mesh program for CFD (Computational Fluid Dynamics)
  #1
Member
 
Nugroho Adi
Join Date: Mar 2009
Location: norway
Posts: 79
Rep Power: 8
mahaputra is on a distinguished road
Dear All

Does Anyone here has experience with
Discretizer

http://www.discretizer.org/

?






i got the following message when tried to install this software:





user@user-desktop:~$ sh ubuntu_meshingsoftware.txt
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version.
libxrandr-dev is already the newest version.
libgemplugin-ruby is already the newest version.
rubygems is already the newest version.
libopengl-ruby is already the newest version.
ruby1.8-dev is already the newest version.
libfox-1.6-0 is already the newest version.
libfox-1.6-dev is already the newest version.
libfox-1.6-doc is already the newest version.
libfxscintilla17 is already the newest version.
libfxscintilla-dev is already the newest version.
subversion is already the newest version.
subversion-tools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2009-04-23 14:41:36-- http://rubyforge.org/frs/download.ph...uby-1.6.14.gem
Resolving rubyforge.org... 205.234.109.19
Connecting to rubyforge.org|205.234.109.19|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://files.rubyforge.vm.bytemark.c...uby-1.6.14.gem [following]
--2009-04-23 14:41:36-- http://files.rubyforge.vm.bytemark.c...uby-1.6.14.gem
Resolving files.rubyforge.vm.bytemark.co.uk... 80.68.94.54
Connecting to files.rubyforge.vm.bytemark.co.uk|80.68.94.54|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1585152 (1.5M) [application/x-tar]
Saving to: `fxruby-1.6.14.gem'

100%[================================================== ================================================== ===============>] 1,585,152 880K/s in 1.8s

2009-04-23 14:41:38 (880 KB/s) - `fxruby-1.6.14.gem' saved [1585152/1585152]

Building native extensions. This could take a while...
Successfully installed fxruby-1.6.14
1 gem installed
Installing ri documentation for fxruby-1.6.14...
Installing RDoc documentation for fxruby-1.6.14...
Checked out revision 72.
ruby: No such file or directory -- discretizer.rb (LoadError)
user@user-desktop:~$



my specification system :


Ubuntu 8.10

OpenFOAM 1.5 and OpenFoam-1.5-dev

intel core 2 duo



somebody can help me , please?
mahaputra is offline   Reply With Quote

Old   April 25, 2009, 05:41
Default
  #2
New Member
 
Julien D
Join Date: Apr 2009
Location: France
Posts: 2
Rep Power: 0
Jul D is on a distinguished road
Hi,

having tested discretizer, I have noticed that the file discretizer.rb is no longer located in the $ROOT_PATH_FOR_DISCRETIZER/ directory but you can find it in the $ROOT_PATH_FOR_DISCRETIZER/lib directory.

I suggest you edit the $ROOT_PATH_FOR_DISCRETIZER/bin/discretizer file and
modiy the line 6 to :

DISCRETIZER="$ROOT_PATH_FOR_DISCRETIZER/discretizer/discretizer"

Then, to launch discretizer :

cd $ROOT_PATH_FOR_DISCRETIZER/bin
./discretizer

Hope it helps !

Julien
Jul D is offline   Reply With Quote

Old   April 25, 2009, 09:05
Default
  #3
Member
 
Nugroho Adi
Join Date: Mar 2009
Location: norway
Posts: 79
Rep Power: 8
mahaputra is on a distinguished road
Hi Jul D


the programmer of this software already give me some help, i.e:

just try:
$ cd lib
$ ruby discretizer.rb



but i still have problem regarding this software not stable on my screen (monitor), sometimes just hang without display the geometry.

please let me know, if you also get same problem.


have a nice weekend
mahaputra is offline   Reply With Quote

Old   April 26, 2009, 14:21
Default
  #4
New Member
 
Julien D
Join Date: Apr 2009
Location: France
Posts: 2
Rep Power: 0
Jul D is on a distinguished road
Hi mahaputra,

indeed, discretizer often crashes without displaying the geometry when loading some of the examples. But I do not know why

Regards,

Julien
Jul D is offline   Reply With Quote

Old   April 26, 2009, 14:26
Default
  #5
Member
 
Nugroho Adi
Join Date: Mar 2009
Location: norway
Posts: 79
Rep Power: 8
mahaputra is on a distinguished road
Quote:
Originally Posted by Jul D View Post
Hi mahaputra,

indeed, discretizer often crashes without displaying the geometry when loading some of the examples. But I do not know why

Regards,

Julien
Hi Julien D

give me your email address then i will forward another version of discretizer to you. this version i got directly from its programmer.
mahaputra is offline   Reply With Quote

Old   May 3, 2009, 03:14
Default
  #6
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 11
sega is on a distinguished road
Hello.

I tried to install the Discretizer in my home directory.
Unfortunately the installation script pointed to some different folders than contained by the tar-file.
I tried to change its content regarding the folder names (like 1.8.6-p110 etc.), but the tool is giving this error:

Code:
discretizer.rb:27:in `require': no such file to load -- zlib (LoadError)
        from discretizer.rb:2
Whats wrong?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   May 7, 2009, 04:16
Default Discretizer crash
  #7
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 8
bjornthe is on a distinguished road
Hello,
I can activate some rescue procedures to make Discretizer more tolerant when loading files. But then it is much harder to debug.

Also the file format is changed still. So if you do stuff with an older version of Discretizer and try to load it in a newer you will sometimes have problem.

Sometimes it is easy to fix a geometry file. I can try if you send me the file.

I try to freeze it, but still I added symmetry boundary condition yesterday.

And while I should stabilize the code there would be nice to have boundary layer...

My main goal is to make it a beta now.

Björn Bergqvist
http://www.discretizer.org
bjornthe is offline   Reply With Quote

Old   May 9, 2009, 06:16
Default
  #8
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 11
sega is on a distinguished road
Meanwhile I worked my way to install the discretizer.
Is there some kind of tutorial available, how things work with the software?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   May 10, 2009, 14:54
Default No tutorial yet
  #9
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 8
bjornthe is on a distinguished road
Hello,
I want to do Discretizer "good enough" before I do a tutorial.
SOMILE likes this.
bjornthe is offline   Reply With Quote

Old   May 11, 2009, 05:13
Default
  #10
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 11
sega is on a distinguished road
Great idea!

Meanwhile I managed to install it on my Kubuntu 9.04 system.
Unfortunately the window is blocking my system screen all the time.
If I minimize the windows the menu is vanishing, but the part of the window containing the 3D view if the mesh is always on top of all the other applications.

Any ideas what may be the problem?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   May 11, 2009, 05:26
Default
  #11
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 8
bjornthe is on a distinguished road
Sounds like a problem with the window manager. Maybe you should turn of the desktop effects?

Björn Bergqvist
____www.discretizer.org_____
bjornthe is offline   Reply With Quote

Old   May 11, 2009, 07:17
Default
  #12
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 11
sega is on a distinguished road
Quote:
Originally Posted by bjornthe View Post
Maybe you should turn of the desktop effects?
Any ideas how this is done in Kubuntu 9.04 ?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   May 11, 2009, 08:30
Default
  #13
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 8
bjornthe is on a distinguished road
Settings -> Desktop
Disable "Enhanced Desktop"
Or something like that.

Regards
Björn Bergqvist
________www.discretizer.org______
bjornthe is offline   Reply With Quote

Old   October 13, 2009, 12:34
Default
  #14
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 11
sega is on a distinguished road
Your software is rapidly improving! Good work.

I just installed in on my system but it looks different than in your videos :-(

I was following you instruction for Ubuntu systems ...

What's wrong? Did I get the wrong version?
I used this command:
Attached Images
File Type: jpg Bildschirmfoto.jpg (36.8 KB, 78 views)
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   October 13, 2009, 13:49
Default No files released yet.
  #15
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 8
bjornthe is on a distinguished road
Hello,
The movie is Discretizer-Setup. From SVN you just get Discretizer currently.

I started to do Discretizer-Setup a couple of weeks ago. It's just going to setup OpenFOAM cases. The reason for this is that I think it is a bit boring to set up OpenFOAM cases via text files. Discretizer-Setup isn't ready for upload yet (but anyone can get a tar.gz if you drop a mail).
So I will rip out everyting dealing with boundary conditions from Discretizer in (not so distant) future and let Discretizer-Setup do that work.
In Discretizer-Setup I've been switching between icoFoam a simpleFoam with success, rest of solvers could be added without any problems.

Also I try to develop Discretizer-Setup with a good structure so I can have contributions in future.

Regards
Björn Bergqvist
http://www.discretizer.org
__________________
________________________________________
Björn Bergqvist,
creator of Discretizer,
a free mesh generator for OpenFOAM
_________http://www.discretizer.org_____________
bjornthe is offline   Reply With Quote

Old   October 14, 2009, 03:14
Default
  #16
New Member
 
bigred's Avatar
 
Matthew Philpott
Join Date: Aug 2009
Location: Belgium
Posts: 24
Rep Power: 7
bigred is on a distinguished road
looks like it's coming along nicely Björn! Looking forward to trying Discretizer-Setup.
__________________
CAELinux 2009 + OF1.5
Ubuntu 9.04 x64 (jaunty jackalope) + OF1.6
bigred is offline   Reply With Quote

Old   November 20, 2009, 09:50
Default
  #17
New Member
 
Luca COLZANI
Join Date: Apr 2009
Posts: 3
Rep Power: 8
lucacolla is on a distinguished road
Hi all,

do you know if it is it possible to open and mesh a STL file with the currently downloadable vesion of Discretizer?

Thank you very much for your answers!


Luca
lucacolla is offline   Reply With Quote

Old   November 21, 2009, 06:24
Default
  #18
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 8
bjornthe is on a distinguished road
No, it's not possible. Did you think of snappyHexMesh for volume mesh then?

Regards
Björn Bergqvist
__________________
________________________________________
Björn Bergqvist,
creator of Discretizer,
a free mesh generator for OpenFOAM
_________http://www.discretizer.org_____________
bjornthe is offline   Reply With Quote

Old   November 21, 2009, 07:00
Default
  #19
New Member
 
Luca COLZANI
Join Date: Apr 2009
Posts: 3
Rep Power: 8
lucacolla is on a distinguished road
The issue is that I have an internal/pipe flow, so I don't feel like using snappyhexmesh.
Then I think I will go for a try with gmsh and engrid, though I still have some trouble to solve by meshing .igs (autocad) files with gmsh.


Thank you for your quick relpy and your great work in developing this application!

Luca
lucacolla is offline   Reply With Quote

Old   May 3, 2010, 09:07
Default
  #20
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 7
shirazbj is on a distinguished road
Hi All,

I installed discretizer on Ubuntun 9.04.

discretizer_setup works fine, but discretizer has its window maximised to whole screen.

On another pc, discretizer can't show the drawing area correctly. It shows what on the screen before discretizer started. I created a piont and a cube and click the drawing area, I can seen the cube then. But when I release the mouse, the cube vanished and the drawing area back to its former display.

Any idea?

Regards,

Cean
shirazbj is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for Free Mesh Generator? Scott Lippman Main CFD Forum 10 January 27, 2010 18:01
how to extend FSI 2D codes to 3D, need advises abouziar Main CFD Forum 1 May 30, 2008 04:08
free "Computational Mechanics" noname Main CFD Forum 0 March 2, 2007 08:03
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11
Modeling of free surface in CFD ? Kim TaeMin Main CFD Forum 18 July 16, 2001 11:38


All times are GMT -4. The time now is 23:24.