CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

gmshToFoam: small fix for gmsh 2.4.x import

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2009, 05:42
Default gmshToFoam: small fix for gmsh 2.4.x import
  #1
Member
 
Etienne Lorriaux
Join Date: Mar 2009
Location: Compiegne, France
Posts: 45
Rep Power: 17
elorriaux is on a distinguished road
Hello,

it's not really a bug but a small fix since the physical entities format has been changed in the last gmsh-2.4 release. The format now takes into account the entities type (line, surface, volume).

I've modified the source to handle this change and the file is attached to this post. It should work also with the previous format.

Hope it will help.

Regards, Etienne.
Attached Files
File Type: gz gmshToFoam.C.gz (6.3 KB, 110 views)
elorriaux is offline   Reply With Quote

Old   September 11, 2009, 06:51
Default
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Thanks. I pushed it to 1.6.x. Do you have a sample file I can test it on?
mattijs is offline   Reply With Quote

Old   September 11, 2009, 08:52
Default
  #3
Member
 
Etienne Lorriaux
Join Date: Mar 2009
Location: Compiegne, France
Posts: 45
Rep Power: 17
elorriaux is on a distinguished road
Sure I can, but the files are too heavy to be uploaded here (even with gzip).

Maybe you can give me your mail in a private message.

Etienne.
elorriaux is offline   Reply With Quote

Old   October 14, 2009, 16:02
Default
  #4
New Member
 
Michael
Join Date: Oct 2009
Posts: 6
Rep Power: 17
druckgott is on a distinguished road
can you send me a testfile
druckgott is offline   Reply With Quote

Old   November 23, 2009, 16:30
Default
  #5
New Member
 
Paul
Join Date: Mar 2009
Posts: 19
Rep Power: 17
pajofego is on a distinguished road
Is it possible to upload a compiled gmshToFoam Linux version with the actual patch? I've a problem in compiling the OpenFoam source.

Thank in advance,
pajofego
pajofego 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
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
[Gmsh] Modified gmshToFoam to help import hexahedral and prism elements from Gmsh adorean OpenFOAM Meshing & Mesh Conversion 1 April 18, 2005 09:19


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