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

Embedded blocks

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 16, 2010, 11:13
Default Embedded blocks
  #1
Member
 
Robertas N.
Join Date: Mar 2009
Location: Kaunas, Lithuania
Posts: 52
Rep Power: 8
r08n is on a distinguished road
Hi all,

I need to define a hex block inside a rectangular computational domain, which is basically a block also. Is there any possibility to define a smaller block inside a larger block, like e.g. this:

Code:
vertices        
(
    (0 0 0)	// 00
    (15 0 0)	// 01
    (15 6 0)	// 02
    (0 6 0)	// 03
    (0 0 6)	// 04
    (15 0 6)	// 05
    (15 6 6)	// 06
    (0 6 6)	// 07
    // **************
    (5 1 2)	// 08
    (12 1 2)	// 09
    (12 4 2)	// 10
    (5 4 2)	// 11
    (5 1 5)	// 12
    (12 1 5)	// 13
    (12 4 5)	// 14
    (5 4 5)	// 15
);

blocks
(
    hex (0 1 2 3 4 5 6 7) (30 12 12) simpleGrading (1 1 1)
    hex (8 9 10 11 12 13 14 15) block_porosity (14 6 6) simpleGrading (1 1 1)
);
blockMesh and checkMesh run without choking, but the actual application stops with the message: "The mesh contains patches of type empty but is not 1D or 2D".

I need the setup of the above type to simulate flows in porous media because the standard way to define porous zones is to define the blocks and associate the porous zones with the appropriate blocks. How to implement the setup where the porous media only partially fills the overall domain? Define multiple blocks that tile the 3D domain?
r08n 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
dsmcInitialise - dsmcFoam archymedes OpenFOAM Pre-Processing 93 February 11, 2014 02:22
fluent3DMeshToFoam bego OpenFOAM 27 May 29, 2013 13:08
Substitution of y with z in number of cell - definition of blocks om3ro OpenFOAM Native Meshers: blockMesh 0 March 15, 2010 16:46
O-grid for cylinder with varying diameter and several blocks lama ANSYS Meshing & Geometry 4 December 21, 2009 09:57
help needed: connecting 2 blocks Lexa OpenFOAM Native Meshers: blockMesh 4 November 20, 2009 06:47


All times are GMT -4. The time now is 21:51.