CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

Flow Around a Cylinder

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 12, 2009, 17:21
Default Flow Around a Cylinder
  #1
Senior Member
 
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 241
Rep Power: 8
Ahmed is on a distinguished road
I am trying to model a flow around a cylinder, I am facing similar problems to those in this post
Floating point error in BlockMesh for really simple mesh
the first error message states that
face 0 in patch 0 does not have neighbour cell face: 4(11 8 21 24)#0 Foam::error

I tried to use the blockMesh -blockTopology
But I cannot find the dumped file anywhere
I appreciate any hint
Here is the blockDict file, please note I have commented out all the blocks but the first one , Trying to make it one block by one

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.001;

vertices
(
(24500 25000 0) //0
(25000 24500 0) //1
(25500 25000 0) //2
(25000 25500 0) //3
(24475 25000 0) //4
(25000 24475 0) //5
(25525 25000 0) //6
(25000 25525 0) //7
(25000 0 0) //8
(75000 0 0) //9
(75000 50000 0) //10
(25000 50000 0) //11
(0 25000 0) //12
(24500 25000 10) //13 (0)
(25000 24500 10) //14 (1)
(25500 25000 10) //15 (2)
(25000 25500 10) //16 (3)
(24475 25000 10) //17 (4)
(25000 24475 10) //18 (5)
(25525 25000 10) //19 (6)
(25000 25525 10) //20 (7)
(25000 0 10) //21 (8)
(75000 0 10) //22 (9)
(75000 50000 10) //23 (10)
(25000 50000 10) //24 (11)
(0 25000 10) //25 (12)
);

blocks
(
hex (4 0 2 6 4 17 13 15 19 17) (10 10 1) simpleGrading (1 1 1)
// hex (2 3 0 4 7 6 15 16 13 17 20 19) (10 10 1) simpleGrading (1 1 1)
// hex (4 5 8 12 17 18 21 23) (20 10 1) simpleGrading (1 1 1)
// hex (7 11 12 4 20 24 25 17) (20 20 1) simpleGrading (1 1 1)
// hex (5 8 9 10 11 7 6 18 21 22 23 24 20 19) (10 20 1) simpleGrading (1 1 1)
);

edges
(
arc 0 2 (25000 24500 0)
arc 2 0 (25000 25500 0)
arc 4 6 (25000 24475 0)
arc 6 4 (25000 25525 0)
arc 11 8 (0 25000 0)
arc 13 15 (25000 24500 10)
arc 15 13 (25000 25500 10)
arc 17 19 (25000 24475 10)
arc 19 17 (25000 25525 10)
arc 24 21 (0 25000 10)
);

patches
(
patch inlet
(
(11 8 21 24)
)
patch outlet
(
(9 10 23 22)
)

patch bottom
(
(8 9 22 21)
)
patch top
(
(11 10 23 24)
)
wall cylinder
(
(0 1 2 15 14 13)
(2 3 0 13 16 15)
)
empty frontAndBack
(
(12 8 9 10 11)
(25 21 22 23 24)
)
);

mergePatchPairs
(
);

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



Is there a document where the meaning of error messages are explained?

Appreciate all help
Ahmed is offline   Reply With Quote

Old   October 30, 2009, 02:08
Default
  #2
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Easy, you will figure it out yourself.

I have done a lot of cylinder flow cases using blockMesh, it is not that hard, so be patient.

Quote:
Is there a document where the meaning of error messages are explained?
NO!

face 0 in patch 0 does not have neighbour cell face: 4(11 8 21 24)#0 Foam::error

You should be glad whenever you see this kind of errors, because it would be easy to solve out.

One hint: please see you do respect the right hand rule.

Cheers,
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat 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
benchmark: flow over a circular cylinder goodegg Main CFD Forum 12 January 22, 2013 12:47
Flow over a flat plate & Flow over a cylinder cfdxue Main CFD Forum 0 November 27, 2007 00:26
Anybody knows smth abt the flow around a cylinder? Wenxuan Main CFD Forum 3 March 20, 2007 18:19
Flow over a cylinder Anna Main CFD Forum 9 March 24, 2006 15:32
Flow Past a Cylinder Annie Main CFD Forum 2 March 31, 2002 01:02


All times are GMT -4. The time now is 03:20.