|
[Sponsors] |
[Discretizer] GPL hexahedral mesh tool httpwwwdiscretizerorg |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 18 ![]() |
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_____________
|
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 19 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 22 ![]() |
I agree with Frank. Is geometry creation like gmsh?
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 41 ![]() ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 18 ![]() |
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_____________
|
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 18 ![]() |
__________________
________________________________________ Björn Bergqvist, creator of Discretizer, a free mesh generator for OpenFOAM _________http://www.discretizer.org_____________
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Vinod Kumar
Join Date: Mar 2009
Location: kerala, tvm, india
Posts: 2
Rep Power: 0 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 19 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#9 |
Member
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 18 ![]() |
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_____________
|
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
Armin Hosseinian
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 17
Rep Power: 18 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#11 |
Member
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 18 ![]() |
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_____________
|
|
![]() |
![]() |
![]() |
![]() |
#12 |
New Member
Armin Hosseinian
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 17
Rep Power: 18 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#13 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 20 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#14 |
Member
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 18 ![]() |
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_____________
|
|
![]() |
![]() |
![]() |
![]() |
#15 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 20 ![]() |
Hi Bjoern,
thanks, though I were not successful installing your tool on a new kubuntu, yet. I will try it again. Fabian |
|
![]() |
![]() |
![]() |
![]() |
#16 |
Member
Björn Bergqvist
Join Date: Mar 2009
Location: Gothenburg, Västra Götaland, Sweden
Posts: 43
Rep Power: 18 ![]() |
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_____________
|
|
![]() |
![]() |
![]() |
![]() |
#17 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 20 ![]() |
Thanks, it works now! Looks interesting.
Fabian |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tool to convert OpenFoam mesh to SU2 mesh (2D and 3D) | Combas | SU2 | 51 | April 17, 2025 12:58 |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! | divergence | OpenFOAM Meshing & Mesh Conversion | 0 | January 23, 2019 04:17 |
Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 06:21 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 18:10 |