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

[blockMesh] Difficulties with blockMeshDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 29, 2016, 08:18
Unhappy Difficulties with blockMeshDict
  #1
New Member
 
Kashyap Rajan
Join Date: Feb 2016
Location: India
Posts: 2
Rep Power: 0
Syracuse is on a distinguished road
Hello everyone!
I'm new to FOAM and I'm setting up a case for a pressure-driven flow in a channel with a buffer zone.

My blockMeshDict looks as follows:



/*--------------------------------*- C++ -*----------------------------------*\

| ========= | |

| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |

| \\ / O peration | Version: dev |

| \\ / A nd | Web: www.OpenFOAM.com |

| \\/ M anipulation | |

\*---------------------------------------------------------------------------*/

FoamFile

{

version 2.0;

format ascii;

class dictionary;

object blockMeshDict;

}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //



convertToMeters 1e-6;



vertices

(

(0 0 0) //0

(1.5 0 0) //1

(1.5 0.15 0) //2

(0 0.15 0) //3

(0 0 0.1) //4

(1.5 0 0.1) //5

(1.5 0.15 0.1)//6

(0 0.15 0.1) //7

(2.1 0 0) //8

(2.1 0.6 0) //9

(1.5 0.6 0) //10

(2.1 0 0.1) //11

(2.1 0.6 0.1) //12

(1.5 0.6 0.1) //13

(1.5 0.15 0) //14

(1.5 0.15 0.1)//15

(1.5 0 0.1) //16

(1.5 0 0) //17

(2.1 0.15 0) //18

(2.1 0.15 0.1) //19

);



blocks

(

hex (0 1 2 3 4 5 6 7) (200 60 1) simpleGrading (1 1 1)

hex (8 11 14 15 16 17 18 19) (50 50 1) simpleGrading (1 1 1)

hex (9 10 12 13 14 15 18 19) (50 50 1) simpleGrading (1 1 1)

);



edges

(

);



patches

(

patch

Inlet

(

(0 3 7 4)

)



patch

Outlet

(

(11 8 18 19)

(19 12 9 18)

(9 12 13 10)

)



wall

Wall

(

(14 10 13 15)

(2 6 7 3)

)



symmetry

Symmetry

(

(8 17 16 11)

(5 1 0 4)

)



empty

Front_and_Back

(

(0 1 2 3)

(7 6 5 4)

(17 8 18 14)

(16 11 19 15)

(14 18 9 10)

(15 19 12 13)

)



patch

interface1

(

(2 6 5 1)

)



patch

interface2

(

(14 15 16 17)

)

);



mergePatchPairs

( (interface1 interface2)

);



// ************************************************** *********************** //




When I use the blockMesh command, I get an error as follows:
//face 0 in patch 2 does not have neighbour cell face: 4(14 10 13 15)

I tried running blockMesh with only one block at a time and still got the same error for different faces.

I've tried solutions found online but with no success


Please help. Thanks in advance

-Syracuse
Syracuse is offline   Reply With Quote

Reply

Tags
blockmeshdict, foam-extend


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
[blockMesh] Creating an axisymmetric piston cylinder in blockMeshDict foadsf OpenFOAM Meshing & Mesh Conversion 9 August 23, 2018 08:54
[blockMesh] 2:1 refined 2D blockMeshDict with mergePatchPairs? chrisb2244 OpenFOAM Meshing & Mesh Conversion 0 December 2, 2014 00:52
[Other] blockMeshDict not Matching Boundary HassanDarian OpenFOAM Meshing & Mesh Conversion 0 March 19, 2014 14:30
PLease somebody help:problem while changing blockMeshDict file vivek070176 OpenFOAM Installation 1 June 11, 2010 18:51
[blockMesh] A script for combining two blockMeshDict yingfeng OpenFOAM Meshing & Mesh Conversion 0 August 26, 2009 17:05


All times are GMT -4. The time now is 01:53.