# hex mesh

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

March 16, 2010, 08:10
hex mesh
#1
Senior Member

Join Date: Feb 2010
Posts: 213
Rep Power: 10
I have two questions, I think they are two questions connected to each other.

1. My aim is to study the performance of a 'hydro' foil with OpenFOAM (and later on a propeller) and I'm going to create the computational domain with Salome. I'm an absolute beginner, so I proceed step by step. I made a simple model: a parallelepiped cutted by a cylinder; then partitioned by two planes (look at the picture). I'm trying to build a hexahedral mesh but i only obtain the message 'Unexpected geometry. Wrong number of wires' or similar. Can you help me, please?

2. I tried to 'translate' in GUI language the TUI tutorial about the hex mesh for a cylindric domain (on Salome). I almost made the grade (sic!) but I have some problems about 1D discretization. I can't set a different number of segments for each 'dimension', as in the tutorial. Maybe I'm wrong with the 'side group' (are face_a and face_b the bases of the cylinder?). My parameters are

[whole object]
hypotheses: nb Segments = 1;

[face a, face b]
hypotheses: nb Segments 1 = na, nb;

[side group]
hypotheses: nb Segments =nl;
Attached Images
 img.jpg (20.7 KB, 69 views)

March 19, 2010, 03:21
#2
Senior Member

Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 481
Rep Power: 17
To create a hex mesh in Salome you need each face to consist of 4 edges. The meshing will fail as you see if you have more than 4.

Create you geometry with 4 faces like so, and it should work.

Attached Images
 bitmap.jpg (21.6 KB, 256 views)
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.

 March 19, 2010, 06:23 #3 Senior Member   Join Date: Feb 2010 Posts: 213 Rep Power: 10 Thanks for your reply. In the meanwhile, I went on with my exercises and tries (also the meshing tutorials), so I understood the 4 edges requirement.

 February 5, 2013, 19:48 #4 New Member   Abbas Rahimi Join Date: Jan 2013 Posts: 28 Rep Power: 6 Hello I faced to the same problem but I cant figure out how I can push each face to just have 4 edges! Could you please provide me some leads??? Thanks

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post alf23 OpenFOAM Native Meshers: snappyHexMesh and Others 17 February 17, 2013 15:24 kawamatt2 ANSYS Meshing & Geometry 17 December 20, 2011 12:45 fabrizio Open Source Meshers: Gmsh, Netgen, CGNS, ... 9 March 22, 2010 10:09 Joe CFX 2 March 26, 2007 18:10 daniel FLUENT 3 July 20, 2005 08:32