CFD Online URL
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

Gmsh with physicals

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 26, 2004, 07:53
Default In the 2.3 version of FOAM, g
  #1
Rasmus Gjesing (Gjesing)
Guest
 
Posts: n/a
In the 2.3 version of FOAM, gmshToFoam is supplied, however it can't handle physical boundaries, which is quiet crucial. Are there anyone that are planning to extent the converter to handling this? If so, I would be VERY interested to hear about it!

P.S. In the sourcecode for gmshToFoam it looks like it is under way?!
  Reply With Quote

Old   August 26, 2004, 08:25
Default Hello Rasmus, gmshToFoam w
  #2
Mattijs Janssens (Mattijs)
Guest
 
Posts: n/a
Hello Rasmus,

gmshToFoam was a quick&dirty attempt to have a look at the gmsh generated meshes. I tried doing the patch info but then got stuck since I was not clear what they were using for the boundaries.

Am quite willing try fixing that piece of code if you can send me a simple testcase. E.g. can you send me a cube built out of tets with some different physical boundaries?

Mattijs
  Reply With Quote

Old   August 27, 2004, 11:57
Default I adapted the gmshToFoam conv
  #3
Mattijs Janssens (Mattijs)
Guest
 
Posts: n/a
I adapted the gmshToFoam converter to use physical regions as patch numbers. Tried it on one case (thanks Rasmus) and it seems to work.

It will be in the next release or contact me directly if you want to try it.

It requires a version 1 format file (whatever that may be - don't ask me about gmsh) and both volume elements (tets/hexes) and surface elements (triangles) present.

Mattijs
  Reply With Quote

Old   January 17, 2005, 13:04
Default I wrote a simple netgen Neutr
  #4
Mattijs Janssens (Mattijs)
Guest
 
Posts: n/a
I wrote a simple netgen Neutral file format converter. It will be in the next release or you can contact me if you want it earlier.

Netgen is a pretty good & simple tetrahedral mesh generator which also allows setting of boundary regions.

Mattijs
  Reply With Quote

Old   March 9, 2005, 17:53
Default Hello Would it be possible to
  #5
New Member
 
Lars Edvardsen
Join Date: Mar 2009
Posts: 3
Rep Power: 7
edvardsen is on a distinguished road
Hello
Would it be possible to get the netgen to Foam converter from someone? I run OpenFoam on SuSE Linux 9,2 ?

Best Regards
Lars
edvardsen is offline   Reply With Quote

Old   March 10, 2005, 04:47
Default Try following post: http://
  #6
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
Try following post:

http://www.cfd-online.com/cgi-bin/Op...=1245#POST1245

and
- unpack (tar xzf XXX.tgz)
- cd XXX
- wclean
- wmake

Mattijs
mattijs is offline   Reply With Quote

Old   January 27, 2006, 13:57
Default I made some modifications to t
  #7
Member
 
E. David Huckaby
Join Date: Mar 2009
Posts: 57
Rep Power: 7
david_h is on a distinguished road
I made some modifications to the gmshToFoam converter to write out cellZones and faceZones of internal faces. A time consuming function call was also moved out of an inner loop, which seems to reduce the execution time significantly.

I have posted this to the wiki:
http://openfoamwiki.net/index.php/Contrib_gmshToF oamMod

Dave
david_h is offline   Reply With Quote

Old   February 2, 2006, 15:11
Default Hello Dave, can I put your
  #8
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
Hello Dave,

can I put your gmshToFoam mods into the release?
mattijs is offline   Reply With Quote

Old   February 2, 2006, 15:20
Default Yes you can. Dave
  #9
Member
 
E. David Huckaby
Join Date: Mar 2009
Posts: 57
Rep Power: 7
david_h is on a distinguished road
Yes you can.

Dave
david_h is offline   Reply With Quote

Old   February 2, 2006, 15:36
Default Could you send a small test ca
  #10
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
Could you send a small test case?

Just email it to me directly.
mattijs 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
gmsh jojo Main CFD Forum 5 September 1, 2009 00:11
ChannelOodles with gmsh lofty Open Source Meshers: Gmsh, Netgen, CGNS, ... 7 April 16, 2008 17:44
Gmsh and samplesurface touf Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 December 10, 2007 03:27
Problem with Gmsh nishant_hull Open Source Meshers: Gmsh, Netgen, CGNS, ... 17 December 7, 2007 02:33
GMSH Meshes rbw OpenFOAM Pre-Processing 5 September 26, 2005 05:20


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