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

gmshToFoam: small fix for gmsh 2.4.x import

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 11, 2009, 04:42
Default gmshToFoam: small fix for gmsh 2.4.x import
  #1
Member
 
Etienne Lorriaux
Join Date: Mar 2009
Location: Compiegne, France
Posts: 43
Rep Power: 8
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, 104 views)
elorriaux is offline   Reply With Quote

Old   September 11, 2009, 05:51
Default
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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, 07:52
Default
  #3
Member
 
Etienne Lorriaux
Join Date: Mar 2009
Location: Compiegne, France
Posts: 43
Rep Power: 8
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, 15:02
Default
  #4
New Member
 
Michael
Join Date: Oct 2009
Posts: 6
Rep Power: 7
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: 8
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

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
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
Modified gmshToFoam to help import hexahedral and prism elements from Gmsh adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 1 April 18, 2005 08:19


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