CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] Gmsh: Structured Mesh problems

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2015, 14:52
Default Gmsh: Structured Mesh problems
New Member
Join Date: Jan 2013
Posts: 6
Rep Power: 13
skrishnamoorthy is on a distinguished road

I am trying to get a 2-D structured mesh in gmsh with the transfinite algorithm. The domain is square, but in order to implement a variety of boundary conditions, I have broken up the lower boundary into 3 segments. When I try to recombine the mesh to get a structured mesh, I get an error saying "Surface is transfinite but has 6 corners". Is there a way to get around this problem? I want my domain to look like the bottom boundary is just 1 line, but be able to apply different boundary conditions in different sections of the bottom boundary.

Thanks for your help!

skrishnamoorthy is offline   Reply With Quote

Old   November 2, 2015, 07:11
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12
KateEisenhower is on a distinguished road

You bascially want to create a Transfinite Surface with 6 sides, right? if I understand your question correctly, it would be possible to divide your whole domain in three parts. Apart from that, I guess there is no way around it using gmsh.
Of course you can try to patch your domain afterwards with OpenFOAM or other utilities.

Best regards,


Last edited by KateEisenhower; November 2, 2015 at 07:11. Reason: typo
KateEisenhower is offline   Reply With Quote

Old   July 26, 2017, 10:51
Join Date: Sep 2012
Posts: 30
Rep Power: 13
ehsankf is on a distinguished road
How we can create a spherical domain with a hole inside which is included in a unit cube in Gmsh?
ehsankf is offline   Reply With Quote

Old   August 9, 2017, 22:48
Default Good structured mesh generator
Join Date: Dec 2011
Posts: 70
Rep Power: 14
arungovindneelan is on a distinguished road
I want to generate a multi-block structured mesh with nodal information and boundary information (FEM mesh). Information that I required from Grid generator is (x,y) point information, connectivity matrix contains nodal index information of mesh and boundary patch that has nodal index or (x,y) information.

Aditional things I expect from grid generator is :
1) Wall orthogonality correcting algorithm
2) Mesh smoothing algorithm.
3) User defined stretching functions through points or function to sides of blocks
4) quality check (optional)

I'm relatively new to open source grid generators. I'm learning Gmsh, Where I used Transfinite command to generate a structured mesh. I couldn't find good smoothing algorithm and wall orthogonality correcting algorithms. Please give me whether it has such features or any other Open source mesh generators have such features?

Thank you.
arungovindneelan is offline   Reply With Quote


gmsh, structured grid, transfinite surface

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Commercial meshers] Problems with ANSYS mesh conversion tdog OpenFOAM Meshing & Mesh Conversion 1 March 31, 2016 17:36
[Gmsh] Structured mesh in gmsh without Extrude function ericnutsch OpenFOAM Meshing & Mesh Conversion 2 December 6, 2013 07:52
[ICEM] Unstructure Meshing Around Imported Plot3D Structured Mesh ICEM kawamatt2 ANSYS Meshing & Geometry 17 December 20, 2011 11:45
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 10:09

All times are GMT -4. The time now is 00:25.