How to get this mesh with one hex in blockMeshDict

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

August 30, 2013, 01:10
How to get this mesh with one hex in blockMeshDict
#1
Member

xuhe-openfoam
Join Date: Aug 2013
Location: DaLian，china
Posts: 82
Rep Power: 5
Hi , I am a beginner in OpenFOAM.
I want to get the mesh in the following picture with only one hex(or other cellModel) in blockMesh.
Could you help me? The mesh is in the "picture(mesh).jpg".
Thank you!
Attached Images
 picture(mesh).jpg (23.3 KB, 7 views)

 August 30, 2013, 03:19 #2 Senior Member   Join Date: Mar 2010 Location: Germany Posts: 140 Rep Power: 8 Hi, the picture shows six cells - could you explain a little further? Basically you can start with a single block (see tutorial) and fix the positions of the corner points. You need to define two pairs of coincident vertices (same coordinates) so your single hex block becomes degenerated into a prism. Afterwards you may want to adapt the discretization of the block as desired. cutter

August 30, 2013, 03:52
furter explain
#3
Member

xuhe-openfoam
Join Date: Aug 2013
Location: DaLian，china
Posts: 82
Rep Power: 5
Quote:
 Originally Posted by cutter Hi, the picture shows six cells - could you explain a little further? Basically you can start with a single block (see tutorial) and fix the positions of the corner points. You need to define two pairs of coincident vertices (same coordinates) so your single hex block becomes degenerated into a prism. Afterwards you may want to adapt the discretization of the block as desired. cutter

It is a 2D mesh,so there is a layer of cell in the z direction.
I know how to get a hex to become a prism, as user guide has told us. But I could only get a prism mesh that I don't desire to get. The mesh not desired is in the "picture(not desired).jpg".
How could I get a mesh which is described in the "picture(mesh).jpg"?
Attached Images
 picture(not desired).jpg (27.8 KB, 8 views)

 August 30, 2013, 05:20 #4 Senior Member   Join Date: Mar 2010 Location: Germany Posts: 140 Rep Power: 8 This is not possible with a single hex block because blockMesh discretizes the hex blocks along topological parallel edges. immortality likes this.

 Tags blockmesh

 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 bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 6 August 26, 2015 09:38 Verfblikje Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 January 19, 2012 11:55 ishaninair OpenFOAM Native Meshers: blockMesh 7 March 18, 2011 01:14 henning OpenFOAM Running, Solving & CFD 1 October 14, 2008 07:02 Joe CFX 2 March 26, 2007 18:10

All times are GMT -4. The time now is 18:29.