# [Gmsh] Gmsh: Structured Mesh problems

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

 October 30, 2015, 14:52 Gmsh: Structured Mesh problems #1 New Member   Siddharth Join Date: Jan 2013 Posts: 6 Rep Power: 13 Hello, 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! Siddharth

 November 2, 2015, 07:11 #2 Senior Member   Join Date: Mar 2015 Posts: 250 Rep Power: 12 Hi, 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, Kate Last edited by KateEisenhower; November 2, 2015 at 07:11. Reason: typo

 July 26, 2017, 10:51 #3 Member   ehk Join Date: Sep 2012 Posts: 30 Rep Power: 13 How we can create a spherical domain with a hole inside which is included in a unit cube in Gmsh?

 August 9, 2017, 22:48 Good structured mesh generator #4 Member   AGN Join Date: Dec 2011 Posts: 70 Rep Power: 14 Hi, 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.

 Tags gmsh, structured grid, transfinite surface