CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

How to get this mesh with one hex in blockMeshDict

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

Like Tree1Likes
  • 1 Post By cutter

Reply
 
LinkBack Thread Tools Display Modes
Old   August 30, 2013, 01: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: 4
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, 7 views)
bieshuxuhe is offline   Reply With Quote

Old   August 30, 2013, 03:19
Default
  #2
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 140
Rep Power: 8
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, 03:52
Post furter explain
  #3
Member
 
xuhe-openfoam
Join Date: Aug 2013
Location: DaLian,china
Posts: 82
Rep Power: 4
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, 8 views)
bieshuxuhe is offline   Reply With Quote

Old   August 30, 2013, 05:20
Default
  #4
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 140
Rep Power: 8
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

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
No layers in a small gap bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 6 August 26, 2015 09:38
2D hex mesh on multi element airfoil Verfblikje Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 January 19, 2012 11:55
Blockmesh error - 2D scramjet - please help ishaninair OpenFOAM Native Meshers: blockMesh 7 March 18, 2011 01:14
How to convert a hex mesh in blockMeshDict to a tet mesh henning OpenFOAM Running, Solving & CFD 1 October 14, 2008 07:02
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


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