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

[blockMesh] How to get this mesh with one hex in blockMeshDict

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By cutter

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 30, 2013, 02:10
Post 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: 13
bieshuxuhe is on a distinguished road
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
File Type: jpg picture(mesh).jpg (23.3 KB, 11 views)
bieshuxuhe is offline   Reply With Quote

Old   August 30, 2013, 04:19
Default
  #2
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16
cutter is on a distinguished road
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
cutter is offline   Reply With Quote

Old   August 30, 2013, 04:52
Post furter explain
  #3
Member
 
xuhe-openfoam
Join Date: Aug 2013
Location: DaLian,china
Posts: 82
Rep Power: 13
bieshuxuhe is on a distinguished road
Quote:
Originally Posted by cutter View Post
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


Thank you for your reply!
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
File Type: jpg picture(not desired).jpg (27.8 KB, 11 views)
bieshuxuhe is offline   Reply With Quote

Old   August 30, 2013, 06:20
Default
  #4
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16
cutter is on a distinguished road
This is not possible with a single hex block because blockMesh discretizes the hex blocks along topological parallel edges.
immortality likes this.
cutter is offline   Reply With Quote

Reply

Tags
blockmesh


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
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
[blockMesh] how to create a dense mesh in blockMeshdict? Shanmukhi OpenFOAM Meshing & Mesh Conversion 1 August 3, 2015 15:23
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 07:42
[Other] 2D hex mesh on multi element airfoil Verfblikje OpenFOAM Meshing & Mesh Conversion 0 January 19, 2012 11:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10


All times are GMT -4. The time now is 16:40.