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

[blockMesh] Embedded blocks

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2010, 12:13
Default Embedded blocks
  #1
Member
 
Robertas N.
Join Date: Mar 2009
Location: Kaunas, Lithuania
Posts: 53
Rep Power: 17
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


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
[Commercial meshers] fluent3DMeshToFoam bego OpenFOAM Meshing & Mesh Conversion 31 August 16, 2023 10:04
[Commercial meshers] COnvert FLuent MEsh to openfoam with interface manuc OpenFOAM Meshing & Mesh Conversion 1 July 25, 2017 04:13
[Commercial meshers] converting Fluent mesh to openfoam standard mesh deepesh OpenFOAM Meshing & Mesh Conversion 31 March 29, 2017 06:59
dsmcInitialise - dsmcFoam archymedes OpenFOAM Pre-Processing 94 July 15, 2016 17:14
[Other] How to create an MRF zone ? aminem OpenFOAM Meshing & Mesh Conversion 2 December 8, 2014 11:45


All times are GMT -4. The time now is 22:50.