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

[Gmsh] Gmsh optimization and meshing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2016, 16:15
Default Gmsh optimization and meshing
  #1
Member
 
Saurabh Tandon
Join Date: Nov 2015
Location: Austin
Posts: 43
Rep Power: 10
STutexas is on a distinguished road
Hi

I am using gmsh for creating tet meshes that i import into OpenFOAM. But the mesh is of really poor quality. (It fails almost all the tests of checkMesh). Does any one know of a better third party utility that can help me create a better mesh or help me optimize a GMSH mesh.

Thank you.

Saurabh
STutexas is offline   Reply With Quote

Old   March 30, 2016, 22:32
Default
  #2
Member
 
Peter
Join Date: Feb 2015
Location: New York
Posts: 73
Rep Power: 11
opedrofunk is on a distinguished road
Hi,
I've never had that problem with Gmsh - and I use Gmsh A LOT with OpenFOAM...

A few suggestions:
1) Make sure you optimize the mesh quality before exporting. On the command line you can use -optimize or -optimize_netgen depending on which you want to use.

2) Make sure you are either a) working with a good geometric description of your model, and/or b) you take steps to ensure that your surfaces are "good". You can use "complex" curves (splines, arcs, etc.) if you are drawing it in 3D, or if you are starting from an *.stl file or the like, you should probably be using "Compound Surfaces/Lines" to ensure a quality surface mesh - it can make a huge difference.

3) If you want to work efficiently with Gmsh (and Tetgen/Netgen), I suggest using something like the Sketchup Meshkit Extension, which is a free/opensource way to export SketchUp geometry in to Gmsh's native *.geo format (also works in the same way with tetgen and netgen - as well as with a commercial mesher frgen3d). Having your geometry in the native Gmsh format affords much more flexibility when meshing (generating hex/tet meshes, boundary layers, refinement, etc.). It's free, and the upcoming release will also support snappyHexMesh directly, as well. SketchUp Meshkit: http://extensions.sketchup.com/en/co...y-tetgen-tools
Disclaimer: I develop the Sketchup Meshkit extension.

I hope that helps!

Kind regards,
Peter
opedrofunk 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
[snappyHexMesh] snappyHexMesh - 3D Wing Meshing Setup & Trials denbjornen OpenFOAM Meshing & Mesh Conversion 1 May 25, 2020 11:14
[ANSYS Meshing] Script for Ansys meshing Riadh ANSYS Meshing & Geometry 11 January 9, 2019 17:06
Question regarding optimization triple element airfoil using ANSYS DesignXplorer Segermans ANSYS 0 April 30, 2018 04:20
[Gmsh] Gmsh - External Flow Mesh Generation - Airfoil STL file Eefoe OpenFOAM Meshing & Mesh Conversion 2 August 22, 2017 09:27
CFD_screening problem for Francis Turbine Optimization berk can Fidelity CFD 3 February 22, 2014 12:08


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