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

[Gmsh] Gmsh with physicals

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2004, 07:53
Default Gmsh with physicals
  #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: 17
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
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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: 17
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
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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: 17
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
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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


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
[Gmsh] Converting gmsh to OpenFoam Friendly OpenFOAM Meshing & Mesh Conversion 3 June 26, 2018 06:46
[Gmsh] Insatlling gmsh from the source code-issue? CFD-Lover OpenFOAM Meshing & Mesh Conversion 20 June 12, 2018 07:39
[Gmsh] Cgns support for gmsh robyTKD OpenFOAM Meshing & Mesh Conversion 1 July 13, 2016 12:27
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56


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