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

[Gmsh] How to get Gmsh hex mesh for "2-D" simulation in OF?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2012, 13:01
Default How to get Gmsh hex mesh for "2-D" simulation in OF?
  #1
jam
Member
 
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 17
jam is on a distinguished road
Hi,
I am having difficulties trying to do a mesh for a good 2-D OF solution from Gmsh.

Because my domain is not so simple, I cannot use blockMesh. The next best is Gmsh, IMHO. To get an OF 2-D mesh, I used:

Extrude { x,x,x}{
Surface {xxx} ; Layers{1,1};
Recombine;
}

I just learned last week that if I recombine a transfinite surface before the extrusion, I can get quad elements which solved much better than the prism elements.

But I would like to use the unstructured mesh and extrude as above but create hex elements. This doesn't seem possible because the third direction is also divided which give 2 Layers and therefore is not considered as a 2-D problem anymore. As a 3-D problem it is solvable but it takes a very long time with my setup.

My question is : is it possible to remove the second mesh layer after the meshing is done or is it possible to prevent the third dimension to be divided before meshing?
jam 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
Fatal overflow error, singularity, due to local mesh form? Thomasbr CFX 7 July 8, 2016 09:57
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
[blockMesh] Blockmesh error - 2D scramjet ishaninair OpenFOAM Meshing & Mesh Conversion 7 March 18, 2011 00:14
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


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