CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Native Meshers: blockMesh

block with 6 vertices

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

LinkBack Thread Tools Display Modes
Old   October 5, 2013, 04:10
Default block with 6 vertices
Join Date: May 2013
Posts: 53
Rep Power: 6
Hale is on a distinguished road

I'm trying to create a block with 6 vertices. I followed the instruction on page U-142 in the user Guide but I got some strange shape of the block. I guess it is because it assumes that the vertices on the collapsed side have the same y values, which is not the case in my problem.

I have attached a sketch of the geometry. There is no problem defining the 8-cornered blocks at the sides but the 6-cornered blocks are not easy to define if they have to have the right x, y, and z direction as the other 8-cornered blocks.

I tried the following:

8-cornered blocks
hex (7 3 11 15 4 0 8 12)
hex (0 1 9 8 4 5 13 12)
hex (2 6 14 10 1 5 13 9)
hex (7 6 14 15 3 2 10 11)

6-cornered blocks
hex (1 0 8 9 1 2 10 9)
hex (3 2 10 11 3 0 8 11)

This gives the right geometry but when I run the simulation it takes 20 times as much time to get results as when I remove the triangles in the middle and just define a square block!

Am I defining something wrong the two last blocks?

NB. I need these triangular blocks to define a wall in the middle afterwards.
Attached Images
File Type: jpg Geometry_baffle.jpg (31.9 KB, 24 views)
Hale is offline   Reply With Quote

Old   October 5, 2013, 08:00
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,031
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings Hale,

If you could provide an example case, it would be easier to experiment this ourselves.

Beyond this, my suggestion is to step back a few steps and use the cavity tutorial as an example for gradually creating collapsed edges. For example:
  1. First split the square-like mesh into 2 triangles.
  2. Then split it again into 4 triangles.
  3. Then finally evolve to the mesh you want.
Best regards,
wyldckat is offline   Reply With Quote


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
Mixer mesh - negative volume problem jadtwo OpenFOAM Native Meshers: blockMesh 2 November 6, 2014 17:37
foamLog not solving for Ux, Uy, Uz aerospain OpenFOAM Post-Processing 5 April 18, 2012 10:01
Icem Mesh to Foam jphandrigan OpenFOAM Mesh Utilities 4 March 9, 2010 03:58
blockMesh: block with 6 vertexes dani OpenFOAM 3 June 25, 2009 13:13
How to construct a block with four vertices jennyrui2008 OpenFOAM Native Meshers: blockMesh 0 November 5, 2008 21:44

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