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

[blockMesh] Flow Around a Cylinder

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2009, 16:21
Default Flow Around a Cylinder
  #1
Senior Member
 
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18
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
http://www.cfd-online.com/Forums/ope...mple-mesh.html
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, 00:08
Default
  #2
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
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
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drag force coefficient too low for a flow past cylinder at Re= 1e05 Scabbard STAR-CCM+ 2 June 5, 2020 14:44
Flow past a cylinder at Re 1e05 using LES, drag force coefficient is to low Scabbard Main CFD Forum 21 June 19, 2018 13:58
Flow around cylinder free to rotate Jonas Holdeman Main CFD Forum 5 August 3, 2015 17:54
benchmark: flow over a circular cylinder goodegg Main CFD Forum 12 January 22, 2013 11:47
Flow over a cylinder Anna Main CFD Forum 9 March 24, 2006 14:32


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