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

[Other] chechMesh error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2015, 07:16
Default chechMesh error
  #1
New Member
 
Sinasi Bahceci
Join Date: Jan 2015
Posts: 13
Rep Power: 11
sino75 is on a distinguished road
Hi,

I have created a geometry in blockMeshDict, but when I enter checkMesh, I get following error:

Wedge patch 'back' is not planar.
At local face at (-0.000126865 0.148202 0.0145967) the normal (-2.41311e-17 -0.0980169 0.995185) differs from the average normal (-1.05634e-19 -0.0980172 0.995185) by 1.21686e-13
Either correct the patch or split it into planar parts
#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam:olyMesh::calcDirections() const at ??:?
#4 Foam:olyMesh:olyMesh(Foam::IOobject const&) at ??:?
#5
at ??:?
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7
at ??:?
Gleitkomma-Ausnahme

Can you please help me? Thanks in regard.

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

convertToMeters 0.01;

H 50;
h -10;
h2 #calc "$h/2";
hM 30;
h3 -7.5;


r1 0.18; // Radius Jet
r2 2.5; // Radius bluff-body
r3 15; // Radius coflow
r4 #calc "($r2+$r3)/2";
r5 #calc "($r1+$r2)/2";
alpha1 5.625;

alpha #calc "$alpha1*3.14159265358979323846/180";
c1 #calc "$r1*cos($alpha)"; //0.17913325
c2 #calc "$r2*cos($alpha)"; //2.487961817
c3 #calc "$r3*cos($alpha)"; //14.9277709
c4 #calc "$r4*cos($alpha)"; //8.707866358
c5 #calc "$r5*cos($alpha)"; //1.333547534

s1 #calc "$r1*sin($alpha)"; //0.017643085
s2 #calc "$r2*sin($alpha)"; //0.24504285
s3 #calc "$r3*sin($alpha)"; //1.470257105
s4 #calc "$r4*sin($alpha)"; //0.857649977
s5 #calc "$r5*sin($alpha)"; //0.131342968

s1m #calc "-1*$r1*sin($alpha)";
s2m #calc "-1*$r2*sin($alpha)";
s3m #calc "-1*$r3*sin($alpha)";
s4m #calc "-1*$r4*sin($alpha)";
s5m #calc "-1*$r5*sin($alpha)";

vertices
(
(0 0 0) //0
($H 0 0) //1

($H $c1 $s1m) //2
($H $c2 $s2m) //3
($H $c3 $s3m) //4
(0 $c3 $s3m) //5
(0 $c2 $s2m) //6
(0 $c1 $s1m) //7

($H $c1 $s1) //8
($H $c2 $s2) //9
($H $c3 $s3) //10
(0 $c3 $s3) //11
(0 $c2 $s2) //12
(0 $c1 $s1) //13

($h $c2 $s2m) //14
($h $c3 $s3m) //15
($h $c3 $s3) //16
($h $c2 $s2) //17

($h $c4 $s4m) //18
($h $c4 $s4) //19
($H $c4 $s4m) //20
($H $c4 $s4) //21
(0 $c4 $s4m) //22
(0 $c4 $s4) //23

($h2 $c2 $s2m) //24
($h2 $c2 $s2)
($h2 $c3 $s3)
($h2 $c3 $s3m)

($h2 $c4 $s4m)
($h2 $c4 $s4)

(0 $c5 $s5m)
(0 $c5 $s5)
($H $c5 $s5)
($H $c5 $s5m)

($hM 0 0)
($hM $c1 $s1m)
($hM $c5 $s5m)
($hM $c2 $s2m)
($hM $c4 $s4m)
($hM $c3 $s3m)

($hM $c1 $s1)
($hM $c5 $s5)
($hM $c2 $s2)
($hM $c4 $s4)
($hM $c3 $s3)

($h3 0 0)
($h3 $c1 $s1m)
($h3 $c1 $s1)
);

blocks
(

hex (45 0 7 46 45 0 13 47) (80 20 1) simpleGrading (0.1 8 1) //0

hex (0 34 35 7 0 34 40 13) (80 20 1) simpleGrading (1 8 1) //1
hex (34 1 2 35 34 1 8 40) (80 20 1) simpleGrading (0.1 8 1) //2

hex (7 35 36 30 13 40 41 31) (80 25 1) simpleGrading (1 8 1) //3
hex (35 2 33 36 40 8 32 41) (80 25 1) simpleGrading (0.1 8 1) //4

hex (30 36 37 6 31 41 42 12) (80 25 1) simpleGrading (1 0.5 1) //5
hex (36 33 3 37 41 32 9 42) (80 25 1) simpleGrading (0.1 0.5 1) //6

hex (6 37 38 22 12 42 43 23) (80 30 1) simpleGrading (1 8 1) //7
hex (37 3 20 38 42 9 21 43) (80 30 1) simpleGrading (0.1 8 1) //8

hex (22 38 39 5 23 43 44 11) (80 20 1) simpleGrading (1 0.5 1) //9
hex (38 20 4 39 43 21 10 44) (80 20 1) simpleGrading (0.1 0.5 1) //10

hex (14 24 28 18 17 25 29 19) (50 30 1) simpleGrading (10 8 1) //11
hex (18 28 27 15 19 29 26 16) (50 20 1) simpleGrading (10 0.5 1) //12
hex (24 6 22 28 25 12 23 29) (50 30 1) simpleGrading (0.1 8 1) //13
hex (28 22 5 27 29 23 11 26) (50 20 1) simpleGrading (0.1 0.5 1) //14
);

boundary
(
AXIS
{
type empty;
faces
(
(0 34 34 0)
(34 1 1 34)
);
}
OUTLET
{
type patch;
faces
(
(1 2 8 1)
(2 33 32 8)
(33 3 9 32)
(3 20 21 9)
(20 4 10 21)
);
}
COFLOW
{
type patch;
faces
(
(14 18 19 17)
(18 15 16 19)
);
}
BLUFF
{
type wall;
faces
(
(13 7 30 31)
(31 30 6 12)
);
}
FUEL
{
type inlet;
faces
(
(45 46 47 45)
);
}
WALL
{
type wall;
faces
(
(4 39 44 10)
(39 5 11 44)
(5 27 26 11)
(27 15 16 26)
);
}
BLUFF_WALL
{
type wall;
faces
(
(6 24 25 12)
(24 14 17 25)
);
}
JET_WALL
{
type wall;
faces
(
(7 46 47 13)
);
}
front
{
type wedge;
faces
(
(45 0 7 46)

(0 34 35 7)
(34 1 2 35)

(7 35 36 30)
(35 2 33 36)

(30 36 37 6)
(36 33 3 37)

(6 37 38 22)
(37 3 20 38)

(22 38 39 5)
(38 20 4 39)

(14 24 28 18)
(24 6 22 28)
(18 28 27 15)
(28 22 5 27)
);
}
back
{
type wedge;
faces
(
(45 0 13 47)

(0 34 40 13)
(34 1 8 40)

(13 40 41 31)
(40 8 32 41)

(31 41 42 12)
(41 32 9 42)

(12 42 43 23)
(42 9 21 43)

(23 43 44 11)
(43 21 10 44)

(17 25 29 19)
(25 12 23 29)
(19 29 26 16)
(29 23 11 26)
);
}
);

mergePatchPairs
(
);

// ************************************************** *********************** //
sino75 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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 23:01.