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

[blockMesh] this is a simple one but I have no idea what I did wrong

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2007, 01:29
Default this is a simple one but I have no idea what I did wrong
  #1
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 17
msha is on a distinguished road
my blockmeshdict file is:

/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

FoamFile
{
version 2.0;
format ascii;

root "";
case "";
instance "";
local "";

class dictionary;
object blockMeshDict;
}

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


convertToMeters 0.1;

vertices
(
(0 1 0)
(5 1 0)
(5 0 0)
(35 0 0)
(35 3 0)
(0 3 0)
(0.1 1 0)
(5.1 0 0)
(34.9 0 0)
(34.9 3 0)
(0.1 3 0)
(0.1 1.1 0)
(5 1.1 0)
(5.1 1.1 0)
(5.1 0.1 0)
(13 0.1 0)
(34.9 0.1 0)
(34.9 1.1 0)
(34.9 2.9 0)
(5.1 2.9 0)
(0.1 2.9 0)
(13 1.1 0)

(0 1 1)
(5 1 1)
(5 0 1)
(35 0 1)
(35 3 1)
(0 3 1)
(0.1 1 1)
(5.1 0 1)
(34.9 0 1)
(34.9 3 1)
(0.1 3 1)
(0.1 1.1 1)
(5 1.1 1)
(5.1 1.1 1)
(5.1 0.1 1)
(13 0.1 1)
(34.9 0.1 1)
(34.9 1.1 1)
(34.9 2.9 1)
(5.1 2.9 1)
(0.1 2.9 1)
(13 1.1 1)

);

blocks
(
hex (0 6 10 5 22 28 32 27) (10 200 1) simpleGrading (1 1 1)
hex (6 1 12 11 28 23 34 33) (490 10 1) simpleGrading (1 1 1)
hex (2 7 13 12 24 29 35 34) (10 110 1) simpleGrading (1 1 1)
hex (7 8 16 14 29 30 38 36) (280 10 1) simpleGrading (1 1 1)
hex (8 3 4 9 30 25 26 31) (10 300 1) simpleGrading (1 1 1)
hex (20 18 9 10 42 40 31 32) (330 10 1) simpleGrading (1 1 1)
hex (11 13 19 20 33 35 41 42) (50 18 1) simpleGrading (1 1 1)
hex (14 15 21 13 36 37 43 35) (790 100 1) simpleGrading (1 1 1)
hex (15 16 17 21 37 38 39 43) (219 10 1) simpleGrading (1 1 1)
hex (13 17 18 19 35 39 40 41) (28 10 1) simpleGrading (1 1 1)







);

edges
(
);

patches
(
patch
inlet
(
(0 22 27 5)
)
patch
outlet
(
(3 4 26 25)

)


wall fixedWalls

(
(4 9 31 26)
(9 10 32 31)
(10 5 27 32)
(0 6 28 22)
(6 1 23 28)
(1 2 24 23)
(2 7 29 24)
(7 8 30 29)
(8 3 25 30)
)
);

mergePatchPairs
(
);


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


and when I run blockMesh this error appears:

Reading block mesh description dictionary

Creating block mesh

Creating blockCorners

Creating curved edges

Creating blocks

Creating patches

Creating block mesh topology

Default patch type set to empty


--> FOAM FATAL ERROR : face 5 in patch 2 does not have neighbour cell face: 4(1 2 24 23)

From function polyMesh::facePatchFaceCells(const faceList& patchFaces,const labelListList& pointCells,const faceListList& cellsFaceShapes,const label patchID)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 127.

FOAM aborting

Foam::error::printStack(Foam:stream&)
Foam::error::abort()
Foam::polyMesh::facePatchFaceCells(Foam::List<foam ::face> const&, Foam::List<foam::list<int> > const&, Foam::List<foam::list<foam::face> > const&, int) const
Foam::polyMesh::polyMesh(Foam::IOobject const&, Foam::Field<foam::vector<double> > const&, Foam::List<foam::cellshape> const&, Foam::List<foam::list<foam::face> > const&, Foam::List<foam::word> const&, Foam::List<foam::word> const&, Foam::word const&, Foam::List<foam::word> const&)
blockMesh [0x806116f]
blockMesh [0x8059228]
blockMesh [0x806f2c1]
__libc_start_main
__gxx_personality_v0
Aborted
msha is offline   Reply With Quote

Old   September 25, 2007, 06:57
Default Hello Please try to comment
  #2
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hello

Please try to comment the 'patches' section of your blockMeshDict file.

Then run blockMesh.

If it turns out ok, then add the first patch, 'inlet' in your case.

Repeat the same procedure step by step until you find where the problem is. By looking at the error message, I would think that the problem resides in the patch 'fixedWalls'.

Good luck!

José Santos
santos is offline   Reply With Quote

Old   September 28, 2007, 04:22
Default Hi Thank you for reply I'l
  #3
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 17
msha is on a distinguished road
Hi
Thank you for reply

I'll do so.

Best regards
msha 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
Simple static mechanical analysis gave obviously wrong result cli21 ANSYS 0 March 15, 2017 22:58
Incompressible Euler Equations with SIMPLE method yfjok22 OpenFOAM Programming & Development 1 September 22, 2016 09:11
rhoSimpleFoam, simple setup, wrong BC? tjs111 OpenFOAM Running, Solving & CFD 3 September 1, 2016 09:02
fully developed channel flow with kOmega, wrong results boshynova OpenFOAM Programming & Development 1 April 20, 2016 11:54
bubbleFoam - Simple case, Large bubble, closed domain darai OpenFOAM Running, Solving & CFD 9 October 12, 2015 06:40


All times are GMT -4. The time now is 14:36.