|
[Sponsors] |
which open source meshing software exports in cgns? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 23, 2012, 15:02 |
which open source meshing software exports in cgns?
|
#1 |
New Member
Viggy Palaniappan
Join Date: Jul 2012
Posts: 10
Rep Power: 14 |
I'm using a newly released solver SU2 and would like to do a mesh convergence study.
The problem I have is that the program requires meshes to be in the .cgns format and atm I'm really struggling to find any open source mesh generators that allow you to export in this format. Commercial mesh generators (like Pointwise/Gridgen) are capable of doing so but I don't have access to them. Are there any open source mesh generators that allow you to export in this format? Or can i create the mesh in another format and then use a converter? I'd love some help please. =) |
|
July 23, 2012, 20:15 |
|
#2 |
Senior Member
|
You could use openFoam as an intermediate format and then use foamToCgns (which I think is part of the standard distribution). I have no personal experience and it probably is not straightforward.
BTW: I had a look at SU2 and when I noticed that they had their own mesh format or CGNS, I left it in the too hard basket... Cheers. Julien
__________________
--- Julien de Charentenay |
|
July 24, 2012, 04:50 |
|
#3 |
Senior Member
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17 |
Hello,
the native SU2 format is incredibly simple. We have an export function in our open-source mesher enGrid (see http://engits.eu/en/engrid). I have tried to use SU2 myself, but I had problems when using highly an-isotropic boundary layers. It turned out that this might be due to a too low accuracy for the output file. If you try it and you run into problems, please drop me a note. Cheers, Oliver |
|
August 8, 2012, 17:14 |
|
#4 |
New Member
Viggy Palaniappan
Join Date: Jul 2012
Posts: 10
Rep Power: 14 |
Hi,
I get the following error message when trying to export with CGNS: CGNS support has not been compiled file:cgnswriter.cpp line:333 How do I get it working? Thanks |
|
August 20, 2012, 11:16 |
|
#5 |
New Member
Join Date: Aug 2012
Posts: 22
Rep Power: 14 |
If you are just using structured grids it is very easy to generate them using a really simple Fortran code. There are some really good examples which are easy to follow provided by the NASA website: http://www.grc.nasa.gov/WWW/cgns/CGN...r/started.html
Mike |
|
August 20, 2012, 13:18 |
|
#6 |
New Member
Viggy Palaniappan
Join Date: Jul 2012
Posts: 10
Rep Power: 14 |
No, unfortunately, I need an unstructured grid
|
|
August 20, 2012, 13:19 |
|
#7 |
New Member
Join Date: Aug 2012
Posts: 22
Rep Power: 14 |
Ah, in that case it is do-able but potentially a lot tricker, I don't have any experience with writing grid gens for unstructured cases, sorry!
|
|
August 20, 2012, 13:22 |
|
#8 |
New Member
Viggy Palaniappan
Join Date: Jul 2012
Posts: 10
Rep Power: 14 |
Do you know how to get cgns support on for meshers like Gmsh? That seems like the best open souce mesher to me but I still can't get CGNS to work.
|
|
August 20, 2012, 13:25 |
|
#9 |
New Member
Join Date: Aug 2012
Posts: 22
Rep Power: 14 |
Sorry, no experience with anything other than commercial and writing my own generators.
|
|
August 21, 2012, 01:11 |
|
#10 | |
Super Moderator
|
Quote:
https://code.google.com/p/cfdlab/sou...trunk/3d/grid/ There is a gmsh2cgns program which can handle tetrahedral grids only but you should be able to modify it for general case. The generated cgns grids work with freecfd but I have not tested with su2. If you use them and have some success/failure please let me know. I would recommend directly converting gmsh format to su2 format, rather than using cgns format. |
||
August 21, 2012, 06:35 |
@spitfire
|
#11 |
Senior Member
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17 |
Sorry, I missed your post with the CGNS problem.
If you are using enGrid, you can directly export to SU2 format -- no need for CGNS. You might have to check out the branch called "release-1.4" from our GIT repository (the default is still 1.3). In order to do that you can edit the script "build.bash", or if you know your way around GIT it is very easy. If you get stuck, please look at the enGrid Wiki, or use the enGrid forum (I check that on a regular basis). Btw. I am also interested in any feedback you have with SU2 ;-) Cheers, Oliver |
|
September 2, 2012, 16:30 |
|
#12 |
New Member
Viggy Palaniappan
Join Date: Jul 2012
Posts: 10
Rep Power: 14 |
Thanks all, I ended up writing my own mesh conversion tool in matlab to go from the .geo (Gmsh) to .su2 (SU2).
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
interFoam & decomposition method: scotch | MacGyver | OpenFOAM Running, Solving & CFD | 2 | May 23, 2012 08:00 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
[OpenFOAM] ParaView 33 canbt open OpenFoam file | hariya03 | ParaView | 7 | September 25, 2008 18:33 |
Could the CFD community benefit from Open Source? | JF | Main CFD Forum | 13 | December 18, 2006 00:06 |
Open source software and commercial CFD | YF K | Main CFD Forum | 2 | January 7, 2003 02:11 |