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

[Gmsh] Meshing with GMSH tutorial

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2017, 16:51
Default Meshing with GMSH tutorial
  #1
New Member
 
anonymous
Join Date: Jul 2016
Posts: 4
Rep Power: 10
philm is on a distinguished road
Hello,

Can anyone help me to find some sort of tutorial of how I can create a mesh with GMSH and convert it to openFoam?

I designed my model in solidworks and I then exported it to stl for importing it into the gmsh program.

I am following this tutorial on 2D meshing: https://openfoamwiki.net/index.php/2...ial_using_GMSH

but I was unable to generate a good result (basically, openfoam failed and says that there is no Mesh!)

I was wondering if anyone had any experience with creating a 3D mesh from an stl file and importing the mesh to OpenFoam?
philm is offline   Reply With Quote

Old   March 15, 2017, 05:10
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

If you have STL of surface and would like to create volume mesh, in general, you should use snappyHexMesh or foamyHexMesh.

If you REALLY want to use Gmsh, use search - https://duckduckgo.com/?q=Gmsh+remesh+STL
alexeym is offline   Reply With Quote

Old   March 15, 2017, 10:59
Default
  #3
New Member
 
anonymous
Join Date: Jul 2016
Posts: 4
Rep Power: 10
philm is on a distinguished road
So it sounds like using gmsh to mesh an stl and convert gmsh mesh to openfoam is a little complicated.

I atak you that you recommend some of the built in functionality OpenFoam to convert stl to openFoam mesh?

interestingly, I have not heard of either of those utilities, thank you for recommending them to me, I will take a look.

Personally, it doesn't matter which one I use as long as I can import the mesh to openFoam without any issue
philm is offline   Reply With Quote

Old   March 15, 2017, 16:52
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
It is not VERY complicated. Yet Gmsh in general is good at generating tetrahedral meshes, while OpenFOAM prefers hexahedral.

Personally, it does not matter to me, which tool you will use. Gmsh? OK. Use Gmsh, generate tetrahedral mesh, use corresponding fvSchemes and non-orthogonal correction. (snappy|foamy)HexMesh? OK. Generate background mesh, play with settings, use fvSchemes and non-orthogonal correction suitable for generated mesh. cfMesh? Pointwise? Whatever works.
alexeym is offline   Reply With Quote

Old   March 30, 2017, 05:32
Default 3D structured mesh without using extrude function in GMSH
  #5
New Member
 
Bharadwaj Bhushan
Join Date: Mar 2017
Posts: 19
Rep Power: 9
Bharath Bhushan is on a distinguished road
hi guys,,

I am unaware that, is it possible to do 3D structured mesh without using the extrude option in gmsh ?. Because I need to do 3D structured mesh on the nozzle by importing the geometry. I cant touch the geometry parameters, so cant use extrude option.



thank you
Bharath Bhushan 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] gmsh meshing problem CHAYANIT OpenFOAM Meshing & Mesh Conversion 0 September 5, 2018 09:08
[Gmsh] Gmsh - Problem with meshing CAD imported geometry Artur OpenFOAM Meshing & Mesh Conversion 1 June 3, 2018 11:57
Hexa block meshing tutorial shamsutdinovr ANSA 0 August 22, 2017 02:31
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56
[Gmsh] Gmsh - cavity tutorial s&m OpenFOAM Meshing & Mesh Conversion 3 January 22, 2010 06:13


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