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

GPL hexahedral mesh tool httpwwwdiscretizerorg

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 20, 2007, 05:24
Default Hello, I've done a hexahedral
  #1
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've done a hexahedral mesh program. Source will be available soon. Please have a look at the screen shots: http://www.discretizer.org/node/9

Highlight:
-Geometry creation
-OpenFOAM mesh export
-OpenFOAM case setup. (only simpleFoam/air/k-e currently)

The code is close to an alpha state. But its possible to create/read geometrys and run it instantly (if you have OpenFoam installed of course).

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   September 20, 2007, 05:47
Default This looks very interesting. C
  #2
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 338
Rep Power: 9
lr103476 is on a distinguished road
This looks very interesting. Could you tell us something more about the capabilities of discretizer? I.e. which formats can it read (gambit / fluent)?, and how complex may the geometries be?

Regards, Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   September 20, 2007, 13:14
Default I agree with Frank. Is geometr
  #3
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 698
Rep Power: 12
msrinath80 is on a distinguished road
I agree with Frank. Is geometry creation like gmsh?
msrinath80 is offline   Reply With Quote

Old   September 21, 2007, 03:07
Default Hi Björn, The program looks
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
Hi Björn,

The program looks quite interesting for constructing common cases. I'm looking forward to test driving it sometime in the future.

BTW: I like your choice of Ruby instead of Python. The syntax is clean and comfortable. But more importantly, the 'if' branches have a corresponding 'end' that really helps avoid common editting errors.

Which factors influenced your choice of Fox vs Qt (vs. wxwidgets)?

/mark
olesen is offline   Reply With Quote

Old   September 22, 2007, 14:22
Default Since it's no commercial progr
  #5
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
Since it's no commercial program I've made some radical design decisions:
-No geometry import. The geometry is made in Discretizer and that's it.
-Written in Ruby. Much nicer syntax than Python. Possible to use by an engineer like myself.

This geometry building is important I think. If you make a geometry in Discretizer you will force your self to think about the mesh during the geometry building phase. And since it's not a CAD program it's easy to create planes in cylindrical and spherical coordinate system. A normal CAD user would be afraid of using cylindrical/spherical coordinate system.
If you build your model in a clever way it will give you a very nice (reusable) parametric model.
Now it is purely written in Ruby. In the future I will address performance problem by writing c extensions to Ruby. The conversion between coordinate systems would probably be the first c extension, since it's quite slow.

About the choice of Fox: The GLViewer example application written by Jeroen van der Zijp was a very nice starting point for me. Also it seems like Jeroen and Lyle Johnson (FXRuby) has the right attitude (LGPL no dual licensing).
__________________
________________________________________
Björn Bergqvist,
creator of Discretizer,
a free mesh generator for OpenFOAM
_________http://www.discretizer.org_____________
bjornthe is offline   Reply With Quote

Old   September 23, 2007, 05:38
Default Download: http://www.discretiz
  #6
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
Download: http://www.discretizer.org/node/2

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   September 25, 2007, 15:26
Default Dear Björn Bergqvist, It wo
  #7
New Member
 
Vinod Kumar
Join Date: Mar 2009
Location: kerala, tvm, india
Posts: 2
Rep Power: 0
vinodkgul is on a distinguished road
Dear Björn Bergqvist,

It would be nice if you could provide a typical step-by-step tutorial for discretizer. say a volume mesh over airfoil or some shape having radius, cone, cylinder etc.

Regards,
vinod
vinodkgul is offline   Reply With Quote

Old   September 25, 2007, 21:34
Default Hi, The discretizer looked
  #8
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 9
hsieh is on a distinguished road
Hi,

The discretizer looked like a very interesting piece of code. Is it possible to build the geometry, then mesh it, then specify BCs, then finally export to OpenFOAM format?

pei
hsieh is offline   Reply With Quote

Old   September 26, 2007, 03:32
Default Hi, As for the geometry build
  #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
Hi,
As for the geometry building have a look at the screencast: http://www.discretizer.org/node/10
I will add more high level objects in future. Like create->cube with only a point as reference.

Pei-Ying: Yes, your right. Create Geometry, apply BC:s, export to OpenFOAM, run simpleFoam and start paraView. All could be done in the interface.

Look at the release as a preview. Don't expect too much right now. Still it's quite fun to do simple geometries and just test.

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 2, 2007, 00:59
Default Hello I am trying to make a
  #10
New Member
 
Armin Hosseinian
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 17
Rep Power: 8
armin_h is on a distinguished road
Hello

I am trying to make a cylinder with a small cylinder inside.
Can discretizer create that geometry?

Furthermore, how can i install taht software on my pc?

Thank you in Advance
Armin
armin_h is offline   Reply With Quote

Old   October 3, 2007, 02:59
Default Hello Armin, I tried to do a
  #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
Hello Armin,
I tried to do a cylinder in a cylinder yesterday. Seems like it is possible but a bit complicated because I have not implemented higher level objects. Example of lacking functions:
-create cube between two faces.
-create face from 3 lines.

When you say pc: do you mean a pc with GNU/Linux operating system?

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   October 16, 2007, 04:36
Default Hello Björn Appreciate abou
  #12
New Member
 
Armin Hosseinian
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 17
Rep Power: 8
armin_h is on a distinguished road
Hello Björn

Appreciate about the answer.
Yes.
Actually i work with OpenFoam and i work with GNU/Linux operating system.

I am trying to create a cylinder with another cylinder inside.

I had some difficulties to that as a new openFoam User.

your information about discretizershould be so useful for me.

Cheers
Amrin
armin_h is offline   Reply With Quote

Old   July 29, 2008, 03:40
Default Hi Bjoern, nice tool! I am
  #13
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 10
braennstroem is on a distinguished road
Hi Bjoern,

nice tool! I am wondering, if it is suitable for meshing the below diffuser (case 13.2):
http://130.83.243.201/ercoftac-sig15/workshop2008.html

The straight lines should be no problem, but what about the needed radii? Could this be a problem, when creating the geometry?

Thanks!
Fabian
braennstroem is offline   Reply With Quote

Old   August 3, 2008, 15:07
Default Yes, it should be suitable for
  #14
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
Yes, it should be suitable for meshing the case 13.2 diffuser. Have a look at:
http://www.discretizer.org/files/euroftac_case1.dtz
and
http://www.discretizer.org/files/euroftac_case1b.dtz

Sorry for the slow response, I've been on vacation.

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   August 6, 2008, 02:43
Default Hi Bjoern, thanks, though I
  #15
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 10
braennstroem is on a distinguished road
Hi Bjoern,

thanks, though I were not successful installing your tool on a new kubuntu, yet. I will try it again.

Fabian
braennstroem is offline   Reply With Quote

Old   August 6, 2008, 12:45
Default I just installed discretizer w
  #16
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
I just installed discretizer with the following instructions on Hardy Heron 8.04 64-bit without any hassle:
http://www.discretizer.org/node/2

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   August 7, 2008, 13:58
Default Thanks, it works now! Looks in
  #17
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 10
braennstroem is on a distinguished road
Thanks, it works now! Looks interesting.
Fabian
braennstroem 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
Tetrahedral and hexahedral mesh based on FVM kuang Main CFD Forum 0 July 20, 2008 04:52
tetrahedral or hexahedral? rayy FLUENT 2 April 9, 2007 05:29
Hexahedral mesh with CFX-Mesh isabel CFX 3 March 6, 2007 06:24
Ngeom Crashing on Trimmed / Hexahedral Mesh Fr Ted Crilly CD-adapco 2 October 13, 2005 07:08
Looking for Excellent mesh generation tool Pete Main CFD Forum 9 March 22, 2003 01:06


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