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   October 29, 2010, 12:26
Default
  #41
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 9
bjornthe is on a distinguished road
discretizer_setup64.sh knows where it is executed from so nothing should be taken care of. Maybe ./discretizer_setup64.sh ?
__________________
________________________________________
Björn Bergqvist,
creator of Discretizer,
a free mesh generator for OpenFOAM
_________http://www.discretizer.org_____________
bjornthe is offline   Reply With Quote

Old   October 29, 2010, 13:36
Default
  #42
Member
 
Antonio Liggieri
Join Date: Aug 2010
Posts: 71
Rep Power: 6
alfa_8C is an unknown quantity at this point
Good evening Björn,

thanks for your quick reply. Do I have to copy every the whole descritizer directory which was created by doing tar zxf into the case directory??

Have a good weekend
Antonio
alfa_8C is offline   Reply With Quote

Old   October 29, 2010, 13:39
Default
  #43
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 9
bjornthe is on a distinguished road
Should not be needed. But you have to execute discretizer_setup64.sh :-)
__________________
________________________________________
Björn Bergqvist,
creator of Discretizer,
a free mesh generator for OpenFOAM
_________http://www.discretizer.org_____________
bjornthe is offline   Reply With Quote

Old   November 1, 2010, 10:11
Default
  #44
Member
 
Antonio Liggieri
Join Date: Aug 2010
Posts: 71
Rep Power: 6
alfa_8C is an unknown quantity at this point
Hello everybody,

I'm very new to discretizer and I find it makes foamlife much easier. Unfortunately I faced some problems. Has anybody a solution to the following problems:

- SHOW & HIDE buttons in the "view" menu is missing.

- Conversion of Fluent Mesh with internal walls not possible!

- Is the Heat Transfer Option at the moment an empty one, or has to be switched on something special to enable it?

- After set up a case in discretizer_setup I'd like to safe it within my OpenFoam case directory. I found a "tutorial" on youtube, where all the files are written into the case dirctory with "sync Files" from the run Menu. If I do so, it starts to write, at least the dialog at the bottom shows this, but it doesn't write anything, and I must interrupt the program after a while, because it seems to be crashed. In principle I only need the 0 directory written! Constant and system is already created during setting up boundaries and so on.

Thanx in advance,
Antonio
alfa_8C is offline   Reply With Quote

Old   November 1, 2010, 15:36
Default
  #45
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 9
bjornthe is on a distinguished road
Hello,
SHOW & HIDE buttons missing -I've not discovered that. Which version of discretizer are you using?
Conversion of internal walls in fluent -do the walls dissapear, or are they just not visible?
Heat transfer is not enabled in any of the currently provided solvers.
When you sync, did you open the resulting mesh first?

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   November 3, 2010, 07:15
Default
  #46
Member
 
Antonio Liggieri
Join Date: Aug 2010
Posts: 71
Rep Power: 6
alfa_8C is an unknown quantity at this point
Hy Björn,

BUTTONS:
- the version I'm using is downloaded from this page a couple of days ago:

http://www.discretizer.org/node/2

- I couldn't make out those two buttons in discretizer_setup

FLUENTMESH_CONVERSION:

- It's not possible at all to convert fluentmeshes with internal walls. I receive a strange error which does not appear to have something to do with conversion. But the error is ONLY when converting a mesh with internal walls!!

SYNC_FILIES:

Yes I do, but after having used the sync button it seems something to happen, but nothing happens. No /0 directory is written!

Maybe it's an installation issue. I unpacked descritizer into /opt, and start it always from there by typing ./descritizer_setup64 within that directory. Then, for mesh conversion I choose the option in the "File" drop down box and specify two paths: the OFcase directory path, and the path from where the mesh has to be imported.

I DO NOT START discretizer from the OFcase directory!!
Attached Images
File Type: jpg discretiter_error.jpg (36.0 KB, 35 views)
alfa_8C is offline   Reply With Quote

Old   February 3, 2011, 10:41
Default
  #47
New Member
 
Join Date: Mar 2009
Posts: 26
Rep Power: 9
ayoros is on a distinguished road
Hi all !

I'm more and more interested in this great tool discretizer.

I saw that in discretizer_setup we can import fluent meshes by checking the "fluent3dMeshToFoam" box. Works great !

But now i would like to do the same with a star-ccm mesh and the function ccm26ToFoam. As far as I looked into the soft it is not allowed until now.

Is there an easy way to do it ?

Thanks,
Fabien.
ayoros is offline   Reply With Quote

Old   March 28, 2011, 05:07
Default
  #48
ST1
New Member
 
Join Date: Mar 2011
Posts: 3
Rep Power: 7
ST1 is on a distinguished road
Hi dear bjornthe and thank you for great tool!
PS: have you donation button?

Last edited by ST1; March 28, 2011 at 09:29.
ST1 is offline   Reply With Quote

Old   March 30, 2011, 00:59
Default
  #49
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 9
bjornthe is on a distinguished road
Quote:
Originally Posted by ST1 View Post
Hi dear bjornthe and thank you for great tool!
PS: have you donation button?
Thank you. There is actually a donate button at sourceforge

Discretizer at sourceforge:
http://sourceforge.net/projects/discretizer/
donate button:
http://sourceforge.net/project/proje...roup_id=160770


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

Old   August 17, 2011, 07:52
Default Same problem while trying to run Discretizer on Linux/Ubuntu
  #50
New Member
 
Muhammad Umer Ijaz Chaudrey
Join Date: Aug 2011
Location: Eindhoven, The Netherlands
Posts: 26
Rep Power: 6
umer.chaudrey is on a distinguished road
Send a message via Skype™ to umer.chaudrey
Quote:
Originally Posted by lcnmy View Post
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
Quote:
Originally Posted by bjornthe View Post
You have not initialized OpenFOAM. Make sure transformPoints and simpleFoam are available in the shell from where you start Discretizer.
Hi,

I am trying to run discretizer but I received the same error message as the first quote in this message. I tried to act on the solution mentioned in the second reply quote. Copied the simpleFoam and transformPoints utility application folders in the folder of discretizer, however still received the same message.

After that I tried the "wmake" command from terminal inside the folders of simpleFoam and transformPoints respectively for compilation. However I received this error in the terminal window: "/usr/bin/ld: cannot open output file /opt/openfoam200/platforms/linux64GccDPOpt/bin/transformPoints: Permission denied
collect2: ld returned 1 exit status
make: *** [/opt/openfoam200/platforms/linux64GccDPOpt/bin/transformPoints] Error 1"

Can anyone please guide and help me on this. Thank you. Reply will be highly appreciated.
umer.chaudrey is offline   Reply With Quote

Old   August 17, 2011, 08:01
Default
  #51
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 9
bjornthe is on a distinguished road
You have to start discretizer with openfoam commands in your path. Before you start discretizer (from command line) you can check if openfoam commands are avalable by:
$which simpleFoam
If simpleFoam isn't avaliable you get the output "no simplefoam in (...)
then you have to initiate openfoam with
$. ~/OpenFOAM/2.0.0/etc/bashrc (or something similar)

Regards
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   August 19, 2011, 05:46
Default
  #52
New Member
 
Muhammad Umer Ijaz Chaudrey
Join Date: Aug 2011
Location: Eindhoven, The Netherlands
Posts: 26
Rep Power: 6
umer.chaudrey is on a distinguished road
Send a message via Skype™ to umer.chaudrey
Quote:
Originally Posted by bjornthe View Post
You have to start discretizer with openfoam commands in your path. Before you start discretizer (from command line) you can check if openfoam commands are avalable by:
$which simpleFoam
If simpleFoam isn't avaliable you get the output "no simplefoam in (...)
then you have to initiate openfoam with
$. ~/OpenFOAM/2.0.0/etc/bashrc (or something similar)

Regards
Björn
Thank you for your information and feedback. However I think there might be something else too. I might be wrong, because I am new to discretizer.

I checked that simpleFoam and transformPoints both were available in my discretizer shell and confirmed it with the commands you told me too.

However I noticed a difference in the "fvschemes" file which discretizer produces.
In divSchems, the last line on discretizer prodeced fvschemes comes out to be "div((nuEff*dev(grad(U).T()))) Gauss linear;". While in some other similar openFOAM cases the "fvschemes" files includes this last line under divSchemes " div((nuEff*dev(T(grad(U))))) Gauss linear;". I believe there is a slight difference in syntax. And if i tried to run simpleFoam directly from terminal and not from discretizer on the discretizer produced mesh, I also received an error which mentions an error in divSchemes of fvSchemes. When I changed that line mentioned above, the solution rain perfectly fine.

Please check this out and tell me if this can be the case. It worked with me.

Regards,
Umer
umer.chaudrey is offline   Reply With Quote

Old   August 19, 2011, 05:57
Default
  #53
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 9
bjornthe is on a distinguished road
You are right. Some things has to be remade for OF 2.

Regards
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   August 22, 2011, 04:02
Default Delete Option?
  #54
New Member
 
Muhammad Umer Ijaz Chaudrey
Join Date: Aug 2011
Location: Eindhoven, The Netherlands
Posts: 26
Rep Power: 6
umer.chaudrey is on a distinguished road
Send a message via Skype™ to umer.chaudrey
Hi,

Is there a delete option for points,faces,cubes etc for discretizer. I could not locate any. So if I want to delete a geometric entity I created, how do I do that? I could only see an edit option. Help will be useful. Thank you

Kind Regards,
Umer
umer.chaudrey is offline   Reply With Quote

Old   August 22, 2011, 04:07
Default
  #55
Member
 
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 9
bjornthe is on a distinguished road
There is no delete. You can open the file as a spreadsheet and delete :-) , then export semi-colon-separated.

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   October 3, 2011, 08:27
Default
  #56
New Member
 
Muhammad Umer Ijaz Chaudrey
Join Date: Aug 2011
Location: Eindhoven, The Netherlands
Posts: 26
Rep Power: 6
umer.chaudrey is on a distinguished road
Send a message via Skype™ to umer.chaudrey
Dear Björn Bergqvist

I need some help regarding how to create my desired geometry in Discretizer.

Initially I made a very thin square cube but with very large sides (300mm) with a very small square cross section tube (5 x 5 mm) in its center for my CFD analysis.

I did that by making a square face, making a cube then initially for the tube. Then making a small cube at its back representing the thickness of my large thin cube. Then from that, by extending its sides into cubes and joining them, I completed the geometry. Hence this way all the mesh was connected.

Can you tell me how will it be possible to make all this geometry in a circular way. Having a large circular thin cylinder, and a very small circular pipe in its center with all the mesh connected?

Thanks, your help will be highly appreciated, as I am stuck in it.

Umer
umer.chaudrey is offline   Reply With Quote

Old   October 26, 2011, 22:55
Default
  #57
New Member
 
jundika's Avatar
 
jundika
Join Date: Oct 2011
Posts: 3
Rep Power: 6
jundika is on a distinguished road
Hi all,

I am new to linux and discretizer. Recently I installed Ubuntu 11.10 alongside with Windows Vista Home Premium 32 bit on my system:
AMD Turion X2 1.90 GHz
2GB RAM

I also installed discretizer from http://www.discretizer.org/ on Linux. I installed OpenFOAM 2.01 first before installation discretizer. I followed the installation instruction step by step
1. sudo apt-get install g++ libxrandr-dev libgemplugin-ruby rubygems libopengl-ruby ruby1.8-dev libfox-1.6-0 libfox-1.6-dev libfox-1.6-doc libfxscintilla17 libfxscintilla-dev subversion subversion-tools (here I change libfxscintilla17 with libfxscintilla19).
2. get http://rubyforge.org/frs/download.ph...uby-1.6.16.gem 3. sudo gem install fxruby-1.6.16.gem
4. svn co https://discretizer.svn.sourceforge....ot/discretizer discretizer
5. cd discretizer/discretizer/lib


Everything went well till this step. However when I proceed to the next step

ruby discretizer.rb


I got this warning



jundika@jundika-HP-Pavilion-tx1000-Notebook-PC:~/discretizer/discretizer/lib$ ruby discretizer.rb
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- fox16 (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from discretizer.rb:38
jundika is offline   Reply With Quote

Old   April 2, 2012, 08:11
Default
  #58
New Member
 
hs
Join Date: Mar 2012
Posts: 22
Rep Power: 6
parkh32 is on a distinguished road
hi jundika
have you solved the problem ?

sag
parkh32 is offline   Reply With Quote

Old   April 4, 2012, 09:27
Default
  #59
Member
 
Join Date: Nov 2010
Posts: 62
Rep Power: 7
Doug68 is on a distinguished road
Hi,

I hope that this is not too much of a thread hijack...

I've be attempting to learn how to use Discretizer, there's a couple of (probably simple) questions have...

BTW I'm doing this using the latest BlueCape setup on Windows I downloaded this week.

Firstly to get snappyHexMesh to run I need to add the lines:

allowFreeStandingZoneFaces true;
minTetQuality 1e-9;

In file snappyHexMeshDict I think I've managed to get them in the correct place from another example file I have, I don't know why they are not there in the first place though? Can someone explain?

Secondly once snappyHexMesh is run and the mesh brought into Discretizer, I get the issue shown in the attached image. With one face removed what should be the corner is pulled to the 0,0,0 location and there's couple of holes in the external faces. How do I go about fixing this?

Thanks

Doug.
Attached Images
File Type: jpg Discretizer.jpg (79.4 KB, 36 views)
Doug68 is offline   Reply With Quote

Old   April 5, 2012, 12:28
Default
  #60
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,523
Blog Entries: 36
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Doug68 and welcome to the forum!

Discretizer isn't officially working yet with OpenFOAM 2.0 and 2.1.
You can try and replace the contents of the "discretizer" sub-folder that is inside the main "discretizer" folder, with the contents available in the SVN in the sub-folder "discretizer200". You can get a snapshot from here: http://discretizer.svn.sourceforge.n...iscretizer200/ - click on the "Download GNU tarball" link to get a snapshot of that folder.

But I don't know if this will working properly or not

Best regards,
Bruno
immortality likes this.
__________________
___
I'll be at OFW11 in Portugal
wyldckat 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 13:09.