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

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

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2010, 10:21
Default Fbo
  #21
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 17
bjornthe is on a distinguished road
Hello,
in order to use an OpenGL application in a compositing window manager you have to have frame buffer overlay working. If you have a non-nvidia graphics card then dri2 has to be functional for this to work.

The solution is to disable "enhanced desktop effects".

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   May 5, 2010, 08:20
Default
  #22
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
Hi,

Under Ubuntu 9.04, I goto:

System/Preferences/Appearance/Visual Effects

It shows:

None: Provides a simple desktop environment without any effects.

I am playing with an ancient PC. Maybe the display card is too old.

Regards,

Cean
shirazbj is offline   Reply With Quote

Old   May 5, 2010, 08:28
Default
  #23
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 17
bjornthe is on a distinguished road
Do glxgears work fine?

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   May 6, 2010, 01:32
Default
  #24
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
Hi,

The gears rotate very well on the first pc where ::setup also works well but dicretizer occupies the whole screen. In fact this pc can't even set Normal Visual Effects. Can only choose None effects.

Will try the gears on the other pc where the discretizer drawing area is not correct. This pc can set on Extra visual effects.

Reagards,

Cean
shirazbj is offline   Reply With Quote

Old   May 10, 2010, 10:11
Default
  #25
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
discretizer occupies whole screen is beacuse my screen is set at 1024X768 and discretizer is also initialized at 1024*768. After change the discretizer.rb at 800X600, no problem now.


Still have problem with the other pc which can't show the drawing area correctly. what is 'dri2'? Maybe I need to change a non-compositing window manager.
shirazbj is offline   Reply With Quote

Old   May 31, 2010, 11:56
Default pipe in discretizer
  #26
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
hi friend
i installed Discretizer , it works well , but is there anyone who has experience to model a pipe or a curved pipe in it ?
nimasam is offline   Reply With Quote

Old   June 1, 2010, 06:46
Default
  #27
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 17
bjornthe is on a distinguished road
Quote:
Originally Posted by nimasam View Post
hi friend
i installed Discretizer , it works well , but is there anyone who has experience to model a pipe or a curved pipe in it ?
Yes check http://www.discretizer.org.


Björn

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

Old   June 1, 2010, 07:01
Default
  #28
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
hi friend
i saw all the screen shots and screen casts in that website, but is there any step by step tutorial for modelling of a pipe and curved pipe ?
do you have any experience at it ?
nimasam is offline   Reply With Quote

Old   June 1, 2010, 08:00
Default
  #29
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 17
bjornthe is on a distinguished road
No tutorial.
Some experience.
What do you want to model?

Are you aiming for an ogrid? maybe ogrid+snappy :-)
__________________
________________________________________
Björn Bergqvist,
creator of Discretizer,
a free mesh generator for OpenFOAM
_________http://www.discretizer.org_____________
bjornthe is offline   Reply With Quote

Old   June 1, 2010, 08:20
Default
  #30
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
at first i want to grid a simple pipe (with out curved) + snappy mesh but i dont know how to do it in descritizer ?
should i model pipe in another software and bring it to descritizer or if i can model a pipe here, how?
nimasam is offline   Reply With Quote

Old   July 3, 2010, 02:13
Default Need help utilizing Discretizer
  #31
New Member
 
Charles
Join Date: Jul 2010
Posts: 2
Rep Power: 0
chuckjones55 is on a distinguished road
Hello,
I am running the 64bit version of discretizer in CAELinux 2009, and the program operates without any problems, except the "import" option in the file menu is disabled (grayed out). Is this purposeful? When I try to follow the steps in the discretizer manual, or in the screencasts, everything works well with generating a mesh in netgen, and exporting as a neutral file; however, when I reach the importing step in discretizer, I can't proceed.

The only issue that I can think of is that my model was generated in Alibre Design, and then exported as an .STL rather than being generated in Freecad; however, I don't know why this would effect the import function of discretizer.

I haven't found any other posts of users with this particular issue, and any help would be greatly appreciated!

Charles
chuckjones55 is offline   Reply With Quote

Old   July 3, 2010, 02:58
Default
  #32
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 17
bjornthe is on a distinguished road
So File -> Open STL doesn't work.
Then you can open stl in paraview and save it as ascii stl.
or
cd discretizer/svn
svn update

To activate import commands discretizer-setup has to be started in a shell where OpenFOAM commands are available
. ~/OpenFOAM/OpenFOAM-X/etc/bashrc
~/discretizer/discretizer_setup.sh
__________________
________________________________________
Björn Bergqvist,
creator of Discretizer,
a free mesh generator for OpenFOAM
_________http://www.discretizer.org_____________
bjornthe is offline   Reply With Quote

Old   July 4, 2010, 01:30
Default Thanks
  #33
New Member
 
Charles
Join Date: Jul 2010
Posts: 2
Rep Power: 0
chuckjones55 is on a distinguished road
Bjorn,
Thanks for the immediate response. Because I am using CAELinux 2009, I don't actually have permission to open the folders using:

~/OpenFOAM/OpenFOAM-1.5/etc/bashrc

It returns "Permission Denied."

However, in "Applications - CAELinux - OpenFOAM terminal" I can enter the line:

~/discretizer/discretizer_setup64.sh

and it will open discretizer with the import function enabled!! Hope that this workaround will help other users.

Charles
chuckjones55 is offline   Reply With Quote

Old   August 3, 2010, 06:44
Default
  #34
New Member
 
Lee
Join Date: Jul 2010
Posts: 7
Rep Power: 16
lcnmy is on a distinguished road
I just installed the Discretizer and trying to solve some simple case. But I face an error with this:

boundary file written in 0.0100000000000016 s
faces file written in 1.59 s
time for mesh1: 6.34
sh: transformPoints: not found
simpleFoam -case step

Beside, I cant open my paraview by pressing the paraview button.

May I know whats go wrong with my setting and configuration?

Regards
Lee
lcnmy is offline   Reply With Quote

Old   August 3, 2010, 07:14
Default
  #35
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 17
bjornthe is on a distinguished road
You have not initialized OpenFOAM. Make sure transformPoints and simpleFoam are available in the shell from where you start Discretizer.
__________________
________________________________________
Björn Bergqvist,
creator of Discretizer,
a free mesh generator for OpenFOAM
_________http://www.discretizer.org_____________
bjornthe is offline   Reply With Quote

Old   August 20, 2010, 11:16
Default
  #36
New Member
 
Abdel
Join Date: Jul 2010
Posts: 28
Rep Power: 16
bruxellois4 is on a distinguished road
Hi,

I've installed discretizer under ubuntu 10.04 (32 bits),i 've unpacked the downloaded file and i've run "discretizer_setup.sh", now it works but ihave a screen problem it's not stable at all.

Any idea!?

Best regards.
bruxellois4 is offline   Reply With Quote

Old   September 8, 2010, 09:46
Default Could not launch discretizer.rb in Windows
  #37
New Member
 
Wai Sam Wong
Join Date: Sep 2010
Posts: 7
Rep Power: 16
anthropoy is on a distinguished road
Hi there,

I have followed the procedure in http://www.discretizer.org/node/12 to try to install Discretizer on Windows. When I double-clicked discretizer.rb, nothing happened. I have even tried installing the latest version of ruby but still nothing.

Any suggestions? Did i miss out on something?


Thanks,
Sam

Last edited by anthropoy; September 8, 2010 at 12:04.
anthropoy is offline   Reply With Quote

Old   September 24, 2010, 07:32
Default
  #38
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 17
bjornthe is on a distinguished road
Windows binary release
Download: http://www.discretizer.org/node/2 (53 MB)
Uncompress the zip-file in c:\discretizer
If you want to install in another location, edit the bat-files (discretizer.bat and discretizersetup.bat).
For full functionality OpenFOAM has to be installed.

Screencast: http://www.discretizer.org/node/21

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

Old   September 24, 2010, 09:33
Default
  #39
New Member
 
Wai Sam Wong
Join Date: Sep 2010
Posts: 7
Rep Power: 16
anthropoy is on a distinguished road
Cool, thanks Björn!!
anthropoy is offline   Reply With Quote

Old   October 29, 2010, 06:53
Default how do I use discretizer in conjunction with openfoam
  #40
Member
 
Antonio Liggieri
Join Date: Aug 2010
Posts: 76
Rep Power: 15
alfa_8C is an unknown quantity at this point
Hello Björn,

you've definitely developed a useful tool. I'm impressed about the fact of getting such cool stuff for free!! It makes life much easier...

Now I'd like to use ist in the OpenFoam environment, but following the instructions that I found in the Descretizer Manual - Release date 09/01/10 paragraph 1.3 Installing Discretizer I can't get it working.

After unpacking it within the /opt directory, a "discretizer" directory was created. In that directory I can find two .sh files. I can start the discretizer easily by tying ./nameof.sh file.

But do I want to start it within a casedirctory of OpenFoam like explained on the download page:

"Just unpack and run "discretizer_setup64.sh" (example). For OpenFOAM functionality, start in a shell with OpenFOAM commands enabled."

it says: command discretizer_setup64.sh not found...

shouldn't be set an alias or an environment variable which points to the discretizer directory within the opt directory? If so, where and how do I have to set it. In the .bashrc or in the etc/apps/bashrc of the OpenFoam directory?

I appreciate any input.

Thanx in advance,
Antonio
alfa_8C is offline   Reply With Quote

Reply


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
solution manual for essential computational fluid dynamics by oleg zikanov okhitan Main CFD Forum 0 October 25, 2014 16:54
computational fluid dynamics and finite element analysis kabirgph Main CFD Forum 1 October 17, 2014 07:59
unable to find any Online Course regarding Basic Computational Fluid Dynamics Yuska Kamil Main CFD Forum 1 December 17, 2007 15:39
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


All times are GMT -4. The time now is 00:47.