CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

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

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

Reply
 
LinkBack Thread Tools 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: 8
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANSYS Meshing] 3d wind turbine mesh for multiphase simulation mingersai ANSYS Meshing & Geometry 0 January 17, 2012 19:20
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
Blockmesh error - 2D scramjet - please help ishaninair OpenFOAM Native Meshers: blockMesh 7 March 18, 2011 01:14
Import problem ARC Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 February 27, 2010 11:56
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


All times are GMT -4. The time now is 10:17.