CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

What does it mean?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 13, 2009, 12:12
Default What does it mean?
  #1
New Member
 
Miro
Join Date: Aug 2009
Posts: 14
Rep Power: 7
Miroo is on a distinguished road
I put the data in blockMeshDict:


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

convertToMeters 1;

vertices
(
(0 0 0) //0
(0.001 0 0)//1
(0.001 0.001 0)//2
(0 0.001 0)//3
(0 0 0.01)//4
(0.001 0 0.01)//5
(0.001 0.001 0.01)//6
(0 0.001 0.01)//7
(0 0 0.011)//8
(0.001 0 0.011)//9
(0.001 0.001 0.011)//10
(0 0.001 0.011)//11
(0.006 0 0.011)//12
(0.006 0 0.01)//13
(0.006 0.001 0.01)//14
(0.006 0.001 0.011)//15

);

blocks
(
hex (0 1 2 3 4 5 6 7) (5 5 50) simpleGrading (1 1 1)
hex (4 5 6 7 8 9 10 11) (5 5 5) simpleGrading (1 1 1)
hex (5 6 10 9 12 13 14 15) (25 5 5) simpleGrading (1 1 1)
);


edges
(
);

patches
(
patch inlet
(
(3 2 1 0)
)
patch outlet
(
(15 12 13 14)

)
wall walls
(
(5 1 2 6)
(6 2 3 7)
(3 7 4 0)
(0 1 5 4)

(4 5 9 8)
(9 10 11 8)
(8 11 7 4)
(10 6 7 11)

(10 15 14 6)
(9 12 15 10)
(9 5 13 12)

(5 6 14 13)






)


);

mergePatchPairs
(
);


And the message that I get was:

face 8 in patch 2 does not have neighbour cell face: 4(10 15 14 6)

What I can do?

Thanks
Miroo is offline   Reply With Quote

Old   August 14, 2009, 01:26
Default
  #2
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 11
sega is on a distinguished road
There don't seems to be anything wrong with the patches.
But maybe you can try to change the third block to
Code:
hex (5 6 10 9 13 14 15 12) (25 5 5) simpleGrading (1 1 1)
?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   August 14, 2009, 02:33
Default Thanks
  #3
New Member
 
Miro
Join Date: Aug 2009
Posts: 14
Rep Power: 7
Miroo is on a distinguished road
Quote:
Originally Posted by sega View Post
There don't seems to be anything wrong with the patches.
But maybe you can try to change the third block to
Code:
hex (5 6 10 9 13 14 15 12) (25 5 5) simpleGrading (1 1 1)
?

Thank you!
Danke!
Miroo is offline   Reply With Quote

Old   August 14, 2009, 07:44
Default
  #4
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 11
sega is on a distinguished road
Quote:
Originally Posted by Miroo View Post
Thank you!
Danke!
Does that mean it worked?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   August 17, 2009, 07:38
Default Hi
  #5
New Member
 
Miro
Join Date: Aug 2009
Posts: 14
Rep Power: 7
Miroo is on a distinguished road
Quote:
Originally Posted by sega View Post
Does that mean it worked?

No, but I did an mistake in the points!

Thanks
Miroo 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



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