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

[Other] Meshing Error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2012, 05:35
Default Meshing Error
  #1
Member
 
Sagun Tripathi
Join Date: Aug 2012
Location: Amherst, USA
Posts: 78
Rep Power: 13
Sagun is on a distinguished road
Hello everyone!,

I'm trying to simulate two-phase laminar flow around a cylinder in 2-D (the z-dimension is empty). However, on doing checkMesh I get this error:

Checking topology...
Boundary definition OK.
***Total number of faces on empty patches is not divisible by the number of cells in the mesh. Hence this mesh is not 1D or 2D.

Failed 1 mesh checks.


Here is how my blockMeshDict file looks like:

convertToMeters 1;

vertices
(
(-30 15 0)
(-2.121320 15 0)
(2.121320 15 0)
(30 15 0)
(-30 2.121320 0)
(-2.121320 2.121320 0)
(2.121320 2.121320 0)
(30 2.121320 0)
(-30 -2.121320 0)
(-2.121320 -2.121320 0)
(2.121320 -2.121320 0)
(30 -2.121320 0)
(-30 -15 0)
(-2.121320 -15 0)
(2.121320 -15 0)
(30 -15 0)

(-30 15 0.5)
(-2.121320 15 0.5)
(2.121320 15 0.5)
(30 15 0.5)
(-30 2.121320 0.5)
(-2.121320 2.121320 0.5)
(2.121320 2.121320 0.5)
(30 2.121320 0.5)
(-30 -2.121320 0.5)
(-2.121320 -2.121320 0.5)
(2.121320 -2.121320 0.5)
(30 -2.121320 0.5)
(-30 -15 0.5)
(-2.121320 -15 0.5)
(2.121320 -15 0.5)
(30 -15 0.5)

(-30 15 1)
(-2.121320 15 1)
(2.121320 15 1)
(30 15 1)
(-30 2.121320 1)
(-2.121320 2.121320 1)
(2.121320 2.121320 1)
(30 2.121320 1)
(-30 -2.121320 1)
(-2.121320 -2.121320 1)
(2.121320 -2.121320 1)
(30 -2.121320 1)
(-30 -15 1)
(-2.121320 -15 1)
(2.121320 -15 1)
(30 -15 1)


);

blocks
(
hex (4 5 1 0 20 21 17 16) (50 30 1) simpleGrading (1 1 1)
hex (5 6 2 1 21 22 18 17) (20 30 1) simpleGrading (1 1 1)
hex (6 7 3 2 22 23 19 18) (50 30 1) simpleGrading (1 1 1)
hex (8 9 5 4 24 25 21 20) (50 20 1) simpleGrading (1 1 1)
hex (10 11 7 6 26 27 23 22) (50 20 1) simpleGrading (1 1 1)
hex (12 13 9 8 28 29 25 24) (50 30 1) simpleGrading (1 1 1)
hex (13 14 10 9 29 30 26 25) (20 30 1) simpleGrading (1 1 1)
hex (14 15 11 10 30 31 27 26) (50 30 1) simpleGrading (1 1 1)

hex (20 21 17 16 36 37 33 32) (50 30 1) simpleGrading (1 1 1)
hex (21 22 18 17 37 38 34 33) (20 30 1) simpleGrading (1 1 1)
hex (22 23 19 18 38 39 35 34) (50 30 1) simpleGrading (1 1 1)
hex (24 25 21 20 40 41 37 36) (50 20 1) simpleGrading (1 1 1)
hex (26 27 23 22 42 43 39 38) (50 20 1) simpleGrading (1 1 1)
hex (28 29 25 24 44 45 41 40) (50 30 1) simpleGrading (1 1 1)
hex (29 30 26 25 45 46 42 41) (20 30 1) simpleGrading (1 1 1)
hex (30 31 27 26 46 47 43 42) (50 30 1) simpleGrading (1 1 1)
);


edges
(
arc 5 6 (0 3 0)
arc 6 10 (3 0 0)
arc 9 10 (0 -3 0)
arc 9 5 (-3 0 0)

arc 21 22 (0 3 15)
arc 26 22 (3 0 15)
arc 25 26 (0 -3 15)
arc 25 21 (-3 0 15)

arc 37 38 (0 3 30)
arc 42 38 (3 0 30)
arc 41 42 (0 -3 30)
arc 41 37 (-3 0 30)
);
boundary
(
cylinder
{
type wall;
faces
(
(5 21 22 6)
(21 37 38 22)
(6 22 26 10)
(22 38 42 26)
(10 26 25 9)
(26 42 41 25)
(9 25 21 5)
(25 41 37 21)
);
}

inlet
{
type patch;
faces
(
(4 20 16 0)
(20 36 32 16)
(8 24 20 4)
(24 40 36 20)
(12 28 24 8)
(28 44 40 24)
);
}

outlet
{
type patch;
faces
(
(3 19 23 7)
(19 35 39 23)
(7 23 27 11)
(23 39 43 27)
(11 27 31 15)
(27 43 47 31)
);
}

sides
{
type empty;
faces
(
(16 17 1 0)
(32 33 17 16)
(17 18 2 1)
(33 34 18 17)
(18 19 3 2)
(34 35 19 18)
(12 13 29 28)
(28 29 45 44)
(13 14 30 29)
(29 30 46 45)
(14 15 31 30)
(30 31 47 46)
);
}

lower
{
type patch;
faces
(
(0 1 5 4)
(1 2 6 5)
(2 3 7 6)
(4 5 9 8)
(6 7 11 10)
(8 9 13 12)
(9 10 14 13)
(10 11 15 14)
);
}

atmosphere
{
type patch;
faces
(
(36 37 33 32)
(37 38 34 33)
(38 39 35 34)
(40 41 37 36)
(42 43 39 38)
(44 45 41 40)
(45 46 42 41)
(46 47 43 42)
);
}
);
mergePatchPairs
(
);



I'm very new to OpenFOAM and would really appreciate if someone can explain this error to me and how to go about fixing it.

Thanks,
Sagun
Sagun is offline   Reply With Quote

Old   October 4, 2012, 05:46
Default
  #2
Member
 
Sagun Tripathi
Join Date: Aug 2012
Location: Amherst, USA
Posts: 78
Rep Power: 13
Sagun is on a distinguished road
Ah please ignore this thread. I found the mistake.
Sagun 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
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
long error when using make-install SU2_AD. tomp1993 SU2 Installation 3 March 17, 2018 06:25
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 06:35
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 05:34
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31


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