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

[Gmsh] Gmsh2toFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 24, 2008, 07:31
Default Gmsh2toFoam
  #1
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Is it necessary to compile the gmshFoam package
(http://openfoamwiki.net/index.php/Contrib_gmshFoam) with gmsh 2.0.8 or can I use the latest version of gmsh (currently 2.2.4)?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   September 24, 2008, 09:03
Default Hi Sebastian, For a complete
  #2
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Sebastian,
For a complete build of the gmshFoam package you need Gmsh 2.0.8 and OF <= 1.4.1. If you don't need the OpenFOAM-integrated version of Gmsh (and you only need the converters) you don't need the Gmsh 2.0.8 source. I'm afraid currently the package doesn't compile with OF 1.5. Hopefully I'll be able to look into the compilation issue this weekend.

Takuya
7islands is offline   Reply With Quote

Old   November 6, 2008, 10:58
Default Hi Takuya, I am wondering,
  #3
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19
braennstroem is on a distinguished road
Hi Takuya,

I am wondering, if you found the compiling problem for OF1.5!? Would be nice :-)

Fabian
braennstroem is offline   Reply With Quote

Old   November 7, 2008, 07:05
Default Hi Fabian, I did a quick work
  #4
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Fabian,
I did a quick work for OF 1.5, but still haven't tested so much. Please try
svn co https://of-interfaces.svn.sourceforg...trunk/gmshFoam
and let me know if this works.

Thanks,
Takuya
7islands is offline   Reply With Quote

Old   November 7, 2008, 07:09
Default Hi Takuya, thanks, I'll try
  #5
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19
braennstroem is on a distinguished road
Hi Takuya,

thanks, I'll try it at home and let you know ... no svn access around her.

Fabian
braennstroem is offline   Reply With Quote

Old   November 9, 2008, 04:19
Default Hi Takuya, the compilation wo
  #6
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19
braennstroem is on a distinguished road
Hi Takuya,
the compilation works nice! Thanks a lot!
Fabian
braennstroem is offline   Reply With Quote

Old   November 14, 2008, 10:19
Default Hi Fabian, Good to know it co
  #7
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Fabian,
Good to know it compiled. Thanks.

T
7islands is offline   Reply With Quote

Old   January 21, 2009, 06:51
Default Hi takuya, I've tried to mesh
  #8
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Hi takuya,
I've tried to mesh with gmsh 2.2.5 and convert inOF-1.5 with gmsh2ToFoam, with the svn version of the utility. I have strange results:
the mesh is good in gmsh, but when I convert it, checkMesh finds high skewed faces, and highly non ortogonal cells. When I inspect the mesh in Paraview, well I find cells that do not exist in my original mesh. I've done something wrong?
I would like to post my .geo and polyMesh stuff, but I don't know how...
Thanks,
Ivan
ivan_cozza is offline   Reply With Quote

Old   January 21, 2009, 06:55
Default Here we are, in this file
  #9
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza


Here we are, in this file there's the .geo and the converted mesh...
ivan_cozza is offline   Reply With Quote

Old   January 21, 2009, 06:57
Default Here we are, in this file
  #10
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza


Here we are, in this file there's the .geo and the converted mesh...
ivan_cozza is offline   Reply With Quote

Old   January 21, 2009, 06:59
Default http://www.cfd-online.com/Ope
  #11
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
fp.geo
ivan_cozza is offline   Reply With Quote

Old   January 21, 2009, 07:04
Default I'm sorry for multiple posting
  #12
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
I'm sorry for multiple posting, but I'm unable post the whole things! Here we have only the .geo file...
ivan_cozza is offline   Reply With Quote

Old   January 21, 2009, 10:22
Default Hi Ivan, I believe you mean
  #13
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Ivan,

I believe you meant

Point(9) = {-1, 0, -0.001, 0.1};
Point(10) = {0, 1, -0.001, 0.1};
Point(11) = {1, 0, -0.001, 0.1};

by

Point(9) = {-1, 0, 0, 0.1};
Point(10) = {0, 1, 0, 0.1};
Point(11) = {1, 0, 0, 0.1};

. Right?

Takuya
7islands is offline   Reply With Quote

Old   January 21, 2009, 10:34
Default You're right Takuya! My fault!
  #14
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
You're right Takuya! My fault!
I'm happy to thank you for this nice utility, and for this case I can confirm that it works well with both OF 1.5 and GMSH 2.2.5!
ivan_cozza is offline   Reply With Quote

Old   February 3, 2009, 08:29
Default Hi I have just succeeded in
  #15
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi

I have just succeeded in compiling and applying the new gmsh2ToFoam on a problem in OF1.5. Every step worked smoothly.

Thanks for a really nice tool,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   February 3, 2009, 20:11
Default Thanks for the nice comment ht
  #16
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Thanks for the nice comment

T
7islands is offline   Reply With Quote

Old   April 27, 2009, 09:23
Default
  #17
s&m
New Member
 
Join Date: Apr 2009
Posts: 14
Rep Power: 17
s&m is on a distinguished road
sorry for the obliviously question, for you of course ,
but how i can compile it after that i download the file?
s&m 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
gmsh2ToFoam sarajags_89 OpenFOAM 0 November 24, 2009 23:50
Install gmsh2ToFoam on OF1.6 shangzung OpenFOAM Installation 1 October 6, 2009 10:22
[Gmsh] GmshToFoam or gmsh2ToFoam amp gmsh sudden disappear zhoubinwx OpenFOAM Meshing & Mesh Conversion 20 August 7, 2009 19:07
gmsh2ToFoam s&m OpenFOAM Installation 1 April 27, 2009 22:00
[Gmsh] Gmsh2ToFoam bsegmentation faultb error in OF13 Release ed_teller OpenFOAM Meshing & Mesh Conversion 3 September 10, 2007 17:53


All times are GMT -4. The time now is 21:44.